diff --git a/tgui/packages/tgui-panel/chat/constants.js b/tgui/packages/tgui-panel/chat/constants.js index 35655bee0494..4e3494ab65cb 100644 --- a/tgui/packages/tgui-panel/chat/constants.js +++ b/tgui/packages/tgui-panel/chat/constants.js @@ -61,7 +61,7 @@ export const MESSAGE_TYPES = [ name: 'Radio', description: 'All departments of radio messages', selector: - '.alert, .syndradio, .centradio, .airadio, .entradio, .comradio, .secradio, .engradio, .medradio, .sciradio, .supradio, .srvradio, .expradio, .radio, .deptradio, .newscaster', + '.alert, .syndradio, .centradio, .airadio, .entradio, .comradio, .secradio, .engradio, .medradio, .sciradio, .supradio, .srvradio, .expradio, .radio, .deptradio, .newscaster, .proradio', }, { type: MESSAGE_TYPE_INFO, diff --git a/tgui/public/tgui-panel.bundle.js b/tgui/public/tgui-panel.bundle.js index b8b06cd81bce..f6c84014687c 100644 --- a/tgui/public/tgui-panel.bundle.js +++ b/tgui/public/tgui-panel.bundle.js @@ -118,7 +118,7 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=n.MAX_VISIBLE_MESSAGES=2500,e=n.MAX_PERSISTED_MESSAGES=1e3,r=n.MESSAGE_SAVE_INTERVAL=1e4,o=n.MESSAGE_PRUNE_INTERVAL=6e4,a=n.COMBINE_MAX_TIME_WINDOW=5e3,s=n.COMBINE_MAX_MESSAGES=5,i=n.IMAGE_RETRY_DELAY=250,c=n.IMAGE_RETRY_LIMIT=10,h=n.IMAGE_RETRY_MESSAGE_AGE=6e4,v=n.MESSAGE_TYPE_UNKNOWN="unknown",u=n.MESSAGE_TYPE_INTERNAL="internal",f=n.MESSAGE_TYPE_SYSTEM="system",l=n.MESSAGE_TYPE_LOCALCHAT="localchat",g=n.MESSAGE_TYPE_RADIO="radio",d=n.MESSAGE_TYPE_INFO="info",p=n.MESSAGE_TYPE_WARNING="warning",m=n.MESSAGE_TYPE_DEADCHAT="deadchat",b=n.MESSAGE_TYPE_OOC="ooc",I=n.MESSAGE_TYPE_ADMINPM="adminpm",O=n.MESSAGE_TYPE_MENTORPM="mentorpm",C=n.MESSAGE_TYPE_COMBAT="combat",S=n.MESSAGE_TYPE_ADMINCHAT="adminchat",y=n.MESSAGE_TYPE_MENTORCHAT="mentorchat",T=n.MESSAGE_TYPE_DEVCHAT="devchat",N=n.MESSAGE_TYPE_EVENTCHAT="eventchat",M=n.MESSAGE_TYPE_ADMINLOG="adminlog",R=n.MESSAGE_TYPE_ATTACKLOG="attacklog",L=n.MESSAGE_TYPE_DEBUG="debug",B=n.MESSAGE_TYPES=[{type:f,name:"System Messages",description:"Messages from your client, always enabled",selector:".boldannounceooc",important:!0},{type:l,name:"Local",description:"In-character local messages (say, emote, etc)",selector:".say, .emote"},{type:g,name:"Radio",description:"All departments of radio messages",selector:".alert, .syndradio, .centradio, .airadio, .entradio, .comradio, .secradio, .engradio, .medradio, .sciradio, .supradio, .srvradio, .expradio, .radio, .deptradio, .newscaster"},{type:d,name:"Info",description:"Non-urgent messages from the game and items",selector:".notice:not(.pm), .adminnotice, .info, .sinister, .cult"},{type:p,name:"Warnings",description:"Urgent messages from the game and items",selector:".warning:not(.pm), .critical, .userdanger, .italics, .boldannounceic, .boldwarning"},{type:m,name:"Deadchat",description:"All of deadchat",selector:".deadsay"},{type:b,name:"OOC",description:"The bluewall of global OOC messages",selector:".ooc, .adminooc, .interface"},{type:I,name:"Admin PMs",description:"Messages to/from admins (adminhelp)",selector:".adminpm, .adminhelp, .adminticket, .adminticketalt"},{type:O,name:"Mentor PMs",description:"Messages to/from mentors (mentorhelp)",selector:".mentorpm, .mentorhelp"},{type:C,name:"Combat Log",description:"Urist McTraitor has stabbed you with a knife!",selector:".danger"},{type:v,name:"Unsorted",description:"Everything we could not sort, always enabled"},{type:S,name:"Admin Chat",description:"ASAY messages",selector:".admin_channel, .adminsay",admin:!0},{type:y,name:"Mentor Chat",description:"MSAY messages",selector:".mentor_channel",admin:!0},{type:T,name:"Developer Chat",description:"DEVSAY messages",selector:".dev_channel",admin:!0},{type:M,name:"Admin Log",description:"ADMIN LOG: Urist McAdmin has jumped to coordinates X, Y, Z",selector:".log_message",admin:!0},{type:R,name:"Attack Log",description:"Urist McTraitor has shot John Doe",admin:!0},{type:L,name:"Debug Log",description:"DEBUG: SSPlanets subsystem Recover().",selector:".pr_announce, .debug",admin:!0}]},96835:function(E,n,t){"use strict";n.__esModule=!0,n.chatReducer=n.chatMiddleware=n.ChatTabs=n.ChatPanel=n.ChatPageSettings=void 0;var e=t(15039);n.ChatPageSettings=e.ChatPageSettings;var r=t(44675);n.ChatPanel=r.ChatPanel;var o=t(41125);n.ChatTabs=o.ChatTabs;var a=t(84807);n.chatMiddleware=a.chatMiddleware;var s=t(40147);n.chatReducer=s.chatReducer},84807:function(E,n,t){"use strict";n.__esModule=!0,n.chatMiddleware=void 0;var e=u(t(22734)),r=t(27108),o=t(36471),a=t(77034),s=t(37152),i=t(69126),c=t(41950),h=t(15916),v=t(23429);function u(S){return S&&S.__esModule?S:{default:S}}function f(S,y){var T=typeof Symbol!="undefined"&&S[Symbol.iterator]||S["@@iterator"];if(T)return(T=T.call(S)).next.bind(T);if(Array.isArray(S)||(T=l(S))||y&&S&&typeof S.length=="number"){T&&(S=T);var N=0;return function(){return N>=S.length?{done:!0}:{done:!1,value:S[N++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(S,y){if(S){if(typeof S=="string")return g(S,y);var T={}.toString.call(S).slice(8,-1);return T==="Object"&&S.constructor&&(T=S.constructor.name),T==="Map"||T==="Set"?Array.from(S):T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T)?g(S,y):void 0}}function g(S,y){(y==null||y>S.length)&&(y=S.length);for(var T=0,N=Array(y);T=0;--gt){var ot=this.tryEntries[gt],vt=ot.completion;if(ot.tryLoc==="root")return ft("end");if(ot.tryLoc<=this.prev){var It=N.call(ot,"catchLoc"),Z=N.call(ot,"finallyLoc");if(It&&Z){if(this.prev=0;--ft){var gt=this.tryEntries[ft];if(gt.tryLoc<=this.prev&&N.call(gt,"finallyLoc")&&this.prev=0;--et){var ft=this.tryEntries[et];if(ft.finallyLoc===_)return this.complete(ft.completion,ft.afterLoc),Pt(ft),K}}return X}(),catch:function(){function X(_){for(var et=this.tryEntries.length-1;et>=0;--et){var ft=this.tryEntries[et];if(ft.tryLoc===_){var gt=ft.completion;if(gt.type==="throw"){var ot=gt.arg;Pt(ft)}return ot}}throw Error("illegal catch attempt")}return X}(),delegateYield:function(){function X(_,et,ft){return this.delegate={iterator:dt(_),resultName:et,nextLoc:ft},this.method==="next"&&(this.arg=S),K}return X}()},y}function p(S,y,T,N,M,R,L){try{var B=S[R](L),V=B.value}catch(x){return void T(x)}B.done?y(V):Promise.resolve(V).then(N,M)}function m(S){return function(){var y=this,T=arguments;return new Promise(function(N,M){var R=S.apply(y,T);function L(V){p(R,N,M,L,B,"next",V)}function B(V){p(R,N,M,L,B,"throw",V)}L(void 0)})}}/** + */var t=n.MAX_VISIBLE_MESSAGES=2500,e=n.MAX_PERSISTED_MESSAGES=1e3,r=n.MESSAGE_SAVE_INTERVAL=1e4,o=n.MESSAGE_PRUNE_INTERVAL=6e4,a=n.COMBINE_MAX_TIME_WINDOW=5e3,s=n.COMBINE_MAX_MESSAGES=5,i=n.IMAGE_RETRY_DELAY=250,c=n.IMAGE_RETRY_LIMIT=10,h=n.IMAGE_RETRY_MESSAGE_AGE=6e4,v=n.MESSAGE_TYPE_UNKNOWN="unknown",u=n.MESSAGE_TYPE_INTERNAL="internal",f=n.MESSAGE_TYPE_SYSTEM="system",l=n.MESSAGE_TYPE_LOCALCHAT="localchat",g=n.MESSAGE_TYPE_RADIO="radio",d=n.MESSAGE_TYPE_INFO="info",p=n.MESSAGE_TYPE_WARNING="warning",m=n.MESSAGE_TYPE_DEADCHAT="deadchat",b=n.MESSAGE_TYPE_OOC="ooc",I=n.MESSAGE_TYPE_ADMINPM="adminpm",O=n.MESSAGE_TYPE_MENTORPM="mentorpm",C=n.MESSAGE_TYPE_COMBAT="combat",S=n.MESSAGE_TYPE_ADMINCHAT="adminchat",y=n.MESSAGE_TYPE_MENTORCHAT="mentorchat",T=n.MESSAGE_TYPE_DEVCHAT="devchat",N=n.MESSAGE_TYPE_EVENTCHAT="eventchat",M=n.MESSAGE_TYPE_ADMINLOG="adminlog",R=n.MESSAGE_TYPE_ATTACKLOG="attacklog",L=n.MESSAGE_TYPE_DEBUG="debug",B=n.MESSAGE_TYPES=[{type:f,name:"System Messages",description:"Messages from your client, always enabled",selector:".boldannounceooc",important:!0},{type:l,name:"Local",description:"In-character local messages (say, emote, etc)",selector:".say, .emote"},{type:g,name:"Radio",description:"All departments of radio messages",selector:".alert, .syndradio, .centradio, .airadio, .entradio, .comradio, .secradio, .engradio, .medradio, .sciradio, .supradio, .srvradio, .expradio, .radio, .deptradio, .newscaster, .proradio"},{type:d,name:"Info",description:"Non-urgent messages from the game and items",selector:".notice:not(.pm), .adminnotice, .info, .sinister, .cult"},{type:p,name:"Warnings",description:"Urgent messages from the game and items",selector:".warning:not(.pm), .critical, .userdanger, .italics, .boldannounceic, .boldwarning"},{type:m,name:"Deadchat",description:"All of deadchat",selector:".deadsay"},{type:b,name:"OOC",description:"The bluewall of global OOC messages",selector:".ooc, .adminooc, .interface"},{type:I,name:"Admin PMs",description:"Messages to/from admins (adminhelp)",selector:".adminpm, .adminhelp, .adminticket, .adminticketalt"},{type:O,name:"Mentor PMs",description:"Messages to/from mentors (mentorhelp)",selector:".mentorpm, .mentorhelp"},{type:C,name:"Combat Log",description:"Urist McTraitor has stabbed you with a knife!",selector:".danger"},{type:v,name:"Unsorted",description:"Everything we could not sort, always enabled"},{type:S,name:"Admin Chat",description:"ASAY messages",selector:".admin_channel, .adminsay",admin:!0},{type:y,name:"Mentor Chat",description:"MSAY messages",selector:".mentor_channel",admin:!0},{type:T,name:"Developer Chat",description:"DEVSAY messages",selector:".dev_channel",admin:!0},{type:M,name:"Admin Log",description:"ADMIN LOG: Urist McAdmin has jumped to coordinates X, Y, Z",selector:".log_message",admin:!0},{type:R,name:"Attack Log",description:"Urist McTraitor has shot John Doe",admin:!0},{type:L,name:"Debug Log",description:"DEBUG: SSPlanets subsystem Recover().",selector:".pr_announce, .debug",admin:!0}]},96835:function(E,n,t){"use strict";n.__esModule=!0,n.chatReducer=n.chatMiddleware=n.ChatTabs=n.ChatPanel=n.ChatPageSettings=void 0;var e=t(15039);n.ChatPageSettings=e.ChatPageSettings;var r=t(44675);n.ChatPanel=r.ChatPanel;var o=t(41125);n.ChatTabs=o.ChatTabs;var a=t(84807);n.chatMiddleware=a.chatMiddleware;var s=t(40147);n.chatReducer=s.chatReducer},84807:function(E,n,t){"use strict";n.__esModule=!0,n.chatMiddleware=void 0;var e=u(t(22734)),r=t(27108),o=t(36471),a=t(77034),s=t(37152),i=t(69126),c=t(41950),h=t(15916),v=t(23429);function u(S){return S&&S.__esModule?S:{default:S}}function f(S,y){var T=typeof Symbol!="undefined"&&S[Symbol.iterator]||S["@@iterator"];if(T)return(T=T.call(S)).next.bind(T);if(Array.isArray(S)||(T=l(S))||y&&S&&typeof S.length=="number"){T&&(S=T);var N=0;return function(){return N>=S.length?{done:!0}:{done:!1,value:S[N++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(S,y){if(S){if(typeof S=="string")return g(S,y);var T={}.toString.call(S).slice(8,-1);return T==="Object"&&S.constructor&&(T=S.constructor.name),T==="Map"||T==="Set"?Array.from(S):T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T)?g(S,y):void 0}}function g(S,y){(y==null||y>S.length)&&(y=S.length);for(var T=0,N=Array(y);T=0;--gt){var ot=this.tryEntries[gt],vt=ot.completion;if(ot.tryLoc==="root")return ft("end");if(ot.tryLoc<=this.prev){var It=N.call(ot,"catchLoc"),Z=N.call(ot,"finallyLoc");if(It&&Z){if(this.prev=0;--ft){var gt=this.tryEntries[ft];if(gt.tryLoc<=this.prev&&N.call(gt,"finallyLoc")&&this.prev=0;--et){var ft=this.tryEntries[et];if(ft.finallyLoc===_)return this.complete(ft.completion,ft.afterLoc),Pt(ft),K}}return X}(),catch:function(){function X(_){for(var et=this.tryEntries.length-1;et>=0;--et){var ft=this.tryEntries[et];if(ft.tryLoc===_){var gt=ft.completion;if(gt.type==="throw"){var ot=gt.arg;Pt(ft)}return ot}}throw Error("illegal catch attempt")}return X}(),delegateYield:function(){function X(_,et,ft){return this.delegate={iterator:dt(_),resultName:et,nextLoc:ft},this.method==="next"&&(this.arg=S),K}return X}()},y}function p(S,y,T,N,M,R,L){try{var B=S[R](L),V=B.value}catch(x){return void T(x)}B.done?y(V):Promise.resolve(V).then(N,M)}function m(S){return function(){var y=this,T=arguments;return new Promise(function(N,M){var R=S.apply(y,T);function L(V){p(R,N,M,L,B,"next",V)}function B(V){p(R,N,M,L,B,"throw",V)}L(void 0)})}}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT