(self.webpackChunkmattermost_webapp=self.webpackChunkmattermost_webapp||[]).push([[1490],{20827:(e,n,t)=>{"use strict";t.d(n,{D0:()=>N,Do:()=>y,Fx:()=>D,J3:()=>k,Pn:()=>c,Z$:()=>A,b9:()=>p,iU:()=>E,rA:()=>b}),t(61418),t(40895),t(14078),t(92189);var _=t(22850),i=t(10883),a=t(73443),o=t(32394),s=t(43618),u=t(11298),r=t(23894),m=t(28176),l=t(98876),d=t(8243),f=t(23712),F=t(70174);function g(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);n&&(_=_.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,_)}return t}function h(e){for(var n=1;n{const u=t(),l=(0,r.rc)(u),d=(0,F.T8)(l,e),g=(0,s.ZO)(u,d);if(!g)return n(a.Gc(l,e));(0,m.L9)("api","api_channels_join_direct");const c=Date.now(),E={category:f.uP.CATEGORY_DIRECT_CHANNEL_SHOW,name:e,value:"true"},p={category:f.uP.CATEGORY_CHANNEL_OPEN_TIME,name:g.id,value:c.toString()},k=[{type:i.wT.RECEIVED_PREFERENCES,data:[E]},{type:i.wT.RECEIVED_PREFERENCES,data:[p]}];return n((0,_.$C)(k)),n((0,o.$A)(l,[h({user_id:l},E),h({user_id:l},p)])),{data:g}}}function E(e){return async(n,t)=>{const _=await n(a.aU(e));return _.error&&(0,d.s)().push((0,u.g4)(t())),_}}function p(){return async(e,n)=>{const t=n(),_=(0,s.pb)(t);await e(a.hx((0,u.ev)(t)));for(const n of _){const _=(0,s.mr)(t,n);_&&_.type===f.Constants.DM_CHANNEL?e((0,l.hH)(_.id)):_&&_.type===f.Constants.GM_CHANNEL&&e((0,l.Vo)(_.id))}return(0,l.D3)(),{data:!0}}}function k(e,n,t){return async(_,i)=>{const o=i(),s=(0,u.ev)(o);if(!s)return{data:!1};const{data:r,error:m}=await _(a.J3(s,e));return r&&n?n(r):m&&t&&t(h({id:m.server_error_id},m)),{data:!0}}}function D(e,n,t){return async(_,i)=>{const o=i(),s=(0,u.ev)(o);if(!s)return{data:!1};const{data:r,error:m}=await _(a.J3(s,e));if(r&&n){const e=r.filter((e=>0===e.delete_at));n(e)}else m&&t&&t(h({id:m.server_error_id},m));return{data:!0}}}function A(e,n,t){return async(_,i)=>{const o=i(),s=(0,u.ev)(o);if(!s)return{data:!1};const{data:r,error:m}=await _(a.Z$(s,e));return r&&n?n(r):m&&t&&t(h({id:m.server_error_id},m)),{data:!0}}}function y(e,n){return async t=>await t(a.Un(e,n))||{data:!0}}function b(e,n){return a.n$(e,n,{mark_unread:f.XH.ALL})}function N(e,n){return a.n$(e,n,{mark_unread:f.XH.MENTION})}},59898:(e,n,t)=>{"use strict";t.d(n,{Fg:()=>b,Ju:()=>k,KW:()=>g,Wt:()=>c,cq:()=>D,dJ:()=>N,oY:()=>y,pN:()=>h,s1:()=>A,zd:()=>E}),t(61418),t(14078),t(69217);var _=t(9684),i=t(32394),a=t(97042),o=t(90568),s=t(83905),u=t(23894),r=t(56187),m=t(27103),l=t(56627),d=t(50801),f=t(23712),F=t(29579);function g(){return(e,n)=>{const t=n();if(!(0,o.yE)(t))return{data:!0};const i=(0,m.Dn)(t);return e(_.RH(i))}}function h(){return async e=>(e({type:f.MF.INCREMENT_EMOJI_PICKER_PAGE}),{data:!0})}function c(e){return async(n,t)=>{const _=t(),a=(0,u.rc)(_),o=[{user_id:a,name:f.uP.EMOJI_SKINTONE,category:f.uP.CATEGORY_EMOJI,value:e}];n((0,i.$A)(a,o))}}function E(e){return k([e])}const p=27;function k(e){return(n,t)=>{const _=t(),a=(0,u.rc)(_),o=(0,m.g7)(_),s=(0,m.kM)(_);let l=[...o];for(const n of e){const e=s.get(n);if(!e)continue;const t=(0,r.Hk)(e),_=l.findIndex((e=>e.name===t));if(_>-1){const e=l[_],n={name:t,usageCount:e.usageCount+1};l.splice(_,1),l=[...l,n].slice(-p)}else{const e={name:t,usageCount:1};l=[...l,e].slice(-p)}}return l.sort(((e,n)=>e.usageCount-n.usageCount)),n((0,i.$A)(a,[{category:f.default.Preferences.RECENT_EMOJIS,name:a,user_id:a,value:JSON.stringify(l)}])),{data:!0}}}function D(e){const n=(0,l.yC)();return(t,_)=>{const i=_(),a=(0,m.Kq)(i),o=(0,l.uD)(i);if(!a||!o)return{data:!1};const s=new Set;return e.forEach((e=>{const t=n(i,e);t&&t.emoji&&s.add(t.emoji)})),t(y(Array.from(s)))}}function A(){return(e,n)=>{const t=n(),_=(0,m.Kq)(t),i=(0,l.uD)(t);if(!_||!i)return{data:!1};const o=(0,s.U2)(t,a.Preferences.CATEGORY_CUSTOM_STATUS,a.Preferences.NAME_RECENT_CUSTOM_STATUSES);if(!o)return{data:!1};const u=JSON.parse(o),r=new Set;for(const e of u)e&&e.emoji&&r.add(e.emoji);return e(y(Array.from(r)))}}function y(e){return(n,t)=>{if(!e||0===e.length)return{data:!1};const i=t();if(!(0,m.Kq)(i))return{data:!1};const a=F.xn,s=(0,o.RH)(i),u=i.entities.emojis.nonExistentEmoji,r=[];return e.forEach((e=>{e&&(a.has(e)||u.has(e)||s.has(e)||r.push(e))})),n(_.RH(r))}}function b(e){return n=>{if(!e||0===e.length)return{data:!1};const t=new Set;return Object.keys(e).forEach((n=>{const _=e[n];_.user_id&&t.add(_.user_id)})),n(D(t))}}function N(){return async(e,n)=>{const t=n(),_=(0,u.rc)(t),a=(0,m.g7)(t);if(0===a.length){const n=d.Z.getRecentEmojis(_);if(n){const t=JSON.parse(n),a=t.map((e=>({name:e,usageCount:1})));return a.length>0&&e((0,i.$A)(_,[{category:f.default.Preferences.RECENT_EMOJIS,name:_,user_id:_,value:JSON.stringify(a)}])),{data:t}}}return{data:a}}}},52226:(e,n,t)=>{"use strict";function _(e){return async(n,t)=>{const _=t().plugins.components.MessageWillBePosted;if(!_||0===_.length)return{data:e};let i=e;for(const e of _){const n=await e.hook(i);if(n){if(n.error)return{error:n.error};i=n.post}}return{data:i}}}function i(e,n){return async(t,_)=>{const i=_().plugins.components.SlashCommandWillBePosted;if(!i||0===i.length)return{data:{message:e,args:n}};let a=e,o=n;for(const e of i){const n=await e.hook(a,o);if(n){if(n.error)return{error:n.error};if(a=n.message,o=n.args,0===Object.keys(n).length)break}}return{data:{message:a,args:o}}}}function a(e,n){return async(t,_)=>{const i=_().plugins.components.MessageWillBeUpdated;if(!i||0===i.length)return{data:e};let a=e;for(const e of i){const t=await e.hook(a,n);if(t){if(t.error)return{error:t.error};a=t.post}}return{data:a}}}function o(e,n,t,_,i){return async(a,o)=>{const s=o().plugins.components.DesktopNotificationHooks;if(!s||0===s.length)return{args:i};let u=i;for(const i of s){const a=await i.hook(e,n,t,_,u);if(a){if(a.error)return{error:a.error};if(!a.args)return{error:"returned empty args"};u=a.args}}return{args:u}}}t.d(n,{GL:()=>a,HG:()=>_,J8:()=>i,vR:()=>o}),t(61418),t(14078)},58288:(e,n,t)=>{"use strict";t.d(n,{PJ:()=>N,aU:()=>C}),t(61418),t(14078),t(95623),t(52077),t(82759),t(40895);var _=t(17554),i=t(43618),a=t(19601),o=t(83905),s=t(78048),u=t(23894),r=t(39875),m=t(4314),l=t(33115),d=t(56606),f=t(96405),F=t(8243),g=t(23712),h=t(7709),c=t(46403),E=t(98318),p=t(15897),k=t(11931),D=t(88676),A=t(21214),y=t(70174),b=t(52226);function N(e,n){return async(t,F)=>{var h,k,N,I;const w=F(),B=(0,u.rc)(w);if(B===e.user_id&&"true"!==e.props.from_webhook)return{status:"not_sent",reason:"own_post"};if((0,m.Ew)(e)&&!(0,m.qB)(e,B))return{status:"not_sent",reason:"system_message"};let x=[];n.mentions&&(x=JSON.parse(n.mentions));let O=[];n.followers&&(O=JSON.parse(n.followers),x=[...new Set([...O,...x])]);const T=n.team_id;let S=(0,i.kL)()(w,e.channel_id);const M=(0,u.ts)(w),R=(0,u.ZO)(w,M.id),L=(0,i.Or)(w,e.channel_id),v=(0,o.ym)(w)&&""!==e.root_id;if(!L)return{status:"error",reason:"no_member"};if((0,r.Mm)(L))return{status:"not_sent",reason:"channel_muted"};if(R===g.gg.DND||R===g.gg.OUT_OF_OFFICE)return{status:"not_sent",reason:"user_status",data:R};const H=(null==L||null===(h=L.notify_props)||void 0===h?void 0:h.desktop)||g.XH.DEFAULT;let K=H;var G;if(K===g.XH.DEFAULT&&(K=(null==M||null===(G=M.notify_props)||void 0===G?void 0:G.desktop)||g.XH.ALL),"G"===(null===(k=S)||void 0===k?void 0:k.type)&&H===g.XH.DEFAULT&&(null==M||null===(N=M.notify_props)||void 0===N?void 0:N.desktop)===g.XH.MENTION&&(K=g.XH.ALL),K===g.XH.NONE)return{status:"not_sent",reason:"notify_level_none"};if("G"===(null===(I=S)||void 0===I?void 0:I.type)&&K===g.XH.MENTION){var U;let me=e.message;try{if(e.props&&e.props.attachments){const he=e.props.attachments;function ce(e){e&&(me+="\n".concat(e))}for(const Ee of he)if(ce(Ee.pretext),ce(Ee.title),ce(Ee.text),ce(Ee.footer),Ee.fields)for(const pe of Ee.fields)ce(pe.title),ce(pe.value)}}catch(ke){console.log("Could not process the whole attachment for mentions",ke)}const le=(0,s.c)(w),de=(null==L||null===(U=L.notify_props)||void 0===U?void 0:U.ignore_channel_mentions)||g.Xi.DEFAULT;let fe=de===g.Xi.ON;var P;de===g.Xi.DEFAULT&&(fe="false"===(null==M||null===(P=M.notify_props)||void 0===P?void 0:P.channel));const Fe=(0,c.JV)(me,new E.Z);let ge=!1;for(const De of le){if(!De||!De.key)continue;if(fe&&["@all","@here","@channel"].includes(De.key))continue;let Ae,ye="g";if(De.caseSensitive||(ye+="i"),Ae=D.Gq.test(De.key)?new RegExp("()(".concat((0,D.yI)(De.key),")()"),ye):new RegExp("(^|\\W)(".concat((0,D.yI)(De.key),")(\\b|_+\\b)"),ye),Ae.test(Fe)){ge=!0;break}}if(!ge)return{status:"not_sent",reason:"not_explicitly_mentioned",data:Fe}}else{if(K===g.XH.MENTION&&-1===x.indexOf(M.id)&&n.channel_type!==g.default.DM_CHANNEL)return{status:"not_sent",reason:"not_mentioned"};if(v&&K===g.XH.ALL&&-1===O.indexOf(B))return{status:"not_sent",reason:"not_following_thread"}}const j=(0,a.iE)(w),q=(0,u.PR)(w,e.user_id);let W="";W=e.props.override_username&&"true"===j.EnablePostUsernameOverride?e.props.override_username:q?(0,l.fw)(q,(0,o.kl)(w),!1):n.sender_name?n.sender_name:y._u({id:"channel_loader.someone",defaultMessage:"Someone"});let V=y._u({id:"channel_loader.posted",defaultMessage:"Posted"});S?V=S.type===g.default.DM_CHANNEL?y._u({id:"notification.dm",defaultMessage:"Direct Message"}):S.display_name:(V=n.channel_display_name,S={name:n.channel_name,type:n.channel_type}),""===V&&(V=n.channel_type===g.default.DM_CHANNEL?y._u({id:"notification.dm",defaultMessage:"Direct Message"}):n.channel_display_name),v&&(V=y.Us({id:"notification.crt",defaultMessage:"Reply in {title}"},{title:V}));let Y=e.message;const z=JSON.parse(n.post),Z=z&&z.props&&z.props.attachments?z.props.attachments:[];let X=!1;Z.forEach((e=>{0===Y.length&&(Y=e.fallback||e.pretext||e.text),X|=e.image_url.length>0}));const J=(0,c.LV)(Y);let $="@".concat(W);0===J.length?n.image?$+=y._u({id:"channel_loader.uploadedImage",defaultMessage:" uploaded an image"}):n.otherFile?$+=y._u({id:"channel_loader.uploadedFile",defaultMessage:" uploaded a file"}):$+=X?y._u({id:"channel_loader.postedImage",defaultMessage:" posted an image"}):y._u({id:"channel_loader.something",defaultMessage:" did something new"}):$+=": ".concat(J);const Q=function(e,n){var t,_;const i=null==e||null===(t=e.notify_props)||void 0===t?void 0:t.desktop_sound,a=null==n||null===(_=n.notify_props)||void 0===_?void 0:_.desktop_sound;return i===g.NZ.ON||i!==g.NZ.OFF&&(g.NZ.DEFAULT,!a||"true"===a)}(L,M),ee=(0,i.TB)(w),ne=S?S.id:null;let te=!1,_e={status:"not_sent",reason:"unknown"};w.views.browser.focused?(_e={status:"not_sent",reason:"window_is_focused"},v?(te=!(0,f.c7)(w,e.root_id),te||(_e={status:"not_sent",reason:"thread_is_open",data:e.root_id})):(te=ee&&ee.id!==ne,te||(_e={status:"not_sent",reason:"channel_is_open",data:null==ee?void 0:ee.id}))):te=!0;let ie=function(e,n){var t,_;const i=null==e||null===(t=e.notify_props)||void 0===t?void 0:t.desktop_notification_sound,a=null==n||null===(_=n.notify_props)||void 0===_?void 0:_.desktop_notification_sound;return i&&i!==p.GT.DEFAULT?i:a&&a!==p.GT.DEFAULT?a:p.GT.BING}(L,M);const ae=F();let oe=(0,d.q)(ae,S,T);v&&(oe=(0,d.u)(ae,T,e.id));const se={title:V,body:$,silent:!Q,soundName:ie,url:oe,notify:te},ue=await t((0,b.vR)(e,n,S,T,se));if(ue.error)return t((0,_.H)(ue.error)),{status:"error",reason:"desktop_notification_hook",data:String(ue.error)};let re=!1;if(({title:V,body:$,silent:re,soundName:ie,url:oe,notify:te}=ue.args),te){const be=t(C(V,$,S,T,re,ie,oe));return!Q||(0,A.P)()||(0,A.k)()||(0,p.OD)(ie),be}return se.notify&&!te&&(_e={status:"not_sent",reason:"desktop_notification_hook",data:String(ue)}),_e}}const C=(e,n,t,i,a,o,s)=>async u=>{if((0,A.P)())return h.Z.dispatchNotification(e,n,t.id,i,a,o,s);try{return await u((0,k.c0)({title:e,body:n,requireInteraction:!1,silent:a,onClick:()=>{window.focus(),(0,F.s)().push(s)}}))}catch(e){return u((0,_.H)(e)),{status:"error",reason:"notification_api",data:String(e)}}}},95894:(e,n,t)=>{"use strict";t.d(n,{rU:()=>V,qb:()=>j,tR:()=>te,id:()=>se,co:()=>U,$T:()=>K,PV:()=>ne,VW:()=>ee,wy:()=>X,ip:()=>ie,eY:()=>oe,_8:()=>Y,Jp:()=>$,b3:()=>q,bV:()=>_e,d:()=>ae,fS:()=>W,xk:()=>P,Vn:()=>J,Ip:()=>Q}),t(61418),t(52077),t(83526),t(73902),t(14078),t(69217);var _=t(10883),i=t(73443),a=t(6352),o=t(26219),s=t(43618),u=t(19601),r=t(3901),m=t(83905),l=t(11298),d=t(23894),f=t(4314),F=t(59898),g=t(73318),h=t(98876),c=t(52508),E=t(40364),p=t(39183),k=t(33591),D=t(32717),A=t(84459),y=t(59161),b=t(84390),N=t.n(b),C=t(72060),I=t(9448),w=t(6098),B=t(35683);function x(e){const n=e.isAdmin?N().createElement(C.FormattedMessage,{id:"reaction_limit_reached_modal.body.admin",defaultMessage:"Oops! It looks like we've hit a ceiling on emoji reactions for this message. We've set a limit to keep things running smoothly on your server. As a system administrator, you can adjust this limit from the system console.",values:{link:e=>N().createElement(B.Z,{location:"reaction_limit_reached_modal",href:"https://mattermost.com/pl/configure-unique-emoji-reaction-limit"},e),linkAdmin:n=>N().createElement(I.Link,{onClick:e.onExited,to:"/admin_console"},n)}}):N().createElement(C.FormattedMessage,{id:"reaction_limit_reached_modal.body",defaultMessage:"Oops! It looks like we've hit a ceiling on emoji reactions for this message. Please contact your system administrator for any adjustments to this limit."});return N().createElement(w.$E,{modalHeaderText:N().createElement(C.FormattedMessage,{id:"reaction_limit_reached_modal.title",defaultMessage:"You've reached the reaction limit"}),compassDesign:!0,confirmButtonText:N().createElement(C.FormattedMessage,{id:"generic.okay",defaultMessage:"Okay"}),onExited:e.onExited,handleConfirm:e.onExited},n)}var O=t(23712),T=t(35790),S=t(22589),M=t(22850),R=t(4195),L=t(58288),v=t(96405),H=t(95159);function K(e,n){return async(t,_)=>{let o={};const u=_();n&&(o=n.data);const l=(0,s.Or)(u,e.channel_id),F=!l||0===Object.keys(l).length&&l.constructor===Object;return F&&await t((0,i.Or)(e.channel_id)),t(function(e,n,t){return async(_,o)=>{const u=o(),l=r.xl(u,e.root_id),F=e.channel_id===(0,s.gO)(u);if(e.root_id&&!l&&F){const t=await _(a.ct(e.root_id));if("error"in t)return n.should_ack&&H.Z.acknowledgePostedNotification(e.id,"error","missing_root_post",t.error),{error:t.error}}const g=[];F&&g.push({type:O.MF.INCREASE_POST_VISIBILITY,data:e.channel_id,amount:1});const h=(0,m.ym)(u),c=h&&e.root_id;g.push(a.mU(e,h));const E=(0,d.rc)(u);c&&e.user_id===E||g.push(...function(e,n,t,_,a){var o,u;const r=n(),m=(0,d.rc)(r);if((0,f.H2)(t,m))return[];let l=!1,F=!1;return(0,s.Zm)(n(),t.channel_id)||(t.user_id!==(0,d.rc)(r)||(0,f.Ew)(t)||(0,f.Wo)(t)?t.channel_id===(0,s.gO)(r)&&window.isActive&&(l=!0,F=!0):(l=!0,F=!1)),l?(F&&e((0,i.wE)(t.channel_id)),(0,i.vX)(n,t.channel_id)):(0,i.y5)(n,_.team_id,t.channel_id,_.mentions,a,""===t.root_id,null==t||null===(o=t.metadata)||void 0===o||null===(u=o.priority)||void 0===u?void 0:u.priority)}(_,o,e,n,t)),_((0,M.$C)(g)),c&&_(function(e){const n=(0,v.DA)();return(t,_)=>{const i=_(),a=(0,R.bJ)(i,e.root_id);return a&&(0,v.c7)(i,a.id)&&window.isActive&&a.last_reply_at{await n(a.co(e));const _=t();return(0,A.kV)(_)===O.Hp.FLAG&&n(z(e)),{data:!0}}}function P(e){return async(n,t)=>{await n(a.xk(e));const _=t();return(0,A.kV)(_)===O.Hp.FLAG&&Z(e,_,n),{data:!0}}}function j(e,n,t,_){return async i=>{const o=(0,T.vV)(e.message);if(o){const e=o.map((e=>e.substring(1,e.length-1)));i((0,F.Ju)(e))}const s=await i(a.qb(e,n,t));var u,r;return e.root_id?i((u=e.root_id,null,e=>(e(g.Bc("comment_draft_"+u,null)),{data:!0}))):i((r=e.channel_id,e=>(e(g.Bc("draft_"+r,null)),{data:!0}))),null==_||_(),s}}function q(e,n,t){return async(_,i)=>{const o=i(),s=(0,S.sz)()(o,e,t);return"+"!==n||s?"-"===n&&s?_(a.WO(e,t)):{error:new Error("unknown action ".concat(n))}:_(V(e,t))}}function W(e,n){return async(t,_)=>{const i=_();return t((0,S.sz)()(i,e,n)?a.WO(e,n):V(e,n))}}function V(e,n){const t=(0,S.S$)();return async(_,i)=>{var o;const s=i(),r=(0,u.iE)(s),m=null!==(o=t(s,e))&&void 0!==o?o:[];return m.length>=Number(r.UniqueEmojiReactionLimitPerPost)&&!m.some((e=>e===n))?(_((0,E.h)({modalId:O.r8.REACTION_LIMIT_REACHED,dialogType:x,dialogProps:{isAdmin:(0,d.BW)(s),onExited:()=>(0,E.M)(O.r8.REACTION_LIMIT_REACHED)}})),{error:new Error("reached reaction limit")}):(_((0,F.zd)(n)),await _(a.rU(e,n)))}}function Y(e){return n=>(n(p.MR(e)),n(p.O8()),{data:!0})}function z(e){return(n,t)=>{const i=t(),a=i.entities.search.results;if(-1===a.indexOf(e)){const t=r.xl(i,e),o=G(i,a).reduce(((e,n)=>(e[n.id]=n,e)),{});o[t.id]=t;const s=[...a,e];s.sort(((e,n)=>(0,f.xd)(o[e],o[n]))),n({type:_.ai.RECEIVED_SEARCH_POSTS,data:{posts:o,order:s}})}return{data:!0}}}function Z(e,n,t){let i=n.entities.search.results;const a=i.indexOf(e);if(a>-1){i=[...i],i.splice(a,1);const e=G(n,i);t({type:_.ai.RECEIVED_SEARCH_POSTS,data:{posts:e,order:i}})}}function X(e){return async(n,t)=>{await n(a.wy(e));const _=t();return(0,A.kV)(_)===O.Hp.PIN&&n(z(e)),{data:!0}}}function J(e){return async(n,t)=>{await n(a.Vn(e));const _=t();return(0,A.kV)(_)===O.Hp.PIN&&Z(e,_,n),{data:!0}}}function $(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",_=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return(i,a)=>{const o=a(),u=r.xl(o,e);if(!u||u.pending_post_id===e)return{data:!1};const m=o.entities.general.config,l=o.entities.general.license,F=(0,d.rc)(o),g=(0,s.mr)(o,u.channel_id),h=(null==g?void 0:g.team_id)||"",c=(0,f.CY)(o,m,l,h,u.channel_id,F,u);return c&&i({type:O.MF.TOGGLE_EDITING_POST,data:{postId:e,refocusId:n,title:t,isRHS:_,show:!0}}),{data:c}}}function Q(){return{type:O.MF.TOGGLE_EDITING_POST,data:{show:!1}}}function ee(e,n){return async(t,_)=>{const i=_(),s=(0,d.rc)(i),u=(0,l.ev)(i);if(!(0,m.ym)(i)||"RHS_ROOT"!==n&&"RHS_COMMENT"!==n)await t(a.Y$(s,e.id));else{const n=e.root_id||e.id;o.ii(t,n,u,!0),t((0,k.Fc)(n,e.create_at-1)),await t(o.Zj(s,u,n,e.id))}return{data:!0}}}function ne(e){return async(n,t)=>{let _=t(),i=r.bt(_,e);return i||(await n(a.Jq(e)),_=t(),i=r.bt(_,e)),i&&n(ee(r.xl(_,i),"CENTER")),{data:!0}}}function te(e){return async(n,t)=>{const{error:_}=await n(a.fR(e));if(_)return{error:_};if(e.id===(0,A.Bh)(t())&&n({type:O.MF.SELECT_POST,postId:"",channelId:"",timestamp:0}),e.id===(0,A.lW)(t())&&n({type:O.MF.SELECT_POST_CARD,postId:"",channelId:""}),""===e.root_id){const _=O.hC.COMMENT_DRAFT+e.id;(0,y.Vx)(t(),_,null)&&n((0,c.hG)(_,e.channel_id,e.id))}return n(a.M8(e)),{data:!0}}}function _e(e){return(n,t)=>{const _=t(),i=(0,d.rc)(_),a=(0,D.Y_)(_,e);n(g.Bc(O.hC.EMBED_VISIBLE+i+"_"+e,!a))}}function ie(){return g.Qg(O.hC.EMBED_VISIBLE,(()=>null))}function ae(e,n){return(t,_)=>{const i=_(),a=(0,d.rc)(i),o=(0,D.Ug)(i,e,n);t(g.Bc(O.hC.INLINE_IMAGE_VISIBLE+a+"_"+e+"_"+n,!o))}}function oe(){return g.Qg(O.hC.INLINE_IMAGE_VISIBLE,(()=>null))}function se(e){return{type:O.MF.EMITTED_SHORTCUT_REACT_TO_LAST_POST,payload:e}}},63970:(e,n,t)=>{"use strict";t.d(n,{be:()=>l,sf:()=>f,xO:()=>d}),t(14078);var _=t(22579),i=t(31435),a=t(43618),o=t(66900),s=t(3901),u=t(83905),r=t(23894),m=t(59898);function l(){return(e,n)=>{const t=n(),i=(0,r.rc)(t),o=(0,a.gO)(t),m=(0,s.Li)(t),l=t.views.channel.postVisibility[o]||0,d=new Set;if(m&&l>0){const e=m.slice(0,l);for(const n of e)n.user_id&&n.user_id!==i&&d.add(n.user_id)}const f=(0,u.cg)(t);for(const e of f)"true"===e.value&&d.add(e.name);d.add(i);const F=Array.from(d);return F.length>0&&e((0,_.IL)(F)),{data:!0}}}function d(e){return n=>{if(null==e)return{data:!1};const t=[];for(let n=0;n{const t=n(),a=(0,o.Zk)(t);return 0!==_.length&&a?(e((0,i.W7)(_)),e((0,m.cq)(_)),{data:!0}):{data:!1}})),{data:!0};var _}}function f(e){return(n,t)=>{const _=t(),a=(0,o.Zk)(_),s=_.entities.users.statuses,u=e.filter((e=>!s[e.id])).map((e=>e.id));return 0!==u.length&&a?(n((0,i.W7)(u)),n((0,m.cq)(u)),{data:!0}):{data:!1}}}},17534:(e,n,t)=>{"use strict";t.d(n,{A6:()=>D,UI:()=>c,XJ:()=>p,Xr:()=>k,aJ:()=>E,sh:()=>A,u7:()=>h}),t(61418),t(92189);var _=t(10883),i=t(73443),a=t(17554),o=t(32394),s=t(17086),u=t(31435),r=t(80139),m=t(43618),l=t(23894),d=t(8243),f=t(23712);function F(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);n&&(_=_.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,_)}return t}function g(e){for(var n=1;n{const a=await t(s.WO(e,n));return t((0,u.PR)(n)),t(s.zG(e)),t((0,i.mx)((0,m.gO)(_()))),a}}function c(e,n){return async t=>{const{data:i,error:a}=await t(s.UI(e,n));if(i){const{data:e}=await t(s.VP(i.team_id));return t({type:_.OU.RECEIVED_MY_TEAM_MEMBER,data:g(g({},i),{},{delete_at:0,msg_count:0,mention_count:0})}),{data:e}}return{error:a}}}function E(e,n){return async t=>{const{data:i,error:a}=await t(s.aJ(e,n));if(i){const{data:e}=await t(s.VP(i.team_id));return t({type:_.OU.RECEIVED_MY_TEAM_MEMBER,data:g(g({},i),{},{delete_at:0,msg_count:0,mention_count:0})}),{data:e}}return{error:a}}}function p(e,n){return async(t,_)=>{const{data:a,error:o}=await t(s.o7(e,n));return o?{error:o}:(t((0,i.mx)((0,m.gO)(_()))),{data:a})}}function k(e,n){return t=>{n?t((0,s.MA)(n)):(0,d.s)().push(e)}}function D(e){return async(n,t)=>{const _=t(),i=(0,l.rc)(_),a=[{user_id:i,name:"",category:f.uP.TEAMS_ORDER,value:e.join(",")}];return n((0,o.$A)(i,a))}}function A(e){return async n=>{let t;try{t=(await r.je.getGroupMessageMembersCommonTeams(e)).data}catch(e){return n((0,a.H)(e)),{error:e}}return{data:t}}}},28176:(e,n,t)=>{"use strict";t.d(n,{A$:()=>E,B1:()=>g,C9:()=>c,Is:()=>l,L9:()=>d,U4:()=>p,qm:()=>h,tF:()=>f,tl:()=>F,vH:()=>b}),t(14078),t(95289),t(95623),t(61514);var _=t(80139),i=t(97042),a=t(4500),o=t(19601),s=t(83905),u=t(32032),r=t(91436);const m="X-Page-Load-Context";function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.default.getState();return(0,u.jf)(e)||function(e){return"true"===(0,o.iE)(e).DiagnosticsEnabled}(e)}function d(e,n,t){const a=r.default.getState();(0,o.SU)(a)&&(0,s.o4)(a,i.Preferences.CATEGORY_PERFORMANCE_DEBUGGING,i.Preferences.NAME_DISABLE_TELEMETRY)||(_.je.trackEvent(e,n,t),(0,u.jf)(a)&&"performance"===e&&t&&console.log(n+" - "+Object.entries(t).map((e=>{let[n,t]=e;return"".concat(n,": ").concat(t)})).join(", ")))}function f(e,n){_.je.pageVisited(e,n)}function F(e){e.forEach((e=>performance.clearMarks(e)))}function g(e){performance.mark(e),l()&&(A||(A=new PerformanceObserver((e=>{for(const n of e.getEntries())n.name.includes("/api/v4/")&&("fetch"!==n.initiatorType&&"xmlhttprequest"!==n.initiatorType||(k+=1))})),A.observe({type:"resource",buffered:!0})),function(e){D[e]=k,window.requestCountAtMark=D}(e))}function h(e,n){return l()?y(n)-y(e):-1}function c(){(function(e){for(let n=0,t=e.length;n{const{loadEventEnd:e,navigationStart:n}=window.performance.timing,t=e-n;let _=0,i=0,a="",o=0;performance.getEntriesByType("resource").forEach((e=>{var n,t,s;"xmlhttprequest"!==e.initiatorType&&"fetch"!==e.initiatorType||(_++,i=Math.max(i,e.encodedBodySize),e.responseEnd-e.startTime>o&&(o=e.responseEnd-e.startTime,a=null!==(n=null===(t=e.name)||void 0===t||null===(s=t.split("/api/"))||void 0===s?void 0:s[1])&&void 0!==n?n:""))})),d("performance","page_load",{duration:t,numOfRequest:_,maxAPIResourceSize:i,longestAPIResource:a,longestAPIResourceDuration:o})}),1e4)}function E(e){if(!l())return;const n=performance.getEntriesByType("resource");let t=1/0,_=0,i=0,a=0;for(const o of e){const e=o.webapp.bundle_path.substring(o.webapp.bundle_path.lastIndexOf("/")),s=n.find((n=>n.name.endsWith(e)));s&&(t=Math.min(s.startTime,t),_=Math.max(s.startTime+s.duration,_),i+=s.duration,a+=s.encodedBodySize)}d("performance","plugins_load",{count:e.length,duration:_-t,totalDuration:i,totalSize:a})}function p(){setTimeout((()=>{var e,n,t,_,i,o,s,u,r;if(!l())return;const m=(0,a.XP)().filter((e=>e.calls>5));d("performance","least_effective_selectors",{after:"one_minute",first:(null===(e=m[0])||void 0===e?void 0:e.name)||"",first_effectiveness:null===(n=m[0])||void 0===n?void 0:n.effectiveness,first_recomputations:null===(t=m[0])||void 0===t?void 0:t.recomputations,second:(null===(_=m[1])||void 0===_?void 0:_.name)||"",second_effectiveness:null===(i=m[1])||void 0===i?void 0:i.effectiveness,second_recomputations:null===(o=m[1])||void 0===o?void 0:o.recomputations,third:(null===(s=m[2])||void 0===s?void 0:s.name)||"",third_effectiveness:null===(u=m[2])||void 0===u?void 0:u.effectiveness,third_recomputations:null===(r=m[2])||void 0===r?void 0:r.recomputations})}),6e4)}let k=0;const D={};let A;function y(e){var n;return null!==(n=D[e])&&void 0!==n?n:0}const b=e=>{_.je.setHeader(m,e),setTimeout((()=>{_.je.removeHeader(m)}),5e3)}},98876:(e,n,t)=>{"use strict";t.d(n,{$u:()=>b,D3:()=>M,EI:()=>L,JT:()=>N,K:()=>C,RO:()=>I,Tg:()=>S,Vo:()=>T,XM:()=>H,Z5:()=>w,aV:()=>x,bN:()=>y,hH:()=>O,nM:()=>A,tl:()=>v,u1:()=>G,v8:()=>B,w5:()=>K}),t(61418),t(14078),t(40895),t(73902),t(52077),t(911);var _=t(73443),i=t(32394),a=t(17086),o=t(31435),s=t(97042),u=t(43618),r=t(66900),m=t(83905),l=t(11298),d=t(23894),f=t(39875),F=t(59898),g=t(63970),h=t(35590),c=t(91436),E=t(23712),p=t(70174);const k=c.default.dispatch,D=c.default.getState;function A(e,n,t){let _=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return async(i,a)=>{const s=t||(0,l.ev)(a()),{data:u}=await i(o.gV(s,e,n,"",_));return u&&await Promise.all([i(w(u,s,!0)),i((0,g.xO)(u))]),{data:!0}}}function y(e,n,t){let _=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return async(a,s)=>{const r=t||(0,u.gO)(s()),{data:m}=await a(o.rw(r,e,n,_,i));return m&&await Promise.all([a(x(m,r,!0)),a((0,g.xO)(m))]),{data:!0}}}function b(e,n,t,_){return async(i,a)=>{const s=t||(0,l.ev)(a()),{data:u}=await i(o.gV(s,e,n,"",_));return u&&(i(w(u,s)),i((0,g.xO)(u))),{data:!0}}}function N(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return async(t,_)=>{const i=n.team_id||(0,l.ev)(_()),{data:a}=await t(o.t6(e,n));return a&&await Promise.all([t(w(a,i)),t((0,g.xO)(a))]),{data:!0}}}function C(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return async(t,_)=>{const i=n.in_channel_id||(0,u.gO)(_()),{data:a}=await t(o.t6(e,n));return a&&await Promise.all([t(x(a,i)),t((0,g.xO)(a))]),{data:!0}}}function I(e,n,t,_,i){return async(a,s)=>{const r=s(),m=t||(0,l.ev)(r),d=_||(0,u.gO)(r),{data:f}=await a(o.rw(d,e,n,"",i));if(f){const{data:e}=await a(w(f,m));e&&(a(x(f,d)),a((0,g.xO)(f)))}return{data:!0}}}function w(e,n){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return async(_,i)=>{const o=i(),s=n||(0,l.ev)(o),u={};for(let n=0;n{const a=i(),o=n||(0,l.ev)(a),s=t||(0,u.gO)(a),{data:r}=await _(w(e,o));return r&&_(x(e,s)),{data:!0}}}function x(e,n){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return async(i,a)=>{const o=a(),s=n||(0,u.gO)(o),r={};for(let n=0;n{const a=t(),o=d.rc(a);function s(t){const _=p.aU(t);if(!_)return{data:!1};if(!1===(0,m.o4)(a,E.uP.CATEGORY_DIRECT_CHANNEL_SHOW,_,!1)){const t=p.u3();return n((0,i.$A)(o,[{user_id:o,category:E.uP.CATEGORY_DIRECT_CHANNEL_SHOW,name:_,value:"true"},{user_id:o,category:E.uP.CATEGORY_CHANNEL_OPEN_TIME,name:e,value:t.toString()}])),v(),{data:!0}}return{data:!1}}let r={data:!1};const l=(0,u.mr)(t(),e);return l?r=s(l):(r=await n((0,_.Ao)(e)),r.data&&(r=s(r.data.channel))),r}}function T(e){return async(n,t)=>{const a=t(),o=d.rc(a);return(0,u.mr)(a,e)||await n((0,_.Ao)(e)),!1===(0,m.o4)(a,E.uP.CATEGORY_GROUP_CHANNEL_SHOW,e,!1)?(k((0,i.$A)(o,[{user_id:o,category:E.uP.CATEGORY_GROUP_CHANNEL_SHOW,name:e,value:"true"}])),L(),{data:!0}):{data:!1}}}function S(e){return(n,t)=>{const _=t(),i=d.ZQ(_),a=e.reduce(((e,n)=>{let{id:t}=n;return 0===(i[t]||new Set).size&&e.push(t),e}),[]);return a.length>0?(n(o.r(a)),{data:!0}):{data:!1}}}async function M(){await Promise.all([v(),L()])}const R=e=>{let n=(0,h.ER)(e);return n=n.filter((e=>e.type===s.LQ.GM_CHANNEL)),n};async function L(){const e=D(),n=[],t=d.ZQ(e),_=d.rc(e),a=(0,m.ym)(e),s=new Set,r=[];for(const i of R(e)){const o=t[i.id]||new Set;if(o.forEach((e=>s.add(e))),!(o.size>=E.Constants.MIN_USERS_IN_GM)){if(!(0,m.o4)(e,E.uP.CATEGORY_GROUP_CHANNEL_SHOW,i.id)){const t=(0,u.M6)(e,i.id),o=(0,u.Or)(e,i.id);if(!(0,f.p2)(t,o,a).showUnread)continue;n.push({user_id:_,category:E.uP.CATEGORY_GROUP_CHANNEL_SHOW,name:i.id,value:"true"})}0===o.size&&r.push(i.id)}}r.length>0&&await k(o.r(r)),s.size>0&&k((0,F.cq)(s)),n.length>0&&k((0,i.$A)(_,n))}async function v(){const e=D(),n=(0,u.qB)(e),t=[],_=[],a=[],s=d.rc(e),r=(0,m.ym)(e);for(let i=0;i0&&k((0,i.$A)(s,t)),_.length>0&&await k(o.Ef(_)),await k((0,F.cq)(a))}function H(e){return async(n,t)=>{const _=(0,l.ev)(t()),{data:i}=await n(o.w5(e,_));return i}}function K(e){return async n=>{const{data:t}=await n(o.w5(e));return t}}function G(){return async e=>{const n=D();if(!(0,r.Zk)(n))return{data:void 0};const{currentUserId:t}=n.entities.users,{data:_}=await e(o.W7([t])),i=null==_?void 0:_[0];return(null==i?void 0:i.status)!==E.gg.OUT_OF_OFFICE&&null!=i&&i.manual&&(0,m.o4)(D(),s.Preferences.CATEGORY_AUTO_RESET_MANUAL_STATUS,t,!1)?(e(o.Tf({user_id:t,status:"online"})),{data:i}):{data:i}}}},52508:(e,n,t)=>{"use strict";t.d(n,{Dc:()=>D,Kl:()=>k,Oe:()=>h,WB:()=>p,XD:()=>E,hG:()=>c}),t(61418),t(14078),t(92189);var _=t(22850),i=t(32394),a=t(80139),o=t(82),s=t(83905),u=t(23894),r=t(73318),m=t(35658),l=t(32032),d=t(59161),f=t(23712);function F(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);n&&(_=_.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,_)}return t}function g(e){for(var n=1;n{const o=i();let s=[];try{s=(await a.je.getUserDrafts(e)).map((e=>D(e)))}catch(e){return{data:!1,error:e}}const u=n(o),m=[...s,...u],l=new Map(m.map((e=>[e.key,e])));m.forEach((e=>{const n=l.get(e.key);n&&e.timestamp>n.timestamp&&l.set(e.key,e)}));const d=Array.from(l).map((e=>{let[n,t]=e;return(0,r.Bc)(n,t.value)}));return t((0,_.$C)(d)),{data:!0}}}function c(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return async(_,i)=>{const o=i();if(_((0,r.Bc)(e,{message:"",fileInfos:[],uploadsInProgress:[]})),(0,s.TJ)(o)){const e=(0,l.en)(i());try{await a.je.deleteDraft(n,t,e)}catch(e){return{data:!1,error:e}}}return{data:!0}}}function E(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",_=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return async(i,o)=>{const r=o();let m=null;if(n){const t=(new Date).getTime(),_=(0,d.Vx)(r,e,{});m=g(g({},n),{},{createAt:_.createAt||t,updateAt:t})}if(i(k(e,m,!1)),(0,s.TJ)(r)&&_&&m){const e=(0,l.en)(r),n=(0,u.rc)(r);try{await function(e,n){var t;let _=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3?arguments[3]:void 0;const o=e.fileInfos.map((e=>e.id)),s={create_at:e.createAt||0,update_at:e.updateAt||0,delete_at:0,user_id:n,channel_id:e.channelId,root_id:e.rootId||_,message:e.message,props:e.props,file_ids:o,priority:null===(t=e.metadata)||void 0===t?void 0:t.priority};return a.je.upsertDraft(s,i)}(m,n,t,e)}catch(e){return{data:!1,error:e}}}return{data:!0}}}function p(e){return async(n,t)=>{const _=t(),a=(0,u.rc)(_),s={user_id:a,category:o.Z.CATEGORY_DRAFTS,name:o.Z.DRAFTS_TOUR_TIP_SHOWED,value:JSON.stringify(e)};return await n((0,i.$A)(a,[s])),{data:!0}}}function k(e,n,t){return _=>(_((0,r.Bc)(e,n)),_(function(e,n){return{type:f.MF.SET_DRAFT_SOURCE,data:{key:e,isRemote:n}}}(e,t)),{data:!0})}function D(e){var n;let t="".concat(f.hC.DRAFT).concat(e.channel_id);""!==e.root_id&&(t="".concat(f.hC.COMMENT_DRAFT).concat(e.root_id));let _=[];null!==(n=e.metadata)&&void 0!==n&&n.files&&(_=e.metadata.files);const i=e.metadata||{};return e.priority&&(i.priority=e.priority),{key:t,timestamp:new Date(e.update_at),value:{message:e.message,fileInfos:_,props:e.props,uploadsInProgress:[],channelId:e.channel_id,rootId:e.root_id,createAt:e.create_at,updateAt:e.update_at,metadata:i,show:!0}}}},40364:(e,n,t)=>{"use strict";t.d(n,{M:()=>a,h:()=>i});var _=t(23712);function i(e){return{type:_.MF.MODAL_OPEN,modalId:e.modalId,dialogProps:e.dialogProps,dialogType:e.dialogType}}function a(e){return{type:_.MF.MODAL_CLOSE,modalId:e}}},39183:(e,n,t)=>{"use strict";t.d(n,{B7:()=>U,Cj:()=>P,D5:()=>y,DQ:()=>ie,F8:()=>X,G1:()=>J,G7:()=>se,Hm:()=>N,IM:()=>V,I_:()=>O,JI:()=>z,Jm:()=>te,Lg:()=>W,MR:()=>w,O8:()=>R,Os:()=>H,P_:()=>q,TT:()=>ae,VH:()=>ue,Wj:()=>Y,Xv:()=>_e,Yv:()=>G,_$:()=>M,fV:()=>Z,fm:()=>L,ht:()=>oe,iY:()=>b,js:()=>ne,mF:()=>C,nh:()=>B,o0:()=>x,rb:()=>j,rk:()=>re,vc:()=>I,x:()=>K,yn:()=>v}),t(61418),t(95623),t(61514),t(20266),t(14078);var _=t(66726),i=t.n(_),a=t(22850),o=t(10883),s=t(73443),u=t(6352),r=t(57781),m=t(43618),l=t(19601),d=t(3901),f=t(11298),F=t(11511),g=t(23894),h=t(28176),c=t(84459),E=t(83282),p=t(23712),k=t(47816),D=t(9292);function A(e,n){return(t,_)=>{const i=_();return t(X(e,n||(0,c.kV)(i))),{data:!0}}}function y(e,n,t){return(_,i)=>{const a={type:p.MF.UPDATE_RHS_STATE,state:e};return[p.Hp.PIN,p.Hp.CHANNEL_FILES,p.Hp.CHANNEL_INFO,p.Hp.CHANNEL_MEMBERS].includes(e)&&(a.channelId=n||(0,m.gO)(i())),t&&(a.previousRhsState=t),_(a),{data:!0}}}function b(e){return{type:p.MF.UPDATE_RHS_STATE,state:p.Hp.EDIT_HISTORY,postId:e.id,channelId:e.channel_id,timestamp:Date.now()}}function N(){return async(e,n)=>{const t=(0,c.ZR)(n());return e({type:p.MF.RHS_GO_BACK,state:t||"channel-info"}),{data:!0}}}function C(e){return A(e)}function I(e){return async(n,t)=>{const _=t();return n((i=(0,d.an)(_,e),async(e,n)=>e(C((0,d.xl)(n(),i)))));var i}}function w(e){return{type:p.MF.UPDATE_RHS_SEARCH_TERMS,terms:e}}function B(e){let n=e;if(!n){const e=window.innerWidth;switch(!0){case e<=p.Constants.SMALL_SIDEBAR_BREAKPOINT:n=E.EJ.SMALL;break;case e>p.Constants.SMALL_SIDEBAR_BREAKPOINT&&e<=p.Constants.MEDIUM_SIDEBAR_BREAKPOINT:n=E.EJ.MEDIUM;break;case e>p.Constants.MEDIUM_SIDEBAR_BREAKPOINT&&e<=p.Constants.LARGE_SIDEBAR_BREAKPOINT:n=E.EJ.LARGE;break;default:n=E.EJ.XLARGE}}return{type:p.MF.SET_RHS_SIZE,size:n}}function x(){return(e,n)=>{const t=(0,m.ZY)(n());return e(w("in:".concat(t," ")))}}function O(e){return{type:p.MF.UPDATE_RHS_SEARCH_TYPE,searchType:e}}function T(e){return{type:p.MF.UPDATE_RHS_SEARCH_RESULTS_TERMS,terms:e}}function S(e,n){return(t,_)=>{let i=e;const a=(0,f.ev)(_()),o="true"===(0,l.iE)(_()).ExperimentalViewArchivedChannels,s=(0,c.vX)(_()),u=null==s?void 0:s.map((e=>"ext:".concat(e))).join(" ");let m=i;if((null==u?void 0:u.trim().length)>0&&(m+=" ".concat(u)),n){const e=(0,g.ts)(_()),n=i.split(" ").filter((e=>Boolean(e&&e.trim()))),t="@"+e.username;for(let _=0;_0?(0,D.C7)(d):(0,D.SU)()),E=t((0,r.rt)(n?"":a,{terms:i,is_or_search:Boolean(n),include_deleted_channels:o,time_zone_offset:h,page:0,per_page:20})),p=t((0,r.fm)(a,{terms:m,is_or_search:Boolean(n),include_deleted_channels:o,time_zone_offset:h,page:0,per_page:20}));return Promise.all([p,E])}}function M(e){return{type:p.MF.SET_FILES_FILTER_BY_EXT,data:e}}function R(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(n,t)=>{const _=t(),i=(0,c.fP)(_);return n(y(e?p.Hp.MENTION:p.Hp.SEARCH)),n(T(i)),n(S(i))}}function L(e){return{type:p.MF.UPDATE_RHS_STATE,state:p.Hp.PLUGIN,pluggableId:e}}function v(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return async(t,_)=>{const i=_();n&&await t(ue(!0));let a=(0,c.kV)(i);return a===p.Hp.CHANNEL_MEMBERS&&(a=(0,c.ZR)(i)),t({type:p.MF.UPDATE_RHS_STATE,channelId:e,state:p.Hp.CHANNEL_MEMBERS,previousRhsState:a}),{data:!0}}}function H(e){return(n,t)=>{const _=t();return(0,c.n_)(_)===e&&n(W()),{data:!0}}}function K(e){return(n,t)=>{const _=t();return(0,c.n_)(_)===e?(n(H(e)),{data:!1}):(n(L(e)),{data:!0})}}function G(){return async(e,n)=>{const t=n(),_=(0,f.ev)(t);e({type:p.MF.UPDATE_RHS_STATE,state:p.Hp.FLAG});const i=await e((0,r.jP)());let s;return"data"in i&&(s=i.data),e((0,a.$C)([{type:o.ai.RECEIVED_SEARCH_POSTS,data:s},{type:o.ai.RECEIVED_SEARCH_TERM,data:{teamId:_,terms:null,isOrSearch:!1}}])),{data:!0}}}function U(e){return async(n,t)=>{const _=t(),i=(0,m.gO)(_),s=(0,f.ev)(_);let u=(0,c.kV)(_);u===p.Hp.PIN&&(u=(0,c.ZR)(_)),n({type:p.MF.UPDATE_RHS_STATE,channelId:e||i,state:p.Hp.PIN,previousRhsState:u});const l=await n((0,r.Hp)(e||i));let d;return"data"in l&&(d=l.data),n((0,a.$C)([{type:o.ai.RECEIVED_SEARCH_POSTS,data:d},{type:o.ai.RECEIVED_SEARCH_TERM,data:{teamId:s,terms:null,isOrSearch:!1}}])),{data:!0}}}function P(e){return async(n,t)=>{const _=t(),i=(0,f.ev)(_);let s=(0,c.kV)(_);s===p.Hp.CHANNEL_FILES&&(s=(0,c.ZR)(_)),n({type:p.MF.UPDATE_RHS_STATE,channelId:e,state:p.Hp.CHANNEL_FILES,previousRhsState:s}),n(O("files"));const r=await n(S("channel:"+e)),m=r instanceof Array?r[0].data:null,l=[];let F;return m&&Object.values(m.file_infos).forEach((e=>{const n=null==e?void 0:e.post_id;n&&!(0,d.xl)(_,n)&&l.push(n)})),l.length>0&&await n((0,u.QQ)(l)),r&&r instanceof Array&&2===r.length&&"data"in r[1]&&(F=r[1].data),n((0,a.$C)([{type:o.ai.RECEIVED_SEARCH_POSTS,data:F},{type:o.ai.RECEIVED_SEARCH_TERM,data:{teamId:i,terms:null,isOrSearch:!1}}])),{data:!0}}}function j(){return(e,n)=>{const t=(0,g.b7)(n()).filter((e=>{let{key:n}=e;return"@channel"!==n&&"@all"!==n&&"@here"!==n})).map((e=>{let{key:n}=e;return n})).join(" ").trim()+" ";return(0,h.L9)("api","api_posts_search_mention"),e(S(t,!0)),e((0,a.$C)([{type:p.MF.UPDATE_RHS_SEARCH_TERMS,terms:t},{type:p.MF.UPDATE_RHS_STATE,state:p.Hp.MENTION}])),{data:!0}}}function q(e){return{type:p.MF.UPDATE_RHS_STATE,channelId:e,state:p.Hp.CHANNEL_INFO}}function W(){return e=>{const n=[{type:p.MF.UPDATE_RHS_STATE,state:null},{type:p.MF.SELECT_POST,postId:"",channelId:"",timestamp:0}];return e((0,a.$C)(n)),{data:!0}}}const V=()=>e=>e({type:p.MF.TOGGLE_RHS_MENU}),Y=()=>e=>e({type:p.MF.CLOSE_RHS_MENU});function z(e){return{type:p.MF.SET_RHS_EXPANDED,expanded:e}}function Z(){return{type:p.MF.TOGGLE_RHS_EXPANDED}}function X(e,n){return performance.mark(k.vc.PostSelected),{type:p.MF.SELECT_POST,postId:e.root_id||e.id,channelId:e.channel_id,previousRhsState:n,timestamp:Date.now()}}function J(e){return async(n,t)=>{var _;const i=t(),a=null!==(_=(0,d.xl)(i,e))&&void 0!==_?_:(await n((0,u.xl)(e))).data;return a&&"DELETED"!==a.state&&0===a.delete_at?((0,m.mr)(i,a.channel_id)||await n((0,s.mr)(a.channel_id)),n(X(a)),{data:!0}):{data:!1}}}function $(e){return{type:p.MF.HIGHLIGHT_REPLY,postId:e.id}}const Q={type:p.MF.CLEAR_HIGHLIGHT_REPLY},ee=i()((e=>e(Q)),p.Constants.PERMALINK_FADEOUT);function ne(e){return n=>(n((0,a.$C)([X(e),$(e)])),ee(n),{data:!0})}function te(e){return{type:p.MF.SELECT_POST_CARD,postId:e.id,channelId:e.channel_id}}function _e(){return e=>(e((0,r.AQ)()),e(w("")),e(T("")),e(y(p.Hp.SEARCH)),{data:!0})}function ie(e){return(n,t)=>{if(!e)return n(_e());if(e.isChannelInfo)return n(q((0,m.gO)(t())));if(e.isChannelMembers)return n(v((0,m.gO)(t())));if(e.isMentionSearch)return n(j());if(e.isPinnedPosts)return n(U());if(e.isFlaggedPosts)return n(G());if(e.selectedPostId){const _=(0,d.xl)(t(),e.selectedPostId);return n(_?A(_,e.previousRhsState):_e())}if(e.selectedPostCardId){const _=(0,d.xl)(t(),e.selectedPostCardId);return n(_?function(e,n){return async(t,_)=>{const i=_();return t({type:p.MF.SELECT_POST_CARD,postId:e.id,channelId:e.channel_id,previousRhsState:n||(0,c.kV)(i)}),{data:!0}}}(_,e.previousRhsState):_e())}return e.searchVisible?n(R()):n(_e())}}const ae={type:p.MF.SUPPRESS_RHS},oe={type:p.MF.UNSUPPRESS_RHS};function se(){return{type:p.MF.RHS_FOCUSED}}function ue(e){return{type:p.MF.SET_EDIT_CHANNEL_MEMBERS,active:e}}function re(){return()=>{(0,k.vG)({name:k.UH.RhsLoad,startMark:k.vc.PostSelected,canFail:!0}),performance.clearMarks(k.vc.PostSelected)}}},33591:(e,n,t)=>{"use strict";t.d(n,{B1:()=>F,Fc:()=>d,OX:()=>f,c9:()=>l,xQ:()=>m});var _=t(22850),i=t(26219),a=t(11298),o=t(4195),s=t(23894),u=t(96405),r=t(23712);function m(e,n){return{type:r.US.CHANGED_LAST_VIEWED_AT,data:{threadId:e,lastViewedAt:n}}}function l(e,n){return{type:r.US.CHANGED_SELECTED_THREAD,data:{thread_id:n,team_id:e}}}function d(e,n){return(0,_.$C)([m(e,n),{type:r.US.MANUALLY_UNREAD_THREAD,data:{threadId:e}}])}function f(e){return{type:r.MF.UPDATE_THREAD_TOAST_STATUS,data:e}}function F(e){return(n,t)=>{const _=t(),r=(0,s.rc)(_),m=(0,a.ev)(_);(0,o.bJ)(_,e)&&(0,u.c7)(_,e)&&window.isActive&&!(0,u.af)(_,e)&&n((0,i.bl)(r,m,e,Date.now()))}}},95159:(e,n,t)=>{"use strict";t.d(n,{Z:()=>_});const _=new(t(15458).WebSocketClient)},6564:(e,n,t)=>{"use strict";t.d(n,{Z:()=>d});var _=t(23615),i=t.n(_),a=(t(92189),t(60042)),o=t.n(a),s=t(84390),u=t.n(s),r=t(11313),m=t(72060);function l(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var _=t.call(e,"string");if("object"!=typeof _)return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof n?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}class d extends u().Component{constructor(e){super(e),l(this,"handleCheckboxChange",(e=>{this.setState({checked:e.target.checked})})),l(this,"handleConfirm",(()=>{var e,n;null===(e=(n=this.props).onConfirm)||void 0===e||e.call(n,this.state.checked)})),l(this,"handleCancel",(()=>{var e,n;null===(e=(n=this.props).onCancel)||void 0===e||e.call(n,this.state.checked)})),this.state={checked:!1}}shouldComponentUpdate(e,n){return e.show!==this.props.show||n.checked!==this.state.checked}render(){let e,n,t;return this.props.showCheckbox&&(e=u().createElement("div",{className:"checkbox text-right mb-0"},u().createElement("label",null,u().createElement("input",{type:"checkbox",onChange:this.handleCheckboxChange,checked:this.state.checked}),this.props.checkboxText))),n=this.props.cancelButtonText?this.props.cancelButtonText:u().createElement(m.FormattedMessage,{id:"confirm_modal.cancel",defaultMessage:"Cancel"}),this.props.hideCancel||(t=u().createElement("button",{type:"button","data-testid":"cancel-button",className:"btn btn-tertiary",onClick:this.handleCancel,id:"cancelModalButton"},n)),u().createElement(r.Modal,{id:o()("confirmModal",this.props.id),className:"modal-confirm "+this.props.modalClass,dialogClassName:"a11y__modal",show:this.props.show,onHide:this.handleCancel,onExited:this.props.onExited,role:"dialog","aria-modal":!0,"aria-labelledby":"confirmModalLabel","aria-describedby":"confirmModalBody","data-testid":this.props.id},u().createElement(r.Modal.Header,{closeButton:!0},u().createElement(r.Modal.Title,{componentClass:"h1",id:"confirmModalLabel"},this.props.title)),u().createElement(r.Modal.Body,{id:"confirmModalBody"},this.props.message,!this.props.checkboxInFooter&&e),u().createElement(r.Modal.Footer,null,this.props.checkboxInFooter&&e,t,u().createElement("button",{autoFocus:!0,type:"button",className:this.props.confirmButtonClass,onClick:this.handleConfirm,id:"confirmModalButton"},this.props.confirmButtonText)))}}l(d,"propTypes",{id:i().string,show:i().bool.isRequired,title:i().node,message:i().node,confirmButtonClass:i().string,modalClass:i().string,confirmButtonText:i().node,cancelButtonText:i().node,showCheckbox:i().bool,checkboxText:i().node,checkboxInFooter:i().bool,onConfirm:i().func,onCancel:i().func,onExited:i().func,hideCancel:i().bool}),l(d,"defaultProps",{title:"",message:"",confirmButtonClass:"btn btn-primary",confirmButtonText:"",modalClass:""})},35683:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l}),t(95623),t(61514),t(14078),t(70684),t(68581),t(41940),t(40895),t(52077),t(911),t(48410),t(92189);var _=t(84390),i=t.n(_),a=t(70314),o=t(66900),s=t(19601),u=t(28176);function r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);n&&(_=_.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,_)}return t}function m(e){for(var n=1;n{var t;const _=(0,a.useSelector)(o.rc),r=(0,a.useSelector)(s.iE),l=(0,a.useSelector)(s.lJ);let d=e.href,f={};if(null!==(t=d)&&void 0!==t&&t.includes("mattermost.com")){const n=new URL(d).searchParams,t=Object.fromEntries(n.entries());f=m(m({utm_source:"mattermost",utm_medium:"true"===l.Cloud?"in-product-cloud":"in-product",utm_content:e.location||"",uid:_,sid:r.TelemetryId||""},e.queryParams),t);const i=new URLSearchParams(f).toString();var F;Object.keys(t).length&&(d=null===(F=d)||void 0===F?void 0:F.split("?")[0]);const a=new URL(d).hash;a&&(d=d.replace(a,"")),d="".concat(d,"?").concat(i).concat(null!=a?a:"")}return i().createElement("a",Object.assign({},e,{ref:n,target:e.target||"_blank",rel:e.rel||"noopener noreferrer",onClick:n=>{(0,u.L9)("link_out","click_external_link",f),"function"==typeof e.onClick&&e.onClick(n)},href:d}),e.children)}))},80847:(e,n,t)=>{"use strict";t.d(n,{A:()=>D}),t(61418),t(52077),t(911);var _=t(73443),i=t(6352),a=t(31435),o=t(80139),s=t(43618),u=t(83905),r=t(11298),m=t(23894),l=t(39875),d=t(33115),f=t(20827),F=t(98876),g=t(39183),h=t(8243),c=t(83514),E=t(23712),p=t(22589);let k=!1;function D(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2?arguments[2]:void 0,D=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{skipRedirectReplyPermalink:!1};return async(A,y)=>{if(k)return;let b;try{b=await o.je.getPostInfo(e)}catch(e){return void(0,h.s)().replace("/error?type=".concat(E.vU.PERMALINK_NOT_FOUND,"&returnTo=").concat(n))}const N=y(),C=(0,r.kA)(N);if(!C)return;if(!b.has_joined_channel){const e=(0,m.ts)(N);if(b.channel_type===E.Constants.PRIVATE_CHANNEL&&(0,d.$O)(e.roles)){k=!0;const e=await A((0,c.Jf)(C,b.channel_display_name));if(k=!1,"data"in e&&!e.data.join)return}await A((0,_.JJ)(t,"",b.channel_id))}const{data:I}=await A((0,i.ct)(e));if(!I)return void(0,h.s)().replace("/error?type=".concat(E.vU.PERMALINK_NOT_FOUND,"&returnTo=").concat(n));if(I.first_inaccessible_post_time)return void(0,h.s)().replace("/error?type=".concat(E.vU.CLOUD_ARCHIVED,"&returnTo=").concat(n));const w=(0,u.ym)(N),B=I.posts[I.order[0]].channel_id;let x=(0,s.mr)(N,B);if(!x){const{data:e}=await A((0,_.mr)(B));if(!e)return void(0,h.s)().replace("/error?type=".concat(E.vU.PERMALINK_NOT_FOUND,"&returnTo=").concat(n));x=e}const O=x.team_id||C.id;let T=N.entities.channels.myMembers[B];if(!T){if(x.type===E.Constants.DM_CHANNEL||x.type===E.Constants.GM_CHANNEL)return void(0,h.s)().replace("/error?type=".concat(E.vU.PERMALINK_NOT_FOUND,"&returnTo=").concat(n));const e=await A((0,_.hg)(x.id,t));if("data"in e&&(T=e.data),!T)return void(0,h.s)().replace("/error?type=".concat(E.vU.PERMALINK_NOT_FOUND,"&returnTo=").concat(n))}if(x.team_id&&x.team_id!==O)return void(0,h.s)().replace("/error?type=".concat(E.vU.PERMALINK_NOT_FOUND,"&returnTo=").concat(n));if(x&&x.type===E.Constants.DM_CHANNEL){const e=(0,l.aU)(t,x.name);await A((0,a.C4)([e])),A((0,F.hH)(x.id))}else x&&x.type===E.Constants.GM_CHANNEL&&A((0,F.Vo)(x.id));const S=I.posts[e];if(w&&(0,p.C3)(S)){const{data:e}=await A(function(e,n,t,a,o){return async(u,m)=>{const{data:l}=await u((0,i.ct)(e.root_id));if(l.first_inaccessible_post_time)return(0,h.s)().replace("/error?type=".concat(E.vU.CLOUD_ARCHIVED,"&returnTo=").concat(a)),{data:!1};const d=m(),f=(0,r.VP)(d,n.team_id||t),F=(0,s.TB)(d),c=F&&F.team_id===(null==f?void 0:f.id),{skipRedirectReplyPermalink:k}=o;if(c||u((0,_.QE)(n.id)),c&&a&&!k)(0,h.s)().replace(a);else if(!c||!k){const n=(0,p.P4)(d,e);(0,h.s)().replace(n)}return u((0,g.js)(e)),{data:!0}}}(S,x,O,n,D));if(!e)return}else A(function(e,n){return async(t,i)=>{const a=(0,p.P4)(i(),e);return t((0,_.QE)(n.id)),t({type:E.MF.RECEIVED_FOCUSED_POST,data:e.id,channelId:n.id}),(0,h.s)().replace(a),{data:!0}}}(S,x));A((0,f.b9)()),A((0,_.mx)(B))}}},73628:(e,n,t)=>{"use strict";t.d(n,{k:()=>C,fK:()=>w,Vb:()=>I,cY:()=>B}),t(73902);const _=t.p+"i18n/bg.b16bb8a3c7823e6a2b0c.json",i=t.p+"i18n/de.582803ce2a2646b4d79c.json",a=t.p+"i18n/en-AU.cdc0991e91f8947e80c8.json",o=t.p+"i18n/es.59ef5d2b9122461af966.json",s=t.p+"i18n/fa.da03e02229c4cd61f942.json",u=t.p+"i18n/fr.950a8e6b14d7bc7821e5.json",r=t.p+"i18n/hu.a9bb32568e39e4ce0938.json",m=t.p+"i18n/it.de5643602139bb8acd32.json",l=t.p+"i18n/ja.8e13b230b3ad5552dd57.json",d=t.p+"i18n/ko.b79b3ae091156aa7e3ad.json",f=t.p+"i18n/nl.67911def65a21ce5a110.json",F=t.p+"i18n/pl.a85924d26e58d16d49cc.json",g=t.p+"i18n/pt-BR.3245035f68995b662ad8.json",h=t.p+"i18n/ro.47947a5f4d99284cbf53.json",c=t.p+"i18n/ru.38327f9a18dc21952536.json",E=t.p+"i18n/sv.f42872e0430d1b907dc0.json",p=t.p+"i18n/vi.ea8a78984f3677010c94.json",k=t.p+"i18n/tr.59e92e2219faeccec07e.json",D=t.p+"i18n/uk.682ba69c5cb406e4fbbb.json",A=t.p+"i18n/zh-TW.1137f8f9a4235929febe.json",y=t.p+"i18n/zh-CN.d10f2dc016809ca883df.json";var b=t(19601);const N={de:{value:"de",name:"Deutsch",order:0,url:i},en:{value:"en",name:"English (US)",order:1,url:""},"en-AU":{value:"en-AU",name:"English (Australia)",order:2,url:a},es:{value:"es",name:"Español (Beta)",order:3,url:o},fr:{value:"fr",name:"Français (Beta)",order:4,url:u},it:{value:"it",name:"Italiano (Alpha)",order:5,url:m},hu:{value:"hu",name:"Magyar (Beta)",order:6,url:r},nl:{value:"nl",name:"Nederlands",order:7,url:f},pl:{value:"pl",name:"Polski",order:8,url:F},"pt-BR":{value:"pt-BR",name:"Português (Brasil) (Alpha)",order:9,url:g},ro:{value:"ro",name:"Română (Alpha)",order:10,url:h},sv:{value:"sv",name:"Svenska",order:11,url:E},vi:{value:"vi",name:"Tiếng Việt (Beta)",order:12,url:p},tr:{value:"tr",name:"Türkçe",order:13,url:k},bg:{value:"bg",name:"Български (Alpha)",order:14,url:_},ru:{value:"ru",name:"Pусский",order:15,url:c},uk:{value:"uk",name:"Yкраїнська (Alpha)",order:16,url:D},fa:{value:"fa",name:"فارسی (Alpha)",order:17,url:s},ko:{value:"ko",name:"한국어 (Alpha)",order:18,url:d},"zh-CN":{value:"zh-CN",name:"中文 (简体) (Beta)",order:19,url:y},"zh-TW":{value:"zh-TW",name:"中文 (繁體)",order:20,url:A},ja:{value:"ja",name:"日本語",order:21,url:l}};function C(){return N}function I(e){const n=(0,b.iE)(e);return n.AvailableLocales?n.AvailableLocales.split(",").reduce(((e,n)=>(N[n]&&(e[n]=N[n]),e)),{}):C()}function w(e){return C()[e]}function B(e,n){return Boolean(I(e)[n])}},54892:(e,n,t)=>{"use strict";t.d(n,{No:()=>h,Sn:()=>D,Wp:()=>c,Wr:()=>b,Yw:()=>y,ay:()=>A,cN:()=>k,k4:()=>C,t6:()=>I,uN:()=>p,uu:()=>w,yz:()=>N}),t(61418),t(14078),t(73902),t(92189);var _=t(22850),i=t(63145),a=t(10883),o=t(17554),s=t(98644),u=t(80139),r=t(20229),m=t(95849),l=t(23894),d=t(88308),f=t(97042);function F(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);n&&(_=_.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,_)}return t}function g(e){for(var n=1;n{const i=_(),r=(0,l.rc)(i),d=(0,m.n3)(i,e),f=g(g({},d),n);t({type:a.Y.RECEIVED_CATEGORY,data:f});try{await u.je.updateChannelCategory(r,d.team_id,f)}catch(e){return t({type:a.Y.RECEIVED_CATEGORY,data:d}),(0,s._f)(e,t,_),t((0,o.H)(e)),{error:e}}return{data:f}}}function p(e,n){return async(t,i)=>{const r=i(),d=(0,m.n3)(r,e),f=await t(function(e){return async(n,t)=>{const _=t(),i=(0,l.rc)(_);let a;try{a=await u.je.updateChannelCategory(i,e.team_id,e)}catch(e){return(0,s._f)(e,n,t),n((0,o.H)(e)),{error:e}}return{data:a}}}(g(g({},d),{},{muted:n})));if("error"in f)return f;const F=f.data;return t((0,_.$C)([{type:a.Y.RECEIVED_CATEGORY,data:F},...F.channel_ids.map((e=>({type:a.d4.SET_CHANNEL_MUTED,data:{channelId:e,muted:n}})))])),{data:!0}}}function k(e,n){return async(t,i)=>{const r=(0,l.rc)(i());let m;try{m=await u.je.getChannelCategories(r,e)}catch(e){return(0,s._f)(e,t,i),t((0,o.H)(e)),{error:e}}return t((0,_.$C)([{type:a.Y.RECEIVED_CATEGORIES,data:m.categories,isWebSocket:n},{type:a.Y.RECEIVED_CATEGORY_ORDER,data:{teamId:e,order:m.order}}]))}}function D(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return async(t,_)=>{const i=_(),o=Object.values((0,m.Hj)(i));if(e.type===f.LQ.DM_CHANNEL||e.type===f.LQ.GM_CHANNEL){const n=o.filter((e=>e.type===r.y.DIRECT_MESSAGES)),_=o.filter((n=>-1!==n.channel_ids.findIndex((n=>n===e.id)))),i=n.filter((e=>-1===_.findIndex((n=>e.team_id===n.team_id))));return t({type:a.Y.RECEIVED_CATEGORIES,data:i.map((n=>g(g({},n),{},{channel_ids:(0,d.cA)(n.channel_ids,e.id,0)})))})}if(o.some((n=>n.channel_ids.some((n=>n===e.id)))))return{data:!1};const s=(0,m.Ah)(i,e.team_id,r.y.CHANNELS);return s?t(n?A(s.id,e.id):{type:a.Y.RECEIVED_CATEGORY,data:g(g({},s),{},{channel_ids:(0,d.cA)(s.channel_ids,e.id,0)})}):{data:!1}}}function A(e,n){return function(e,n,t){let _=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return async(f,F)=>{const h=F(),c=(0,m.n3)(h,e),E=(0,l.rc)(h);let p=c.sorting;_&&c.type!==r.y.DIRECT_MESSAGES&&c.sorting===i.r.Default&&(p=i.r.Manual);const k=[g(g({},c),{},{sorting:p,channel_ids:(0,d.cA)(c.channel_ids,n,t)})],D=(0,m.Me)(F(),c.team_id,n);D&&D.id!==c.id&&k.push(g(g({},D),{},{channel_ids:(0,d.cl)(D.channel_ids,n)}));const A=f({type:a.Y.RECEIVED_CATEGORIES,data:k});try{await u.je.updateChannelCategories(E,c.team_id,k)}catch(e){(0,s._f)(e,f,F),f((0,o.H)(e));const n=[c];return D&&D.id!==c.id&&n.push(D),f({type:a.Y.RECEIVED_CATEGORIES,data:n}),{error:e}}return A}}(e,n,0,!1)}function y(e,n,t){let _=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return async(f,F)=>{const h=F(),c=(0,m.n3)(h,e),E=(0,l.rc)(h);let p=c.sorting;_&&c.type!==r.y.DIRECT_MESSAGES&&c.sorting===i.r.Default&&(p=i.r.Manual);let k={[c.id]:g(g({},c),{},{sorting:p,channel_ids:(0,d.FY)(c.channel_ids,n,t)})},D={[c.id]:c},A={};n.forEach((e=>{const n=(0,m.Me)(F(),c.team_id,e);n&&n.id!==c.id&&(D=g(g({},D),{},{[n.id]:n}),A=g(g({},A),{},{[e]:n.id}),k=g(g({},k),{},{[n.id]:g(g({},k[n.id]||n),{},{channel_ids:(0,d.cl)((k[n.id]||n).channel_ids,e)})}))}));const y=Object.values(k).reduce(((e,n)=>(e.push(n),e)),[]),b=f({type:a.Y.RECEIVED_CATEGORIES,data:y});try{await u.je.updateChannelCategories(E,c.team_id,y)}catch(e){(0,s._f)(e,f,F),f((0,o.H)(e));const n=Object.values(D).reduce(((e,n)=>(e.push(n),e)),[]);return f({type:a.Y.RECEIVED_CATEGORIES,data:n}),{error:e}}return b}}function b(e,n,t){return async(_,i)=>{const r=i(),f=(0,m.on)(r,e),F=(0,l.rc)(r),g=(0,d.cA)(f,n,t),h=_({type:a.Y.RECEIVED_CATEGORY_ORDER,data:{teamId:e,order:g}});try{await u.je.updateChannelCategoryOrder(F,e,g)}catch(n){return(0,s._f)(n,_,i),_((0,o.H)(n)),_({type:a.Y.RECEIVED_CATEGORY_ORDER,data:{teamId:e,order:f}}),{error:n}}return h}}function N(e,n){return{type:a.Y.RECEIVED_CATEGORY_ORDER,data:{teamId:e,order:n}}}function C(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return async(_,i)=>{const a=(0,l.rc)(i());let r;try{r=await u.je.createChannelCategory(a,e,{team_id:e,user_id:a,display_name:n,channel_ids:t})}catch(e){return(0,s._f)(e,_,i),_((0,o.H)(e)),{error:e}}return{data:r}}}function I(e,n){return E(e,{display_name:n})}function w(e){return async(n,t)=>{const _=t(),i=(0,m.n3)(_,e),a=(0,l.rc)(_);try{await u.je.deleteChannelCategory(a,i.team_id,i.id)}catch(e){return(0,s._f)(e,n,t),n((0,o.H)(e)),{error:e}}return{data:!0}}}},73443:(e,n,t)=>{"use strict";t.d(n,{Ao:()=>S,Ar:()=>ce,Av:()=>Q,CT:()=>w,Dn:()=>he,Eo:()=>oe,Fk:()=>H,Ft:()=>O,Gc:()=>b,IU:()=>Z,J3:()=>X,JJ:()=>G,Ky:()=>V,L1:()=>Fe,LN:()=>W,Ny:()=>P,O0:()=>ae,Or:()=>fe,PP:()=>ee,Pr:()=>B,QE:()=>A,QO:()=>j,SR:()=>v,TL:()=>K,Un:()=>ie,WR:()=>q,X1:()=>le,XK:()=>_e,Yh:()=>L,Z$:()=>J,ZE:()=>ge,_v:()=>se,aL:()=>ke,aO:()=>I,aU:()=>C,am:()=>De,bk:()=>te,ey:()=>Y,f_:()=>pe,g$:()=>z,hg:()=>de,hx:()=>R,mi:()=>y,mr:()=>T,mx:()=>ne,n$:()=>x,ng:()=>M,oY:()=>Ee,r6:()=>$,vX:()=>re,wE:()=>ue,xO:()=>N,y5:()=>me,zz:()=>U}),t(61418),t(14078),t(40895),t(32081),t(92189);var _=t(22850),i=t(10883),a=t(80139),o=t(20229),s=t(71938),u=t(95849),r=t(43618),m=t(19601),l=t(11298),d=t(39875),f=t(54892),F=t(17554),g=t(98644),h=t(32394),c=t(92087),E=t(31435),p=t(97042);function k(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);n&&(_=_.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,_)}return t}function D(e){for(var n=1;n{let s;try{s=await a.je.createChannel(e)}catch(e){return(0,g._f)(e,t,o),t({type:i.d4.CREATE_CHANNEL_FAILURE,error:e}),t((0,F.H)(e)),{error:e}}const u={channel_id:s.id,user_id:n,roles:"".concat(p.LQ.CHANNEL_USER_ROLE," ").concat(p.LQ.CHANNEL_ADMIN_ROLE),last_viewed_at:0,msg_count:0,mention_count:0,notify_props:{desktop:"default",mark_unread:"all"},last_update_at:s.create_at},r=[],{channels:m,myMembers:l}=o().entities.channels;return m[s.id]||r.push({type:i.d4.RECEIVED_CHANNEL,data:s}),l[s.id]||(r.push({type:i.d4.RECEIVED_MY_CHANNEL_MEMBER,data:u}),t((0,c.k3)(u.roles.split(" ")))),t((0,_.$C)([...r,{type:i.d4.CREATE_CHANNEL_SUCCESS}])),t((0,f.Sn)(s,!0)),{data:s}}}function b(e,n){return async(t,o)=>{let s;t({type:i.d4.CREATE_CHANNEL_REQUEST,data:null});try{s=await a.je.createDirectChannel([e,n])}catch(e){return(0,g._f)(e,t,o),t({type:i.d4.CREATE_CHANNEL_FAILURE,error:e}),t((0,F.H)(e)),{error:e}}const u={channel_id:s.id,user_id:e,roles:"".concat(p.LQ.CHANNEL_USER_ROLE),last_viewed_at:0,msg_count:0,mention_count:0,notify_props:{desktop:"default",mark_unread:"all"},last_update_at:s.create_at},r=[{user_id:e,category:p.Preferences.CATEGORY_DIRECT_CHANNEL_SHOW,name:n,value:"true"},{user_id:e,category:p.Preferences.CATEGORY_CHANNEL_OPEN_TIME,name:s.id,value:(new Date).getTime().toString()}];return t((0,h.$A)(e,r)),t((0,_.$C)([{type:i.d4.RECEIVED_CHANNEL,data:s},{type:i.d4.RECEIVED_MY_CHANNEL_MEMBER,data:u},{type:i.wT.RECEIVED_PREFERENCES,data:r},{type:i.d4.CREATE_CHANNEL_SUCCESS},{type:i.bZ.RECEIVED_PROFILES_LIST_IN_CHANNEL,id:s.id,data:[{id:e},{id:n}]}])),t((0,f.Sn)(s)),t((0,c.k3)(u.roles.split(" "))),{data:s}}}function N(e){return async(n,t)=>{const{currentUserId:_}=t().entities.users,i=[{user_id:_,category:p.Preferences.CATEGORY_GROUP_CHANNEL_SHOW,name:e,value:"true"},{user_id:_,category:p.Preferences.CATEGORY_CHANNEL_OPEN_TIME,name:e,value:(new Date).getTime().toString()}];return n((0,h.$A)(_,i))}}function C(e){return async(n,t)=>{n({type:i.d4.CREATE_CHANNEL_REQUEST,data:null});const{currentUserId:o}=t().entities.users;let s;try{s=await a.je.createGroupChannel(e)}catch(e){return(0,g._f)(e,n,t),n({type:i.d4.CREATE_CHANNEL_FAILURE,error:e}),n((0,F.H)(e)),{error:e}}let u={channel_id:s.id,user_id:o,roles:"".concat(p.LQ.CHANNEL_USER_ROLE),last_viewed_at:0,msg_count:0,mention_count:0,msg_count_root:0,mention_count_root:0,notify_props:{desktop:"default",mark_unread:"all"},last_update_at:s.create_at};if(s.total_msg_count>0){const e=(0,r.Or)(t(),s.id);if(null===e)try{u=await a.je.getMyChannelMember(s.id)}catch(e){n((0,F.H)(e))}else u=e}n(N(s.id));const m=e.map((e=>({id:e})));return m.push({id:o}),n((0,_.$C)([{type:i.d4.RECEIVED_CHANNEL,data:s},{type:i.d4.RECEIVED_MY_CHANNEL_MEMBER,data:u},{type:i.d4.CREATE_CHANNEL_SUCCESS},{type:i.bZ.RECEIVED_PROFILES_LIST_IN_CHANNEL,id:s.id,data:m}])),n((0,f.Sn)(s)),n((0,c.k3)(u&&u.roles&&u.roles.split(" ")||[])),{data:s}}}function I(e,n){return(0,g.Vs)({clientFunc:a.je.patchChannel,onSuccess:[i.d4.RECEIVED_CHANNEL],params:[e,n]})}function w(e,n){return(0,g.Vs)({clientFunc:a.je.updateChannelPrivacy,onSuccess:[i.d4.RECEIVED_CHANNEL],params:[e,n]})}function B(e,n,t,_){return async(s,r)=>{let m;try{m=await a.je.convertGroupMessageToPrivateChannel(e,n,t,_)}catch(e){return(0,g._f)(e,s,r),s((0,F.H)(e)),{error:e}}return s({type:i.d4.RECEIVED_CHANNEL,data:m.data}),(0,u.Ah)(r(),n,o.y.CHANNELS)?{data:m.data}:{}}}function x(e,n,t){return async(_,o)=>{const s=D({user_id:e,channel_id:n},t);try{await a.je.updateChannelNotifyProps(s)}catch(e){return(0,g._f)(e,_,o),_((0,F.H)(e)),{error:e}}const u=(o().entities.channels.myMembers[n]||{}).notify_props||{};return _({type:i.d4.RECEIVED_CHANNEL_PROPS,data:{channel_id:n,notifyProps:D(D({},u),s)}}),{data:!0}}}function O(e,n){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return async(_,o)=>{let s;try{s=await a.je.getChannelByNameAndTeamName(e,n,t)}catch(e){return(0,g._f)(e,_,o),_({type:i.d4.CHANNELS_FAILURE,error:e}),_((0,F.H)(e)),{error:e}}return _({type:i.d4.RECEIVED_CHANNEL,data:s}),{data:s}}}function T(e){return async(n,t)=>{let _;try{_=await a.je.getChannel(e)}catch(e){return(0,g._f)(e,n,t),n({type:i.d4.CHANNELS_FAILURE,error:e}),n((0,F.H)(e)),{error:e}}return n({type:i.d4.RECEIVED_CHANNEL,data:_}),{data:_}}}function S(e){return async(n,t)=>{let o,s;try{const n=a.je.getChannel(e),t=a.je.getMyChannelMember(e);o=await n,s=await t}catch(e){return(0,g._f)(e,n,t),n({type:i.d4.CHANNELS_FAILURE,error:e}),n((0,F.H)(e)),{error:e}}return n((0,_.$C)([{type:i.d4.RECEIVED_CHANNEL,data:o},{type:i.d4.RECEIVED_MY_CHANNEL_MEMBER,data:s}])),n((0,c.k3)(s.roles.split(" "))),{data:{channel:o,member:s}}}}function M(e){return async(n,t)=>{let _;try{const n=a.je.getChannelTimezones(e);_=await n}catch(e){return(0,g._f)(e,n,t),n((0,F.H)(e)),{error:e}}return{data:_}}}function R(e){return async(n,t)=>{let o,s;try{[o,s]=await Promise.all([a.je.getMyChannels(e),a.je.getMyChannelMembers(e)])}catch(e){return(0,g._f)(e,n,t),n((0,F.H)(e)),{error:e}}n((0,_.$C)([{type:i.d4.RECEIVED_CHANNELS,teamId:e,data:o},{type:i.d4.RECEIVED_MY_CHANNEL_MEMBERS,data:s}]));const u=new Set;for(const e of s)for(const n of e.roles.split(" "))u.add(n);return u.size>0&&n((0,c.k3)(u)),{data:{channels:o,channelMembers:s}}}}function L(){return async(e,n)=>{const t=n(),{currentUserId:_}=t.entities.users;let o=[],s=!0,u=0;try{for(;s;){const e=await a.je.getAllChannelsMembers(_,u,200);o=[...o,...e],e.length<200&&(s=!1),u++}}catch(t){return(0,g._f)(t,e,n),e((0,F.H)(t)),{error:t}}return e({type:i.d4.RECEIVED_MY_CHANNEL_MEMBERS,data:o,currentUserId:_}),{data:o}}}function v(){return async(e,n)=>{let t;try{t=await a.je.getAllTeamsChannels()}catch(t){return(0,g._f)(t,e,n),e((0,F.H)(t)),{error:t}}return e({type:i.d4.RECEIVED_ALL_CHANNELS,data:t}),{data:t}}}function H(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.LQ.CHANNELS_CHUNK_SIZE;return async(_,o)=>{let s;try{const _=a.je.getChannelMembers(e,n,t);s=await _}catch(e){return(0,g._f)(e,_,o),_((0,F.H)(e)),{error:e}}const u=s.map((e=>e.user_id));return _((0,E.C4)(u)),_({type:i.d4.RECEIVED_CHANNEL_MEMBERS,data:s}),{data:s}}}function K(e){return async(n,t)=>{const o=t(),{currentUserId:s}=o.entities.users,{channels:u,myMembers:r}=o.entities.channels,m=u[e],l=r[e];return a.je.trackEvent("action","action_channels_leave",{channel_id:e}),n({type:i.d4.LEAVE_CHANNEL,data:{id:e,user_id:s,team_id:m.team_id,type:m.type}}),async function(){try{await a.je.removeFromChannel(s,e)}catch(e){n((0,_.$C)([{type:i.d4.RECEIVED_CHANNEL,data:m},{type:i.d4.RECEIVED_MY_CHANNEL_MEMBER,data:l}])),n((0,f.Sn)(m,!1))}}(),{data:!0}}}function G(e,n,t,o){return async(s,u)=>{if(!t&&!o)return{data:null};let r,m;try{t?(r=await a.je.addToChannel(e,t),m=await a.je.getChannel(t)):(m=await a.je.getChannelByName(n,o,!0),r=m.type===p.LQ.GM_CHANNEL||m.type===p.LQ.DM_CHANNEL?await a.je.getChannelMember(m.id,e):await a.je.addToChannel(e,m.id))}catch(e){return(0,g._f)(e,s,u),s((0,F.H)(e)),{error:e}}return a.je.trackEvent("action","action_channels_join",{channel_id:t}),s((0,_.$C)([{type:i.d4.RECEIVED_CHANNEL,data:m},{type:i.d4.RECEIVED_MY_CHANNEL_MEMBER,data:r}])),s((0,f.Sn)(m)),r&&s((0,c.k3)(r.roles.split(" "))),{data:{channel:m,member:r}}}}function U(e){return async(n,t)=>{let _=t();const o="true"===_.entities.general.config.ExperimentalViewArchivedChannels;try{await a.je.deleteChannel(e)}catch(e){return(0,g._f)(e,n,t),n((0,F.H)(e)),{error:e}}_=t();const{currentChannelId:s}=_.entities.channels;if(e===s&&!o){const e=(0,l.ev)(_),t=(0,r.iC)(_,e),a=(0,d.ZO)(t,(0,r.fG)(_,e));a&&a.id&&n({type:i.d4.SELECT_CHANNEL,data:a.id})}return n({type:i.d4.DELETE_CHANNEL_SUCCESS,data:{id:e,viewArchivedChannels:o}}),{data:!0}}}function P(e){return async(n,t)=>{try{await a.je.unarchiveChannel(e)}catch(e){return(0,g._f)(e,n,t),n((0,F.H)(e)),{error:e}}const _=t(),o="true"===(0,m.iE)(_).ExperimentalViewArchivedChannels;return n({type:i.d4.UNARCHIVED_CHANNEL_SUCCESS,data:{id:e,viewArchivedChannels:o}}),{data:!0}}}function j(e){return async(n,t)=>{const{currentUserId:_}=t().entities.users,{myPreferences:i}=t().entities.preferences,a=i["".concat(p.Preferences.CATEGORY_CHANNEL_APPROXIMATE_VIEW_TIME,"--").concat(e)];if((a?parseInt(a.value,10):0)<(new Date).getTime()-108e5){const t=[{user_id:_,category:p.Preferences.CATEGORY_CHANNEL_APPROXIMATE_VIEW_TIME,name:e,value:(new Date).getTime().toString()}];n((0,h.$A)(_,t))}return{data:!0}}}function q(){return async(e,n)=>{try{await a.je.viewMyChannel("")}catch(t){return(0,g._f)(t,e,n),e((0,F.H)(t)),{data:!1}}return{data:!0}}}function W(e){return async(n,t)=>{let _;try{_=await a.je.readMultipleChannels(e)}catch(e){return(0,g._f)(e,n,t),n((0,F.H)(e)),{error:e}}return n(se(_.last_viewed_at_times)),{data:!0}}}function V(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.LQ.CHANNELS_CHUNK_SIZE;return async(o,s)=>{let u;o({type:i.d4.GET_CHANNELS_REQUEST,data:null});try{u=await a.je.getChannels(e,n,t)}catch(e){return(0,g._f)(e,o,s),o({type:i.d4.GET_CHANNELS_FAILURE,error:e}),o((0,F.H)(e)),{error:e}}return o((0,_.$C)([{type:i.d4.RECEIVED_CHANNELS,teamId:e,data:u},{type:i.d4.GET_CHANNELS_SUCCESS}])),{data:u}}}function Y(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.LQ.CHANNELS_CHUNK_SIZE;return async(_,o)=>{let s;try{s=await a.je.getArchivedChannels(e,n,t)}catch(e){return(0,g._f)(e,_,o),{error:e}}return _({type:i.d4.RECEIVED_CHANNELS,teamId:e,data:s}),{data:s}}}function z(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.LQ.CHANNELS_CHUNK_SIZE,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return async(r,m)=>{let l;r({type:i.d4.GET_ALL_CHANNELS_REQUEST,data:null});try{l=await a.je.getAllChannels(e,n,t,o,!0,s,u)}catch(e){return(0,g._f)(e,r,m),r({type:i.d4.GET_ALL_CHANNELS_FAILURE,error:e}),r((0,F.H)(e)),{error:e}}return r((0,_.$C)([{type:i.d4.RECEIVED_ALL_CHANNELS,data:l.channels},{type:i.d4.GET_ALL_CHANNELS_SUCCESS},{type:i.d4.RECEIVED_TOTAL_CHANNEL_COUNT,data:l.total_count}])),{data:l}}}function Z(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.LQ.CHANNELS_CHUNK_SIZE,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return async(u,r)=>{let m;u({type:i.d4.GET_ALL_CHANNELS_REQUEST,data:null});try{m=await a.je.getAllChannels(e,n,t,o,!1,!1,s)}catch(e){return(0,g._f)(e,u,r),u({type:i.d4.GET_ALL_CHANNELS_FAILURE,error:e}),u((0,F.H)(e)),{error:e}}return u((0,_.$C)([{type:i.d4.RECEIVED_ALL_CHANNELS,data:m},{type:i.d4.GET_ALL_CHANNELS_SUCCESS}])),{data:m}}}function X(e,n){return async(t,o)=>{let s;t({type:i.d4.GET_CHANNELS_REQUEST,data:null});try{s=await a.je.autocompleteChannels(e,n)}catch(e){return(0,g._f)(e,t,o),t({type:i.d4.GET_CHANNELS_FAILURE,error:e}),t((0,F.H)(e)),{error:e}}return t((0,_.$C)([{type:i.d4.RECEIVED_CHANNELS,teamId:e,data:s},{type:i.d4.GET_CHANNELS_SUCCESS}])),{data:s}}}function J(e,n){return async(t,o)=>{let s;t({type:i.d4.GET_CHANNELS_REQUEST,data:null});try{s=await a.je.autocompleteChannelsForSearch(e,n)}catch(e){return(0,g._f)(e,t,o),t({type:i.d4.GET_CHANNELS_FAILURE,error:e}),t((0,F.H)(e)),{error:e}}return t((0,_.$C)([{type:i.d4.RECEIVED_CHANNELS,teamId:e,data:s},{type:i.d4.GET_CHANNELS_SUCCESS}])),{data:s}}}function $(e,n,t){return async(o,s)=>{let u;o({type:i.d4.GET_CHANNELS_REQUEST,data:null});try{u=t?await a.je.searchArchivedChannels(e,n):await a.je.searchChannels(e,n)}catch(e){return(0,g._f)(e,o,s),o({type:i.d4.GET_CHANNELS_FAILURE,error:e}),o((0,F.H)(e)),{error:e}}return o((0,_.$C)([{type:i.d4.RECEIVED_CHANNELS,teamId:e,data:u},{type:i.d4.GET_CHANNELS_SUCCESS}])),{data:u}}}function Q(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return async(t,o)=>{let s;t({type:i.d4.GET_ALL_CHANNELS_REQUEST,data:null});try{s=await a.je.searchAllChannels(e,n)}catch(e){var u;return null!==(u=n.signal)&&void 0!==u&&u.aborted||((0,g._f)(e,t,o),t({type:i.d4.GET_ALL_CHANNELS_FAILURE,error:e}),t((0,F.H)(e))),{error:e}}const r="channels"in s?s.channels:s;return t((0,_.$C)([{type:i.d4.RECEIVED_ALL_CHANNELS,data:r},{type:i.d4.GET_ALL_CHANNELS_SUCCESS}])),{data:s}}}function ee(e){return(0,g.Vs)({clientFunc:a.je.searchGroupChannels,params:[e]})}function ne(e,n){return async(t,_)=>{let o;try{o=await a.je.getChannelStats(e,n)}catch(e){return(0,g._f)(e,t,_),t((0,F.H)(e)),{error:e}}return t({type:i.d4.RECEIVED_CHANNEL_STATS,data:o}),{data:o}}}function te(e){return async(n,t)=>{let _;try{_=await a.je.getChannelsMemberCount(e)}catch(e){return(0,g._f)(e,n,t),n((0,F.H)(e)),{error:e}}return n({type:i.d4.RECEIVED_CHANNELS_MEMBER_COUNT,data:_}),{data:_}}}function _e(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return async(o,s)=>{let u;try{u=await a.je.addToChannel(n,e,t)}catch(e){return(0,g._f)(e,o,s),o((0,F.H)(e)),{error:e}}a.je.trackEvent("action","action_channels_add_member",{channel_id:e});const r=s().entities.channels.membersInChannel[e];return r&&n in r||o((0,_.$C)([{type:i.bZ.RECEIVED_PROFILE_IN_CHANNEL,data:{id:e,user_id:n}},{type:i.d4.RECEIVED_CHANNEL_MEMBER,data:u},{type:i.d4.ADD_CHANNEL_MEMBER_SUCCESS,id:e}],"ADD_CHANNEL_MEMBER.BATCH")),{data:u}}}function ie(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return async(o,s)=>{const u=[];try{for(let _=0;_({id:e.user_id})));return o((0,_.$C)([{type:i.bZ.RECEIVED_PROFILES_IN_CHANNEL,id:e,data:r},{type:i.d4.RECEIVED_CHANNEL_MEMBERS,data:u},{type:i.d4.ADD_CHANNEL_MEMBER_SUCCESS,id:e,count:u.length}],"ADD_CHANNEL_MEMBERS.BATCH")),{data:u}}}function ae(e,n){return async(t,o)=>{try{await a.je.removeFromChannel(n,e)}catch(e){return(0,g._f)(e,t,o),t((0,F.H)(e)),{error:e}}return a.je.trackEvent("action","action_channels_remove_member",{channel_id:e}),t((0,_.$C)([{type:i.bZ.RECEIVED_PROFILE_NOT_IN_CHANNEL,data:{id:e,user_id:n}},{type:i.d4.REMOVE_CHANNEL_MEMBER_SUCCESS,id:e}],"REMOVE_CHANNEL_MEMBER.BATCH")),{data:!0}}}function oe(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(t,i)=>{n&&t(j(e)),t(ue(e));const a=re(i,e);return a.length>0&&t((0,_.$C)(a)),{data:!0}}}function se(e){return(n,t)=>{const i=[];for(const n of Object.keys(e))i.push(...re(t,n,e[n]));return i.length>0&&n((0,_.$C)(i)),{data:!0}}}function ue(e){return async(n,t)=>{try{await a.je.viewMyChannel(e)}catch(e){return(0,g._f)(e,n,t),n((0,F.H)(e)),{error:e}}return{data:!0}}}function re(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();const _=e(),{channels:a,messageCounts:o,myMembers:s}=_.entities.channels,u=a[n],m=o[n],l=s[n],d=[];return u&&l&&(d.push({type:i.d4.DECREMENT_UNREAD_MSG_COUNT,data:{teamId:u.team_id,channelId:n,amount:m.total-l.msg_count,amountRoot:m.root-l.msg_count_root}}),d.push({type:i.d4.DECREMENT_UNREAD_MENTION_COUNT,data:{teamId:u.team_id,channelId:n,amount:l.mention_count,amountRoot:l.mention_count_root,amountUrgent:l.urgent_mention_count}}),d.push({type:i.d4.RECEIVED_LAST_VIEWED_AT,data:{channel_id:n,last_viewed_at:t}})),u&&(0,r.Zm)(e(),n)&&d.push({type:i.d4.REMOVE_MANUALLY_UNREAD,data:{channelId:n}}),d}function me(e,n,t,_){let a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"";const r=e(),{myMembers:m}=r.entities.channels,{currentUserId:l}=r.entities.users,d=[{type:i.d4.INCREMENT_UNREAD_MSG_COUNT,data:{teamId:n,channelId:t,amount:1,amountRoot:o?1:0,onlyMentions:m[t]&&m[t].notify_props&&m[t].notify_props.mark_unread===s.F.MENTION,fetchedChannelMember:a}}];return a||d.push({type:i.d4.INCREMENT_TOTAL_MSG_COUNT,data:{channelId:t,amountRoot:o?1:0,amount:1}}),_&&-1!==_.indexOf(l)&&d.push({type:i.d4.INCREMENT_UNREAD_MENTION_COUNT,data:{teamId:n,channelId:t,amountRoot:o?1:0,amount:1,amountUrgent:"urgent"===u?1:0,fetchedChannelMember:a}}),d}function le(e,n){return(0,g.Vs)({clientFunc:a.je.getChannelMembersByIds,onSuccess:i.d4.RECEIVED_CHANNEL_MEMBERS,params:[e,n]})}function de(e,n){return(0,g.Vs)({clientFunc:a.je.getChannelMember,onSuccess:i.d4.RECEIVED_CHANNEL_MEMBER,params:[e,n]})}function fe(e){return(0,g.Vs)({clientFunc:a.je.getMyChannelMember,onSuccess:i.d4.RECEIVED_MY_CHANNEL_MEMBER,params:[e]})}function Fe(e){return async n=>{var t;const _=null===(t=(await n(fe(e))).data)||void 0===t?void 0:t.roles.split(" ");return _&&_.length>0&&n((0,c.k3)(_)),{data:!0}}}function ge(e){return async(n,t)=>{const _=t(),i=(0,r.mr)(_,e),s=(0,u.Ah)(_,(null==i?void 0:i.team_id)||(0,l.ev)(_),o.y.FAVORITES);return a.je.trackEvent("action","action_channels_favorite"),s?n((0,f.ay)(s.id,e)):{data:!1}}}function he(e){return async(n,t)=>{const _=t(),i=(0,r.mr)(_,e);if(!i)return{data:!1};const s=(0,u.Ah)(_,i.team_id||(0,l.ev)(_),i.type===p.LQ.DM_CHANNEL||i.type===p.LQ.GM_CHANNEL?o.y.DIRECT_MESSAGES:o.y.CHANNELS);return a.je.trackEvent("action","action_channels_unfavorite"),s?n((0,f.ay)(s.id,i.id)):{data:!1}}}function ce(e,n,t,_){return(0,g.Vs)({clientFunc:async()=>(await a.je.updateChannelMemberSchemeRoles(e,n,t,_),{channelId:e,userId:n,isSchemeUser:t,isSchemeAdmin:_}),onSuccess:i.d4.UPDATED_CHANNEL_MEMBER_SCHEME_ROLES})}function Ee(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,_=arguments.length>3&&void 0!==arguments[3]?arguments[3]:p.LQ.PROFILE_CHUNK_SIZE;return(0,g.Vs)({clientFunc:a.je.channelMembersMinusGroupMembers,onSuccess:i.d4.RECEIVED_CHANNEL_MEMBERS_MINUS_GROUP_MEMBERS,params:[e,n,t,_]})}function pe(e){return(0,g.Vs)({clientFunc:async()=>{const n=await a.je.getChannelModerations(e);return{channelId:e,moderations:n}},onSuccess:i.d4.RECEIVED_CHANNEL_MODERATIONS})}function ke(e,n){return(0,g.Vs)({clientFunc:async()=>{const t=await a.je.patchChannelModerations(e,n);return{channelId:e,moderations:t}},onSuccess:i.d4.RECEIVED_CHANNEL_MODERATIONS})}function De(e){return(0,g.Vs)({clientFunc:async()=>{const n=await a.je.getChannelMemberCountsByGroup(e,!0);return{channelId:e,memberCounts:n}},onSuccess:i.d4.RECEIVED_CHANNEL_MEMBER_COUNTS_BY_GROUP})}},9684:(e,n,t)=>{"use strict";t.d(n,{E2:()=>A,Ll:()=>g,RH:()=>h,_2:()=>k,cc:()=>E,i:()=>c,kS:()=>d,pL:()=>D,uK:()=>F,xW:()=>f}),t(14078),t(61418),t(44705),t(44062);var _=t(22850),i=t(10883),a=t(80139),o=t(90568),s=t(56187),u=t(17554),r=t(98644),m=t(31435),l=t(97042);let d=new Set;function f(e){d=e}function F(e,n){return(0,r.Vs)({clientFunc:a.je.createCustomEmoji,onSuccess:i.Bw.RECEIVED_CUSTOM_EMOJI,params:[e,n]})}function g(e){return async(n,t)=>{let _;try{_=await a.je.getCustomEmojiByName(e)}catch(_){return(0,r._f)(_,n,t),404===_.status_code?n({type:i.Bw.CUSTOM_EMOJI_DOES_NOT_EXIST,data:e}):n((0,u.H)(_)),{error:_}}return n({type:i.Bw.RECEIVED_CUSTOM_EMOJI,data:_}),{data:_}}}function h(e){return async(n,t)=>{const s=function(e,n){const t=e.entities.emojis.nonExistentEmoji,_=(0,o.RH)(e);return n.filter((e=>!d.has(e)&&!t.has(e)&&!_.has(e)))}(t(),e);if(0===s.length)return{data:!0};const m=[];for(let n=0;na.je.getCustomEmojisByNames(e))))}catch(e){return(0,r._f)(e,n,t),n((0,u.H)(e)),{error:e}}const f=l.flat(),F=[{type:i.Bw.RECEIVED_CUSTOM_EMOJIS,data:f}];if(f.length!==s.length){const e=new Set(f.map((e=>e.name)));for(const n of s)e.has(n)||F.push({type:i.Bw.CUSTOM_EMOJI_DOES_NOT_EXIST,data:n})}return n(F.length>1?(0,_.$C)(F):F[0]),{data:!0}}}function c(e){return async n=>e?n(h((0,s.bX)(e))):{data:!0}}function E(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.LQ.PAGE_SIZE_DEFAULT,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.dy.SORT_BY_NAME,_=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return async(o,s)=>{let m;try{m=await a.je.getCustomEmojis(e,n,t)}catch(e){return(0,r._f)(e,o,s),o((0,u.H)(e)),{error:e}}return _&&o(p(m)),o({type:i.Bw.RECEIVED_CUSTOM_EMOJIS,data:m}),{data:m}}}function p(e){return async(n,t)=>{const _={};e.forEach((e=>{t().entities.users.profiles[e.creator_id]||(_[e.creator_id]=!0)}));const i=Object.keys(_);return i.length>0&&await n((0,m.Ef)(i)),{data:!0}}}function k(e){return async(n,t)=>{try{await a.je.deleteCustomEmoji(e)}catch(e){return(0,r._f)(e,n,t),n((0,u.H)(e)),{error:e}}return n({type:i.Bw.DELETED_CUSTOM_EMOJI,data:{id:e}}),{data:!0}}}function D(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return async(_,o)=>{let s;try{s=await a.je.searchCustomEmoji(e,n)}catch(e){return(0,r._f)(e,_,o),_((0,u.H)(e)),{error:e}}return t&&_(p(s)),_({type:i.Bw.RECEIVED_CUSTOM_EMOJIS,data:s}),{data:s}}}function A(e){return async(n,t)=>{let _;try{_=await a.je.autocompleteCustomEmoji(e)}catch(e){return(0,r._f)(e,n,t),n((0,u.H)(e)),{error:e}}return n({type:i.Bw.RECEIVED_CUSTOM_EMOJIS,data:_}),{data:_}}}},17554:(e,n,t)=>{"use strict";t.d(n,{H:()=>r,YN:()=>s,b9:()=>m,mF:()=>u}),t(61418),t(95623),t(61514),t(40895);var _=t(63726),i=t(16640),a=t(10883),o=t(80139);function s(e){return{type:a.ZB.DISMISS_ERROR,index:e,data:null}}function u(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{type:a.ZB.LOG_ERROR,displayable:n,error:e,data:null}}function r(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return async(a,s)=>{var r,m,l;if("api.context.session_expired.app_error"===e.server_error_id)return{data:!0};let d=!0;(e.stack||"").includes("TypeError: Failed to fetch")&&(d=!1),e.server_error_id&&(d=!1);const f=(0,_.serializeError)(e);if(d)try{const e=JSON.stringify(f).toString();await o.je.logClientError(e,i.LogLevel.Debug)}catch(e){}t&&(f.message="A JavaScript error has occurred. Please use the JavaScript console to capture and report the error");const F="true"===(null===(r=s())||void 0===r||null===(m=r.entities.general)||void 0===m||null===(l=m.config)||void 0===l?void 0:l.EnableDeveloper);let g=n;return F&&"developer"===e.type&&(g=!0),a(u(f,g)),{data:!0}}}function m(){return{type:a.ZB.CLEAR_ERRORS,data:null}}},5352:(e,n,t)=>{"use strict";t.d(n,{SM:()=>u,c9:()=>m,nX:()=>s}),t(61418),t(73902),t(14078);var _=t(10883),i=t(80139),a=t(17554),o=t(98644);function s(e){return{type:_.ml.RECEIVED_FILES_FOR_SEARCH,data:e}}function u(e){return async(n,t)=>{const{files:_}=t().entities.files,i=e.reduce(((e,n)=>{const{file_ids:t}=n;return!t||t.every((e=>_[e]))||e.push(n.id),e}),[]);for(const e of i)n(r(e));return{data:!0}}}function r(e){return async(n,t)=>{let s;try{s=await i.je.getFileInfosForPost(e)}catch(e){return(0,o._f)(e,n,t),n((0,a.H)(e)),{error:e}}return n({type:_.ml.RECEIVED_FILES_FOR_POST,data:s,postId:e}),{data:!0}}}function m(e){return(0,o.Vs)({clientFunc:i.je.getFilePublicLink,onSuccess:_.ml.RECEIVED_FILE_PUBLIC_LINK,params:[e]})}},33185:(e,n,t)=>{"use strict";t.d(n,{HD:()=>l,J2:()=>f,Y$:()=>F,Zb:()=>r,ut:()=>m,x:()=>d}),t(61418);var _=t(22850),i=(t(16640),t(10883)),a=t(80139),o=t(17554),s=t(98644),u=t(92087);function r(){return async(e,n)=>{let t;try{t=await a.je.getClientConfigOld()}catch(t){return(0,s._f)(t,e,n),{error:t}}a.je.setEnableLogging("true"===t.EnableDeveloper),a.je.setDiagnosticId(t.DiagnosticId);const o="true"===t.AppsPluginEnabled?i.uA.APPS_PLUGIN_ENABLED:i.uA.APPS_PLUGIN_DISABLED,u=[{type:i.P.CLIENT_CONFIG_RECEIVED,data:t},{type:o}];return e((0,_.$C)(u)),{data:t}}}function m(){return(0,s.Vs)({clientFunc:a.je.getClientLicenseOld,onSuccess:[i.P.CLIENT_LICENSE_RECEIVED]})}function l(e){return async n=>(n({type:i.P.RECEIVED_SERVER_VERSION,data:e}),n((0,u.k3)([])),{data:!0})}function d(e){return a.je.setUrl(e),!0}function f(){return async e=>{try{await a.je.setFirstAdminVisitMarketplaceStatus()}catch(n){return e((0,o.H)(n)),{error:n.message}}return e({type:i.P.FIRST_ADMIN_VISIT_MARKETPLACE_STATUS_RECEIVED,data:!0}),{data:!0}}}function F(){return async(e,n)=>{let t;try{t=await a.je.getFirstAdminSetupComplete()}catch(t){return(0,s._f)(t,e,n),{error:t}}return t=JSON.parse(t.value),e({type:i.P.FIRST_ADMIN_COMPLETE_SETUP_RECEIVED,data:t}),{data:t}}}},75627:(e,n,t)=>{"use strict";t.d(n,{$5:()=>c,B2:()=>f,Bh:()=>m,D$:()=>h,EJ:()=>b,HA:()=>w,K9:()=>E,Nh:()=>d,Sx:()=>N,UL:()=>p,c9:()=>D,cS:()=>I,ex:()=>F,hL:()=>C,ir:()=>y,jA:()=>g,je:()=>l,k0:()=>A,kp:()=>x,n0:()=>k,oJ:()=>T,ru:()=>O,td:()=>B}),t(61418);var _=t(22850),i=t(85071),a=t(10883),o=t(80139),s=t(97042),u=t(17554),r=t(98644);function m(e,n,t,s){return async(m,l)=>{let d;try{d=await o.je.linkGroupSyncable(e,n,t,s)}catch(e){return(0,r._f)(e,m,l),m((0,u.H)(e)),{error:e}}const f=[];let F="";switch(t){case i.ZS.Team:f.push({type:a.kq.RECEIVED_GROUP_ASSOCIATED_TO_TEAM,data:{teamID:n,groups:[{id:e}]}}),F=a.kq.LINKED_GROUP_TEAM;break;case i.ZS.Channel:F=a.kq.LINKED_GROUP_CHANNEL;break;default:console.warn("unhandled syncable type ".concat(t))}return f.push({type:F,data:d}),m((0,_.$C)(f)),{data:!0}}}function l(e,n,t){return async(s,m)=>{try{await o.je.unlinkGroupSyncable(e,n,t)}catch(e){return(0,r._f)(e,s,m),s((0,u.H)(e)),{error:e}}const l=[];let d="";const f={group_id:e,syncable_id:n};switch(t){case i.ZS.Team:d=a.kq.UNLINKED_GROUP_TEAM,f.syncable_id=n,l.push({type:a.kq.RECEIVED_GROUPS_NOT_ASSOCIATED_TO_TEAM,data:{teamID:n,groups:[{id:e}]}});break;case i.ZS.Channel:d=a.kq.UNLINKED_GROUP_CHANNEL,f.syncable_id=n;break;default:console.warn("unhandled syncable type ".concat(t))}return l.push({type:d,data:f}),s((0,_.$C)(l)),{data:!0}}}function d(e,n){return async(t,s)=>{let m;try{m=await o.je.getGroupSyncables(e,n)}catch(e){return(0,r._f)(e,t,s),t((0,u.H)(e)),{error:e}}let l="";switch(n){case i.ZS.Team:l=a.kq.RECEIVED_GROUP_TEAMS;break;case i.ZS.Channel:l=a.kq.RECEIVED_GROUP_CHANNELS;break;default:console.warn("unhandled syncable type ".concat(n))}return t((0,_.$C)([{type:l,data:m,group_id:e}])),{data:!0}}}function f(e,n,t,s){return async(u,m)=>{let l;try{l=await o.je.patchGroupSyncable(e,n,t,s)}catch(e){return(0,r._f)(e,u,m),{error:e}}const d=[];let f="";switch(t){case i.ZS.Team:f=a.kq.PATCHED_GROUP_TEAM;break;case i.ZS.Channel:f=a.kq.PATCHED_GROUP_CHANNEL;break;default:console.warn("unhandled syncable type ".concat(t))}return d.push({type:f,data:l}),u((0,_.$C)(d)),{data:!0}}}function F(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,r.Vs)({clientFunc:o.je.getGroup,onSuccess:[a.kq.RECEIVED_GROUP],params:[e,n]})}function g(e){return(0,r.Vs)({clientFunc:async e=>await o.je.getGroups(e),onSuccess:[a.kq.RECEIVED_GROUPS],params:[e]})}function h(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,_=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.LQ.PAGE_SIZE_DEFAULT,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i.Io.Ldap;return(0,r.Vs)({clientFunc:o.je.getGroupsNotAssociatedToTeam,onSuccess:[a.kq.RECEIVED_GROUPS],params:[e,n,t,_,u]})}function c(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,_=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.LQ.PAGE_SIZE_DEFAULT,u=arguments.length>4&&void 0!==arguments[4]&&arguments[4],m=arguments.length>5&&void 0!==arguments[5]?arguments[5]:i.Io.Ldap;return(0,r.Vs)({clientFunc:o.je.getGroupsNotAssociatedToChannel,onSuccess:[a.kq.RECEIVED_GROUPS],params:[e,n,t,_,u,m]})}function E(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,r.Vs)({clientFunc:async(e,n,t)=>{const _=await o.je.getAllGroupsAssociatedToTeam(e,n,t);return _.teamID=e,_},onSuccess:[a.kq.RECEIVED_ALL_GROUPS_ASSOCIATED_TO_TEAM],params:[e,n,t]})}function p(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,r.Vs)({clientFunc:async(e,n)=>({groupsByChannelId:(await o.je.getAllGroupsAssociatedToChannelsInTeam(e,n)).groups}),onSuccess:[a.kq.RECEIVED_ALL_GROUPS_ASSOCIATED_TO_CHANNELS_IN_TEAM],params:[e,n]})}function k(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,r.Vs)({clientFunc:async(e,n,t)=>{const _=await o.je.getAllGroupsAssociatedToChannel(e,n,t);return _.channelID=e,_},onSuccess:[a.kq.RECEIVED_ALL_GROUPS_ASSOCIATED_TO_CHANNEL],params:[e,n,t]})}function D(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,_=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.LQ.PAGE_SIZE_DEFAULT,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return(0,r.Vs)({clientFunc:async(e,n,t,_,i)=>{const a=await o.je.getGroupsAssociatedToTeam(e,n,t,_,i);return{groups:a.groups,totalGroupCount:a.total_group_count,teamID:e}},onSuccess:[a.kq.RECEIVED_GROUPS_ASSOCIATED_TO_TEAM],params:[e,n,t,_,i]})}function A(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,_=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.LQ.PAGE_SIZE_DEFAULT,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return(0,r.Vs)({clientFunc:async(e,n,t,_,i)=>{const a=await o.je.getGroupsAssociatedToChannel(e,n,t,_,i);return{groups:a.groups,totalGroupCount:a.total_group_count,channelID:e}},onSuccess:[a.kq.RECEIVED_GROUPS_ASSOCIATED_TO_CHANNEL],params:[e,n,t,_,i]})}function y(e,n){return(0,r.Vs)({clientFunc:o.je.patchGroup,onSuccess:[a.kq.PATCHED_GROUP],params:[e,n]})}function b(e){return(0,r.Vs)({clientFunc:async e=>await o.je.getGroups(e),onSuccess:[a.kq.RECEIVED_MY_GROUPS,a.kq.RECEIVED_GROUPS],params:[e]})}function N(e){return(0,r.Vs)({clientFunc:o.je.getGroupStats,onSuccess:[a.kq.RECEIVED_GROUP_STATS],params:[e]})}function C(e){return async(n,t)=>{let _;try{_=await o.je.createGroupWithUserIds(e)}catch(e){return(0,r._f)(e,n,t),{error:e}}return n({type:a.kq.CREATE_GROUP_SUCCESS,data:_}),{data:_}}}function I(e,n){return async(t,_)=>{let i;try{i=await o.je.addUsersToGroup(e,n)}catch(e){return(0,r._f)(e,t,_),{error:e}}return t({type:a.bZ.RECEIVED_PROFILES_FOR_GROUP,data:i,id:e}),{data:i}}}function w(e,n){return async(t,_)=>{let i;try{i=await o.je.removeUsersFromGroup(e,n)}catch(e){return(0,r._f)(e,t,_),{error:e}}return t({type:a.bZ.RECEIVED_PROFILES_LIST_TO_REMOVE_FROM_GROUP,data:i,id:e}),{data:i}}}function B(e){return async(n,t)=>{let i;try{i=await o.je.searchGroups(e)}catch(e){return(0,r._f)(e,n,t),n((0,u.H)(e)),{error:e}}const s=[{type:a.kq.RECEIVED_GROUPS,data:i}];return e.filter_has_member&&s.push({type:a.kq.RECEIVED_MY_GROUPS,data:i}),e.include_channel_member_count&&s.push({type:a.d4.RECEIVED_CHANNEL_MEMBER_COUNTS_FROM_GROUPS_LIST,data:i,channelId:e.include_channel_member_count}),n((0,_.$C)(s)),{data:!0}}}function x(e){return async(n,t)=>{let _;try{_=await o.je.archiveGroup(e)}catch(e){return(0,r._f)(e,n,t),{error:e}}return n({type:a.kq.ARCHIVED_GROUP,id:e,data:_}),{data:_}}}function O(e){return async(n,t)=>{let _;try{_=await o.je.restoreGroup(e)}catch(e){return(0,r._f)(e,n,t),{error:e}}return n({type:a.kq.RESTORED_GROUP,id:e,data:_}),{data:_}}}function T(e){return async(n,t)=>{try{await o.je.createGroupTeamsAndChannels(e)}catch(e){return(0,r._f)(e,n,t),{error:e}}return{user_id:e}}}},98644:(e,n,t)=>{"use strict";t.d(n,{Ds:()=>l,Vs:()=>m,_f:()=>s}),t(61418),t(14078);var _=t(10883),i=t(80139),a=t(17554);const o=401;function s(e,n,t){const{currentUserId:a}=t().entities.users;"status_code"in e&&e.status_code===o&&e.url&&-1===e.url.indexOf("/login")&&a&&(i.je.setToken(""),n({type:_.bZ.LOGOUT_SUCCESS,data:{}}))}function u(e,n,t){-1===e.indexOf("SUCCESS")?t(function(e,n){return{type:e,data:n}}(e,n)):t(r(e))}function r(e){return{type:e,data:null}}function m(e){let{clientFunc:n,onRequest:t,onSuccess:_,onFailure:i,params:o}=e;return async(e,m)=>{let l;t&&e(r(t));try{l=o?await n(...o):await n()}catch(n){return s(n,e,m),i&&e(function(e,n){return{type:e,error:n}}(i,n)),e((0,a.H)(n)),{error:n}}return Array.isArray(_)?_.forEach((n=>{u(n,l,e)})):_&&u(_,l,e),{data:l}}}function l(e,n,t,_){let i;return function(){for(var a=arguments.length,o=new Array(a),s=0;s{i=null,t||(Reflect.apply(e,null,o),_&&_())}),n),u&&(Reflect.apply(e,null,o),_&&_())}}Error},2611:(e,n,t)=>{"use strict";t.d(n,{L:()=>r}),t(61418);var _=t(10883),i=t(17554),a=t(98644),o=t(80139),s=t(23894),u=t(33115);function r(){return async(e,n)=>{var t,r,m,l,d,f;const F=(0,s.EE)(n());if(!(0,u.GJ)(F))return{data:{activeUserCount:0,maxUsersLimit:0}};let g;try{g=await o.je.getServerLimits()}catch(t){return(0,a._f)(t,e,n),e((0,i.H)(t)),{error:t}}const h={activeUserCount:null!==(t=null===(r=g)||void 0===r||null===(m=r.data)||void 0===m?void 0:m.activeUserCount)&&void 0!==t?t:0,maxUsersLimit:null!==(l=null===(d=g)||void 0===d||null===(f=d.data)||void 0===f?void 0:f.maxUsersLimit)&&void 0!==l?l:0};return e({type:_.JX.RECIEVED_APP_LIMITS,data:h}),{data:h}}}},6352:(e,n,t)=>{"use strict";t.d(n,{$s:()=>fe,DD:()=>_e,Es:()=>V,H3:()=>re,I7:()=>se,Jh:()=>$,Jq:()=>J,M8:()=>ue,QQ:()=>ae,T:()=>de,US:()=>Q,Vn:()=>j,WO:()=>W,Xu:()=>ge,Y$:()=>G,co:()=>Y,ct:()=>Z,d_:()=>ee,db:()=>oe,dq:()=>K,fR:()=>H,gh:()=>C,hX:()=>X,iS:()=>ne,jM:()=>te,mU:()=>I,pq:()=>he,qb:()=>v,rU:()=>q,ri:()=>ie,uB:()=>M,uz:()=>Fe,w6:()=>le,wy:()=>U,xk:()=>me,xl:()=>L,y3:()=>w}),t(61418),t(14078),t(48410),t(95623),t(61514),t(52077),t(92189);var _=t(22850),i=t(10883),a=t(73443),o=t(9684),s=t(75627),u=t(98644),r=t(32394),m=t(22579),l=t(26219),d=t(31435),f=t(80139),F=t(97042),g=t(43618),h=t(66900),c=t(90568),E=t(11990),p=t(3901),k=t(83905),D=t(23894),A=t(46155),y=t(17554);function b(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);n&&(_=_.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,_)}return t}function N(e){for(var n=1;n3&&void 0!==arguments[3]&&arguments[3];return{type:i.tk.RECEIVED_POSTS_AFTER,channelId:n,data:e,afterPostId:t,recent:_}}function x(e,n,t){let _=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return{type:i.tk.RECEIVED_POSTS_BEFORE,channelId:n,data:e,beforePostId:t,oldest:_}}function O(e,n){return{type:i.tk.RECEIVED_POSTS_SINCE,channelId:n,data:e}}function T(e,n){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],_=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return{type:i.tk.RECEIVED_POSTS_IN_CHANNEL,channelId:n,data:e,recent:t,oldest:_}}function S(e,n){return{type:i.tk.RECEIVED_POSTS_IN_THREAD,data:e,rootId:n}}function M(e){return{type:i.tk.POST_DELETED,data:e}}function R(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();return{type:i.tk.POST_PINNED_CHANGED,postId:e,isPinned:n,updateAt:t}}function L(e){return async(n,t)=>{let _;const a=(0,k.ym)(t());try{_=await f.je.getPost(e)}catch(e){return(0,u._f)(e,n,t),n({type:i.tk.GET_POSTS_FAILURE,error:e}),n((0,y.H)(e)),{error:e}}return n(C(_,a)),n((0,m.LA)([_])),{data:_}}}function v(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2?arguments[2]:void 0;return async(a,o)=>{const s=o(),u=s.entities.users.currentUserId,r=Date.now(),m=e.pending_post_id||"".concat(u,":").concat(r);let l=[];if(p.QW(s,m))return{data:{pending:m}};let d=N(N({},e),{},{pending_post_id:m,create_at:r,update_at:r,reply_count:0});if(e.root_id&&(d.reply_count=p.HF(s,e.root_id)+1),d.file_ids&&!n.length&&(n=d.file_ids.map((e=>s.entities.files.files[e]))),n.length){const e=n.map((e=>e.id));d=N(N({},d),{},{file_ids:e}),l.push({type:i.ml.RECEIVED_FILES_FOR_POST,postId:m,data:n},{type:i.d4.INCREMENT_FILE_COUNT,amount:n.length,id:d.channel_id})}const F=(0,k.ym)(o());return l.push({type:i.tk.RECEIVED_NEW_POST,data:N(N({},d),{},{id:m}),features:{crtEnabled:F}}),a((0,_.$C)(l,"BATCH_CREATE_POST_INIT")),async function(){try{const e=await f.je.createPost(N(N({},d),{},{create_at:0}));return l=[C(e,F),{type:i.tk.CREATE_POST_SUCCESS},{type:i.d4.INCREMENT_TOTAL_MSG_COUNT,data:{channelId:d.channel_id,amount:1,amountRoot:""===e.root_id?1:0}},{type:i.d4.DECREMENT_UNREAD_MSG_COUNT,data:{channelId:d.channel_id,amount:1,amountRoot:""===e.root_id?1:0}}],n&&l.push({type:i.ml.RECEIVED_FILES_FOR_POST,postId:e.id,data:n}),a((0,_.$C)(l,"BATCH_CREATE_POST")),null==t||t({created:e}),{data:{created:e}}}catch(e){const n=N(N({},d),{},{id:m,failed:!0,update_at:Date.now()});return l=[{type:i.tk.CREATE_POST_FAILURE,error:e}],"api.post.create_post.root_id.app_error"===e.server_error_id||"api.post.create_post.town_square_read_only"===e.server_error_id||"plugin.message_will_be_posted.dismiss_post"===e.server_error_id?a(ue(n)):l.push(C(n,F)),a((0,_.$C)(l,"BATCH_CREATE_POST_FAILED")),{error:e}}}(),{data:{created:!0}}}}function H(e){return async(n,t)=>{const _=t(),a=N({},e);return!e.root_id&&(0,k.ym)(_)&&n((0,l.Cq)(e)),a.type===F.Posts.POST_TYPES.COMBINED_USER_ACTIVITY&&a.system_post_ids?a.system_post_ids.forEach((e=>{const t=p.xl(_,e);t&&n(H(t))})):async function(){try{n({type:i.tk.POST_DELETED,data:a}),await f.je.deletePost(e.id)}catch(e){console.error("failed to delete post",e)}}(),{data:!0}}}function K(e){return(0,u.Vs)({clientFunc:f.je.patchPost,onRequest:i.tk.EDIT_POST_REQUEST,onSuccess:[i.tk.RECEIVED_POST,i.tk.EDIT_POST_SUCCESS],onFailure:i.tk.EDIT_POST_FAILURE,params:[e]})}function G(e,n){return async(t,_)=>{let a=_();const o=p.xl(a,n);let s;try{if((0,A.mM)(n))return{};t({type:i.d4.ADD_MANUALLY_UNREAD,data:{channelId:o.channel_id}}),s=await f.je.markPostAsUnread(e,n)}catch(e){return(0,u._f)(e,t,_),t((0,y.H)(e)),t({type:i.d4.REMOVE_MANUALLY_UNREAD,data:{channelId:o.channel_id}}),{error:e}}a=_();const r=function(e,n){const t=(0,g.Or)(n,e.channel_id),_=t?t.msg_count-e.msg_count:e.msg_count,i=t?t.msg_count_root-e.msg_count_root:e.msg_count_root;return{teamId:e.team_id,channelId:e.channel_id,msgCount:e.msg_count,mentionCount:e.mention_count,msgCountRoot:e.msg_count_root,mentionCountRoot:e.mention_count_root,urgentMentionCount:e.urgent_mention_count,lastViewedAt:e.last_viewed_at,deltaMsgs:_,deltaMsgsRoot:i}}(s,a);return t({type:i.d4.POST_UNREAD_SUCCESS,data:r}),{data:r}}}function U(e){return async(n,t)=>{let a;n({type:i.tk.EDIT_POST_REQUEST});try{a=await f.je.pinPost(e)}catch(e){return(0,u._f)(e,n,t),n({type:i.tk.EDIT_POST_FAILURE,error:e}),n((0,y.H)(e)),{error:e}}const o=[{type:i.tk.EDIT_POST_SUCCESS}],s=t(),r=p.xl(s,e);return r&&o.push(R(e,!0,Date.now()),{type:i.d4.INCREMENT_PINNED_POST_COUNT,id:r.channel_id}),n((0,_.$C)(o)),{data:a}}}function P(e){return{type:i.d4.DECREMENT_PINNED_POST_COUNT,id:e}}function j(e){return async(n,t)=>{let a;n({type:i.tk.EDIT_POST_REQUEST});try{a=await f.je.unpinPost(e)}catch(e){return(0,u._f)(e,n,t),n({type:i.tk.EDIT_POST_FAILURE,error:e}),n((0,y.H)(e)),{error:e}}const o=[{type:i.tk.EDIT_POST_SUCCESS}],s=t(),r=p.xl(s,e);return r&&o.push(R(e,!1,Date.now()),P(r.channel_id)),n((0,_.$C)(o)),{data:a}}}function q(e,n){return async(t,_)=>{const a=_().entities.users.currentUserId;let o;try{o=await f.je.addReaction(a,e,n)}catch(e){return(0,u._f)(e,t,_),t((0,y.H)(e)),{error:e}}return t({type:i.tk.RECEIVED_REACTION,data:o}),{data:{reaction:o}}}}function W(e,n){return async(t,_)=>{const a=_().entities.users.currentUserId;try{await f.je.removeReaction(a,e,n)}catch(e){return(0,u._f)(e,t,_),t((0,y.H)(e)),{error:e}}return t({type:i.tk.REACTION_DELETED,data:{user_id:a,post_id:e,emoji_name:n}}),{data:{removedReaction:!0}}}}function V(e){return async(n,t)=>{const _=t().entities.emojis.nonExistentEmoji,i=(0,c.RH)(t());return o.kS.has(e)||_.has(e)||i.has(e)?{data:!0}:n((0,o.Ll)(e))}}function Y(e){return async(n,t)=>{const{currentUserId:_}=t().entities.users,i={user_id:_,category:F.Preferences.CATEGORY_FLAGGED_POST,name:e,value:"true"};return f.je.trackEvent("action","action_posts_flag"),n((0,r.$A)(_,[i]))}}async function z(e,n,t){const _=t?JSON.parse(JSON.stringify(t)):{order:[e],posts:{},prev_post_id:"",next_post_id:"",first_inaccessible_post_time:0},i=await f.je.getPaginatedPostThread(e,n);if(i.first_inaccessible_post_time&&(_.first_inaccessible_post_time=_.first_inaccessible_post_time?Math.min(i.first_inaccessible_post_time,_.first_inaccessible_post_time):i.first_inaccessible_post_time),_.order.push(...i.order.slice(1)),_.posts=Object.assign(_.posts,i.posts),i.has_next){const[t]=_.order.slice(-1),i=_.posts[t];return z(e,N(N({},n),{},{fromCreateAt:i.create_at,fromPost:t}),_)}return _}function Z(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return async(t,i)=>{const a=i(),o=(0,k.ym)(a),s=(0,h.Zk)(a);let r;try{r=await z(e,{fetchThreads:n,collapsedThreads:o})}catch(e){return(0,u._f)(e,t,i),t((0,y.H)(e)),{error:e}}return t((0,_.$C)([w(r),S(r,e)])),s&&t((0,m.LA)(r.posts)),{data:r}}}function X(e){const n=p.Zf();return async(t,a)=>{t({type:i.tk.GET_POST_THREAD_REQUEST});const o=(0,k.ym)(a()),s=n(a(),e),r=null==s?void 0:s[0],l={fetchThreads:!0,collapsedThreads:o,direction:"down",fromCreateAt:null==r?void 0:r.create_at,fromPost:null==r?void 0:r.id};let d;try{d=await z(e,l)}catch(e){return(0,u._f)(e,t,a),t({type:i.tk.GET_POST_THREAD_FAILURE,error:e}),t((0,y.H)(e)),{error:e}}return t((0,_.$C)([w(d),S(d,e)])),t((0,m.LA)(d.posts)),{data:d}}}function J(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:F.Posts.POST_CHUNK_SIZE,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return async(o,s)=>{let r;const l=(0,k.ym)(s());try{r=await f.je.getPosts(e,n,t,i,l,a)}catch(e){return(0,u._f)(e,o,s),o((0,y.H)(e)),{error:e}}return o((0,_.$C)([w(r),T(r,e,0===n,""===r.prev_post_id)])),o((0,m.LA)(r.posts)),{data:r}}}function $(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return async(a,o)=>{const s=o(),r=(0,k.mw)(s)===F.Preferences.UNREAD_SCROLL_POSITION_START_FROM_NEWEST,l=(0,k.ym)(s),d=(0,D.rc)(s);let g,h;try{g=await f.je.getPostsUnread(e,d,f.Ev,f.su,n,l,t),g.next_post_id&&r&&(h=await f.je.getPosts(e,0,F.Posts.POST_CHUNK_SIZE/2,n,l,t))}catch(e){return(0,u._f)(e,a,o),a((0,y.H)(e)),{error:e}}const c=[{type:i.tk.RECEIVED_POSTS,data:g,channelId:e},T(g,e,""===g.next_post_id,""===g.prev_post_id)];return h&&c.push(w(h),T(h,e,""===h.next_post_id,""===h.prev_post_id)),a((0,_.$C)(c)),a((0,m.LA)(g.posts)),{data:g}}}function Q(e,n){let t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return async(a,o)=>{let s;try{const _=(0,k.ym)(o());s=await f.je.getPostsSince(e,n,t,_,i)}catch(e){return(0,u._f)(e,a,o),a((0,y.H)(e)),{error:e}}return a((0,_.$C)([w(s),O(s,e)])),a((0,m.LA)(s.posts)),{data:s}}}function ee(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:F.Posts.POST_CHUNK_SIZE,a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return async(s,r)=>{let l;try{const _=(0,k.ym)(r());l=await f.je.getPostsBefore(e,n,t,i,a,_,o)}catch(e){return(0,u._f)(e,s,r),s((0,y.H)(e)),{error:e}}return s((0,_.$C)([w(l),x(l,e,n,""===l.prev_post_id)])),s((0,m.LA)(l.posts)),{data:l}}}function ne(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:F.Posts.POST_CHUNK_SIZE,a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return async(s,r)=>{let l;try{const _=(0,k.ym)(r());l=await f.je.getPostsAfter(e,n,t,i,a,_,o)}catch(e){return(0,u._f)(e,s,r),s((0,y.H)(e)),{error:e}}return s((0,_.$C)([w(l),B(l,e,n,""===l.next_post_id)])),s((0,m.LA)(l.posts)),{data:l}}}function te(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:F.Posts.POST_CHUNK_SIZE/2,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return async(o,s)=>{let r,l,d;try{const _=(0,k.ym)(s());[r,l,d]=await Promise.all([f.je.getPostsAfter(e,n,0,t,i,_,a),f.je.getPostThread(n,i,_,a),f.je.getPostsBefore(e,n,0,t,i,_,a)])}catch(e){return(0,u._f)(e,o,s),o((0,y.H)(e)),{error:e}}const F={posts:N(N(N({},r.posts),l.posts),d.posts),order:[...r.order,n,...d.order],next_post_id:r.next_post_id,prev_post_id:d.prev_post_id,first_inaccessible_post_time:Math.max(d.first_inaccessible_post_time,r.first_inaccessible_post_time,l.first_inaccessible_post_time)||0};return o((0,_.$C)([w(F),T(F,e,""===r.next_post_id,""===d.prev_post_id)])),o((0,m.LA)(F.posts)),{data:F}}}function _e(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(t,_)=>{if(!Array.isArray(e)||!e.length)return{data:!0};const i=_(),a=(0,g.gO)(i),o=[],s=new Set;for(const _ of e)_.root_id&&(p.xl(i,_.root_id)||s.has(_.root_id)||(s.add(_.root_id),_.channel_id===a&&o.push(t(Z(_.root_id,n)))));return Promise.all(o)}}async function ie(e,n,t){if(!e)return Promise.resolve();const _=Array.isArray(e)?e:Object.values(e);if(0===_.length)return Promise.resolve();const i={};for(let e=0;e<_.length;e++)i[_[e].id]=_[e];const a=t(),{currentUserId:o,profiles:u,statuses:r}=a.entities.users,m=(0,h.Zk)(a),l=new Set,f=new Set;_.forEach((e=>{const n=e.user_id;e.metadata&&(e.metadata.embeds&&e.metadata.embeds.forEach((e=>{var n,t;"permalink"===e.type&&e.data&&(null!==(n=e.data.post)&&void 0!==n&&n.user_id&&!u[e.data.post.user_id]&&e.data.post.user_id!==o&&l.add(e.data.post.user_id),null!==(t=e.data.post)&&void 0!==t&&t.user_id&&!r[e.data.post.user_id]&&f.add(e.data.post.user_id))})),e.metadata.acknowledgements&&e.metadata.acknowledgements.forEach((e=>{e.acknowledged_at>0&&l.add(e.user_id)}))),r[n]||f.add(n),n!==o&&(u[n]||l.add(n))}));const F=[];l.size>0&&F.push(n((0,d.Ef)(Array.from(l)))),f.size>0&&m&&F.push(n((0,d.W7)(Array.from(f))));const g=se(a,_);if(g.size>0){const e=n((0,d.Wi)(Array.from(g)));F.push(e);const{data:t}=await e,_=new Set((t||[]).map((e=>e.username)));Array.from(g).filter((e=>!_.has(e))).forEach((e=>{const t={q:e,filter_allow_reference:!0,page:0,per_page:60,include_member_count:!0};F.push(n((0,s.td)(t)))}))}return Promise.all(F)}function ae(e){return async(n,t)=>{let _;try{_=await f.je.getPostsByIds(e)}catch(e){return(0,u._f)(e,n,t),n((0,y.H)(e)),{error:e}}return n({type:i.tk.RECEIVED_POSTS,data:{posts:_}}),{data:{posts:_}}}}function oe(e){return(0,u.Vs)({clientFunc:f.je.getPostEditHistory,onSuccess:i.tk.RECEIVED_POST_HISTORY,params:[e]})}function se(e,n){let t,_;const i=new Set;function a(n){if(!n||!n.includes("@"))return;t||(t=(0,D.Td)(e)),_||(_=(0,E.gq)(e));const a=/\B@(([a-z0-9_.-]*[a-z0-9_])[.-]*)/gi;let o;for(;null!==(o=a.exec(n));)-1===F.LQ.SPECIAL_MENTIONS.indexOf(o[2])&&(t[o[1]]||t[o[2]]||_[o[1]]||_[o[2]]||(i.add(o[1]),i.add(o[2])))}for(const e of n){var o;if(a(e.message),null!==(o=e.props)&&void 0!==o&&o.attachments)for(const n of e.props.attachments)if(a(n.pretext),a(n.text),n.fields)for(const e of n.fields)a(e.value)}return i}function ue(e){return(n,t)=>{if(e.type===F.Posts.POST_TYPES.COMBINED_USER_ACTIVITY&&e.system_post_ids){const _=t();for(const t of e.system_post_ids){const e=p.xl(_,t);e&&n(ue(e))}}else n(function(e){return{type:i.tk.POST_REMOVED,data:e}}(e)),e.is_pinned&&n(P(e.channel_id));return{data:!0}}}function re(e,n){return async(t,_)=>{try{await f.je.moveThread(e,n)}catch(e){return(0,u._f)(e,t,_),t({type:i.tk.MOVE_POST_FAILURE,error:e}),t((0,y.H)(e)),{error:e}}return t({type:i.tk.MOVE_POST_SUCCESS}),{data:!0}}}function me(e){return async(n,t)=>{const{currentUserId:_}=t().entities.users,i={user_id:_,category:F.Preferences.CATEGORY_FLAGGED_POST,name:e,value:"true"};return f.je.trackEvent("action","action_posts_unflag"),n((0,r.ks)(_,[i]))}}function le(e,n,t){return async(_,i)=>{try{await f.je.addPostReminder(e,n,t)}catch(e){return(0,u._f)(e,_,i),_((0,y.H)(e)),{error:e}}return{data:!0}}}function de(e,n,t){let _=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return async(a,o)=>{let s;try{s=await f.je.doPostActionWithCookie(e,n,t,_)}catch(e){return(0,u._f)(e,a,o),a((0,y.H)(e)),{error:e}}return s&&s.trigger_id&&a({type:i.bK.RECEIVED_DIALOG_TRIGGER_ID,data:s.trigger_id}),{data:s}}}function fe(e){return{type:i.tk.ADD_MESSAGE_INTO_HISTORY,data:e}}function Fe(){return async(e,n)=>{e({type:i.tk.RESET_POSTS_IN_CHANNEL});const t=(0,g.gO)(n());return t&&(await e((0,a.QE)("")),e((0,a.QE)(t))),{data:!0}}}function ge(e){return async(n,t)=>{const _=(0,D.rc)(t());let a;try{a=await f.je.acknowledgePost(e,_)}catch(e){return(0,u._f)(e,n,t),n((0,y.H)(e)),{error:e}}return n({type:i.tk.CREATE_ACK_POST_SUCCESS,data:a}),{data:a}}}function he(e){return async(n,t)=>{const _=(0,D.rc)(t());try{await f.je.unacknowledgePost(e,_)}catch(e){return(0,u._f)(e,n,t),n((0,y.H)(e)),{error:e}}const a={post_id:e,user_id:_,acknowledged_at:0};return n({type:i.tk.DELETE_ACK_POST_SUCCESS,data:a}),{data:a}}}},32394:(e,n,t)=>{"use strict";t.d(n,{$A:()=>F,DV:()=>g,Ih:()=>f,JM:()=>d,VJ:()=>l,ks:()=>m,w_:()=>h}),t(61418);var _=t(10883),i=t(80139),a=t(83905),o=t(23894),s=t(89938),u=t(98644),r=t(97042);function m(e,n){return async(t,o)=>{const u=o(),r=(0,a.VJ)(u),m=n.map((e=>r[(0,s.g)(e.category,e.name)]));return async function(){try{t({type:_.wT.DELETED_PREFERENCES,data:n}),await i.je.deletePreferences(e,n)}catch(e){t({type:_.wT.RECEIVED_PREFERENCES,data:m})}}(),{data:!0}}}function l(){return(0,u.Vs)({clientFunc:i.je.getMyPreferences,onSuccess:_.wT.RECEIVED_ALL_PREFERENCES})}function d(e){return(0,u.Vs)({clientFunc:()=>i.je.getUserPreferences(e),onSuccess:_.wT.RECEIVED_USER_ALL_PREFERENCES})}function f(e){return async(n,t)=>{const _=t(),i=(0,o.rc)(_),a={user_id:i,category:r.Preferences.CATEGORY_CUSTOM_STATUS,name:r.Preferences.NAME_CUSTOM_STATUS_TUTORIAL_STATE,value:JSON.stringify(e)};await n(F(i,[a]))}}function F(e,n){return async(t,a)=>(async function(){const s=a(),u=(0,o.rc)(s),r=e===u?_.wT.RECEIVED_PREFERENCES:_.wT.RECEIVED_USER_PREFERENCES;try{t({type:r,data:n}),await i.je.savePreferences(e,n)}catch(e){t({type:_.wT.DELETED_PREFERENCES,data:n})}}(),{data:!0})}function g(e,n){return async(t,_)=>{const i=_(),a=(0,o.rc)(i),s={user_id:a,category:r.Preferences.CATEGORY_THEME,name:e||"",value:JSON.stringify(n)};return await t(F(a,[s])),{data:!0}}}function h(){return async(e,n)=>{const t=n(),_=(0,a.Ng)(t),i=(0,o.rc)(t),s=_.filter((e=>""!==e.name));return s.length>0&&await e(m(i,s)),{data:!0}}}},92087:(e,n,t)=>{"use strict";t.d(n,{Aq:()=>u,k3:()=>m}),t(61418),t(14078),t(20266),t(73902);var _=t(10883),i=t(80139),a=t(92447),o=t(98644),s=t(97042);function u(e){return(0,o.Vs)({clientFunc:i.je.patchRole,onRequest:_.dC.EDIT_ROLE_REQUEST,onSuccess:[_.dC.RECEIVED_ROLE,_.dC.EDIT_ROLE_SUCCESS],onFailure:_.dC.EDIT_ROLE_FAILURE,params:[e.id,e]})}function r(e){return{type:_.dC.SET_PENDING_ROLES,data:e}}function m(e){return async(n,t)=>{const u=t();let l=new Set;try{l=new Set(u.entities.roles.pending)}catch(e){}for(const n of e)l.add(n);if(!u.entities.general.serverVersion)return n(r(Array.from(l))),setTimeout((()=>n(m([]))),500),{data:[]};const d=(0,a.F3)(u),f=new Set;for(const e of l)d[e]||""===e.trim()||f.add(e);if(u.entities.roles.pending&&await n(r([])),f.size>0){const e=Array.from(f),t=[];for(let a=0;a(e.data=e.data.concat(n.data),e)),{data:[]})}var F;return{data:u.entities.roles.roles}}}},57781:(e,n,t)=>{"use strict";t.d(n,{AQ:()=>h,Hp:()=>k,P3:()=>E,X_:()=>g,fm:()=>c,jP:()=>p,rt:()=>F}),t(61418),t(14078),t(52077),t(83526),t(48410);var _=t(22850),i=t(10883),a=t(80139),o=t(11298),s=t(23894),u=t(73443),r=t(17554),m=t(5352),l=t(98644),d=t(6352);function f(e){return async(n,t)=>{const{channels:_,membersInChannel:i,myMembers:a}=t().entities.channels,o=[];return Object.values(e).forEach((e=>{const t=e.channel_id;_[t]&&a[t]||o.push(n((0,u.Ao)(t))),i[t]||o.push(n((0,u.Fk)(t)))})),Promise.all(o)}}function F(e,n){return async(t,o)=>{const s=n.page>0;let u;t({type:i.ai.SEARCH_POSTS_REQUEST,isGettingMore:s});try{u=await a.je.searchPostsWithParams(e,n);const _=[(0,d.ri)(u.posts,t,o),t(f(u.posts))];await Promise.all(_)}catch(e){return(0,l._f)(e,t,o),t((0,r.H)(e)),{error:e}}return t((0,_.$C)([{type:i.ai.RECEIVED_SEARCH_POSTS,data:u,isGettingMore:s},(0,d.y3)(u),{type:i.ai.RECEIVED_SEARCH_TERM,data:{teamId:e,params:n,isEnd:0===u.order.length}},{type:i.ai.SEARCH_POSTS_SUCCESS}],"SEARCH_POST_BATCH")),{data:u}}}function g(){return async(e,n)=>{const t=(0,o.ev)(n()),{params:_,isEnd:i}=n().entities.search.current[t];if(!i){const n=Object.assign({},_);return n.page+=1,e(F(t,n))}return{data:!0}}}function h(){return async e=>(e({type:i.ai.REMOVE_SEARCH_POSTS}),e({type:i.ai.REMOVE_SEARCH_FILES}),{data:!0})}function c(e,n){return async(t,o)=>{const s=n.page>0;let d;t({type:i.ai.SEARCH_FILES_REQUEST,isGettingMore:s});try{d=await a.je.searchFilesWithParams(e,n),await t(function(e){return async(n,t)=>{const{channels:_,membersInChannel:i,myMembers:a}=t().entities.channels,o=[];return Object.values(e).forEach((e=>{const t=e.channel_id;_[t]&&a[t]||o.push(n((0,u.Ao)(t))),i[t]||o.push(n((0,u.Fk)(t)))})),Promise.all(o)}}(d.file_infos))}catch(e){return(0,l._f)(e,t,o),t((0,r.H)(e)),{error:e}}return t((0,_.$C)([{type:i.ai.RECEIVED_SEARCH_FILES,data:d,isGettingMore:s},(0,m.nX)(d.file_infos),{type:i.ai.RECEIVED_SEARCH_TERM,data:{teamId:e,params:n,isFilesEnd:0===d.order.length}},{type:i.ai.SEARCH_FILES_SUCCESS}],"SEARCH_FILE_BATCH")),{data:d}}}function E(){return async(e,n)=>{const t=(0,o.ev)(n()),{params:_,isFilesEnd:i}=n().entities.search.current[t];if(!i){const n=Object.assign({},_);return n.page+=1,e(c(t,n))}return{data:!0}}}function p(){return async(e,n)=>{const t=n(),o=(0,s.rc)(t);let u;e({type:i.ai.SEARCH_FLAGGED_POSTS_REQUEST});try{u=await a.je.getFlaggedPosts(o),await Promise.all([(0,d.ri)(u.posts,e,n),e(f(u.posts))])}catch(t){return(0,l._f)(t,e,n),e({type:i.ai.SEARCH_FLAGGED_POSTS_FAILURE,error:t}),e((0,r.H)(t)),{error:t}}return e((0,_.$C)([{type:i.ai.RECEIVED_SEARCH_FLAGGED_POSTS,data:u},(0,d.y3)(u),{type:i.ai.SEARCH_FLAGGED_POSTS_SUCCESS}],"SEARCH_FLAGGED_POSTS_BATCH")),{data:u}}}function k(e){return async(n,t)=>{let o;n({type:i.ai.SEARCH_PINNED_POSTS_REQUEST});try{o=await a.je.getPinnedPosts(e);const _=[(0,d.ri)(o.posts,n,t),n(f(o.posts))];await Promise.all(_)}catch(e){return(0,l._f)(e,n,t),n({type:i.ai.SEARCH_PINNED_POSTS_FAILURE,error:e}),{error:e}}return n((0,_.$C)([{type:i.ai.RECEIVED_SEARCH_PINNED_POSTS,data:{pinned:o,channelId:e}},(0,d.y3)(o),{type:i.ai.SEARCH_PINNED_POSTS_SUCCESS}],"SEARCH_PINNED_POSTS_BATCH")),{data:o}}}},22579:(e,n,t)=>{"use strict";t.d(n,{IL:()=>m,LA:()=>f,gE:()=>d}),t(14078),t(61418),t(95623);var _=t(75627),i=t(6352),a=t(31435),o=t(66900),s=t(19601),u=t(23894),r=t(51641);function m(e){return(n,t,_)=>{let{loaders:i}=_;i.pollingStatusLoader||(i.pollingStatusLoader=new r.y({fetchBatch:e=>n((0,a.W7)(e)),maxBatchSize:a.AS})),i.pollingStatusLoader.queue(e);const o=(0,s.gZ)(t());return!o||o<=0?i.pollingStatusLoader.fetchBatchNow():i.pollingStatusLoader.startIntervalIfNeeded(o),{data:!0}}}function l(e){return(n,t,_)=>{let{loaders:i}=_;i.pollingProfileLoader||(i.pollingProfileLoader=new r.y({fetchBatch:e=>n((0,a.Ef)(e)),maxBatchSize:a.s1})),i.pollingProfileLoader.queue(e);const o=(0,s.gZ)(t());return!o||o<=0?i.pollingProfileLoader.fetchBatchNow():i.pollingProfileLoader.startIntervalIfNeeded(o),{data:!0}}}function d(){return(e,n,t)=>{var _,i;let{loaders:a}=t;null===(_=a.pollingStatusLoader)||void 0===_||_.stopInterval(),null===(i=a.pollingProfileLoader)||void 0===i||i.stopInterval()}}function f(e){return(n,t)=>{if(!e)return{data:!1};let s=[];if(Array.isArray(e)?s=e:"object"==typeof e&&"id"in e?s=[e]:"object"==typeof e&&(s=Object.values(e)),0===s.length)return{data:!1};const r=new Set,d=t(),f=(0,o.ts)(d),F=(0,o.rc)(d),g=(0,o.Zk)(d),h=(0,o.Rf)(d),c=(0,u.aH)(d);var E;return s.forEach((e=>{e.metadata&&(e.metadata.embeds&&e.metadata.embeds.forEach((e=>{if("permalink"===e.type&&e.data){var t,_;const i=e.data;null!==(t=i.post)&&void 0!==t&&t.user_id&&!h[i.post.user_id]&&i.post.user_id!==F&&n(l([i.post.user_id])),null!==(_=i.post)&&void 0!==_&&_.user_id&&!c[i.post.user_id]&&i.post.user_id!==F&&g&&n(m([i.post.user_id]))}})),e.metadata.acknowledgements&&e.metadata.acknowledgements.forEach((e=>{e.acknowledged_at>0&&e.user_id&&!h[e.user_id]&&e.user_id!==F&&n(l([e.user_id]))}))),h[e.user_id]||e.user_id===F||n(l([e.user_id])),!c[e.user_id]&&e.user_id!==F&&g&&n(m([e.user_id]));const t=(0,i.I7)(d,[e]);t.size>0&&t.forEach((e=>{e!==f.username&&r.add(e)}))})),r.size>0&&n((E=Array.from(r),async e=>{const{data:n}=await e((0,a.Wi)(E)),t=[];if(n)for(const e of n)e&&e.username&&t.push(e.username);const i=E.filter((e=>!t.includes(e)));for(const n of i){const t={q:n,filter_allow_reference:!0,page:0,per_page:60};e((0,_.td)(t))}return{data:i}})),{data:!0}}}},17086:(e,n,t)=>{"use strict";t.d(n,{$B:()=>U,AG:()=>P,Cm:()=>b,Dc:()=>E,II:()=>z,Ih:()=>Z,Jw:()=>p,LK:()=>A,L_:()=>R,MA:()=>c,PB:()=>T,Pb:()=>w,QL:()=>Y,UG:()=>$,UI:()=>v,VP:()=>k,WO:()=>G,Xv:()=>D,YY:()=>O,Ye:()=>Q,_x:()=>S,aF:()=>B,aJ:()=>H,dA:()=>X,e$:()=>j,fC:()=>N,fs:()=>I,iw:()=>W,k1:()=>C,kx:()=>V,o7:()=>K,oY:()=>J,r8:()=>x,sS:()=>q,sj:()=>M,zG:()=>L,zf:()=>y}),t(61418),t(95623),t(14078);var _=t(22850),i=t(10883),a=t(73443),o=t(17554),s=t(98644),u=t(92087),r=t(31435),m=t(80139),l=t(97042),d=t(66900),f=t(11298),F=t(23894),g=t(61249);async function h(e,n,t){const _=t(),{currentUserId:i,profiles:a,statuses:o}=_.entities.users,s=(0,d.Zk)(_),u=[],m=[];e.forEach((e=>{a[e]||u.includes(e)||e===i||u.push(e),o[e]||m.includes(e)||e===i||m.push(e)}));const l=[];u.length&&l.push(n((0,r.Ef)(u))),m.length&&s&&l.push(n((0,r.W7)(m))),await Promise.all(l)}function c(e){const n="string"==typeof e?e:e.id;return{type:i.OU.SELECT_TEAM,data:n}}function E(){return(0,s.Vs)({clientFunc:m.je.getMyTeams,onSuccess:i.OU.RECEIVED_TEAMS_LIST})}function p(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return async(t,_)=>{let a;try{a=await m.je.getMyTeamUnreads(e)}catch(e){return(0,s._f)(e,t,_),t((0,o.H)(e)),{error:e}}if(n){const e=(0,f.ev)(_());if(e){const n=a.findIndex((n=>n.team_id===e));n>=0&&a.splice(n,1)}}return t({type:i.OU.RECEIVED_MY_TEAM_UNREADS,data:a}),{data:a}}}function k(e){return(0,s.Vs)({clientFunc:m.je.getTeam,onSuccess:i.OU.RECEIVED_TEAM,params:[e]})}function D(e){return(0,s.Vs)({clientFunc:m.je.getTeamByName,onSuccess:i.OU.RECEIVED_TEAM,params:[e]})}function A(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.LQ.TEAMS_CHUNK_SIZE,t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return async(u,r)=>{let l;u({type:i.OU.GET_TEAMS_REQUEST,data:l});try{l=await m.je.getTeams(e,n,t,a)}catch(e){return(0,s._f)(e,u,r),u({type:i.OU.GET_TEAMS_FAILURE,data:l}),u((0,o.H)(e)),{error:e}}const d=[{type:i.OU.RECEIVED_TEAMS_LIST,data:t?l.teams:l},{type:i.OU.GET_TEAMS_SUCCESS,data:l}];return t&&d.push({type:i.OU.RECEIVED_TOTAL_TEAM_COUNT,data:l.total_count}),u((0,_.$C)(d)),{data:l}}}function y(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return async(t,a)=>{let u,r;t({type:i.OU.GET_TEAMS_REQUEST,data:null});try{u=await m.je.searchTeams(e,n)}catch(e){return(0,s._f)(e,t,a),t({type:i.OU.GET_TEAMS_FAILURE,error:e}),t((0,o.H)(e)),{error:e}}return r=n.page&&n.per_page?u.teams:u,t((0,_.$C)([{type:i.OU.RECEIVED_TEAMS_LIST,data:r},{type:i.OU.GET_TEAMS_SUCCESS}])),{data:u}}}function b(e){return async(n,t)=>{let a;try{a=await m.je.createTeam(e)}catch(e){return(0,s._f)(e,n,t),n((0,o.H)(e)),{error:e}}const r={team_id:a.id,user_id:t().entities.users.currentUserId,roles:"".concat(l.LQ.TEAM_ADMIN_ROLE," ").concat(l.LQ.TEAM_USER_ROLE),delete_at:0,msg_count:0,mention_count:0};return n((0,_.$C)([{type:i.OU.CREATED_TEAM,data:a},{type:i.OU.RECEIVED_MY_TEAM_MEMBER,data:r},{type:i.OU.SELECT_TEAM,data:a.id}])),n((0,u.k3)(r.roles.split(" "))),{data:a}}}function N(e){return async(n,t)=>{try{await m.je.deleteTeam(e)}catch(e){return(0,s._f)(e,n,t),n((0,o.H)(e)),{error:e}}const a=t().entities,{currentTeamId:u}=a.teams,r=[];return e===u&&(g.Z.emit("leave_team"),r.push({type:i.d4.SELECT_CHANNEL,data:""})),r.push({type:i.OU.RECEIVED_TEAM_DELETED,data:{id:e}}),n((0,_.$C)(r)),{data:!0}}}function C(e){return async(n,t)=>{let _;try{_=await m.je.unarchiveTeam(e)}catch(e){return(0,s._f)(e,n,t),n((0,o.H)(e)),{error:e}}return n({type:i.OU.RECEIVED_TEAM_UNARCHIVED,data:_}),{data:!0}}}function I(e){return(0,s.Vs)({clientFunc:m.je.updateTeam,onSuccess:i.OU.UPDATED_TEAM,params:[e]})}function w(e){return(0,s.Vs)({clientFunc:m.je.patchTeam,onSuccess:i.OU.PATCHED_TEAM,params:[e]})}function B(e){return(0,s.Vs)({clientFunc:m.je.regenerateTeamInviteId,onSuccess:i.OU.REGENERATED_TEAM_INVITE_ID,params:[e]})}function x(){return async e=>{const n=(0,s.Vs)({clientFunc:m.je.getMyTeamMembers,onSuccess:i.OU.RECEIVED_MY_TEAM_MEMBERS}),t=await e(n);if("data"in t&&t.data){const n=new Set;for(const e of t.data)for(const t of e.roles.split(" "))n.add(t);n.size>0&&e((0,u.k3)([...n]))}return t}}function O(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.LQ.TEAMS_CHUNK_SIZE,_=arguments.length>3?arguments[3]:void 0;return(0,s.Vs)({clientFunc:m.je.getTeamMembers,onRequest:i.OU.GET_TEAM_MEMBERS_REQUEST,onSuccess:[i.OU.RECEIVED_MEMBERS_IN_TEAM,i.OU.GET_TEAM_MEMBERS_SUCCESS],onFailure:i.OU.GET_TEAM_MEMBERS_FAILURE,params:[e,n,t,_]})}function T(e,n){return async(t,_)=>{let a;try{const i=m.je.getTeamMember(e,n);h([n],t,_),a=await i}catch(e){return(0,s._f)(e,t,_),t((0,o.H)(e)),{error:e}}return t({type:i.OU.RECEIVED_MEMBERS_IN_TEAM,data:[a]}),{data:a}}}function S(e,n){return async(t,_)=>{let a;try{const i=m.je.getTeamMembersByIds(e,n);h(n,t,_),a=await i}catch(e){return(0,s._f)(e,t,_),t((0,o.H)(e)),{error:e}}return t({type:i.OU.RECEIVED_MEMBERS_IN_TEAM,data:a}),{data:a}}}function M(e){return(0,s.Vs)({clientFunc:m.je.getTeamsForUser,onRequest:i.OU.GET_TEAMS_REQUEST,onSuccess:[i.OU.RECEIVED_TEAMS_LIST,i.OU.GET_TEAMS_SUCCESS],onFailure:i.OU.GET_TEAMS_FAILURE,params:[e]})}function R(e){return(0,s.Vs)({clientFunc:m.je.getTeamMembersForUser,onSuccess:i.OU.RECEIVED_TEAM_MEMBERS,params:[e]})}function L(e){return(0,s.Vs)({clientFunc:m.je.getTeamStats,onSuccess:i.OU.RECEIVED_TEAM_STATS,params:[e]})}function v(e,n){return(0,s.Vs)({clientFunc:m.je.addToTeamFromInvite,onRequest:i.OU.ADD_TO_TEAM_FROM_INVITE_REQUEST,onSuccess:i.OU.ADD_TO_TEAM_FROM_INVITE_SUCCESS,onFailure:i.OU.ADD_TO_TEAM_FROM_INVITE_FAILURE,params:[e,n]})}function H(e,n){return async(t,a)=>{let u;try{u=await m.je.addToTeam(e,n)}catch(e){return(0,s._f)(e,t,a),t((0,o.H)(e)),{error:e}}return t((0,_.$C)([{type:i.bZ.RECEIVED_PROFILE_IN_TEAM,data:{id:e,user_id:n}},{type:i.OU.RECEIVED_MEMBER_IN_TEAM,data:u}])),{data:u}}}function K(e,n){return async(t,a)=>{let u;try{u=await m.je.addUsersToTeamGracefully(e,n)}catch(e){return(0,s._f)(e,t,a),t((0,o.H)(e)),{error:e}}const r=u?u.filter((e=>!e.error)):[],l=r.map((e=>({id:e.user_id}))),d=r.map((e=>e.member));return t((0,_.$C)([{type:i.bZ.RECEIVED_PROFILES_LIST_IN_TEAM,data:l,id:e},{type:i.OU.RECEIVED_MEMBERS_IN_TEAM,data:d}])),{data:u}}}function G(e,n){return async(t,u)=>{try{await m.je.removeFromTeam(e,n)}catch(e){return(0,s._f)(e,t,u),t((0,o.H)(e)),{error:e}}const r={team_id:e,user_id:n},l=[{type:i.bZ.RECEIVED_PROFILE_NOT_IN_TEAM,data:{id:e,user_id:n}},{type:i.OU.REMOVE_MEMBER_FROM_TEAM,data:r}],d=u(),g=(0,F.rc)(d);if(n===g){const{channels:n,myMembers:t}=d.entities.channels;for(const _ of Object.values(t)){const t=n[_.channel_id];t&&t.team_id===e&&l.push({type:i.d4.LEAVE_CHANNEL,data:t})}e===(0,f.ev)(d)&&l.push((0,a.QE)(""))}return t((0,_.$C)(l)),{data:!0}}}function U(e,n){return(0,s.Vs)({clientFunc:m.je.sendEmailInvitesToTeamGracefully,params:[e,n]})}function P(e,n,t,_){return(0,s.Vs)({clientFunc:m.je.sendEmailGuestInvitesToChannelsGracefully,params:[e,n,t,_]})}function j(e,n,t,_){return(0,s.Vs)({clientFunc:m.je.sendEmailInvitesToTeamAndChannelsGracefully,params:[e,n,t,_]})}function q(e){return(0,s.Vs)({clientFunc:m.je.getTeamInviteInfo,onRequest:i.OU.TEAM_INVITE_INFO_REQUEST,onSuccess:i.OU.TEAM_INVITE_INFO_SUCCESS,onFailure:i.OU.TEAM_INVITE_INFO_FAILURE,params:[e]})}function W(e){return async(n,t)=>{let _;try{_=await m.je.checkIfTeamExists(e)}catch(e){return(0,s._f)(e,n,t),n((0,o.H)(e)),{error:e}}return{data:_.exists}}}function V(e,n){return async t=>{await m.je.setTeamIcon(e,n);const _=await m.je.getTeam(e);return t({type:i.OU.PATCHED_TEAM,data:_}),{data:{status:"OK"}}}}function Y(e){return async n=>{await m.je.removeTeamIcon(e);const t=await m.je.getTeam(e);return n({type:i.OU.PATCHED_TEAM,data:t}),{data:{status:"OK"}}}}function z(e,n){return(0,s.Vs)({clientFunc:async()=>(await m.je.updateTeamScheme(e,n),{teamId:e,schemeId:n}),onSuccess:i.OU.UPDATED_TEAM_SCHEME})}function Z(e,n,t,_){return(0,s.Vs)({clientFunc:async()=>(await m.je.updateTeamMemberSchemeRoles(e,n,t,_),{teamId:e,userId:n,isSchemeUser:t,isSchemeAdmin:_}),onSuccess:i.OU.UPDATED_TEAM_MEMBER_SCHEME_ROLES})}function X(){return(0,s.Vs)({clientFunc:m.je.invalidateAllEmailInvites})}function J(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,_=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l.LQ.PROFILE_CHUNK_SIZE;return(0,s.Vs)({clientFunc:m.je.teamMembersMinusGroupMembers,onSuccess:i.OU.RECEIVED_TEAM_MEMBERS_MINUS_GROUP_MEMBERS,params:[e,n,t,_]})}function $(e,n,t){return(0,s.Vs)({clientFunc:m.je.getInProductNotices,params:[e,n,t]})}function Q(e){return(0,s.Vs)({clientFunc:m.je.updateNoticesAsViewed,params:[e]})}},26219:(e,n,t)=>{"use strict";t.d(n,{Cq:()=>v,De:()=>y,Gx:()=>O,KA:()=>w,NC:()=>R,U2:()=>S,VS:()=>C,Zj:()=>x,bJ:()=>I,bl:()=>T,hj:()=>N,ii:()=>M,lL:()=>B,qN:()=>b,v5:()=>L}),t(61418),t(44705),t(44062),t(14078),t(92189);var _=t(83766),i=t.n(_),a=t(22850),o=t(10883),s=t(5352),u=t(31435),r=t(80139),m=t(7207),l=t(43618),d=t(3901),f=t(83905),F=t(11298),g=t(4195),h=t(23894),c=t(17554),E=t(98644),p=t(6352);function k(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);n&&(_=_.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,_)}return t}function D(e){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:{};return async(m,d)=>{let f;try{f=await r.je.getUserThreads(e,n,{before:t,after:_,perPage:i,extended:u,unread:a,totalsOnly:o,threadsOnly:s,since:l})}catch(e){return(0,E._f)(e,m,d),m((0,c.H)(e)),{error:e}}return{data:f}}}function y(){let{before:e="",after:n="",unread:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return async(_,a)=>{var r,l,d;const f=(0,h.rc)(a()),g=(0,F.ev)(a()),c=await _(A(f,g,{before:e,after:n,perPage:m.Z.THREADS_PAGE_SIZE,unread:t,totalsOnly:!1,threadsOnly:!0,extended:!0}));if(c.error)return c;const E=null==c?void 0:c.data;return E?(null!=E&&null!==(r=E.threads)&&void 0!==r&&r.length&&(await _((0,u.C4)(E.threads.map((e=>{let{participants:n}=e;return n.map((e=>{let{id:n}=e;return n}))})).flat())),_({type:o.tk.RECEIVED_POSTS,data:{posts:E.threads.map((e=>{let{post:n}=e;return D(D({},n),{},{update_at:0})}))}}),_((0,s.SM)(i()(E.threads.map((e=>{let{post:n}=e;return n})))))),_({type:t?o.TN.RECEIVED_UNREAD_THREADS:o.TN.RECEIVED_THREADS,data:{threads:null!==(l=null==E||null===(d=E.threads)||void 0===d?void 0:d.map((e=>D(D({},e),{},{is_following:!0}))))&&void 0!==l?l:[],team_id:g}}),{data:E}):{error:!0}}}function b(e,n){return async t=>{const _=await t(A(e,n,{totalsOnly:!0,threadsOnly:!1}));if(_.error)return _;const i=null==_?void 0:_.data;if(!i)return{error:!0};const a={total:i.total,total_unread_threads:i.total_unread_threads,total_unread_mentions:i.total_unread_mentions,total_unread_urgent_mentions:i.total_unread_urgent_mentions};return t({type:o.TN.RECEIVED_THREAD_COUNTS,data:D(D({},a),{},{team_id:n})}),{data:a}}}function N(e,n,t){return async _=>{var i,s,r;const m=await _(A(e,n,{since:t,totalsOnly:!1,threadsOnly:!1,extended:!0}));if(m.error)return m;const l=null==m?void 0:m.data;if(!l)return{error:!0};const d=[];null!=l&&null!==(i=l.threads)&&void 0!==i&&i.length&&(await _((0,u.C4)(l.threads.map((e=>{let{participants:n}=e;return n.map((e=>{let{id:n}=e;return n}))})).flat())),d.push({type:o.tk.RECEIVED_POSTS,data:{posts:l.threads.map((e=>{let{post:n}=e;return D(D({},n),{},{update_at:0})}))}})),d.push({type:o.TN.RECEIVED_THREADS,data:{threads:null!==(s=null==l||null===(r=l.threads)||void 0===r?void 0:r.map((e=>D(D({},e),{},{is_following:!0}))))&&void 0!==s?s:[],team_id:n}});const f={total:l.total,total_unread_threads:l.total_unread_threads,total_unread_mentions:l.total_unread_mentions,total_unread_urgent_mentions:l.total_unread_urgent_mentions};return d.push({type:o.TN.RECEIVED_THREAD_COUNTS,data:D(D({},f),{},{team_id:n})}),_((0,a.$C)(d)),{data:l}}}function C(e,n,t,_,i,a){const s=n(),u=(0,h.rc)(s),r=(0,f.ym)(s),m=D(D({},t),{},{is_following:!0});e({type:o.bZ.RECEIVED_PROFILES_LIST,data:m.participants.filter((e=>e.id!==u))}),e({type:o.tk.RECEIVED_POST,data:D(D({},m.post),{},{update_at:0}),features:{crtEnabled:r}}),e({type:o.TN.RECEIVED_THREAD,data:{thread:m,team_id:_}});const l=s.entities.threads.threads[t.id];var d,F;return(null!=a&&null!=i||null!=l)&&e(S(m.id,_,m.post.channel_id,{lastViewedAt:m.last_viewed_at,prevUnreadMentions:null!==(d=null==l?void 0:l.unread_mentions)&&void 0!==d?d:a,newUnreadMentions:m.unread_mentions,prevUnreadReplies:null!==(F=null==l?void 0:l.unread_replies)&&void 0!==F?F:i,newUnreadReplies:m.unread_replies})),m}function I(e,n,t){let _=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return async(i,a)=>{let o;try{o=await r.je.getUserThread(e,n,t,_)}catch(e){return(0,E._f)(e,i,a),i((0,c.H)(e)),{error:e}}return o&&(o=C(i,a,o,n)),{data:o}}}function w(e){return{type:o.TN.ALL_TEAM_THREADS_READ,data:{team_id:e}}}function B(e,n){return async(t,_)=>{try{await r.je.updateThreadsReadForUser(e,n)}catch(e){return(0,E._f)(e,t,_),t((0,c.H)(e)),{error:e}}return t(w(n)),{}}}function x(e,n,t,_){return async(i,a)=>{try{await r.je.markThreadAsUnreadForUser(e,n,t,_)}catch(e){return(0,E._f)(e,i,a),i((0,c.H)(e)),{error:e}}return{}}}function O(e,n,t){return async(_,i)=>{const a=(0,d.Zf)();let o=a(i(),t);const s=i(),u=(0,g.bJ)(s,t);return(null==u?void 0:u.reply_count)===o.length-1?_(x(e,n,t,o[0].id)):_((0,p.ct)(t)).then((s=>{let{data:u,error:r}=s;if(u)o=a(i(),t),_(x(e,n,t,o[0].id));else if(r)return{error:r};return{}})),{}}}function T(e,n,t,_){return async(i,a)=>{try{await r.je.updateThreadReadForUser(e,n,t,_)}catch(e){return(0,E._f)(e,i,a),i((0,c.H)(e)),{error:e}}return{}}}function S(e,n,t,_){let{lastViewedAt:i,prevUnreadMentions:a,newUnreadMentions:s,prevUnreadReplies:u,newUnreadReplies:r}=_;return(_,m)=>{const d=m(),f=(0,l.mr)(d,t),F=(0,g.bJ)(d,e);return _({type:o.TN.READ_CHANGED_THREAD,data:{id:e,teamId:n,channelId:t,lastViewedAt:i,prevUnreadMentions:a,newUnreadMentions:s,prevUnreadReplies:u,newUnreadReplies:r,channelType:null==f?void 0:f.type,isUrgent:null==F?void 0:F.is_urgent}})}}function M(e,n,t,_){e({type:o.TN.FOLLOW_CHANGED_THREAD,data:{id:n,team_id:t,following:_}})}function R(e,n,t,_){return async(i,a)=>{M(i,t,n,_);try{await r.je.updateThreadFollowForUser(e,n,t,_)}catch(e){return(0,E._f)(e,i,a),i((0,c.H)(e)),{error:e}}return{}}}function L(e,n){return(t,_)=>{const i=_(),s=(0,l.mr)(i,e);if(null==s)return{data:!1};const u=s.team_id,r=(0,g.Wu)(i,e),m=[];for(const t of r)m.push({type:o.TN.READ_CHANGED_THREAD,data:{id:t.id,channelId:e,teamId:u,lastViewedAt:n,newUnreadMentions:0,newUnreadReplies:0,isUrgent:t.is_urgent}});return t((0,a.$C)(m)),{data:!0}}}function v(e){return(n,t)=>{const _=t(),i=(0,g.bJ)(_,e.id);if(!i||!i.unread_replies&&!i.unread_mentions)return{data:!1};const a=(0,l.mr)(_,e.channel_id),s=(null==a?void 0:a.team_id)||(0,F.ev)(_);return a&&n({type:o.TN.DECREMENT_THREAD_COUNTS,teamId:s,replies:i.unread_replies,mentions:i.unread_mentions,channelType:a.type}),{data:!0}}}},31435:(e,n,t)=>{"use strict";t.d(n,{AH:()=>Te,AS:()=>b,C4:()=>T,CR:()=>Ie,CX:()=>$,D7:()=>q,DO:()=>le,Ef:()=>M,HH:()=>be,Hd:()=>Me,LS:()=>ke,M2:()=>x,MH:()=>Y,NH:()=>ce,Nc:()=>te,Oc:()=>ue,Oi:()=>V,PP:()=>v,PR:()=>X,QJ:()=>De,RZ:()=>Se,Rx:()=>ie,S1:()=>B,Tf:()=>ee,W7:()=>Q,Wi:()=>R,Wv:()=>xe,Zy:()=>ge,_1:()=>ae,_2:()=>ne,_p:()=>Ae,ax:()=>W,bD:()=>_e,cp:()=>O,dQ:()=>J,ei:()=>Be,f9:()=>I,fh:()=>we,gV:()=>L,gf:()=>se,gh:()=>ye,h8:()=>pe,hB:()=>fe,jh:()=>Ce,jo:()=>P,kS:()=>w,lg:()=>N,lr:()=>Z,mL:()=>z,oR:()=>j,on:()=>S,q0:()=>he,q9:()=>Oe,qS:()=>de,r:()=>G,r1:()=>U,r4:()=>C,rw:()=>K,s1:()=>y,t6:()=>me,tG:()=>oe,w0:()=>Ne,w5:()=>re,xT:()=>H,zP:()=>Fe,zk:()=>Ee}),t(61418),t(14078),t(92189);var _=t(22850),i=t(10883),a=t(17554),o=t(33185),s=t(98644),u=t(2611),r=t(32394),m=t(92087),l=t(17086),d=t(80139),f=t(97042),F=t(66900),g=t(19601),h=t(83905),c=t(23894),E=t(51641),p=t(65370);function k(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);n&&(_=_.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,_)}return t}function D(e){for(var n=1;n{let r;try{r=await d.je.createUser(e,n,t,_)}catch(e){return(0,s._f)(e,o,u),o((0,a.H)(e)),{error:e}}const m={[r.id]:r};return o({type:i.bZ.RECEIVED_PROFILES,data:m}),{data:r}}}function I(){return async(e,n)=>{const t=n().entities.general.serverVersion||d.je.getServerVersion();e((0,o.HD)(t));try{await Promise.all([e((0,o.Zb)()),e((0,o.ut)()),e(P()),e((0,r.VJ)()),e((0,l.Dc)()),e((0,l.r8)())]);const t=(0,h.ym)(n());await e((0,l.Jw)(t)),await e((0,u.L)())}catch(n){return e((0,a.H)(n)),{error:n}}return{data:!0}}}function w(){return async e=>{e({type:i.bZ.LOGOUT_REQUEST,data:null});try{await d.je.logout()}catch(e){}return e({type:i.bZ.LOGOUT_SUCCESS,data:null}),{data:!0}}}function B(){return(0,s.Vs)({clientFunc:d.je.getTotalUsersStats,onSuccess:i.bZ.RECEIVED_USER_STATS})}function x(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return async(t,_)=>{let o;try{o=await d.je.getFilteredUsersStats(e)}catch(e){return(0,s._f)(e,t,_),t((0,a.H)(e)),{error:e}}return n&&t({type:i.bZ.RECEIVED_FILTERED_USER_STATS,data:o}),{data:o}}}function O(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.LQ.PROFILE_CHUNK_SIZE,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return async(_,o)=>{let u;try{u=await d.je.getProfiles(e,n,t)}catch(e){return(0,s._f)(e,_,o),_((0,a.H)(e)),{error:e}}return _({type:i.bZ.RECEIVED_PROFILES_LIST,data:u}),{data:u}}}function T(e){return async(n,t,_)=>{let{loaders:i}=_;i.missingStatusLoader||(i.missingStatusLoader=new E.N({fetchBatch:e=>n(Q(e)),maxBatchSize:y,wait:A})),i.missingProfileLoader||(i.missingProfileLoader=new E.N({fetchBatch:e=>n(M(e)),maxBatchSize:y,wait:A}));const a=t(),o=e.filter((e=>!(0,c.PR)(a,e)));return o.length>0&&((0,F.Zk)(a)&&i.missingStatusLoader.queue(o),await i.missingProfileLoader.queueAndWait(o)),{data:o}}}function S(e){return async(n,t,_)=>{let{loaders:i}=_;i.missingUsernameLoader||(i.missingUsernameLoader=new E.N({fetchBatch:e=>n(R(e)),maxBatchSize:y,wait:A}));const a=(0,c.Td)(t()),o=e.filter((e=>!a[e]));return o.length>0&&await i.missingUsernameLoader.queueAndWait(o),{data:o}}}function M(e,n){return async(t,_)=>{let o;try{o=await d.je.getProfilesByIds(e,n)}catch(e){return(0,s._f)(e,t,_),t((0,a.H)(e)),{error:e}}return t({type:i.bZ.RECEIVED_PROFILES_LIST,data:o}),{data:o}}}function R(e){return async(n,t)=>{let _;try{_=await d.je.getProfilesByUsernames(e)}catch(e){return(0,s._f)(e,n,t),n((0,a.H)(e)),{error:e}}return n({type:i.bZ.RECEIVED_PROFILES_LIST,data:_}),{data:_}}}function L(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.LQ.PROFILE_CHUNK_SIZE,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return async(r,m)=>{let l;try{l=await d.je.getProfilesInTeam(e,n,t,o,u)}catch(e){return(0,s._f)(e,r,m),r((0,a.H)(e)),{error:e}}return r((0,_.$C)([{type:i.bZ.RECEIVED_PROFILES_LIST_IN_TEAM,data:l,id:e},{type:i.bZ.RECEIVED_PROFILES_LIST,data:l}])),{data:l}}}function v(e,n,t){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:f.LQ.PROFILE_CHUNK_SIZE;return async(u,r)=>{let m;try{m=await d.je.getProfilesNotInTeam(e,n,t,o)}catch(e){return(0,s._f)(e,u,r),u((0,a.H)(e)),{error:e}}const l=n?i.bZ.RECEIVED_PROFILES_LIST_NOT_IN_TEAM_AND_REPLACE:i.bZ.RECEIVED_PROFILES_LIST_NOT_IN_TEAM;return u((0,_.$C)([{type:l,data:m,id:e},{type:i.bZ.RECEIVED_PROFILES_LIST,data:m}])),{data:m}}}let H=function(e){return e.None="",e.Admin="admin",e}({});function K(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.LQ.PROFILE_CHUNK_SIZE,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return async(r,m)=>{let l;try{l=await d.je.getProfilesInChannel(e,n,t,o,u)}catch(e){return(0,s._f)(e,r,m),r((0,a.H)(e)),{error:e}}return r((0,_.$C)([{type:i.bZ.RECEIVED_PROFILES_LIST_IN_CHANNEL,data:l,id:e},{type:i.bZ.RECEIVED_PROFILES_LIST,data:l}])),{data:l}}}function G(e){return async(n,t)=>{let o;try{o=await d.je.getProfilesInGroupChannels(e.slice(0,f.LQ.MAX_GROUP_CHANNELS_FOR_PROFILES))}catch(e){return(0,s._f)(e,n,t),n((0,a.H)(e)),{error:e}}const u=[];for(const e in o)if(o.hasOwnProperty(e)){const n=o[e];u.push({type:i.bZ.RECEIVED_PROFILES_LIST_IN_CHANNEL,data:n,id:e},{type:i.bZ.RECEIVED_PROFILES_LIST,data:n})}return n((0,_.$C)(u)),{data:o}}}function U(e,n,t,o){let u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:f.LQ.PROFILE_CHUNK_SIZE;return async(r,m)=>{let l;try{l=await d.je.getProfilesNotInChannel(e,n,t,o,u)}catch(e){return(0,s._f)(e,r,m),r((0,a.H)(e)),{error:e}}const f=t?i.bZ.RECEIVED_PROFILES_LIST_NOT_IN_CHANNEL_AND_REPLACE:i.bZ.RECEIVED_PROFILES_LIST_NOT_IN_CHANNEL;return r((0,_.$C)([{type:f,data:l,id:n},{type:i.bZ.RECEIVED_PROFILES_LIST,data:l}])),{data:l}}}function P(){return async e=>{const n=(0,s.Vs)({clientFunc:d.je.getMe,onSuccess:i.bZ.RECEIVED_ME}),t=await e(n);return"error"in t||"data"in t&&e((0,m.k3)(t.data.roles.split(" "))),t}}function j(e,n){return async(t,_)=>{const a=await t((0,s.Vs)({clientFunc:d.je.updateMyTermsOfServiceStatus,params:[e,n]}));return"data"in a?(n&&t({type:i.bZ.RECEIVED_TERMS_OF_SERVICE_STATUS,data:{terms_of_service_create_at:(new Date).getTime(),terms_of_service_id:n?e:null,user_id:(0,c.rc)(_())}}),{data:a.data}):{error:a.error}}}function q(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.LQ.PROFILE_CHUNK_SIZE,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return async(u,r)=>{let m;try{m=await d.je.getProfilesInGroup(e,n,t,o)}catch(e){return(0,s._f)(e,u,r),u((0,a.H)(e)),{error:e}}return u((0,_.$C)([{type:i.bZ.RECEIVED_PROFILES_LIST_IN_GROUP,data:m,id:e},{type:i.bZ.RECEIVED_PROFILES_LIST,data:m}])),{data:m}}}function W(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.LQ.PROFILE_CHUNK_SIZE;return async(o,u)=>{let r;try{r=await d.je.getProfilesNotInGroup(e,n,t)}catch(e){return(0,s._f)(e,o,u),o((0,a.H)(e)),{error:e}}return o((0,_.$C)([{type:i.bZ.RECEIVED_PROFILES_LIST_NOT_IN_GROUP,data:r,id:e},{type:i.bZ.RECEIVED_PROFILES_LIST,data:r}])),{data:r}}}function V(){return(0,s.Vs)({clientFunc:d.je.getTermsOfService})}function Y(e){return(0,s.Vs)({clientFunc:d.je.promoteGuestToUser,params:[e]})}function z(e){return(0,s.Vs)({clientFunc:d.je.demoteUserToGuest,params:[e]})}function Z(e){return(0,s.Vs)({clientFunc:d.je.createTermsOfService,params:[e]})}function X(e){return(0,s.Vs)({clientFunc:d.je.getUser,onSuccess:i.bZ.RECEIVED_PROFILE,params:[e]})}function J(e){return(0,s.Vs)({clientFunc:d.je.getUserByUsername,onSuccess:i.bZ.RECEIVED_PROFILE,params:[e]})}function $(e){return(0,s.Vs)({clientFunc:d.je.getUserByEmail,onSuccess:i.bZ.RECEIVED_PROFILE,params:[e]})}function Q(e){return async(n,t)=>{if(!e||0===e.length)return{data:[]};let o;try{o=await d.je.getStatusesByIds(e)}catch(e){return(0,s._f)(e,n,t),n((0,a.H)(e)),{error:e}}const u={},r={},m={},l={};for(const e of o){var f,F,g,h;u[e.user_id]=null!==(f=null==e?void 0:e.status)&&void 0!==f?f:"",r[e.user_id]=null!==(F=null==e?void 0:e.dnd_end_time)&&void 0!==F?F:0,m[e.user_id]=null!==(g=null==e?void 0:e.manual)&&void 0!==g&&g,l[e.user_id]=null!==(h=null==e?void 0:e.last_activity_at)&&void 0!==h?h:0}return n((0,_.$C)([{type:i.bZ.RECEIVED_STATUSES,data:u},{type:i.bZ.RECEIVED_DND_END_TIMES,data:r},{type:i.bZ.RECEIVED_STATUSES_IS_MANUAL,data:m},{type:i.bZ.RECEIVED_LAST_ACTIVITIES,data:l}],"BATCHING_STATUSES")),{data:o}}}function ee(e){return async(n,t)=>{var o,u,r,m,l,f;let F;try{F=await d.je.updateStatus(e)}catch(e){return(0,s._f)(e,n,t),n((0,a.H)(e)),{error:e}}const g={[F.user_id]:F.status},h={[F.user_id]:null!==(o=null===(u=F)||void 0===u?void 0:u.dnd_end_time)&&void 0!==o?o:0},c={[F.user_id]:null!==(r=null===(m=F)||void 0===m?void 0:m.manual)&&void 0!==r&&r},E={[F.user_id]:null!==(l=null===(f=F)||void 0===f?void 0:f.last_activity_at)&&void 0!==l?l:0};return n((0,_.$C)([{type:i.bZ.RECEIVED_STATUSES,data:g},{type:i.bZ.RECEIVED_DND_END_TIMES,data:h},{type:i.bZ.RECEIVED_STATUSES_IS_MANUAL,data:c},{type:i.bZ.RECEIVED_LAST_ACTIVITIES,data:E}],"BATCHING_STATUS")),{data:F}}}function ne(e){return(0,s.Vs)({clientFunc:d.je.updateCustomStatus,params:[e]})}function te(){return(0,s.Vs)({clientFunc:d.je.unsetCustomStatus})}function _e(e){return(0,s.Vs)({clientFunc:d.je.removeRecentCustomStatus,params:[e]})}function ie(e){return(0,s.Vs)({clientFunc:d.je.getSessions,onSuccess:i.bZ.RECEIVED_SESSIONS,params:[e]})}function ae(e,n){return async(t,_)=>{try{await d.je.revokeSession(e,n)}catch(e){return(0,s._f)(e,t,_),t((0,a.H)(e)),{error:e}}return t({type:i.bZ.RECEIVED_REVOKED_SESSION,sessionId:n,data:null}),{data:!0}}}function oe(e){return async(n,t)=>{try{await d.je.revokeAllSessionsForUser(e)}catch(e){return(0,s._f)(e,n,t),n((0,a.H)(e)),{error:e}}const o={isCurrentUser:e===(0,c.rc)(t())};return n((0,_.$C)([{type:i.bZ.REVOKE_ALL_USER_SESSIONS_SUCCESS,data:o}])),{data:!0}}}function se(){return async(e,n)=>{try{await d.je.revokeSessionsForAllUsers()}catch(t){return(0,s._f)(t,e,n),e((0,a.H)(t)),{error:t}}return e({type:i.bZ.REVOKE_SESSIONS_FOR_ALL_USERS_SUCCESS,data:null}),{data:!0}}}function ue(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.LQ.AUDITS_CHUNK_SIZE;return(0,s.Vs)({clientFunc:d.je.getUserAudits,onSuccess:i.bZ.RECEIVED_AUDITS,params:[e,n,t]})}function re(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3?arguments[3]:void 0;return async(u,r)=>{let m;u({type:i.bZ.AUTOCOMPLETE_USERS_REQUEST,data:null});try{m=await d.je.autocompleteUsers(e,n,t,o)}catch(e){return(0,s._f)(e,u,r),u({type:i.bZ.AUTOCOMPLETE_USERS_FAILURE,error:e}),u((0,a.H)(e)),{error:e}}let l=[...m.users];m.out_of_channel&&(l=[...l,...m.out_of_channel]);const f=[{type:i.bZ.RECEIVED_PROFILES_LIST,data:l},{type:i.bZ.AUTOCOMPLETE_USERS_SUCCESS}];return t&&(f.push({type:i.bZ.RECEIVED_PROFILES_LIST_IN_CHANNEL,data:m.users,id:t}),f.push({type:i.bZ.RECEIVED_PROFILES_LIST_NOT_IN_CHANNEL,data:m.out_of_channel||[],id:t})),n&&f.push({type:i.bZ.RECEIVED_PROFILES_LIST_IN_TEAM,data:l,id:n}),u((0,_.$C)(f)),{data:m}}}function me(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return async(t,o)=>{let u;try{u=await d.je.searchUsers(e,n)}catch(e){return(0,s._f)(e,t,o),t((0,a.H)(e)),{error:e}}const r=[{type:i.bZ.RECEIVED_PROFILES_LIST,data:u}];return n.in_channel_id&&r.push({type:i.bZ.RECEIVED_PROFILES_LIST_IN_CHANNEL,data:u,id:n.in_channel_id}),n.not_in_channel_id&&r.push({type:i.bZ.RECEIVED_PROFILES_LIST_NOT_IN_CHANNEL,data:u,id:n.not_in_channel_id}),n.team_id&&r.push({type:i.bZ.RECEIVED_PROFILES_LIST_IN_TEAM,data:u,id:n.team_id}),n.not_in_team_id&&r.push({type:i.bZ.RECEIVED_PROFILES_LIST_NOT_IN_TEAM,data:u,id:n.not_in_team_id}),n.in_group_id&&r.push({type:i.bZ.RECEIVED_PROFILES_LIST_IN_GROUP,data:u,id:n.in_group_id}),n.not_in_group_id&&r.push({type:i.bZ.RECEIVED_PROFILES_LIST_NOT_IN_GROUP,data:u,id:n.not_in_group_id}),t((0,_.$C)(r)),{data:u}}}function le(e){return async n=>{let t;n({type:i.bZ.UPDATE_ME_REQUEST,data:null});try{t=await d.je.patchMe(e)}catch(e){return n({type:i.bZ.UPDATE_ME_FAILURE,error:e}),n((0,a.H)(e)),{error:e}}return n((0,_.$C)([{type:i.bZ.RECEIVED_ME,data:t},{type:i.bZ.UPDATE_ME_SUCCESS}])),n((0,m.k3)(t.roles.split(" "))),{data:t}}}function de(e){return async n=>{let t;try{t=await d.je.patchUser(e)}catch(e){return n((0,a.H)(e)),{error:e}}return n({type:i.bZ.RECEIVED_PROFILE,data:t}),{data:t}}}function fe(e,n){return async(t,_)=>{try{await d.je.updateUserRoles(e,n)}catch(e){return{error:e}}const a=_().entities.users.profiles[e];return a&&t({type:i.bZ.RECEIVED_PROFILE,data:D(D({},a),{},{roles:n})}),{data:!0}}}function Fe(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return async(_,o)=>{try{await d.je.updateUserMfa(e,n,t)}catch(e){return _((0,a.H)(e)),{error:e}}const s=o().entities.users.profiles[e];return s&&_({type:i.bZ.RECEIVED_PROFILE,data:D(D({},s),{},{mfa_active:n})}),{data:!0}}}function ge(e,n,t){return async(_,o)=>{try{await d.je.updateUserPassword(e,n,t)}catch(e){return _((0,a.H)(e)),{error:e}}const s=o().entities.users.profiles[e];return s&&_({type:i.bZ.RECEIVED_PROFILE,data:D(D({},s),{},{last_password_update:(new Date).getTime()})}),{data:!0}}}function he(e,n){return async(t,_)=>{try{await d.je.updateUserActive(e,n)}catch(e){return t((0,a.H)(e)),{error:e}}const o=_().entities.users.profiles[e];if(o){const e=n?0:(new Date).getTime();t({type:i.bZ.RECEIVED_PROFILE,data:D(D({},o),{},{delete_at:e})})}return{data:!0}}}function ce(e){return(0,s.Vs)({clientFunc:d.je.verifyUserEmail,params:[e]})}function Ee(e){return(0,s.Vs)({clientFunc:d.je.sendVerificationEmail,params:[e]})}function pe(e,n){return(0,s.Vs)({clientFunc:d.je.resetUserPassword,params:[e,n]})}function ke(e){return(0,s.Vs)({clientFunc:d.je.sendPasswordResetEmail,params:[e]})}function De(e){return async(n,t)=>{try{await d.je.setDefaultProfileImage(e)}catch(e){return n((0,a.H)(e)),{error:e}}const _=t().entities.users.profiles[e];return _&&n({type:i.bZ.RECEIVED_PROFILE,data:D(D({},_),{},{last_picture_update:0})}),{data:!0}}}function Ae(e,n){return async(t,_)=>{try{await d.je.uploadProfileImage(e,n)}catch(e){return{error:e}}const a=_().entities.users.profiles[e];return a&&t({type:i.bZ.RECEIVED_PROFILE,data:D(D({},a),{},{last_picture_update:(new Date).getTime()})}),{data:!0}}}function ye(e,n,t){let _=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return(0,s.Vs)({clientFunc:d.je.switchEmailToOAuth,params:[e,n,t,_]})}function be(e,n,t){return(0,s.Vs)({clientFunc:d.je.switchOAuthToEmail,params:[e,n,t]})}function Ne(e,n,t,_){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";return(0,s.Vs)({clientFunc:d.je.switchEmailToLdap,params:[e,n,t,_,i]})}function Ce(e,n,t){let _=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return(0,s.Vs)({clientFunc:d.je.switchLdapToEmail,params:[e,n,t,_]})}function Ie(e,n){return async(t,o)=>{let u;try{u=await d.je.createUserAccessToken(e,n)}catch(e){return(0,s._f)(e,t,o),t((0,a.H)(e)),{error:e}}const r=[{type:i.lj.RECEIVED_USER_ACCESS_TOKEN,data:D(D({},u),{},{token:""})}],{currentUserId:m}=o().entities.users;return e===m&&r.push({type:i.bZ.RECEIVED_MY_USER_ACCESS_TOKEN,data:D(D({},u),{},{token:""})}),t((0,_.$C)(r)),{data:u}}}function we(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.LQ.PROFILE_CHUNK_SIZE;return async(o,u)=>{let r;try{r=await d.je.getUserAccessTokensForUser(e,n,t)}catch(e){return(0,s._f)(e,o,u),o((0,a.H)(e)),{error:e}}const m=[{type:i.lj.RECEIVED_USER_ACCESS_TOKENS_FOR_USER,data:r,userId:e}],{currentUserId:l}=u().entities.users;return e===l&&m.push({type:i.bZ.RECEIVED_MY_USER_ACCESS_TOKENS,data:r}),o((0,_.$C)(m)),{data:r}}}function Be(e){return async(n,t)=>{try{await d.je.revokeUserAccessToken(e)}catch(e){return(0,s._f)(e,n,t),n((0,a.H)(e)),{error:e}}return n({type:i.bZ.REVOKED_USER_ACCESS_TOKEN,data:e}),{data:!0}}}function xe(e){return async(n,t)=>{try{await d.je.disableUserAccessToken(e)}catch(e){return(0,s._f)(e,n,t),n((0,a.H)(e)),{error:e}}return n({type:i.bZ.DISABLED_USER_ACCESS_TOKEN,data:e}),{data:!0}}}function Oe(e){return async(n,t)=>{try{await d.je.enableUserAccessToken(e)}catch(e){return(0,s._f)(e,n,t),n((0,a.H)(e)),{error:e}}return n({type:i.bZ.ENABLED_USER_ACCESS_TOKEN,data:e}),{data:!0}}}function Te(){return(0,s.Vs)({clientFunc:d.je.getKnownUsers})}function Se(){return async e=>(e({type:i.bZ.CLEAR_MY_USER_ACCESS_TOKENS,data:null}),{data:!0})}function Me(){return async(e,n)=>{const t=n(),_=(0,c.Rf)(t),i=t.websocket.lastDisconnectAt,a=(0,g.HF)(t);return(0,p.mu)(a,5,14)?(await e(M(Object.keys(_),{since:i})),{data:!0}):{data:!0}}}},80139:(e,n,t)=>{"use strict";t.d(n,{Ev:()=>_.DEFAULT_LIMIT_BEFORE,je:()=>i,su:()=>_.DEFAULT_LIMIT_AFTER});var _=t(15458);const i=new _.Client4},90568:(e,n,t)=>{"use strict";t.d(n,{RH:()=>u,pI:()=>r,yE:()=>o}),t(14078),t(69217);var _=t(4500),i=t(19601),a=t(65370);const o=e=>{var n;return"true"===(null===(n=(0,i.iE)(e))||void 0===n?void 0:n.EnableCustomEmoji)},s=(0,_.P1)("getCustomEmojis",o,(e=>e.entities.emojis.customEmoji),((e,n)=>e?n:{})),u=((0,_.P1)("getCustomEmojisAsMap",s,(e=>{const n=new Map;return Object.keys(e).forEach((t=>{n.set(t,e[t])})),n})),(0,_.P1)("getCustomEmojisByName",s,(e=>{const n=new Map;return Object.keys(e).forEach((t=>{n.set(e[t].name,e[t])})),n}))),r=(0,a.dX)("getCustomEmojiIdsSortedByName",s,(e=>Object.keys(e).sort(((n,t)=>e[n].name.localeCompare(e[t].name)))))},11990:(e,n,t)=>{"use strict";t.d(n,{$5:()=>x,Ai:()=>q,B6:()=>P,D$:()=>w,Fb:()=>l,H_:()=>L,Kj:()=>R,Lk:()=>D,Uo:()=>g,_:()=>K,_3:()=>E,c9:()=>B,eL:()=>W,ex:()=>F,g6:()=>V,gq:()=>d,gy:()=>Y,k0:()=>O,kI:()=>S,mK:()=>y,qF:()=>b,u9:()=>c,yg:()=>G}),t(14078),t(95623),t(61514);var _=t(85071),i=t(4500),a=t(43618),o=t(11298),s=t(34375),u=t(34381);const r=[],m={teams:[],channels:[]};function l(e){return e.entities.groups.groups}const d=(0,i.P1)("getAllGroupsByName",l,(e=>{const n={};for(const t in e)if(e.hasOwnProperty(t)){const _=e[t];n[_.name]=_}return n}));function f(e){return e.entities.groups.myGroups}function F(e,n){return l(e)[n]}function g(e,n){return function(e,n){return function(e){return e.entities.groups.stats}(e)[n]||{}}(e,n).total_member_count}function h(e,n){return e.entities.groups.syncables[n]||m}function c(e,n){return h(e,n).teams}function E(e,n){return h(e,n).channels}const p=(0,i.P1)("getAllCustomGroups",l,(e=>Object.entries(e).filter((e=>e[1].allow_reference&&0===e[1].delete_at&&e[1].source===_.Io.Custom)).map((e=>e[1])))),k=(0,i.P1)("getGroupsAssociatedToTeamForReference",l,((e,n)=>N(e,n)),((e,n)=>Object.entries(e).filter((e=>{let[t]=e;return n.has(t)})).filter((e=>e[1].allow_reference&&0===e[1].delete_at)).map((e=>e[1])))),D=(0,i.P1)("getAssociatedGroupsForReference",((e,n)=>{var t;return Boolean(null===(t=(0,o.VP)(e,n))||void 0===t?void 0:t.group_constrained)}),((e,n,t)=>{var _;return Boolean(null===(_=(0,a.mr)(e,t))||void 0===_?void 0:_.group_constrained)}),k,((e,n,t)=>t?T(e,t):void 0),p,(e=>M(e,!1)),((e,n,t,_,i,a)=>{if(e&&n){const e=new Set(_);return[..._||[],...t.filter((n=>!e.has(n))),...i]}return e?[...i,...t]:n?[...i,..._||[]]:a})),A=(0,i.P1)("getAssociatedGroupsByName",D,(e=>{const n={};for(const t in e)if(e.hasOwnProperty(t)){const _=e[t];n[_.name]=_}return n})),y=(0,i.P1)("getAssociatedGroupsForReferenceByMention",D,(e=>new Map(e.map((e=>["@".concat(e.name),e])))));function b(e,n,t,_){const i=D(e,t,_);return i?(0,s.k)(i,n):r}const N=(0,i.P1)("getTeamGroupIDSet",((e,n)=>{var t;return(null===(t=e.entities.teams.groupsAssociatedToTeam[n])||void 0===t?void 0:t.ids)||[]}),(e=>new Set(e))),C=(0,i.P1)("getChannelGroupIDSet",((e,n)=>{var t;return(null===(t=e.entities.channels.groupsAssociatedToChannel[n])||void 0===t?void 0:t.ids)||[]}),(e=>new Set(e))),I=(0,i.P1)("getGroupsNotAssociatedToTeam",l,f,((e,n)=>(0,s.t)(function(e,n){const t=[];for(let _=0;_N(e,n)),((e,n)=>Object.entries(e).filter((e=>{let[t,i]=e;return!n.has(t)&&i.source===_.Io.Ldap})).map((e=>e[1])))),B=(0,i.P1)("getGroupsAssociatedToTeam",l,((e,n)=>N(e,n)),((e,n)=>Object.entries(e).filter((e=>{let[t]=e;return n.has(t)})).map((e=>e[1])))),x=(0,i.P1)("getGroupsNotAssociatedToChannel",l,((e,n)=>C(e,n)),((e,n,t)=>(0,o.VP)(e,t)),((e,n,t)=>B(e,t)),((e,n,t,i)=>{let a=Object.values(e).filter((e=>!n.has(e.id)&&e.source===_.Io.Ldap));if(null!=t&&t.group_constrained){const e=i.map((e=>e.id));a=a.filter((n=>null==e?void 0:e.includes(n.id)))}return a})),O=(0,i.P1)("getGroupsAssociatedToChannel",l,((e,n)=>C(e,n)),((e,n)=>Object.entries(e).filter((e=>{let[t]=e;return n.has(t)})).map((e=>e[1])))),T=(0,i.P1)("getGroupsAssociatedToChannelForReference",l,((e,n)=>C(e,n)),((e,n)=>Object.entries(e).filter((e=>{let[t]=e;return n.has(t)})).filter((e=>e[1].allow_reference&&0===e[1].delete_at)).map((e=>e[1])))),S=()=>(0,i.P1)("makeGetAllAssociatedGroupsForReference",(e=>l(e)),(e=>(0,u.M)(e)),((e,n)=>n),((e,n,t)=>{const _=Object.entries(e).filter((e=>t?e[1].allow_reference:e[1].allow_reference&&0===e[1].delete_at)).map((e=>e[1]));return(0,s.t)(_,n)})),M=S(),R=(0,i.P1)("getAllGroupsForReferenceByName",(e=>M(e,!1)),(e=>{const n={};for(const t in e)if(e.hasOwnProperty(t)){const _=e[t];n[_.name]=_}return n})),L=()=>(0,i.P1)("makeGetMyAllowReferencedGroups",(e=>I(e)),(e=>(0,u.M)(e)),((e,n)=>n),((e,n,t)=>{const _=e.filter((e=>t?e.allow_reference:e.allow_reference&&0===e.delete_at));return(0,s.t)(_,n)})),v=(0,i.P1)("getMyGroupsAssociatedToChannelForReference",I,A,((e,n)=>e.filter((e=>e.allow_reference&&0===e.delete_at&&n[e.name])))),H=L(),K=(0,i.P1)("getMyGroupMentionKeys",((e,n)=>H(e,n)),(e=>{const n=[];return e.forEach((e=>n.push({key:"@".concat(e.name)}))),n})),G=(0,i.P1)("getMyGroupMentionKeysForChannel",v,(e=>{const n=[];return e.forEach((e=>n.push({key:"@".concat(e.name)}))),n})),U=S(),P=(0,i.P1)("searchAllowReferencedGroups",((e,n)=>n),((e,n,t)=>U(e,t)),((e,n)=>(0,s.k)(n,e))),j=L(),q=(0,i.P1)("searchMyAllowReferencedGroups",((e,n)=>n),((e,n,t)=>j(e,t)),((e,n)=>(0,s.k)(n,e))),W=(0,i.P1)("isMyGroup",f,((e,n)=>n),((e,n)=>{let t=!1;return e.forEach((e=>{e===n&&(t=!0)})),t})),V=(0,i.P1)("getArchivedGroups",(e=>l(e)),(e=>(0,u.M)(e)),((e,n)=>{const t=Object.entries(e).filter((e=>e[1].allow_reference&&e[1].delete_at>0)).map((e=>e[1]));return(0,s.t)(t,n)})),Y=(0,i.P1)("searchArchivedGroups",V,((e,n)=>n),((e,n)=>(0,s.k)(e,n)))},78048:(e,n,t)=>{"use strict";t.d(n,{M:()=>s,c:()=>u}),t(52077),t(83526);var _=t(4500),i=t(11990),a=t(11298),o=t(23894);const s=(0,_.P1)("getCurrentSearchForCurrentTeam",(e=>e.entities.search.current),a.ev,((e,n)=>e[n])),u=(0,_.P1)("getAllUserMentionKeys",o.b7,(e=>(0,i._)(e,!1)),((e,n)=>e.concat(n)))},11511:(e,n,t)=>{"use strict";t.d(n,{CG:()=>m,Rn:()=>f,aO:()=>d,p:()=>r,vd:()=>l}),t(92189);var _=t(42386),i=t(4500),a=t(83494),o=t(66900);function s(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);n&&(_=_.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,_)}return t}function u(e){for(var n=1;nr(e))),l=(0,i.P1)("getCurrentTimezone",m,(e=>(0,a.GB)(e)));function d(e){return e?(0,a.HG)(_,e):""}const f=(0,i.P1)("getCurrentTimezoneLabel",l,d)},51641:(e,n,t)=>{"use strict";function _(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var _=t.call(e,"string");if("object"!=typeof _)return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof n?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}t.d(n,{N:()=>o,y:()=>a}),t(14078),t(61418),t(92189);class i{constructor(e){_(this,"pendingIdentifiers",new Set),this.fetchBatch=e.fetchBatch,this.maxBatchSize=e.maxBatchSize}queue(e){for(const n of e)n&&this.pendingIdentifiers.add(n)}prepareBatch(){let e;if(this.pendingIdentifiers.size>=this.maxBatchSize){e=[];for(const n of this.pendingIdentifiers)if(e.push(n),this.pendingIdentifiers.delete(n),e.length>=this.maxBatchSize)break}else e=Array.from(this.pendingIdentifiers),this.pendingIdentifiers.clear();return{identifiers:e,moreToLoad:this.pendingIdentifiers.size>0}}isBusy(){return this.pendingIdentifiers.size>0}}class a extends i{constructor(){super(...arguments),_(this,"intervalId",-1)}startIntervalIfNeeded(e){-1===this.intervalId&&(this.intervalId=window.setInterval((()=>this.fetchBatchNow()),e))}stopInterval(){clearInterval(this.intervalId),this.intervalId=-1}fetchBatchNow(){const{identifiers:e}=this.prepareBatch();0!==e.length&&this.fetchBatch(e)}isBusy(){return super.isBusy()||-1!==this.intervalId}}class o extends i{constructor(e){super(e),_(this,"wait",-1),_(this,"timeoutId",-1),_(this,"timeoutCallbacks",new Set),this.wait=e.wait}queue(e){super.queue(e),this.startTimeoutIfNeeded()}queueAndWait(e){return new Promise((n=>{super.queue(e),this.timeoutCallbacks.add({identifiers:new Set(e),resolve:n}),this.startTimeoutIfNeeded()}))}startTimeoutIfNeeded(){-1===this.timeoutId&&(this.timeoutId=window.setTimeout((()=>{this.timeoutId=-1;const{identifiers:e,moreToLoad:n}=this.prepareBatch();n&&this.startTimeoutIfNeeded(),this.fetchBatch(e).then((()=>this.resolveCompletedCallbacks(e)))}),this.wait))}resolveCompletedCallbacks(e){for(const n of this.timeoutCallbacks){for(const t of e)n.identifiers.delete(t);0===n.identifiers.size&&(this.timeoutCallbacks.delete(n),n.resolve())}}isBusy(){return super.isBusy()||this.timeoutCallbacks.size>0||-1!==this.timeoutId}}},56187:(e,n,t)=>{"use strict";t.d(n,{Hk:()=>o,UK:()=>a,bX:()=>s,fx:()=>i}),t(95623),t(61514),t(14078),t(52077);var _=t(80139);function i(e){return"category"in e?"custom"!==e.category:!("id"in e)}function a(e){if(!i(e)&&"mattermost"===e.id)return _.je.getSystemEmojiImageUrl("mattermost");if(i(e)){var n,t;const i=(null!==(n=null==e||null===(t=e.unified)||void 0===t?void 0:t.toLowerCase())&&void 0!==n?n:"")||e.short_names[0];return _.je.getSystemEmojiImageUrl(i)}return _.je.getEmojiRoute(e.id)+"/image"}function o(e){return i(e)?e.short_name:e.name}function s(e){if(!e.includes(":"))return[];const n=/:([A-Za-z0-9_-]+):/gi,t=new Set;let _;for(;null!==(_=n.exec(e));)_&&t.add(_[1]);return Array.from(t)}},61249:(e,n,t)=>{"use strict";t.d(n,{Z:()=>_}),t(14078),t(73902);const _=new class{constructor(){this.listeners=new Map}addListener(e,n){this.listeners.has(e)||this.listeners.set(e,[]),this.listeners.get(e).push(n)}on(e,n){this.addListener(e,n)}removeListener(e,n){const t=this.listeners.get(e);let _;return!!(t&&t.length&&(_=t.reduce(((e,t,_)=>"function"==typeof t&&t===n?_:e),-1),_>-1))&&(t.splice(_,1),this.listeners.set(e,t),!0)}off(e,n){this.removeListener(e,n)}emit(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),_=1;_{e(...t)})),0))}}},34375:(e,n,t)=>{"use strict";t.d(n,{k:()=>a,t:()=>o}),t(90938),t(14078),t(69217);var _=t(33115),i=t(97042);function a(e,n){let t=n.toLowerCase();return t.startsWith("@")&&(t=t.slice(1)),e.filter((e=>{if(!e)return!1;const n=[],a=(0,_.rH)((e.name||"").toLowerCase(),i.LQ.AUTOCOMPLETE_SPLIT_CHARACTERS);n.push(...a);const o=(0,_.O9)(e.display_name.toLowerCase()," ");return n.push(...o),n.filter((e=>""!==e)).some((e=>e.startsWith(t)))}))}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.LQ.DEFAULT_LOCALE;return e.sort(((e,t)=>0===e.delete_at&&0===t.delete_at||e.delete_at>0&&t.delete_at>0?e.display_name.localeCompare(t.display_name,n,{numeric:!0}):e.delete_att.delete_at?1:0))}},35658:(e,n,t)=>{"use strict";t.d(n,{ET:()=>h,tv:()=>d,v:()=>c}),t(44270),t(83315),t(90938),t(69217),t(14078),t(92189);var _=t(97042),i=t(4500),a=t(43618),o=t(83905),s=t(61057),u=t(23712),r=t(84631);function m(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);n&&(_=_.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,_)}return t}function l(e){for(var n=1;n{var n;return null===(n=e.storage)||void 0===n?void 0:n.storage}),(n=>n?Object.keys(n).flatMap((t=>{var _;const i=n[t];if(t.startsWith(e)&&null!=i&&null!=i.value&&(i.value.message||(null===(_=i.value.fileInfos)||void 0===_?void 0:_.length)>0)&&i.value.show){const n=(0,r.m)(t,e);return null!==n&&n.id?l(l({},i),{},{key:t,id:n.id,type:n.type}):[]}return[]})):[]))}const F=f(u.hC.DRAFT),g=f(u.hC.COMMENT_DRAFT);function h(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return(0,i.P1)("makeGetDrafts",F,g,a.Vk,((n,t,_)=>[...n,...t].filter((n=>!e||-1!==_.indexOf(n.value.channelId))).sort(((e,n)=>n.value.updateAt-e.value.updateAt))))}function c(){return(0,i.P1)("makeGetDraftsCount",F,g,a.Vk,((e,n,t)=>[...e,...n].filter((e=>-1!==t.indexOf(e.value.channelId))).length))}},27103:(e,n,t)=>{"use strict";t.d(n,{Dn:()=>g,Kq:()=>c,Vz:()=>h,dj:()=>f,g7:()=>F,kM:()=>d,lP:()=>E}),t(14078),t(69217),t(60190);var _=t(4500),i=t(90568),a=t(19601),o=t(83905),s=t(23894),u=t(23712),r=t(29579),m=t(61155),l=t(72075);const d=(0,_.P1)("getEmojiMap",i.RH,(e=>new m.Z(e))),f=e=>e.views.emoji.shortcutReactToLastPostEmittedFrom,F=(0,_.P1)("getRecentEmojisData",(e=>(0,o.U2)(e,u.uP.RECENT_EMOJIS,(0,s.rc)(e),"[]")),h,((e,n)=>e?function(e,n){const t=new Map;for(const a of e){var _,i;const e=null!==(_=r.xn.get(a.name))&&void 0!==_?_:-1,o=r.Ax[e];let s;s=o?(0,l.jo)(o,n).short_name:a.name;const u=null!==(i=t.get(s))&&void 0!==i?i:0;t.set(s,u+a.usageCount)}const a=[];for(const[e,n]of t.entries())a.push({name:e,usageCount:n});return a.sort(((e,n)=>e.usageCount-n.usageCount)),a}(JSON.parse(e),n):[])),g=(0,_.P1)("getRecentEmojisNames",F,(e=>e.map((e=>e.name))));function h(e){return(0,o.U2)(e,u.uP.CATEGORY_EMOJI,u.uP.EMOJI_SKINTONE,"default")}function c(e){const n=(0,a.iE)(e);return n&&"true"===n.EnableCustomEmoji}const E=(0,_.P1)("getOneClickReactionEmojis",d,g,((e,n)=>0===n.length?[]:n.map((n=>e.get(n))).filter(p).slice(-3).reverse()));function p(e){return Boolean(e)}},1983:(e,n,t)=>{"use strict";t.d(n,{B:()=>s,F:()=>u}),t(14078),t(68581),t(52077),t(83526);var _=t(97042),i=t(19601),a=t(34381),o=t(73628);function s(e){var n;const t=new URLSearchParams(null===(n=window.location)||void 0===n?void 0:n.search).get("locale"),s=t&&o.cY(e,t)?t:(0,i.iE)(e).DefaultClientLocale,u=(0,a.M)(e,s);return o.cY(e,u)?u:_.LQ.DEFAULT_LOCALE}function u(e,n){let t;return t=o.fK(n)?e.views.i18n.translations[n]:e.views.i18n.translations.en,t}},32717:(e,n,t)=>{"use strict";t.d(n,{Nx:()=>F,Ug:()=>E,YK:()=>h,Y_:()=>c,ft:()=>g,lj:()=>p}),t(95623),t(61514),t(92189);var _=t(4500),i=t(66900),a=t(19601),o=t(3901),s=t(83905),u=t(23894),r=t(16591),m=t(59161),l=t(23712);function d(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);n&&(_=_.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,_)}return t}function f(e){for(var n=1;ne.views.posts.editingPost),(e=>(0,o.xl)(e,e.views.posts.editingPost.postId)),((e,n)=>f(f({},e),{},{post:n})));function c(e,n){const t=(0,u.rc)(e),_=(0,r.T)(e);return(0,m.Vx)(e,l.hC.EMBED_VISIBLE+t+"_"+n,!_)}function E(e,n,t){const _=(0,u.rc)(e),i=(0,r.T)(e);return(0,m.Vx)(e,l.hC.INLINE_IMAGE_VISIBLE+_+"_"+n+"_"+t,!i)}function p(){return(0,_.P1)("makeCanWrangler",a.iE,i.ts,u.EE,s.HL,((e,n)=>n),((e,n,t)=>t),((e,n,t,_,i,a)=>{var o;if(!_)return!1;const{WranglerPermittedWranglerRoles:s,WranglerAllowedEmailDomain:u,WranglerMoveThreadMaxCount:r,WranglerMoveThreadFromPrivateChannelEnable:m,WranglerMoveThreadFromDirectMessageChannelEnable:l,WranglerMoveThreadFromGroupMessageChannelEnable:d}=e;let f=[];s&&""!==s&&(f=null==s?void 0:s.split(","));let F=[];return u&&""!==u&&(F=(null==u?void 0:u.split(","))||[]),!(f.length>0&&!t.includes("system_admin")&&!t.split(" ").some((e=>f.includes(e))))&&!((null===(o=F)||void 0===o?void 0:o.length)>0&&(!n.email||!F.includes(n.email.split("@")[1]))||Number(r){"use strict";t.d(n,{T:()=>a});var _=t(83905),i=t(23712);const a=e=>(0,_.o4)(e,i.uP.CATEGORY_DISPLAY_SETTINGS,i.uP.COLLAPSE_DISPLAY,"false"!==i.uP.COLLAPSE_DISPLAY_DEFAULT)},84459:(e,n,t)=>{"use strict";t.d(n,{$K:()=>g,Bh:()=>l,Cd:()=>w,Gu:()=>p,HG:()=>S,HN:()=>d,Kj:()=>c,Nz:()=>B,OZ:()=>L,Om:()=>f,Xb:()=>R,Yn:()=>x,ZR:()=>b,aC:()=>M,b4:()=>T,ct:()=>A,dF:()=>v,fP:()=>N,ge:()=>C,kH:()=>I,kV:()=>y,lW:()=>F,n_:()=>k,s2:()=>E,tx:()=>D,vX:()=>h,yS:()=>O}),t(52077),t(83526),t(92189);var _=t(4500),i=t(43618),a=t(23894),o=t(59161),s=t(23712),u=t(70174);function r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);n&&(_=_.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,_)}return t}function m(e){for(var n=1;n{const e=(0,i.kL)();return n=>{const t=E(n);return e(n,t)}})();function k(e){return e.views.rhs.pluggableId}function D(e){const n=k(e);return e.plugins.components.RightHandSidebarComponent.find((e=>e.id===n))}const A=(0,_.P1)("getSelectedPost",l,(function(e){return e.entities.posts.posts[l(e)]}),E,a.rc,((e,n,t,_)=>n||{id:e,exists:!1,type:s.tk.FAKE_PARENT_DELETED,message:(0,u._u)({id:"rhs_thread.rootPostDeletedMessage.body",defaultMessage:"Part of this thread has been deleted due to a data retention policy. You can no longer reply to this thread."}),channel_id:t,user_id:_,reply_count:0}));function y(e){return e.views.rhs.rhsState}function b(e){return null===e.views.rhs.previousRhsStates||0===e.views.rhs.previousRhsStates.length?null:e.views.rhs.previousRhsStates[e.views.rhs.previousRhsStates.length-1]}function N(e){return e.views.rhs.searchTerms}function C(e){return e.views.rhs.searchType}function I(e){return e.views.rhs.searchResultsTerms}function w(e){return e.entities.search.isSearchingTerm}function B(e){return e.views.rhs.isSearchingFlaggedPost}function x(e){return e.views.rhs.isSearchingPinnedPost}function O(e){return e.entities.search.isSearchGettingMore}function T(){let e={message:"",fileInfos:[],uploadsInProgress:[],createAt:0,updateAt:0,channelId:"",rootId:""};return function(n,t){let _=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.channelId===t&&e.rootId===_||(e={message:"",fileInfos:[],uploadsInProgress:[],createAt:0,updateAt:0,channelId:t,rootId:_});const i=_?s.hC.COMMENT_DRAFT:s.hC.DRAFT,a=_||t,u=(0,o.Vx)(n,"".concat(i).concat(a),e);let r=e;return void 0!==u.message&&void 0!==u.uploadsInProgress&&void 0!==u.fileInfos&&(r=u),u.rootId===_&&u.channelId===t||(r=m(m({},u),{},{rootId:_,channelId:t})),r}}function S(e,n,t){const _={message:"",fileInfos:[],uploadsInProgress:[],createAt:0,updateAt:0,channelId:"",rootId:""};n===s.hC.COMMENT_DRAFT&&(_.rootId=t);const i=(0,o.bd)(n+t,_)(e);return void 0!==i.message&&void 0!==i.uploadsInProgress&&void 0!==i.fileInfos?i:_}function M(e){return e.views.rhs.isSidebarOpen&&!e.views.rhsSuppressed}function R(e){return e.views.rhs.isMenuOpen}function L(e){return e.views.rhs.isSidebarExpanded}function v(e){return!0===e.views.rhs.editChannelMembers}},59161:(e,n,t)=>{"use strict";t.d(n,{Vx:()=>_,bd:()=>i});const _=(e,n,t)=>{const _=e&&e.storage&&e.storage.storage;return a(_,n,t)},i=(e,n)=>t=>_(t,e,n),a=(e,n,t)=>{var _,i;return null!==(_=null===(i=e[n])||void 0===i?void 0:i.value)&&void 0!==_?_:t}},56606:(e,n,t)=>{"use strict";t.d(n,{q:()=>u,u:()=>s});var _=t(43618),i=t(11298),a=t(23712);function o(e){return e?"/"+e.name:""}function s(e,n,t){let _=(0,i.VP)(e,n);return _||(_=(0,i.kA)(e)),"".concat(o(_),"/pl/").concat(t)}function u(e,n,t){let s;if(!n||n.type!==a.default.DM_CHANNEL&&n.type!==a.default.GM_CHANNEL)if(n)s=o((0,i.VP)(e,t))+"/channels/"+n.name;else if(t){const n=(0,i.VP)(e,t),a=(0,_.fG)(e,t);s=o(n)+"/channels/".concat(a)}else{const n=(0,i.ev)(e),t=(0,_.fG)(e,n);s=(0,i.gm)(e)+"/channels/".concat(t)}else s=(0,i.gm)(e)+"/channels/"+n.name;return s}},61057:(e,n,t)=>{"use strict";t.d(n,{E7:()=>i});var _=t(23712);function i(e){return e.views.browser.windowSize===_.Uj.MOBILE_VIEW}},35590:(e,n,t)=>{"use strict";t.d(n,{ER:()=>E,Jd:()=>k,QP:()=>g,Qy:()=>D,Xn:()=>h,Yy:()=>l,fI:()=>m,kS:()=>p,mF:()=>A,n7:()=>d}),t(14078),t(44705),t(44062);var _=t(63145),i=t(4500),a=t(95849),o=t(43618),s=t(83905),u=t(11298),r=t(65370);function m(e){return e.views.channelSidebar.unreadFilterEnabled&&!(0,s.hC)(e)}const l=(()=>{const e=(0,a._8)();return(0,r.GA)((n=>{const t=(0,u.ev)(n);return e(n,t)}))})(),d=(0,i.P1)("getAutoSortedCategoryIds",(e=>l(e)),(e=>new Set(e.filter((e=>e.sorting===_.r.Alphabetical||e.sorting===_.r.Recency)).map((e=>e.id))))),f=(()=>{const e=(0,a.CT)();return(0,r.GA)((n=>{const t=(0,u.ev)(n);return e(n,t)}))})(),F=(0,i.P1)("getUnreadChannelIdsSet",(e=>(0,o.pb)(e,e.views.channel.lastUnreadChannel)),(e=>new Set(e))),g=(0,i.P1)("getChannelsInCategoryOrder",l,f,o.gO,F,s.hC,((e,n,t,_,i)=>e.map((e=>n[e.id].filter((n=>{const a=_.has(n.id);return!(i&&a||e.collapsed&&!a&&t!==n.id)})))).flat())),h=(()=>{const e=(0,i.P1)("getUnreadChannels",o.IU,F,o.gO,m,((e,n,t,_)=>{const i=[];for(const _ of n){const n=e[_];if(n){if(n.delete_at>0&&n.id!==t)continue;i.push(n)}}return _&&t&&-1===i.findIndex((e=>e.id===t))&&e[t]&&i.push(e[t]),i})),n=(0,i.P1)("sortChannels",((e,n)=>n),o.h4,(e=>e.views.channel.lastUnreadChannel),s.ym,((e,n,t,_)=>(0,o.iq)(e,n,t,_)));return t=>{const _=e(t);return n(t,_)}})(),c=(0,r.GA)((function(e,n){return[...e,...n]})),E=(0,i.P1)("getDisplayedChannels",m,h,s.hC,g,((e,n,t,_)=>e?n:t?c(n,_):_));function p(){const e=(0,a.kb)();return(0,i.P1)("makeGetFilteredChannelIdsForCategory",e,F,(e=>(0,s.hC)(e)),((e,n,t)=>{if(!t)return e;const _=e.filter((e=>!n.has(e)));return _.length===e.length?e:_}))}function k(){const e=(0,a.kb)(),n=[];return(0,i.P1)("makeGetFilteredChannelIdsForCategory",e,F,(e=>(0,s.hC)(e)),((e,t,_)=>{if(_)return n;const i=e.filter((e=>t.has(e)));return 0===i.length?n:i.length===e.length?e:i}))}function D(e){return e.views.channelSidebar.draggingState}function A(e,n){return-1!==e.views.channelSidebar.multiSelectedChannelIds.indexOf(n)}},56627:(e,n,t)=>{"use strict";t.d(n,{AJ:()=>h,Ed:()=>k,Yr:()=>c,bo:()=>D,uD:()=>E,yC:()=>g});var _=t(51154),i=t.n(_),a=t(41090),o=t(97042),s=t(4500),u=t(19601),r=t(83905),m=t(11511),l=t(23894),d=t(27103),f=t(9292),F=t(70174);function g(){return(0,s.P1)("makeGetCustomStatus",((e,n)=>n?(0,l.PR)(e,n):(0,l.ts)(e)),(e=>{const n=(null==e?void 0:e.props)||{};let t;if(n.customStatus)try{t=JSON.parse(n.customStatus)}catch(e){}return t}))}function h(e,n){if(!n)return!0;if(n.duration===a.CustomStatusDuration.DONT_CLEAR)return!1;const t=i()(n.expires_at),_=(0,m.vd)(e);return(0,f.vB)(_).isSameOrAfter(t)}const c=(0,s.P1)("getRecentCustomStatuses",(e=>(0,r.U2)(e,o.Preferences.CATEGORY_CUSTOM_STATUS,o.Preferences.NAME_RECENT_CUSTOM_STATUSES)),d.kM,((e,n)=>{if(!e)return[];let t=JSON.parse(e);return t=t.filter((e=>n.has(e.emoji))),t}));function E(e){const n=(0,u.iE)(e);return n&&"true"===n.EnableCustomUserStatuses}function p(e){const n=(0,l.ts)(e),t=(0,F.ZI)(null==n?void 0:n.create_at,7,F.FR.FUTURE),_=(0,r.U2)(e,o.Preferences.CATEGORY_CUSTOM_STATUS,o.Preferences.NAME_CUSTOM_STATUS_TUTORIAL_STATE);return!(_&&JSON.parse(_)[o.Preferences.CUSTOM_STATUS_MODAL_VIEWED])&&t}function k(e){return p(e)}function D(e){return p(e)}},96405:(e,n,t)=>{"use strict";t.d(n,{DA:()=>c,Lc:()=>D,Qk:()=>h,af:()=>p,c7:()=>E,pF:()=>k}),t(60190);var _=t(61320),i=t.n(_),a=t(4500),o=t(66900),s=t(3901),u=t(11298),r=t(4195),m=t(65370),l=t(46155),d=t(83494),f=t(84459),F=t(22589);function g(e){return e.views.threads.selectedThreadIdInTeam}const h=(0,a.P1)("getSelectedThreadIdInCurrentTeam",u.ev,g,((e,n)=>{var t;return null!==(t=null==n?void 0:n[e])&&void 0!==t?t:null}));function c(){return(0,a.P1)("makeGetThreadLastViewedAt",((e,n)=>e.views.threads.lastViewedAt[n]),r.hr,((e,n)=>n),((e,n,t)=>{var _;return"number"==typeof e?e:null===(_=n[t])||void 0===_?void 0:_.last_viewed_at}))}(0,a.P1)("getSelectedThreadInCurrentTeam",u.ev,g,r.hr,((e,n,t)=>{const _=null==n?void 0:n[e];return _?t[_]:null}));const E=(e,n)=>n===h(e)||(0,f.aC)(e)&&n===(0,f.Bh)(e),p=(e,n)=>e.views.threads.manuallyUnread[n]||!1;function k(){const e=function(){const e=(0,s.$f)();return(0,m.dX)("makeFilterPostsAndAddSeparators",((n,t)=>{let{postIds:_}=t;return e(n,_)}),((e,n)=>{let{lastViewedAt:t}=n;return t}),((e,n)=>{let{showDate:t}=n;return t}),o.ts,((e,n,t,_)=>{if(0===e.length||!_)return[];const a=[];let o,s=!1;for(let u=e.length-1;u>=0;u--){const r=e[u];if(r){if(t){const e=new Date(r.create_at),n=60*e.getTimezoneOffset()*1e3,t=(0,d.GB)(_.timezone);if(t){const _=i().tz.zone(t);if(_){const t=60*_.utcOffset(r.create_at)*1e3;e.setTime(r.create_at+(n-t))}}o&&o.toDateString()===e.toDateString()||(a.push(l.bt+e.getTime()),o=e)}"number"==typeof n&&r.create_at>=n&&u{const i=e(t,_);return n(t,i)}}function D(e){return e.views.threads.toastStatus}},50801:(e,n,t)=>{"use strict";t.d(n,{Z:()=>g});var _=t(43618),i=t(32032),a=t(91436),o=t(23712);const s=e=>["user_prev_team",e].join(":"),u=(e,n)=>["user_team_prev_channel",e,n].join(":"),r=(e,n)=>["user_team_prev_viewed_type",e,n].join(":"),m=(e,n)=>["user_team_penultimate_viewed_type",e,n].join(":"),l=(e,n)=>["user_team_penultimate_channel",e,n].join(":"),d="teamIdJoinedOnLoad",f="was_notified_of_login",F=(e,n)=>""===e||"/"===e?n:[e,n].join(":"),g=new class{getItem(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.default.getState();const t=(0,i.bv)(n);return localStorage.getItem(F(t,e))}setItem(e,n){const t=a.default.getState(),_=(0,i.bv)(t);localStorage.setItem(F(_,e),null===n?"null":n)}getPreviousChannelName(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.default.getState();return this.getItem(u(e,n),t)||(0,_.fG)(t,n)}getPreviousViewedType(e,n){var t;let _=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.default.getState();return null!==(t=this.getItem(r(e,n),_))&&void 0!==t?t:o.IY.CHANNELS}removeItem(e){const n=a.default.getState(),t=(0,i.bv)(n);localStorage.removeItem(F(t,e))}setPreviousChannelName(e,n,t){this.setItem(u(e,n),t)}setPreviousViewedType(e,n,t){this.setItem(r(e,n),t)}getPenultimateViewedType(e,n){var t;let _=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.default.getState();return null!==(t=this.getItem(m(e,n),_))&&void 0!==t?t:o.IY.CHANNELS}setPenultimateViewedType(e,n,t){this.setItem(m(e,n),t)}getPenultimateChannelName(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.default.getState();return this.getItem(l(e,n),t)||(0,_.fG)(t,n)}setPenultimateChannelName(e,n,t){this.setItem(l(e,n),t)}removePreviousChannelName(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.default.getState();this.setItem(u(e,n),this.getPenultimateChannelName(e,n,t)),this.removeItem(l(e,n))}removePreviousChannelType(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.default.getStore();this.setItem(r(e,n),this.getPenultimateViewedType(e,n,t)),this.removeItem(m(e,n))}removePreviousChannel(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.default.getStore();this.removePreviousChannelName(e,n,t),this.removePreviousChannelType(e,n,t)}removePenultimateChannelName(e,n){this.removeItem(l(e,n))}removePenultimateViewedType(e,n){this.removeItem(m(e,n))}getPreviousTeamId(e){return this.getItem(s(e))}setPreviousTeamId(e,n){this.setItem(s(e),n)}getRecentEmojis(e){const n=this.getItem((e=>["recent_emojis",e].join(":"))(e));return n||null}getTeamIdJoinedOnLoad(){return this.getItem(d)}setTeamIdJoinedOnLoad(e){this.setItem(d,e)}setWasLoggedIn(e){e?this.setItem("was_logged_in","true"):this.setItem("was_logged_in","false")}getWasLoggedIn(){return"true"===this.getItem("was_logged_in")}setWasNotifiedOfLogIn(e){this.setItem(f,String(e))}getWasNotifiedOfLogIn(){return"true"===this.getItem(f)}}},83514:(e,n,t)=>{"use strict";t.d(n,{sz:()=>A,MX:()=>y,t2:()=>b,Jf:()=>N}),t(95623),t(61514),t(61418),t(52077),t(911);var _=t(10883),i=t(17086),a=t(52173),o=t(43618),s=t(84073),u=t(23894),r=t(40364),m=t(50801),l=t(23615),d=t.n(l),f=(t(14078),t(84390)),F=t.n(f),g=t(72060),h=t(6564);function c(e){let{channelName:n,onCancel:t,onExited:_,onJoin:i}=e;const a=F().useRef(!1),[o,s]=F().useState(!0),u=()=>{s(!1)};return F().createElement(h.Z,{show:o,title:F().createElement(g.FormattedMessage,{id:"permalink.show_dialog_warn.title",defaultMessage:"Join private channel"}),message:F().createElement(g.FormattedMessage,{id:"permalink.show_dialog_warn.description",defaultMessage:"You are about to join {channel} without explicitly being added by the channel admin. Are you sure you wish to join this private channel?",values:{channel:F().createElement("b",null,n)}}),confirmButtonText:F().createElement(g.FormattedMessage,{id:"permalink.show_dialog_warn.join",defaultMessage:"Join"}),onConfirm:()=>{a.current=!0,u()},onCancel:u,onExited:()=>{a.current?"function"==typeof i&&i():"function"==typeof t&&t(),_()}})}c.propTypes={channelName:d().string.isRequired,onCancel:d().func.isRequired,onExited:d().func.isRequired,onJoin:d().func.isRequired};const E=F().memo(c);var p=t(23712),k=t(70174),D=t(8243);function A(e,n){return n.type===p.default.PRIVATE_CHANNEL?(0,s.Ai)(e,n.team_id,n.id,a.Z.MANAGE_PRIVATE_CHANNEL_MEMBERS):n.type!==p.default.OPEN_CHANNEL||(0,s.Ai)(e,n.team_id,n.id,a.Z.MANAGE_PUBLIC_CHANNEL_MEMBERS)}function y(e,n,t,_){const i=n.indexOf(e);for(let e=1;e2&&void 0!==arguments[2])||arguments[2];return async(a,s)=>await new Promise((l=>{const d={modalId:p.r8.JOIN_CHANNEL_PROMPT,dialogType:E,dialogProps:{channelName:n,onJoin:()=>{m.Z.setTeamIdJoinedOnLoad(null),l({data:{join:!0}})},onCancel:async()=>{if(t){const n=s();if(m.Z.getTeamIdJoinedOnLoad()===e.id)await a((0,i.WO)(e.id,(0,u.rc)(n))),a({type:_.OU.LEAVE_TEAM,data:e}),(0,D.s)().replace("/");else{const t=(0,o.fG)(n,e.id);(0,D.s)().replace("/".concat(e.name,"/channels/").concat(t))}}m.Z.setTeamIdJoinedOnLoad(null),l({data:{join:!1}})}}};a((0,r.h)(d))}))}t(41894)},29579:(e,n,t)=>{"use strict";t.d(n,{AS:()=>s,xn:()=>a,Ur:()=>l,gA:()=>o,Ax:()=>i}),t(14078);var _=t(56583);const i=JSON.parse('[{"name":"GRINNING FACE","unified":"1F600","short_name":"grinning","short_names":["grinning"],"text":":D","texts":null,"category":"smileys-emotion"},{"name":"SMILING FACE WITH OPEN MOUTH","unified":"1F603","short_name":"smiley","short_names":["smiley"],"text":":)","texts":["=)","=-)"],"category":"smileys-emotion"},{"name":"SMILING FACE WITH OPEN MOUTH AND SMILING EYES","unified":"1F604","short_name":"smile","short_names":["smile"],"text":":)","texts":["C:","c:",":D",":-D"],"category":"smileys-emotion"},{"name":"GRINNING FACE WITH SMILING EYES","unified":"1F601","short_name":"grin","short_names":["grin"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SMILING FACE WITH OPEN MOUTH AND TIGHTLY-CLOSED EYES","unified":"1F606","short_name":"laughing","short_names":["laughing","satisfied"],"text":null,"texts":[":>",":->"],"category":"smileys-emotion"},{"name":"SMILING FACE WITH OPEN MOUTH AND COLD SWEAT","unified":"1F605","short_name":"sweat_smile","short_names":["sweat_smile"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"ROLLING ON THE FLOOR LAUGHING","unified":"1F923","short_name":"rolling_on_the_floor_laughing","short_names":["rolling_on_the_floor_laughing","rofl"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH TEARS OF JOY","unified":"1F602","short_name":"joy","short_names":["joy"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SLIGHTLY SMILING FACE","unified":"1F642","short_name":"slightly_smiling_face","short_names":["slightly_smiling_face"],"text":null,"texts":[":)","(:",":-)"],"category":"smileys-emotion"},{"name":"UPSIDE-DOWN FACE","unified":"1F643","short_name":"upside_down_face","short_names":["upside_down_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"WINKING FACE","unified":"1F609","short_name":"wink","short_names":["wink"],"text":";)","texts":[";)",";-)"],"category":"smileys-emotion"},{"name":"SMILING FACE WITH SMILING EYES","unified":"1F60A","short_name":"blush","short_names":["blush"],"text":":)","texts":null,"category":"smileys-emotion"},{"name":"SMILING FACE WITH HALO","unified":"1F607","short_name":"innocent","short_names":["innocent"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SMILING FACE WITH SMILING EYES AND THREE HEARTS","unified":"1F970","short_name":"smiling_face_with_3_hearts","short_names":["smiling_face_with_3_hearts"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SMILING FACE WITH HEART-SHAPED EYES","unified":"1F60D","short_name":"heart_eyes","short_names":["heart_eyes"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"GRINNING FACE WITH STAR EYES","unified":"1F929","short_name":"star-struck","short_names":["star-struck","grinning_face_with_star_eyes"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE THROWING A KISS","unified":"1F618","short_name":"kissing_heart","short_names":["kissing_heart"],"text":null,"texts":[":*",":-*"],"category":"smileys-emotion"},{"name":"KISSING FACE","unified":"1F617","short_name":"kissing","short_names":["kissing"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"WHITE SMILING FACE","unified":"263A-FE0F","short_name":"relaxed","short_names":["relaxed"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"KISSING FACE WITH CLOSED EYES","unified":"1F61A","short_name":"kissing_closed_eyes","short_names":["kissing_closed_eyes"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"KISSING FACE WITH SMILING EYES","unified":"1F619","short_name":"kissing_smiling_eyes","short_names":["kissing_smiling_eyes"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SMILING FACE WITH TEAR","unified":"1F972","short_name":"smiling_face_with_tear","short_names":["smiling_face_with_tear"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE SAVOURING DELICIOUS FOOD","unified":"1F60B","short_name":"yum","short_names":["yum"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH STUCK-OUT TONGUE","unified":"1F61B","short_name":"stuck_out_tongue","short_names":["stuck_out_tongue"],"text":":p","texts":[":p",":-p",":P",":-P",":b",":-b"],"category":"smileys-emotion"},{"name":"FACE WITH STUCK-OUT TONGUE AND WINKING EYE","unified":"1F61C","short_name":"stuck_out_tongue_winking_eye","short_names":["stuck_out_tongue_winking_eye"],"text":";p","texts":[";p",";-p",";b",";-b",";P",";-P"],"category":"smileys-emotion"},{"name":"GRINNING FACE WITH ONE LARGE AND ONE SMALL EYE","unified":"1F92A","short_name":"zany_face","short_names":["zany_face","grinning_face_with_one_large_and_one_small_eye"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH STUCK-OUT TONGUE AND TIGHTLY-CLOSED EYES","unified":"1F61D","short_name":"stuck_out_tongue_closed_eyes","short_names":["stuck_out_tongue_closed_eyes"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"MONEY-MOUTH FACE","unified":"1F911","short_name":"money_mouth_face","short_names":["money_mouth_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"HUGGING FACE","unified":"1F917","short_name":"hugging_face","short_names":["hugging_face","hugs"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SMILING FACE WITH SMILING EYES AND HAND COVERING MOUTH","unified":"1F92D","short_name":"face_with_hand_over_mouth","short_names":["face_with_hand_over_mouth","smiling_face_with_smiling_eyes_and_hand_covering_mouth"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH FINGER COVERING CLOSED LIPS","unified":"1F92B","short_name":"shushing_face","short_names":["shushing_face","face_with_finger_covering_closed_lips"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"THINKING FACE","unified":"1F914","short_name":"thinking_face","short_names":["thinking_face","thinking"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"ZIPPER-MOUTH FACE","unified":"1F910","short_name":"zipper_mouth_face","short_names":["zipper_mouth_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH ONE EYEBROW RAISED","unified":"1F928","short_name":"face_with_raised_eyebrow","short_names":["face_with_raised_eyebrow","face_with_one_eyebrow_raised"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"NEUTRAL FACE","unified":"1F610","short_name":"neutral_face","short_names":["neutral_face"],"text":null,"texts":[":|",":-|"],"category":"smileys-emotion"},{"name":"EXPRESSIONLESS FACE","unified":"1F611","short_name":"expressionless","short_names":["expressionless"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITHOUT MOUTH","unified":"1F636","short_name":"no_mouth","short_names":["no_mouth"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SMIRKING FACE","unified":"1F60F","short_name":"smirk","short_names":["smirk"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"UNAMUSED FACE","unified":"1F612","short_name":"unamused","short_names":["unamused"],"text":":(","texts":null,"category":"smileys-emotion"},{"name":"FACE WITH ROLLING EYES","unified":"1F644","short_name":"face_with_rolling_eyes","short_names":["face_with_rolling_eyes","roll_eyes"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"GRIMACING FACE","unified":"1F62C","short_name":"grimacing","short_names":["grimacing"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"LYING FACE","unified":"1F925","short_name":"lying_face","short_names":["lying_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"RELIEVED FACE","unified":"1F60C","short_name":"relieved","short_names":["relieved"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"PENSIVE FACE","unified":"1F614","short_name":"pensive","short_names":["pensive"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SLEEPY FACE","unified":"1F62A","short_name":"sleepy","short_names":["sleepy"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"DROOLING FACE","unified":"1F924","short_name":"drooling_face","short_names":["drooling_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SLEEPING FACE","unified":"1F634","short_name":"sleeping","short_names":["sleeping"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH MEDICAL MASK","unified":"1F637","short_name":"mask","short_names":["mask"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH THERMOMETER","unified":"1F912","short_name":"face_with_thermometer","short_names":["face_with_thermometer"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH HEAD-BANDAGE","unified":"1F915","short_name":"face_with_head_bandage","short_names":["face_with_head_bandage"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"NAUSEATED FACE","unified":"1F922","short_name":"nauseated_face","short_names":["nauseated_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH OPEN MOUTH VOMITING","unified":"1F92E","short_name":"face_vomiting","short_names":["face_vomiting","face_with_open_mouth_vomiting"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SNEEZING FACE","unified":"1F927","short_name":"sneezing_face","short_names":["sneezing_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"OVERHEATED FACE","unified":"1F975","short_name":"hot_face","short_names":["hot_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FREEZING FACE","unified":"1F976","short_name":"cold_face","short_names":["cold_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH UNEVEN EYES AND WAVY MOUTH","unified":"1F974","short_name":"woozy_face","short_names":["woozy_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"DIZZY FACE","unified":"1F635","short_name":"dizzy_face","short_names":["dizzy_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SHOCKED FACE WITH EXPLODING HEAD","unified":"1F92F","short_name":"exploding_head","short_names":["exploding_head","shocked_face_with_exploding_head"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH COWBOY HAT","unified":"1F920","short_name":"face_with_cowboy_hat","short_names":["face_with_cowboy_hat","cowboy_hat_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH PARTY HORN AND PARTY HAT","unified":"1F973","short_name":"partying_face","short_names":["partying_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"DISGUISED FACE","unified":"1F978","short_name":"disguised_face","short_names":["disguised_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SMILING FACE WITH SUNGLASSES","unified":"1F60E","short_name":"sunglasses","short_names":["sunglasses"],"text":null,"texts":["8)"],"category":"smileys-emotion"},{"name":"NERD FACE","unified":"1F913","short_name":"nerd_face","short_names":["nerd_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH MONOCLE","unified":"1F9D0","short_name":"face_with_monocle","short_names":["face_with_monocle"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"CONFUSED FACE","unified":"1F615","short_name":"confused","short_names":["confused"],"text":null,"texts":[":\\\\",":-\\\\",":/",":-/"],"category":"smileys-emotion"},{"name":"WORRIED FACE","unified":"1F61F","short_name":"worried","short_names":["worried"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SLIGHTLY FROWNING FACE","unified":"1F641","short_name":"slightly_frowning_face","short_names":["slightly_frowning_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FROWNING FACE","unified":"2639-FE0F","short_name":"white_frowning_face","short_names":["white_frowning_face","frowning_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH OPEN MOUTH","unified":"1F62E","short_name":"open_mouth","short_names":["open_mouth"],"text":null,"texts":[":o",":-o",":O",":-O"],"category":"smileys-emotion"},{"name":"HUSHED FACE","unified":"1F62F","short_name":"hushed","short_names":["hushed"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"ASTONISHED FACE","unified":"1F632","short_name":"astonished","short_names":["astonished"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FLUSHED FACE","unified":"1F633","short_name":"flushed","short_names":["flushed"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH PLEADING EYES","unified":"1F97A","short_name":"pleading_face","short_names":["pleading_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FROWNING FACE WITH OPEN MOUTH","unified":"1F626","short_name":"frowning","short_names":["frowning"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"ANGUISHED FACE","unified":"1F627","short_name":"anguished","short_names":["anguished"],"text":null,"texts":["D:"],"category":"smileys-emotion"},{"name":"FEARFUL FACE","unified":"1F628","short_name":"fearful","short_names":["fearful"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH OPEN MOUTH AND COLD SWEAT","unified":"1F630","short_name":"cold_sweat","short_names":["cold_sweat"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"DISAPPOINTED BUT RELIEVED FACE","unified":"1F625","short_name":"disappointed_relieved","short_names":["disappointed_relieved"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"CRYING FACE","unified":"1F622","short_name":"cry","short_names":["cry"],"text":":\'(","texts":[":\'("],"category":"smileys-emotion"},{"name":"LOUDLY CRYING FACE","unified":"1F62D","short_name":"sob","short_names":["sob"],"text":":\'(","texts":null,"category":"smileys-emotion"},{"name":"FACE SCREAMING IN FEAR","unified":"1F631","short_name":"scream","short_names":["scream"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"CONFOUNDED FACE","unified":"1F616","short_name":"confounded","short_names":["confounded"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"PERSEVERING FACE","unified":"1F623","short_name":"persevere","short_names":["persevere"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"DISAPPOINTED FACE","unified":"1F61E","short_name":"disappointed","short_names":["disappointed"],"text":":(","texts":["):",":(",":-("],"category":"smileys-emotion"},{"name":"FACE WITH COLD SWEAT","unified":"1F613","short_name":"sweat","short_names":["sweat"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"WEARY FACE","unified":"1F629","short_name":"weary","short_names":["weary"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"TIRED FACE","unified":"1F62B","short_name":"tired_face","short_names":["tired_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"YAWNING FACE","unified":"1F971","short_name":"yawning_face","short_names":["yawning_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"FACE WITH LOOK OF TRIUMPH","unified":"1F624","short_name":"triumph","short_names":["triumph"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"POUTING FACE","unified":"1F621","short_name":"rage","short_names":["rage","pout"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"ANGRY FACE","unified":"1F620","short_name":"angry","short_names":["angry"],"text":null,"texts":[">:(",">:-("],"category":"smileys-emotion"},{"name":"SERIOUS FACE WITH SYMBOLS COVERING MOUTH","unified":"1F92C","short_name":"face_with_symbols_on_mouth","short_names":["face_with_symbols_on_mouth","serious_face_with_symbols_covering_mouth"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SMILING FACE WITH HORNS","unified":"1F608","short_name":"smiling_imp","short_names":["smiling_imp"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"IMP","unified":"1F47F","short_name":"imp","short_names":["imp"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SKULL","unified":"1F480","short_name":"skull","short_names":["skull"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SKULL AND CROSSBONES","unified":"2620-FE0F","short_name":"skull_and_crossbones","short_names":["skull_and_crossbones"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"PILE OF POO","unified":"1F4A9","short_name":"hankey","short_names":["hankey","poop","shit"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"CLOWN FACE","unified":"1F921","short_name":"clown_face","short_names":["clown_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"JAPANESE OGRE","unified":"1F479","short_name":"japanese_ogre","short_names":["japanese_ogre"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"JAPANESE GOBLIN","unified":"1F47A","short_name":"japanese_goblin","short_names":["japanese_goblin"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"GHOST","unified":"1F47B","short_name":"ghost","short_names":["ghost"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"EXTRATERRESTRIAL ALIEN","unified":"1F47D","short_name":"alien","short_names":["alien"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"ALIEN MONSTER","unified":"1F47E","short_name":"space_invader","short_names":["space_invader"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"ROBOT FACE","unified":"1F916","short_name":"robot_face","short_names":["robot_face","robot"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SMILING CAT FACE WITH OPEN MOUTH","unified":"1F63A","short_name":"smiley_cat","short_names":["smiley_cat"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"GRINNING CAT FACE WITH SMILING EYES","unified":"1F638","short_name":"smile_cat","short_names":["smile_cat"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"CAT FACE WITH TEARS OF JOY","unified":"1F639","short_name":"joy_cat","short_names":["joy_cat"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SMILING CAT FACE WITH HEART-SHAPED EYES","unified":"1F63B","short_name":"heart_eyes_cat","short_names":["heart_eyes_cat"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"CAT FACE WITH WRY SMILE","unified":"1F63C","short_name":"smirk_cat","short_names":["smirk_cat"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"KISSING CAT FACE WITH CLOSED EYES","unified":"1F63D","short_name":"kissing_cat","short_names":["kissing_cat"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"WEARY CAT FACE","unified":"1F640","short_name":"scream_cat","short_names":["scream_cat"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"CRYING CAT FACE","unified":"1F63F","short_name":"crying_cat_face","short_names":["crying_cat_face"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"POUTING CAT FACE","unified":"1F63E","short_name":"pouting_cat","short_names":["pouting_cat"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SEE-NO-EVIL MONKEY","unified":"1F648","short_name":"see_no_evil","short_names":["see_no_evil"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"HEAR-NO-EVIL MONKEY","unified":"1F649","short_name":"hear_no_evil","short_names":["hear_no_evil"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SPEAK-NO-EVIL MONKEY","unified":"1F64A","short_name":"speak_no_evil","short_names":["speak_no_evil"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"KISS MARK","unified":"1F48B","short_name":"kiss","short_names":["kiss"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"LOVE LETTER","unified":"1F48C","short_name":"love_letter","short_names":["love_letter"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"HEART WITH ARROW","unified":"1F498","short_name":"cupid","short_names":["cupid"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"HEART WITH RIBBON","unified":"1F49D","short_name":"gift_heart","short_names":["gift_heart"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"SPARKLING HEART","unified":"1F496","short_name":"sparkling_heart","short_names":["sparkling_heart"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"GROWING HEART","unified":"1F497","short_name":"heartpulse","short_names":["heartpulse"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"BEATING HEART","unified":"1F493","short_name":"heartbeat","short_names":["heartbeat"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"REVOLVING HEARTS","unified":"1F49E","short_name":"revolving_hearts","short_names":["revolving_hearts"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"TWO HEARTS","unified":"1F495","short_name":"two_hearts","short_names":["two_hearts"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"HEART DECORATION","unified":"1F49F","short_name":"heart_decoration","short_names":["heart_decoration"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"HEART EXCLAMATION","unified":"2763-FE0F","short_name":"heavy_heart_exclamation_mark_ornament","short_names":["heavy_heart_exclamation_mark_ornament","heavy_heart_exclamation"],"text":null,"texts":null,"category":"smileys-emotion"},{"name":"BROKEN HEART","unified":"1F494","short_name":"broken_heart","short_names":["broken_heart"],"text":"{"use strict";t.d(n,{Z:()=>i}),t(14078),t(92189);var _=t(29579);class i{constructor(e){this.customEmojis=e,this.customEmojisArray=[...e]}has(e){return _.xn.has(e)||this.customEmojis.has(e)}hasSystemEmoji(e){return _.xn.has(e)}hasUnicode(e){return _.gA.has(e)}get(e){return _.xn.has(e)?_.Ax[_.xn.get(e)]:this.customEmojis.get(e)}getUnicode(e){return _.Ax[_.gA.get(e)]}[Symbol.iterator](){const e=this.customEmojisArray;let n=0,t=0;return{next(){if(n<_.Ax.length){const e=_.Ax[n];return n+=1,{value:[e.short_names[0],e]}}if(t{"use strict";t.d(n,{El:()=>g,Y4:()=>f,jo:()=>F,l_:()=>c,sW:()=>h,vP:()=>d}),t(90938),t(14078),t(52077),t(83170),t(95623),t(61514),t(911),t(17749),t(95289);var _=t(70875),i=t(84390),a=t.n(i),o=t(29579);const s=(e,n,t,_)=>"custom"===t.category&&"custom"!==_.category?1:"custom"===_.category&&"custom"!==t.category?-1:e.localeCompare(n),u=e=>"thumbsup"===e||"+1"===e?1:0,r=e=>"thumbsdown"===e||"-1"===e?-1:0,m={thumbsdown:u,"-1":u,thumbsup:r,"+1":r},l=(e,n)=>e?n&&"short_names"in e?e.short_names.find((e=>e.startsWith(n)))||e.short_name:"short_name"in e?e.short_name:e.name:"";function d(e,n,t){const _=l(e,t),i=l(n,t),a=_.startsWith(t);return a===i.startsWith(t)?_ in m&&m[_](i)||s(_,i,e,n):a?-1:1}function f(e){const n=[];let t=0;for(const i of e.matchAll((0,_.Z)())){const _=i[0],o=i.index;i.index!==t&&n.push(e.substring(t,o)),n.push(a().createElement("span",{key:o,className:"emoji"},_)),t=o+_.length}return t1)return e;if("default"===g(e)){const t=Object.keys(null==e?void 0:e.skin_variations).find((e=>e.includes(n)));_=t?e.skin_variations[t].unified:e.unified}else _="default"===n?e.unified.replaceAll(/-(1F3FB|1F3FC|1F3FD|1F3FE|1F3FF)/g,""):e.unified.replaceAll(/(1F3FB|1F3FC|1F3FD|1F3FE|1F3FF)/g,n);let i=o.gA.get(_.toLowerCase()),a=o.Ax[i];return a||(i=o.gA.get(_.toLowerCase()+"-fe0f"),a=o.Ax[i]),null!==(t=a)&&void 0!==t?t:e}function g(e){if("skin_variations"in e)return"default";if("skins"in e){var n,t;const _=null!==(n=null==e||null===(t=e.skins)||void 0===t?void 0:t[0])&&void 0!==n?n:"";if(0!==_.length)return _}return null}function h(e){return e.startsWith(":")&&e.endsWith(":")?e.slice(1,-1):e}function c(e,n){const t=g(e);return!t||t===n}},35790:(e,n,t)=>{"use strict";t.d(n,{G2:()=>o,Iw:()=>a,O1:()=>r,oB:()=>u,vV:()=>s}),t(52077),t(1203),t(14078),t(911);var _=t(46403),i=t(6467);const a={slightly_smiling_face:/(^|\B)(:-?\))($|\B)/g,wink:/(^|\B)(;-?\))($|\B)/g,open_mouth:/(^|\B)(:o)($|\b)/gi,scream:/(^|\B)(:-o)($|\b)/gi,smirk:/(^|\B)(:-?])($|\B)/g,smile:/(^|\B)(:-?d)($|\b)/gi,stuck_out_tongue_closed_eyes:/(^|\b)(x-d)($|\b)/gi,stuck_out_tongue:/(^|\B)(:-?p)($|\b)/gi,rage:/(^|\B)(:-?[[@])($|\B)/g,slightly_frowning_face:/(^|\B)(:-?\()($|\B)/g,cry:/(^|\B)(:[`'’]-?\(|:'\(|:'\()($|\B)/g,confused:/(^|\B)(:-?\/)($|\B)/g,confounded:/(^|\B)(:-?s)($|\b)/gi,neutral_face:/(^|\B)(:-?\|)($|\B)/g,flushed:/(^|\B)(:-?\$)($|\B)/g,mask:/(^|\B)(:-x)($|\b)/gi,heart:/(^|\B)(<3|<3)($|\b)/g,broken_heart:/(^|\B)(<\/3|<\/3)($|\b)/g},o=/(:([a-zA-Z0-9_+-]+):)/g;function s(e){const n=(0,_.JV)(e,new i.Z);let t=n.match(o);for(const e of Object.keys(a)){const _=a[e],i=n.match(_);i&&(t=t?t.concat(i):i)}return t}function u(e,n){let t=e;function _(e,t,_,i){const a=n.size,o="$MM_EMOTICON".concat(a,"$");return n.set(o,{value:r(i,_),originalText:e}),t+o}t=t.replace(o,((e,n,t)=>_(e,"",n,t)));for(const e of Object.keys(a)){const n=a[e];t=t.replace(n,((n,t,i)=>_(n,t,i,e)))}return t}function r(e,n){return'').concat(n,"")}},35887:(e,n,t)=>{"use strict";t.d(n,{_:()=>a,p:()=>o});var _=t(23712),i=t(21214);function a(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const t=i.V5();return n?t&&e.metaKey||!t&&e.ctrlKey:t&&e.metaKey||!t&&e.ctrlKey&&!e.altKey}function o(e,n){return e.keyCode!==_.default.KeyCodes.COMPOSING[1]&&(void 0!==e.key&&"Unidentified"!==e.key&&"Dead"!==e.key&&(e.key===n[0]||e.key===n[0].toUpperCase())||e.keyCode===n[1])}},46403:(e,n,t)=>{"use strict";t.d(n,{JV:()=>d,LV:()=>f,WU:()=>l}),t(20266);var _=t(64402),i=t.n(_),a=t(19601),o=t(91436),s=t(70273),u=t(88676),r=t(11315);const m=new s.Z;function l(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return d(e,new r.Z({},n,t))}function d(e,n){const t=(0,a.iE)(o.default.getState()),_={renderer:n,sanitize:!0,gfm:!0,tables:!0,mangle:!1,inlinelatex:"true"===t.EnableLatex&&"true"===t.EnableInlineLatex};return i()(e,_).trim()}function f(e){return"string"==typeof e&&e.length>0?(0,u.qg)(d(e,m)).trim():e}},98318:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a}),t(52077),t(911);var _=t(35790),i=t(6467);class a extends i.Z{text(e){return e.replace(_.G2,"")}}},6467:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var _=t(64402),i=t.n(_);class a extends i().Renderer{code(){return"\n"}blockquote(e){return e+"\n"}heading(e){return e+"\n"}hr(){return"\n"}list(e){return e+"\n"}listitem(e){return e+"\n"}paragraph(e){return e+"\n"}table(e,n){return e+"\n"+n}tablerow(e){return e}tablecell(e){return e+"\n"}strong(e){return" "+e+" "}em(e){return" "+e+" "}codespan(){return" "}br(){return"\n"}del(e){return" "+e+" "}link(e,n,t){return" "+t+" "}image(e,n,t){return" "+t+" "}text(e){return e}}},70273:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o}),t(52077),t(911);var _=t(64402),i=t.n(_),a=t(88676);class o extends i().Renderer{code(e){return a.Xv(e).replace(/\n/g," ")}blockquote(e){return e.replace(/\n/g," ")}heading(e){return e+" "}hr(){return""}list(e){return e}listitem(e){return e+" "}paragraph(e){return e+" "}table(){return""}tablerow(){return""}tablecell(){return""}strong(e){return e}em(e){return e}codespan(e){return e.replace(/\n/g," ")}br(){return" "}del(e){return e}link(e,n,t){return t}image(e,n,t){return t}text(e){return e.replace("\n"," ")}}},11315:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r,D:()=>m}),t(14078),t(90938),t(52077),t(911),t(95623),t(61514),t(20266),t(32081);var _=t(64402),i=t.n(_),a=t(61155),o=t(22589),s=t(88676),u=t(41894);class r extends i().Renderer{constructor(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new a.Z(new Map);super(e),this.heading=this.heading.bind(this),this.paragraph=this.paragraph.bind(this),this.text=this.text.bind(this),this.emojiMap=t,this.formattingOptions=n}code(e,n){let t=n||"";if(t=t.toLowerCase(),"tex"===t||"latex"===t)return'
');let _="";if(this.formattingOptions.searchPatterns)try{const n=new s.nk;let t=s.Z6(e);t=s.M1(t,n,this.formattingOptions.searchPatterns),n.size>0&&(t=s.Z7(t,n),_='
'+t+"
")}catch(e){if(!s.lv(e))throw e}return'
'}codespan(e){let n=e;if(this.formattingOptions.searchPatterns)try{const e=new s.nk;n=s.M1(n,e,this.formattingOptions.searchPatterns),n=s.Z7(n,e)}catch(t){if(!s.lv(t))throw t;n=e}return''+n+""}br(){return this.formattingOptions.singleline?" ":super.br()}image(e,n,t){const _=function(e){const n=/ =(\d*)(?:x(\d+))?$/.exec(e);if(!n)return{href:e,height:"",width:""};let t=n[1],_=n[2];return t||_?(t&&!_?_="auto":_&&!t&&(t="auto"),{href:e.substring(0,e.length-n[0].length),height:_,width:t}):{href:e,height:"",width:""}}(e);let i=_.href;i=o.Q4(i,this.formattingOptions.proxyImages);let a='').concat(t,'":">",a}heading(e,n){return"').concat(e,"")}link(e,n,t){let _=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e;if(this.formattingOptions.unsafeLinks&&(0,u.QG)(e,this.formattingOptions.siteURL))return t===e?t:t+" : "+e;if(!e.startsWith("/")){const n=(0,u.UG)(e);if(n){if(_&&this.formattingOptions.autolinkedUrlSchemes&&-1===this.formattingOptions.autolinkedUrlSchemes.indexOf(n.toLowerCase()))return t}else i="http://".concat(i)}if(!(0,u.lt)(m(e)))return t;let a=']*>/g,"")+"",a}paragraph(e){if(this.formattingOptions.singleline){let n;return n=e.includes('class="markdown-inline-img"')?''.concat(e,""):'

'.concat(e,"

"),n}return super.paragraph(e)}table(e,n){return'
'.concat(e,"").concat(n,"
")}tablerow(e){return"".concat(e,"")}tablecell(e,n){return i().Renderer.prototype.tablecell(e,n).trim()}list(e,n,t){const _=n?"ol":"ul";let i="<".concat(_,' className="markdown__list"');return n&&void 0!==t&&(i+=' style="counter-reset: list '.concat(t-1,'"')),i+=">".concat(e,""),i}listitem(e){const n=/^\[([ |xX])] /,t=n.exec(e);return t?'
  • '.concat(' ").concat(e.replace(n,""),"
  • "):"
  • ".concat(e,"
  • ")}text(e){return s.cg(e,this.formattingOptions,this.emojiMap)}}function m(e){return e.replace(/&([#\w]+);/g,((e,n)=>{const t=n.toLowerCase();return"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(Number(t.substring(1))):""}))}},15897:(e,n,t)=>{"use strict";t.d(n,{GT:()=>E,Sn:()=>b,Hw:()=>K,OD:()=>w,lR:()=>C,dN:()=>A,II:()=>k,Kq:()=>N,TU:()=>D,v_:()=>O,Xi:()=>T,Ht:()=>L,_F:()=>R,zn:()=>B}),t(14078);var _=t(84390),i=t.n(_),a=t(72060);const o=t.p+"files/ae5bb38e37a452ff91c8.mp3",s=t.p+"files/d02184525b86d72d3825.mp3",u=t.p+"files/28fb290ea268680337f2.mp3",r=t.p+"files/fc2cd36cb866d41b239a.mp3",m=t.p+"files/5ace5d307182431ad99c.mp3",l=t.p+"files/0ab7d0cb2c05ed08a3c5.mp3",d=t.p+"files/a628e83945502338cace.mp3",f=t.p+"files/7ce32e5ddf4ceb0c38f6.mp3",F=t.p+"files/99ec979441ce5d5c1e4d.mp3",g=t.p+"files/ded3d3f30da420eacfdb.mp3";var h=t(23712),c=t(21214);const E={DEFAULT:"default",BING:"Bing",CRACKLE:"Crackle",DOWN:"Down",HELLO:"Hello",RIPPLE:"Ripple",UPSTAIRS:"Upstairs"},p=new Map([[E.BING,o],[E.CRACKLE,l],[E.DOWN,d],[E.HELLO,f],[E.RIPPLE,F],[E.UPSTAIRS,g]]),k=Array.from(p.keys()),D=k.map((e=>e===E.BING?{value:e,label:i().createElement(a.FormattedMessage,{id:"user.settings.notifications.desktopNotificationSound.soundBing",defaultMessage:"Bing"})}:e===E.CRACKLE?{value:e,label:i().createElement(a.FormattedMessage,{id:"user.settings.notifications.desktopNotificationSound.soundCrackle",defaultMessage:"Crackle"})}:e===E.DOWN?{value:e,label:i().createElement(a.FormattedMessage,{id:"user.settings.notifications.desktopNotificationSound.soundDown",defaultMessage:"Down"})}:e===E.HELLO?{value:e,label:i().createElement(a.FormattedMessage,{id:"user.settings.notifications.desktopNotificationSound.soundHello",defaultMessage:"Hello"})}:e===E.RIPPLE?{value:e,label:i().createElement(a.FormattedMessage,{id:"user.settings.notifications.desktopNotificationSound.soundRipple",defaultMessage:"Ripple"})}:e===E.UPSTAIRS?{value:e,label:i().createElement(a.FormattedMessage,{id:"user.settings.notifications.desktopNotificationSound.soundUpstairs",defaultMessage:"Upstairs"})}:{value:"",label:""}));function A(e){const n=D.find((n=>n.value===e));if(n)return n}const y=new Map([["Dynamic",r],["Calm",s],["Urgent",m],["Cheerful",u]]),b=Array.from(y.keys()),N=b.map((e=>"Dynamic"===e?{value:e,label:i().createElement(a.FormattedMessage,{id:"user.settings.notifications.desktopNotificationSound.soundDynamic",defaultMessage:"Dynamic"})}:"Calm"===e?{value:e,label:i().createElement(a.FormattedMessage,{id:"user.settings.notifications.desktopNotificationSound.soundCalm",defaultMessage:"Calm"})}:"Urgent"===e?{value:e,label:i().createElement(a.FormattedMessage,{id:"user.settings.notifications.desktopNotificationSound.soundUrgent",defaultMessage:"Urgent"})}:"Cheerful"===e?{value:e,label:i().createElement(a.FormattedMessage,{id:"user.settings.notifications.desktopNotificationSound.soundCheerful",defaultMessage:"Cheerful"})}:{value:"",label:""}));function C(e){const n=N.find((n=>n.value===e));if(n)return n}let I=!0;function w(e){H()&&I&&(B(e),I=!1,setTimeout((()=>{I=!0}),3e3))}function B(e){var n;new Audio(null!==(n=p.get(e))&&void 0!==n?n:p.get("Bing")).play()}let x=null;function O(e){H()&&(T(),x=v(e),x.addEventListener("pause",(()=>{T()})))}function T(){x&&(x.pause(),x.src="",x.remove(),x=null)}let S,M=null;function R(e){H()&&(L(),clearTimeout(S),M=v(e),M.addEventListener("pause",(()=>{L()})),S=setTimeout((()=>{L()}),5e3))}function L(){M&&(M.pause(),M.src="",M.remove(),M=null)}function v(e){var n;const t=new Audio(null!==(n=y.get(e))&&void 0!==n?n:y.get("Calm"));return t.loop=!0,t.play(),t}function H(){return!c.un()}function K(e){return e&&"false"===e?h.NZ.OFF:h.NZ.ON}},11931:(e,n,t)=>{"use strict";t.d(n,{nv:()=>u,eV:()=>r,c0:()=>s}),t(61418);var _=t(62355);const i=t.p+"files/80c22aa38ecd238ca105.png";var a=t(21214);let o=Boolean("Notification"in window&&"default"!==Notification.permission);function s(){let{title:e,body:n,requireInteraction:t,silent:s,onClick:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{title:"",body:"",requireInteraction:!1,silent:!1};return async()=>{let m=_;if(a.un()&&(m=i),!u())throw new Error("Notification API is not supported");if("granted"!==Notification.permission){if(o)return{status:"not_sent",reason:"notifications_permission_previously_denied",data:Notification.permission,callback:()=>{}};o=!0;let e=await Notification.requestPermission();if(void 0===e&&(e=await new Promise((e=>{Notification.requestPermission(e)}))),"granted"!==e)return{status:"not_sent",reason:"notifications_permission_denied",data:e,callback:()=>{}}}const l=new Notification(e,{body:n,tag:n,icon:m,requireInteraction:t,silent:s});return r&&(l.onclick=r),l.onerror=()=>{throw new Error("Notification failed to show.")},{status:"success",callback:()=>{l.close()}}}}function u(){return"Notification"in window&&"function"==typeof Notification.requestPermission}async function r(){if(!u())return null;try{return await Notification.requestPermission()}catch(e){return null}}},47816:(e,n,t)=>{"use strict";t.d(n,{UH:()=>i,vG:()=>a,vc:()=>_});let _=function(e){return e.ChannelLinkClicked="SidebarChannelLink#click",e.GlobalThreadsLinkClicked="GlobalThreadsLink#click",e.PostListLoaded="PostList#component",e.PostSelected="PostList#postSelected",e.TeamLinkClicked="TeamLink#click",e}({}),i=function(e){return e.ChannelSwitch="channel_switch",e.GlobalThreadsLoad="global_threads_load",e.PageLoad="page_load",e.RhsLoad="rhs_load",e.TeamSwitch="team_switch",e}({});function a(e){let{name:n,startMark:t,endMark:_,labels:i,canFail:a=!1}=e;const o={start:t,end:_,detail:{labels:i,report:!0}};try{return performance.measure(n,o)}catch(e){return void(a||console.error("Unable to measure "+n,e))}}},22589:(e,n,t)=>{"use strict";t.d(n,{Bt:()=>he,C3:()=>H,CY:()=>P,Ew:()=>S,Hj:()=>v,Nn:()=>se,P4:()=>me,Q4:()=>G,Rj:()=>j,Rz:()=>U,S$:()=>fe,SW:()=>L,TA:()=>Y,Wo:()=>R,XI:()=>ae,Xl:()=>ue,Xq:()=>ee,a0:()=>z,bp:()=>J,cW:()=>Q,cq:()=>K,dd:()=>ce,f_:()=>re,gU:()=>q,in:()=>te,ju:()=>ne,lJ:()=>Ee,nL:()=>Z,nT:()=>de,nc:()=>_e,o7:()=>$,sz:()=>Fe,t7:()=>W,xW:()=>pe,zb:()=>V,zj:()=>M,zp:()=>le}),t(90938),t(82759),t(52077),t(40895),t(14078),t(95623),t(1203),t(20266),t(61514),t(95289),t(911);var _=t(84390),i=t(72060),a=t(70314),o=t(81002),s=t(80139),u=t(97042),r=t(4500),m=t(43618),l=t(19601),d=t(11990),f=t(3901),F=t(83905),g=t(84073),h=t(11298),c=t(23894),E=t(39875),p=t(65370),k=t(46155),D=t(4314),A=t(33115),y=t(27103),b=t(61057),N=t(23712),C=t(35887),I=t(46403),w=t(98318),B=t(88676),x=t(21214),O=t(35790);const T=500;function S(e){return Boolean(e.type&&0===e.type.lastIndexOf(N.default.SYSTEM_MESSAGE_PREFIX))}function M(e){return Boolean(e.type&&e.type===N.default.AUTO_RESPONDER)}function R(e){return e.props&&"true"===e.props.from_webhook}function L(e){return e.props&&"true"===e.props.from_bot}function v(e,n){return(0,c.rc)(e)===n.user_id}function H(e){return"root_id"in e&&""!==e.root_id&&null!=e.root_id}function K(e){return e.edit_at>0}function G(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return e;const t=s.je.getBaseRoute()+"/image?url=";return n&&!e.startsWith(t)?t+encodeURIComponent(e):e}function U(e,n,t){return n.type!==N.default.PostTypes.FAKE_PARENT_DELETED&&(!t||0===t.delete_at)&&(v(e,n)?(0,g.Ai)(e,t&&t.team_id,n.channel_id,u.Pl.DELETE_POST):(0,g.Ai)(e,t&&t.team_id,n.channel_id,u.Pl.DELETE_OTHERS_POSTS))}function P(e,n,t,_,i,a){var o,s;return(0,D.CY)(e,_,t,null!==(o=null==i?void 0:i.team_id)&&void 0!==o?o:"",null!==(s=null==i?void 0:i.id)&&void 0!==s?s:"",null!=a?a:"",n)}function j(e,n,t){return!(n&&n.state===u.Posts.POST_DELETED||!(0,b.E7)(e)&&S(n)&&!U(e,n,t)&&!P(e,n))}function q(e,n){return!("true"!==(0,l.iE)(e).PluginsEnabled||S(n))}function W(e,n){if(!e||e.startsWith("/"))return!1;let t;t=null!=n&&n.checkAllMentions?new RegExp(N.default.SPECIAL_MENTIONS_REGEX):new RegExp(N.default.ALL_MEMBERS_MENTIONS_REGEX);const _=(0,I.JV)(e,new w.Z);return t.test(_)}function V(e){const n={all:!1,channel:!1,here:!1};if(!e||e.startsWith("/"))return n;const t=(0,I.JV)(e,new w.Z);return n.all=new RegExp(N.default.ALL_MENTION_REGEX).test(t),n.channel=new RegExp(N.default.CHANNEL_MENTION_REGEX).test(t),n.here=new RegExp(N.default.HERE_MENTION_REGEX).test(t),n}const Y=(e,n)=>{if(!e||e.startsWith("/"))return[];if(!n)return[];const t=(0,I.JV)(e,new w.Z),_=(0,B.Nn)(t),i=[];for(const e of _){const t=n.get(e);t&&i.push(t)}return i};function z(e,n){return!!e&&(!(!n||["TEXTAREA","INPUT"].includes(n.tagName))&&(!(!C._(e)||!C.p(e,N.default.KeyCodes.V))||!(e.ctrlKey||e.metaKey||e.altKey)&&(null!=e.key&&(!(1!==e.key.length||!e.key.match(/./))&&(!C.p(e,N.default.KeyCodes.SPACE)||!["BUTTON","A"].includes(n.tagName))))))}function Z(e,n){const t=e.substring(0,n).match(N.default.REGEX_CODE_BLOCK_OPTIONAL_LANGUAGE_TAG);return Boolean(t&&t.length%2!=0)}function X(e,n,t,_){const i=Z(e,_);return t&&n&&!i?{allowSending:!0}:t||i?n&&i?function(e){const n=e.split("\n").filter((e=>""!==e.trim())),t=n[n.length-1];return n.length>1&&!t.includes("```")?{allowSending:!0,message:e.endsWith("\n")?e.concat("```"):e.concat("\n```"),withClosedCodeBlock:!0}:{allowSending:!0}}(e):{allowSending:!1}:{allowSending:!0}}function J(e,n,t,_){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;if(!e)return{allowSending:!1};if((0,x.tq)())return{allowSending:!1};if(!C.p(e,N.default.KeyCodes.ENTER)||e.shiftKey||e.altKey)return{allowSending:!1};if(a>0&&i>0&&i-a<=T)return{allowSending:!1,ignoreKeyPress:!0};if(""===n.trim()||!t&&!_)return{allowSending:!0};const s=e.ctrlKey||e.metaKey;return t?X(n,s,!0,o):_?X(n,s,!1,o):{allowSending:!1}}function $(e){return Boolean(e&&"object"==typeof e&&"server_error_id"in e)}function Q(e){return!(!e||!e.server_error_id)&&"api.command.execute_command.not_found.app_error"===e.server_error_id}function ee(e){return k.p4(e)||k.Ji(e)||e in N.PostListRowListIds}function ne(e){for(let n=e.length-1;n>=0;n--){const t=e[n];if(!ee(t)){if(k.mM(t)){const e=k.v0(t);return e[e.length-1]}return t}}return""}function te(e,n){for(let t=n+1;tn),(e=>(0,c.Td)(e)),((e,n)=>{const t={},_=e.message.match(N.default.MENTIONS_REGEX)||[];for(let e=0;e<_.length;e++){const i=_[e],a=ge(n,i.substring(1));a&&(t[i]=a)}return t}))}function ae(e){const n=(0,i.useIntl)(),t=(0,_.useMemo)(c.RX,[]),o=(0,_.useMemo)(f.r,[]),s=(0,_.useMemo)(ie,[]),u=(0,p.GA)(oe);return(0,a.useSelector)((_=>{if(!e)return"";const i=t(_,e.user_id),a=o(_,e.id),r=(0,f.hX)(_,e.id),m=(0,y.kM)(_),l=s(_,e),d=(0,F.kl)(_);return u(e,i,r,a,n,m,l,d)}))}function oe(e,n,t,_,i,a,o,s){const{formatMessage:r,formatTime:m,formatDate:l}=i;let d,f,F=e.state===u.Posts.POST_DELETED?r({id:"post_body.deleted",defaultMessage:"(message deleted)"}):e.message||"";for(const e of Object.keys(O.Iw)){const n=O.Iw[e];F=F.replace(n,":".concat(e,":"))}for(;null!==(d=O.G2.exec(F));)a.has(d[2])&&(F=F.replace(d[0],"".concat(d[2].replace(/_/g," ")," emoji")));for(const e of Object.keys(o)){const n=o[e];n&&(F=F.replace(e,"@".concat((0,A.fw)(n,s))))}f=e.root_id?r({id:"post.ariaLabel.replyMessage",defaultMessage:"At {time} {date}, {authorName} replied, {message}"},{authorName:n,time:m(e.create_at),date:l(e.create_at,{weekday:"long",month:"long",day:"numeric"}),message:F}):r({id:"post.ariaLabel.message",defaultMessage:"At {time} {date}, {authorName} wrote, {message}"},{authorName:n,time:m(e.create_at),date:l(e.create_at,{weekday:"long",month:"long",day:"numeric"}),message:F});let g=0;if(e.props&&e.props.attachments&&(g+=e.props.attachments.length),e.file_ids&&(g+=e.file_ids.length),g&&(f+=g>1?r({id:"post.ariaLabel.attachmentMultiple",defaultMessage:", {attachmentCount} attachments"},{attachmentCount:g}):r({id:"post.ariaLabel.attachment",defaultMessage:", 1 attachment"})),_){const e=[];for(const n of Object.values(_)){const t=n.emoji_name;e.indexOf(t)<0&&e.push(t)}e.length>1?f+=r({id:"post.ariaLabel.reactionMultiple",defaultMessage:", {reactionCount} reactions"},{reactionCount:e.length}):1===e.length&&(f+=r({id:"post.ariaLabel.reaction",defaultMessage:", 1 reaction"}))}return t?e.is_pinned?f+=r({id:"post.ariaLabel.messageIsFlaggedAndPinned",defaultMessage:", message is saved and pinned"}):f+=r({id:"post.ariaLabel.messageIsFlagged",defaultMessage:", message is saved"}):!t&&e.is_pinned&&(f+=r({id:"post.ariaLabel.messageIsPinned",defaultMessage:", message is pinned"})),f}function se(e,n){return{firstPiece:n.substring(0,e),lastPiece:n.substring(e,n.length)}}function ue(e,n,t){return{firstPiece:t.substring(0,e),lastPiece:t.substring(n,t.length)}}function re(e,n){return!(!e||!n||!(e.user_id===n.user_id&&e.create_at-n.create_at<=u.Posts.POST_COLLAPSE_TIMEOUT)||e.props&&e.props.from_webhook||n.props&&n.props.from_webhook||S(e)||S(n))}function me(e,n){const t=(0,m.mr)(e,n.channel_id);if(!t)return"";const _=(0,c.rc)(e),i=(0,h.VP)(e,t.team_id||(0,h.ev)(e));if(!i)return"";const a=(0,F.ym)(e)&&H(n)?"":"/".concat(n.id);switch(t.type){case N.default.DM_CHANNEL:{const n=(0,E.aU)(_,t.name),o=(0,c.PR)(e,n);return"/".concat(i.name,"/messages/@").concat(o.username).concat(a)}case N.default.GM_CHANNEL:return"/".concat(i.name,"/messages/").concat(t.name).concat(a);default:return"/".concat(i.name,"/channels/").concat(t.name).concat(a)}}function le(e,n){let t=!1;for(const _ of e)if(n.includes(_.key)){t=!0;break}return t}function de(){const e=(0,f.r)();return(0,r.P1)("makeGetUniqueReactionsToPost",((n,t)=>e(n,t)),y.kM,((e,n)=>{if(!e)return null;const t={};return Object.entries(e).forEach((e=>{let[_,i]=e;n.get(i.emoji_name)&&(t[_]=i)})),t}))}function fe(){const e=(0,f.r)();return(0,r.P1)("makeGetUniqueEmojiReactionsForPost",((n,t)=>e(n,t)),y.kM,((e,n)=>{if(!e)return null;const t=[];return Object.values(e).forEach((e=>{n.get(e.emoji_name)&&!t.includes(e.emoji_name)&&t.push(e.emoji_name)})),t}))}function Fe(){const e=de();return(0,r.P1)("makeGetIsReactionAlreadyAddedToPost",((n,t)=>e(n,t)),c.rc,((e,n,t)=>t),((e,n,t)=>{const _=e||{};return Object.values(_).some((e=>e.user_id===n&&e.emoji_name===t))}))}function ge(e,n){let t=n.toLowerCase();for(;t.length>0;){if(e.hasOwnProperty(t))return e[t];if(!/[._-]$/.test(t))break;t=t.substring(0,t.length-1)}}function he(e,n,t,_){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:ge;const a=i(n,e);if(!a&&!_){const n=i(t,e);return n&&!n.allow_reference?[void 0,void 0]:[void 0,n]}return[a,void 0]}function ce(e){const n=e.match(N.default.MENTIONS_REGEX)||[],t=[];for(let e=0;en),c.Td,d.Kj,((e,n,t)=>{let _=0;const i=(0,I.JV)(e,new w.Z);return new Set(i.match(N.default.MENTIONS_REGEX)||[]).forEach((e=>{const[i,a]=he(e.substring(1),n,t);i?_++:a&&(_+=a.member_count)})),_}))}function pe(e){return(null==e?void 0:e.priority)===o.Z.URGENT&&(null==e?void 0:e.persistent_notifications)}},88676:(e,n,t)=>{"use strict";t.d(n,{Gq:()=>g,M1:()=>x,Nn:()=>k,RZ:()=>h,Xv:()=>b,Z6:()=>E,Z7:()=>O,cg:()=>c,lv:()=>d,nk:()=>f,qg:()=>N,yI:()=>D}),t(14078),t(48410),t(52077),t(69217),t(95623),t(61514),t(911),t(20266),t(95289),t(1203),t(82759),t(40895),t(72482),t(90938);var _=t(70875),i=t(46403),a=t(23712),o=t(35790);const s=/[^0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E7F}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}]/u,u=/(?:\B|\b_+)@([a-z0-9.\-_]+)/gi,r=(0,_.Z)(),m=/^

    \s*(?:]*>|]*>[^<]*<\/span>\s*|[^<]*<\/span>\s*)+<\/p>$/,l="maximum number of tokens reached";function d(e){return Boolean(e&&"object"==typeof e&&"message"in e&&e.message===l)}class f extends Map{set(e,n){if(super.set(e,n),this.size>1e3)throw new Error(l);return this}}const F={mentionHighlight:!0,disableGroupHighlight:!1,singleline:!1,emoticons:!0,markdown:!0,atMentions:!1,atSumOfMembersMentions:!1,atPlanMentions:!1,minimumHashtagLength:3,proxyImages:!1,editedAt:0,postId:"",unsafeLinks:!1},g=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf\uac00-\ud7a3\u1100-\u11ff\u3130-\u318f\u0400-\u04ff\u0500-\u052f\u2de0-\u2dff]/;function h(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:F,t=arguments.length>2?arguments[2]:void 0;if(!e)return"";let _=e;const a=Object.assign({},n),o=/"([^"]*)"/.test(a.searchTerm||"");if(a.searchMatches&&!o?a.searchPatterns=a.searchMatches.map(B):a.searchPatterns=function(e){let n=[],t=e;for(;t;){let e;if(e=/^"([^"]*)"/.exec(t),e)t=t.substring(e[0].length),e[1].length>0&&n.push(e[1]);else if(e=/^-?(?:in|from|channel|on|before|after): ?\S+/.exec(t),e)t=t.substring(e[0].length);else if(e=/^@[a-z0-9.-_]+\b/.exec(t),e)t=t.substring(e[0].length),n.push(e[0]);else{if(e=/^.+?(?=(?:\b|\B-)(?:in:|from:|channel:|on:|before:|after:)|"|$)/.exec(t),!e)throw new Error('Infinite loop in search term parsing: "'+t+'"');t=t.substring(e[0].length),n.push(...e[0].split(/[ <>+()~@]/).filter((e=>Boolean(e))))}}return n=n.map((e=>(e.replace(I,""),"*"!==e.charAt(e.length-1)&&e.replace(w,""),e))),n}(a.searchTerm||"").map(B).sort(((e,n)=>n.term.length-e.term.length)),a.renderer)_=(0,i.JV)(_,a.renderer),_=c(_,a,t);else if(!("markdown"in a)||a.markdown){if(_=i.WU(_,a,t),_.includes('class="markdown-inline-img"')){const e=e=>"

    "===e?'

    ':"
    ";_=_.replace(/data-codeblock-code="[^"]+"|[\r\n]+(?!(

    ))/g,(e=>e.includes("data-codeblock-code")?e:"
    ")),_=_.replace(/

    |<\/p>/g,e)}}else _=E(_),_=c(_,a,t);return a.singleline&&(_=function(e){return e.replace(/\n/g," ")}(_)),m.test(_.trim())&&(_=''.concat(_.trim(),"")),a.postId&&(_.endsWith("

    ")?_="".concat(_.slice(0,-4),"

    "):_+="")),_}function c(e,n,t){let _=e;const i=new f;try{return n.atMentions&&(_=function(e,n){function t(e,t){let _=e;for(;"_"===_[0];)_=_.substring(1);const i=n.size,a="$MM_ATMENTION".concat(i,"$");return n.set(a,{value:'@').concat(t,""),originalText:_}),a}let _=e;_=_.replace(a.default.SPECIAL_MENTIONS_REGEX,t);let i=_.match(u);for(;i&&i.length>0;)_=_.replace(u,t),i=_.match(u);return _}(_,i)),n.atSumOfMembersMentions&&(_=function(e,n){let t=e;return t=t.replace(a.default.SUM_OF_MEMBERS_MENTION_REGEX,(function(e){const t=n.size,_="$MM_SUMOFMEMBERSMENTION".concat(t,"$");return n.set(_,{value:'').concat(e,""),originalText:e}),_})),t}(_,i)),n.atPlanMentions&&(_=function(e,n){let t=e;return t=t.replace(a.default.PLAN_MENTIONS,(function(e){const t=n.size,_="$MM_PLANMENTION".concat(t,"$");return n.set(_,{value:'').concat(e,""),originalText:e}),_})),t}(_,i)),n.channelNamesMap&&(_=function(e,n,t,_){function i(e){return t.hasOwnProperty(e)}function a(e,t,i,a){const o=n.size,s="$MM_CHANNELMENTION".concat(o,"$");let u="#";return t?(u=(window.basename||"")+"/"+t+"/channels/"+e,n.set(s,{value:'~').concat(a,""),originalText:i})):_&&(u=(window.basename||"")+"/"+_.name+"/channels/"+e,n.set(s,{value:'~').concat(a,""),originalText:i})),s}let o=e;return o=o.replace(/\B(~([a-z0-9.\-_]*))/gi,(function(e,n,_){let o=_.toLowerCase();if(i(o)){let e="",_="";const i=t[o];return"object"==typeof i?(e=i.display_name,_=i.team_name||""):e=i,a(o,_,n,b(e))}const u=o;for(let e=o.length;e>0&&s.test(o[e-1]);e--)if(o=o.substring(0,e-1),i(o)){const n=u.substr(e-1);let _="",i="";const s=t[o];return"object"==typeof s?(_=s.display_name,i=s.team_name||""):_=s,a(o,i,"~"+o,b(_))+n}return e})),o}(_,i,n.channelNamesMap,n.team)),_=function(e,n){return e.replace(p,(function(e){for(var t=arguments.length,_=new Array(t>1?t-1:0),i=1;i').concat(o,""),originalText:o}),a+u}))}(_,i),_=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,_=e;const i=new Map;for(const[e,t]of n)if(0===t.originalText.lastIndexOf("#",0)){const a=n.size+i.size,o="$MM_HASHTAG".concat(a,"$");i.set(o,{value:"").concat(t.originalText,""),originalText:t.originalText,hashtag:t.originalText.substring(1)}),_=_.replace(e,o)}for(const e of i)n.set(e[0],e[1]);return _.replace(C,(function(e,_,i){const a=n.size,o="$MM_HASHTAG".concat(a,"$");return i.length").concat(i,""),originalText:i,hashtag:i.substring(1)}),_+o)}))}(_,i,n.minimumHashtagLength),"emoticons"in n&&!n.emoticons||(_=o.oB(_,i)),n.searchPatterns&&(_=x(_,i,n.searchPatterns)),"mentionHighlight"in n&&!n.mentionHighlight||(_=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],_=e;const i=new Map;for(const[e,a]of n){const o=a.originalText.toLowerCase();if(-1!==t.findIndex((e=>e.key.toLowerCase()===o))){const t=n.size+i.size,o="$MM_SELFMENTION".concat(t,"$");i.set(o,{value:''.concat(e,""),originalText:a.originalText}),_=_.replace(e,o)}}for(const e of i)n.set(e[0],e[1]);function a(e,t,_){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";const a=n.size,o="$MM_SELFMENTION".concat(a,"$");return n.set(o,{value:''.concat(_,""),originalText:_}),t+o+i}for(const e of t){if(!e||!e.key)continue;let n,t="g";e.caseSensitive||(t+="i"),n=g.test(e.key)?new RegExp("()(".concat(D(e.key),")()"),t):new RegExp("(^|\\W)(".concat(D(e.key),")(\\b|_+\\b)"),t),_=_.replace(n,a)}return _}(_,i,n.mentionKeys)),n.highlightKeys&&n.highlightKeys.length>0&&(_=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],_=e;const i=new Map;function a(e,t,_){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";const a=n.size,o="$MM_HIGHLIGHTKEYWORD".concat(a,"$");return n.set(o,{value:''.concat(_,""),originalText:_}),t+o+i}return n.forEach(((e,a)=>{const o=e.originalText.toLowerCase();if(-1!==t.findIndex((e=>e.key.toLowerCase()===o))){const t=n.size+i.size,o="$MM_HIGHLIGHTKEYWORD".concat(t,"$");i.set(o,{value:''.concat(a,""),originalText:e.originalText}),_=_.replace(a,o)}})),i.forEach(((e,t)=>{n.set(t,e)})),t.sort(((e,n)=>n.key.length-e.key.length)).forEach((e=>{let n,{key:t}=e;t&&(n=g.test(t)?new RegExp("()(".concat(D(t),")()"),"gi"):new RegExp("(^|\\W)(".concat(D(t),")(\\b|_+\\b)"),"gi"),_=_.replace(n,a))})),_}(_,i,n.highlightKeys)),"emoticons"in n&&!n.emoticons||(_=function(e,n,t){let _=e;return _=_.replace(t,(e=>{const t=[T(e,0)];if(e.length>1)for(let n=1;ne.toString(16))).join("-");if(n&&n.hasUnicode(_)){const t=n.getUnicode(_);return o.O1(t.short_names[0],e)}return''.concat(e,"")})),_}(_,t,r)),_=O(_,i)||e,_}catch(n){if(d(n))return e;throw n}}function E(e){let n=e;return n=n.replace(/&/g,"&"),n=n.replace(//g,">"),n=n.replace(/'/g,"'"),n=n.replace(/"/g,"""),n}const p=/(^|[^0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E7F}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}])((?:[!#-'\*\+\x2D\/-9=\?A-Z\^-~\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BEF\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D66-\u0D6F\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F29\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10D30}-\u{10D39}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11066}-\u{1106F}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{11136}-\u{1113F}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111D0}-\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{112F0}-\u{112F9}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{11450}-\u{11459}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116B8}\u{116C0}-\u{116C9}\u{11700}-\u{1171A}\u{11730}-\u{11739}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118E9}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C50}-\u{11C59}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11F50}-\u{11F59}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A70}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B50}-\u{16B59}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E7F}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D7CE}-\u{1D7FF}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E2F0}-\u{1E2F9}\u{1E4D0}-\u{1E4EB}\u{1E4F0}-\u{1E4F9}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1FBF0}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}](?:[!#-'\*\+\x2D\/-9=\?A-Z\^-~\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BEF\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D66-\u0D6F\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F29\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10D30}-\u{10D39}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11066}-\u{1106F}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{11136}-\u{1113F}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111D0}-\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{112F0}-\u{112F9}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{11450}-\u{11459}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116B8}\u{116C0}-\u{116C9}\u{11700}-\u{1171A}\u{11730}-\u{11739}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118E9}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C50}-\u{11C59}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11F50}-\u{11F59}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A70}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B50}-\u{16B59}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E7F}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D7CE}-\u{1D7FF}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E2F0}-\u{1E2F9}\u{1E4D0}-\u{1E4EB}\u{1E4F0}-\u{1E4F9}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1FBF0}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}]|\.(?!\.|@))*|"[\t-\r !#-\[\]-~\xA0\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BEF\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D66-\u0D6F\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F29\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2000-\u200A\u2028\u2029\u202F\u205F\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3000\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10D30}-\u{10D39}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11066}-\u{1106F}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{11136}-\u{1113F}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111D0}-\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{112F0}-\u{112F9}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{11450}-\u{11459}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116B8}\u{116C0}-\u{116C9}\u{11700}-\u{1171A}\u{11730}-\u{11739}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118E9}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C50}-\u{11C59}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11F50}-\u{11F59}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A70}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B50}-\u{16B59}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E7F}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D7CE}-\u{1D7FF}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E2F0}-\u{1E2F9}\u{1E4D0}-\u{1E4EB}\u{1E4F0}-\u{1E4F9}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1FBF0}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}]+")@[\x2D\.0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E7F}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}]+[.][A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E7F}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}]{2,5}(?=$|[^A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E7F}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}]))/gu;function k(e){return e.match(a.default.SPECIAL_MENTIONS_REGEX&&u)||[]}function D(e){return(null==e?void 0:e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"))||""}function A(e){return(null==e?void 0:e.replace(/[$]/g,"$$$$"))||""}const y={"&":"&","<":"<",">":">",'"':""","'":"'"};function b(e){return e.replace(/[&<>"']/g,(e=>y[e]))}function N(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,'"').replace(/&/g,"&")}const C=/(^|\W)(#[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E7F}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}][\x2D\.0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E7F}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}]*[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E7F}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}])/gu,I=/^[^\t-\r #0-9A-Za-z\xA0\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2000-\u200A\u2028\u2029\u202F\u205F\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3000\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E7F}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}]+/u,w=/[^\t-\r 0-9A-Za-z\xA0\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2000-\u200A\u2028\u2029\u202F\u205F\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3000\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E7F}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}]+$/u;function B(e){let n;return n=g.test(e)?"()("+D(e.replace(/\*/g,""))+")":/[^\s][*]$/.test(e)?"\\b()("+D(e.substring(0,e.length-1))+")":e.startsWith("@")||e.startsWith("#")?"(\\W|^)("+D(e)+")\\b":"\\b()("+D(e)+")\\b",{pattern:new RegExp(n,"gi"),term:e}}function x(e,n,t){if(!t||0===t.length)return e;let _=e;function i(e,t,_){const i=n.size,a="$MM_SEARCHTERM".concat(i,"$");return n.set(a,{value:''.concat(_,""),originalText:_}),t+a}for(const e of t){const t=new Map;for(const[i,a]of n){if(e.pattern.test(a.originalText)){let o=a.originalText;o.startsWith("#")&&(o=o.substr(1));let s=e.term;if(s.startsWith("#")&&(s=s.substr(1)),i.startsWith("$MM_HASHTAG")&&i.endsWith("$")&&o.toLowerCase()!==s.toLowerCase())continue;const u=n.size+t.size,r="$MM_SEARCHTERM".concat(u,"$");t.set(r,{value:''.concat(i,""),originalText:a.originalText}),_=_.replace(i,r)}e.pattern.lastIndex=0}for(const e of t)n.set(e[0],e[1]);_=_.replace(e.pattern,i)}return _}function O(e,n){let t=e;const _=[...n.keys()];for(let e=_.length-1;e>=0;e--){const i=_[e],a=n.get(i);t=t.replace(i,A((null==a?void 0:a.value)||""))}return t}function T(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const t=e.charCodeAt(n);if(t>=55296&&t<=56319){const _=t,i=e.charCodeAt(n+1);return isNaN(i)&&console.log("High surrogate not followed by low surrogate in fixedCharCodeAt()"),1024*(_-55296)+(i-56320)+65536}return t>=56320&&t<=57343?-1:t}},9292:(e,n,t)=>{"use strict";t.d(n,{C7:()=>s,Oz:()=>u,SU:()=>o,uH:()=>r,vB:()=>m,x_:()=>a});var _=t(51154),i=t.n(_);function a(){return i().tz.guess()}function o(){return i()().utcOffset()}function s(e){return i().tz(e).utcOffset()}function u(e){const n=i()().tz(e);return new Date(n.year(),n.month(),n.date())}function r(e){const n=i()().tz(e);return new Date(n.year(),n.month(),n.date(),n.hour(),n.minute(),n.second())}function m(e){return e?i().tz(e):i()()}},41894:(e,n,t)=>{"use strict";t.d(n,{wz:()=>B,oK:()=>d,d0:()=>g,UG:()=>E,ZC:()=>f,fO:()=>F,Db:()=>C,lZ:()=>w,lt:()=>h,jv:()=>I,YQ:()=>c,QG:()=>y,Vz:()=>O,jS:()=>p,or:()=>N,Jy:()=>x,pj:()=>D}),t(52077),t(911),t(20266),t(90938),t(82759),t(40895),t(1203),t(14078);var _=t(84390),i=t.n(_),a=t(72060),o=t(96323),s=t(23712);const u={Á:"A",Ă:"A",Ắ:"A",Ặ:"A",Ằ:"A",Ẳ:"A",Ẵ:"A",Ǎ:"A",Â:"A",Ấ:"A",Ậ:"A",Ầ:"A",Ẩ:"A",Ẫ:"A",Ä:"A",Ǟ:"A",Ȧ:"A",Ǡ:"A",Ạ:"A",Ȁ:"A",À:"A",Ả:"A",Ȃ:"A",Ā:"A",Ą:"A",Å:"A",Ǻ:"A",Ḁ:"A",Ⱥ:"A",Ã:"A",Ꜳ:"AA",Æ:"AE",Ǽ:"AE",Ǣ:"AE",Ꜵ:"AO",Ꜷ:"AU",Ꜹ:"AV",Ꜻ:"AV",Ꜽ:"AY",Ḃ:"B",Ḅ:"B",Ɓ:"B",Ḇ:"B",Ƀ:"B",Ƃ:"B",Ć:"C",Č:"C",Ç:"C",Ḉ:"C",Ĉ:"C",Ċ:"C",Ƈ:"C",Ȼ:"C",Ď:"D",Ḑ:"D",Ḓ:"D",Ḋ:"D",Ḍ:"D",Ɗ:"D",Ḏ:"D",Dz:"D",Dž:"D",Đ:"D",Ƌ:"D",DZ:"DZ",DŽ:"DZ",É:"E",Ĕ:"E",Ě:"E",Ȩ:"E",Ḝ:"E",Ê:"E",Ế:"E",Ệ:"E",Ề:"E",Ể:"E",Ễ:"E",Ḙ:"E",Ë:"E",Ė:"E",Ẹ:"E",Ȅ:"E",È:"E",Ẻ:"E",Ȇ:"E",Ē:"E",Ḗ:"E",Ḕ:"E",Ę:"E",Ɇ:"E",Ẽ:"E",Ḛ:"E",Ꝫ:"ET",Ḟ:"F",Ƒ:"F",Ǵ:"G",Ğ:"G",Ǧ:"G",Ģ:"G",Ĝ:"G",Ġ:"G",Ɠ:"G",Ḡ:"G",Ǥ:"G",Ḫ:"H",Ȟ:"H",Ḩ:"H",Ĥ:"H",Ⱨ:"H",Ḧ:"H",Ḣ:"H",Ḥ:"H",Ħ:"H",Í:"I",Ĭ:"I",Ǐ:"I",Î:"I",Ï:"I",Ḯ:"I",İ:"I",Ị:"I",Ȉ:"I",Ì:"I",Ỉ:"I",Ȋ:"I",Ī:"I",Į:"I",Ɨ:"I",Ĩ:"I",Ḭ:"I",Ꝺ:"D",Ꝼ:"F",Ᵹ:"G",Ꞃ:"R",Ꞅ:"S",Ꞇ:"T",Ꝭ:"IS",Ĵ:"J",Ɉ:"J",Ḱ:"K",Ǩ:"K",Ķ:"K",Ⱪ:"K",Ꝃ:"K",Ḳ:"K",Ƙ:"K",Ḵ:"K",Ꝁ:"K",Ꝅ:"K",Ĺ:"L",Ƚ:"L",Ľ:"L",Ļ:"L",Ḽ:"L",Ḷ:"L",Ḹ:"L",Ⱡ:"L",Ꝉ:"L",Ḻ:"L",Ŀ:"L",Ɫ:"L",Lj:"L",Ł:"L",LJ:"LJ",Ḿ:"M",Ṁ:"M",Ṃ:"M",Ɱ:"M",Ń:"N",Ň:"N",Ņ:"N",Ṋ:"N",Ṅ:"N",Ṇ:"N",Ǹ:"N",Ɲ:"N",Ṉ:"N",Ƞ:"N",Nj:"N",Ñ:"N",NJ:"NJ",Ó:"O",Ŏ:"O",Ǒ:"O",Ô:"O",Ố:"O",Ộ:"O",Ồ:"O",Ổ:"O",Ỗ:"O",Ö:"O",Ȫ:"O",Ȯ:"O",Ȱ:"O",Ọ:"O",Ő:"O",Ȍ:"O",Ò:"O",Ỏ:"O",Ơ:"O",Ớ:"O",Ợ:"O",Ờ:"O",Ở:"O",Ỡ:"O",Ȏ:"O",Ꝋ:"O",Ꝍ:"O",Ō:"O",Ṓ:"O",Ṑ:"O",Ɵ:"O",Ǫ:"O",Ǭ:"O",Ø:"O",Ǿ:"O",Õ:"O",Ṍ:"O",Ṏ:"O",Ȭ:"O",Ƣ:"OI",Ꝏ:"OO",Ɛ:"E",Ɔ:"O",Ȣ:"OU",Ṕ:"P",Ṗ:"P",Ꝓ:"P",Ƥ:"P",Ꝕ:"P",Ᵽ:"P",Ꝑ:"P",Ꝙ:"Q",Ꝗ:"Q",Ŕ:"R",Ř:"R",Ŗ:"R",Ṙ:"R",Ṛ:"R",Ṝ:"R",Ȑ:"R",Ȓ:"R",Ṟ:"R",Ɍ:"R",Ɽ:"R",Ꜿ:"C",Ǝ:"E",Ś:"S",Ṥ:"S",Š:"S",Ṧ:"S",Ş:"S",Ŝ:"S",Ș:"S",Ṡ:"S",Ṣ:"S",Ṩ:"S",ẞ:"SS",Ť:"T",Ţ:"T",Ṱ:"T",Ț:"T",Ⱦ:"T",Ṫ:"T",Ṭ:"T",Ƭ:"T",Ṯ:"T",Ʈ:"T",Ŧ:"T",Ɐ:"A",Ꞁ:"L",Ɯ:"M",Ʌ:"V",Ꜩ:"TZ",Ú:"U",Ŭ:"U",Ǔ:"U",Û:"U",Ṷ:"U",Ü:"U",Ǘ:"U",Ǚ:"U",Ǜ:"U",Ǖ:"U",Ṳ:"U",Ụ:"U",Ű:"U",Ȕ:"U",Ù:"U",Ủ:"U",Ư:"U",Ứ:"U",Ự:"U",Ừ:"U",Ử:"U",Ữ:"U",Ȗ:"U",Ū:"U",Ṻ:"U",Ų:"U",Ů:"U",Ũ:"U",Ṹ:"U",Ṵ:"U",Ꝟ:"V",Ṿ:"V",Ʋ:"V",Ṽ:"V",Ꝡ:"VY",Ẃ:"W",Ŵ:"W",Ẅ:"W",Ẇ:"W",Ẉ:"W",Ẁ:"W",Ⱳ:"W",Ẍ:"X",Ẋ:"X",Ý:"Y",Ŷ:"Y",Ÿ:"Y",Ẏ:"Y",Ỵ:"Y",Ỳ:"Y",Ƴ:"Y",Ỷ:"Y",Ỿ:"Y",Ȳ:"Y",Ɏ:"Y",Ỹ:"Y",Ź:"Z",Ž:"Z",Ẑ:"Z",Ⱬ:"Z",Ż:"Z",Ẓ:"Z",Ȥ:"Z",Ẕ:"Z",Ƶ:"Z",IJ:"IJ",Œ:"OE",ᴀ:"A",ᴁ:"AE",ʙ:"B",ᴃ:"B",ᴄ:"C",ᴅ:"D",ᴇ:"E",ꜰ:"F",ɢ:"G",ʛ:"G",ʜ:"H",ɪ:"I",ʁ:"R",ᴊ:"J",ᴋ:"K",ʟ:"L",ᴌ:"L",ᴍ:"M",ɴ:"N",ᴏ:"O",ɶ:"OE",ᴐ:"O",ᴕ:"OU",ᴘ:"P",ʀ:"R",ᴎ:"N",ᴙ:"R",ꜱ:"S",ᴛ:"T",ⱻ:"E",ᴚ:"R",ᴜ:"U",ᴠ:"V",ᴡ:"W",ʏ:"Y",ᴢ:"Z",á:"a",ă:"a",ắ:"a",ặ:"a",ằ:"a",ẳ:"a",ẵ:"a",ǎ:"a",â:"a",ấ:"a",ậ:"a",ầ:"a",ẩ:"a",ẫ:"a",ä:"a",ǟ:"a",ȧ:"a",ǡ:"a",ạ:"a",ȁ:"a",à:"a",ả:"a",ȃ:"a",ā:"a",ą:"a",ᶏ:"a",ẚ:"a",å:"a",ǻ:"a",ḁ:"a",ⱥ:"a",ã:"a",ꜳ:"aa",æ:"ae",ǽ:"ae",ǣ:"ae",ꜵ:"ao",ꜷ:"au",ꜹ:"av",ꜻ:"av",ꜽ:"ay",ḃ:"b",ḅ:"b",ɓ:"b",ḇ:"b",ᵬ:"b",ᶀ:"b",ƀ:"b",ƃ:"b",ɵ:"o",ć:"c",č:"c",ç:"c",ḉ:"c",ĉ:"c",ɕ:"c",ċ:"c",ƈ:"c",ȼ:"c",ď:"d",ḑ:"d",ḓ:"d",ȡ:"d",ḋ:"d",ḍ:"d",ɗ:"d",ᶑ:"d",ḏ:"d",ᵭ:"d",ᶁ:"d",đ:"d",ɖ:"d",ƌ:"d",ı:"i",ȷ:"j",ɟ:"j",ʄ:"j",dz:"dz",dž:"dz",é:"e",ĕ:"e",ě:"e",ȩ:"e",ḝ:"e",ê:"e",ế:"e",ệ:"e",ề:"e",ể:"e",ễ:"e",ḙ:"e",ë:"e",ė:"e",ẹ:"e",ȅ:"e",è:"e",ẻ:"e",ȇ:"e",ē:"e",ḗ:"e",ḕ:"e",ⱸ:"e",ę:"e",ᶒ:"e",ɇ:"e",ẽ:"e",ḛ:"e",ꝫ:"et",ḟ:"f",ƒ:"f",ᵮ:"f",ᶂ:"f",ǵ:"g",ğ:"g",ǧ:"g",ģ:"g",ĝ:"g",ġ:"g",ɠ:"g",ḡ:"g",ᶃ:"g",ǥ:"g",ḫ:"h",ȟ:"h",ḩ:"h",ĥ:"h",ⱨ:"h",ḧ:"h",ḣ:"h",ḥ:"h",ɦ:"h",ẖ:"h",ħ:"h",ƕ:"hv",í:"i",ĭ:"i",ǐ:"i",î:"i",ï:"i",ḯ:"i",ị:"i",ȉ:"i",ì:"i",ỉ:"i",ȋ:"i",ī:"i",į:"i",ᶖ:"i",ɨ:"i",ĩ:"i",ḭ:"i",ꝺ:"d",ꝼ:"f",ᵹ:"g",ꞃ:"r",ꞅ:"s",ꞇ:"t",ꝭ:"is",ǰ:"j",ĵ:"j",ʝ:"j",ɉ:"j",ḱ:"k",ǩ:"k",ķ:"k",ⱪ:"k",ꝃ:"k",ḳ:"k",ƙ:"k",ḵ:"k",ᶄ:"k",ꝁ:"k",ꝅ:"k",ĺ:"l",ƚ:"l",ɬ:"l",ľ:"l",ļ:"l",ḽ:"l",ȴ:"l",ḷ:"l",ḹ:"l",ⱡ:"l",ꝉ:"l",ḻ:"l",ŀ:"l",ɫ:"l",ᶅ:"l",ɭ:"l",ł:"l",lj:"lj",ſ:"s",ẜ:"s",ẛ:"s",ẝ:"s",ḿ:"m",ṁ:"m",ṃ:"m",ɱ:"m",ᵯ:"m",ᶆ:"m",ń:"n",ň:"n",ņ:"n",ṋ:"n",ȵ:"n",ṅ:"n",ṇ:"n",ǹ:"n",ɲ:"n",ṉ:"n",ƞ:"n",ᵰ:"n",ᶇ:"n",ɳ:"n",ñ:"n",nj:"nj",ó:"o",ŏ:"o",ǒ:"o",ô:"o",ố:"o",ộ:"o",ồ:"o",ổ:"o",ỗ:"o",ö:"o",ȫ:"o",ȯ:"o",ȱ:"o",ọ:"o",ő:"o",ȍ:"o",ò:"o",ỏ:"o",ơ:"o",ớ:"o",ợ:"o",ờ:"o",ở:"o",ỡ:"o",ȏ:"o",ꝋ:"o",ꝍ:"o",ⱺ:"o",ō:"o",ṓ:"o",ṑ:"o",ǫ:"o",ǭ:"o",ø:"o",ǿ:"o",õ:"o",ṍ:"o",ṏ:"o",ȭ:"o",ƣ:"oi",ꝏ:"oo",ɛ:"e",ᶓ:"e",ɔ:"o",ᶗ:"o",ȣ:"ou",ṕ:"p",ṗ:"p",ꝓ:"p",ƥ:"p",ᵱ:"p",ᶈ:"p",ꝕ:"p",ᵽ:"p",ꝑ:"p",ꝙ:"q",ʠ:"q",ɋ:"q",ꝗ:"q",ŕ:"r",ř:"r",ŗ:"r",ṙ:"r",ṛ:"r",ṝ:"r",ȑ:"r",ɾ:"r",ᵳ:"r",ȓ:"r",ṟ:"r",ɼ:"r",ᵲ:"r",ᶉ:"r",ɍ:"r",ɽ:"r",ↄ:"c",ꜿ:"c",ɘ:"e",ɿ:"r",ś:"s",ṥ:"s",š:"s",ṧ:"s",ş:"s",ŝ:"s",ș:"s",ṡ:"s",ṣ:"s",ṩ:"s",ʂ:"s",ᵴ:"s",ᶊ:"s",ȿ:"s",ɡ:"g",ß:"ss",ᴑ:"o",ᴓ:"o",ᴝ:"u",ť:"t",ţ:"t",ṱ:"t",ț:"t",ȶ:"t",ẗ:"t",ⱦ:"t",ṫ:"t",ṭ:"t",ƭ:"t",ṯ:"t",ᵵ:"t",ƫ:"t",ʈ:"t",ŧ:"t",ᵺ:"th",ɐ:"a",ᴂ:"ae",ǝ:"e",ᵷ:"g",ɥ:"h",ʮ:"h",ʯ:"h",ᴉ:"i",ʞ:"k",ꞁ:"l",ɯ:"m",ɰ:"m",ᴔ:"oe",ɹ:"r",ɻ:"r",ɺ:"r",ⱹ:"r",ʇ:"t",ʌ:"v",ʍ:"w",ʎ:"y",ꜩ:"tz",ú:"u",ŭ:"u",ǔ:"u",û:"u",ṷ:"u",ü:"u",ǘ:"u",ǚ:"u",ǜ:"u",ǖ:"u",ṳ:"u",ụ:"u",ű:"u",ȕ:"u",ù:"u",ủ:"u",ư:"u",ứ:"u",ự:"u",ừ:"u",ử:"u",ữ:"u",ȗ:"u",ū:"u",ṻ:"u",ų:"u",ᶙ:"u",ů:"u",ũ:"u",ṹ:"u",ṵ:"u",ᵫ:"ue",ꝸ:"um",ⱴ:"v",ꝟ:"v",ṿ:"v",ʋ:"v",ᶌ:"v",ⱱ:"v",ṽ:"v",ꝡ:"vy",ẃ:"w",ŵ:"w",ẅ:"w",ẇ:"w",ẉ:"w",ẁ:"w",ⱳ:"w",ẘ:"w",ẍ:"x",ẋ:"x",ᶍ:"x",ý:"y",ŷ:"y",ÿ:"y",ẏ:"y",ỵ:"y",ỳ:"y",ƴ:"y",ỷ:"y",ỿ:"y",ȳ:"y",ẙ:"y",ɏ:"y",ỹ:"y",ź:"z",ž:"z",ẑ:"z",ʑ:"z",ⱬ:"z",ż:"z",ẓ:"z",ȥ:"z",ẕ:"z",ᵶ:"z",ᶎ:"z",ʐ:"z",ƶ:"z",ɀ:"z",ff:"ff",ffi:"ffi",ffl:"ffl",fi:"fi",fl:"fl",ij:"ij",œ:"oe",st:"st",ₐ:"a",ₑ:"e",ᵢ:"i",ⱼ:"j",ₒ:"o",ᵣ:"r",ᵤ:"u",ᵥ:"v",ₓ:"x"};function r(e){return u[e]||e}var m=t(88676),l=t(11315);function d(e){let n=function(e){return e.replace(/[^A-Za-z0-9]/g,r)}(e);return n=n.trim().replace(/-/g," ").replace(/[^\w\s]/gi,"").toLowerCase().replace(/\s/g,"-"),n=n.replace(/^-+/,""),n=n.replace(/-+$/,""),n}function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:27;if(e.length>35){const t=n-14;return e.substring(0,10)+"..."+e.substring(e.length-t,e.length)}return e}function F(){var e,n;return null!==(e=null===(n=(0,o.getModule)("utils/url/getSiteURL"))||void 0===n?void 0:n())&&void 0!==e?e:function(e){let n="";return n=e.location.origin?e.location.origin:e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:""),"/"===n[n.length-1]&&(n=n.substring(0,n.length-1)),e.basename&&(n+=e.basename),"/"===n[n.length-1]&&(n=n.substring(0,n.length-1)),n}(window)}function g(e,n){return"/".concat(e,"/channels/").concat(n)}function h(e){let n;try{n=decodeURIComponent(e)}catch(t){n=unescape(e)}return n=n.replace(/[^\w:]/g,"").toLowerCase(),!n.startsWith("javascript:")&&!n.startsWith("vbscript:")&&!n.startsWith("data:")}function c(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return h(e)?e:n}function E(e){const n=/^!?([a-z0-9+.-]+):/i.exec(e);return n&&n[1]}function p(e){return e.replace(/^([a-z0-9+.-]+):\/\//i,"")}function k(e,n){return n?n.formatMessage(e):i().createElement("span",{key:e.id},i().createElement(a.FormattedMessage,e),i().createElement("br",null))}function D(e,n){const t=[],_=new RegExp("^.{".concat(26,"}__.{").concat(26,"}$")).test(e),i=d(e),o=e.match(/^[a-z0-9]([a-z0-9\-_]*[a-z0-9])?$/),u=e.lengths.default.MAX_CHANNELNAME_LENGTH;if(i!==e||!o||o[0]!==e||_||u||r){u&&t.push(k((0,a.defineMessage)({id:"change_url.longer",defaultMessage:"URLs must have at least 2 characters."}),n)),r&&t.push(k((0,a.defineMessage)({id:"change_url.shorter",defaultMessage:"URLs must have maximum 64 characters."}),n)),e.match(/[^A-Za-z0-9-_]/)&&t.push(k((0,a.defineMessage)({id:"change_url.noSpecialChars",defaultMessage:"URLs cannot use special characters."}),n)),_&&t.push(k((0,a.defineMessage)({id:"change_url.invalidDirectMessage",defaultMessage:"User IDs are not allowed in channel URLs."}),n));const i="-"===e.charAt(0)||"_"===e.charAt(0),o=e.length>1&&("-"===e.charAt(e.length-1)||"_"===e.charAt(e.length-1));i&&o?t.push(k((0,a.defineMessage)({id:"change_url.startAndEndWithLetter",defaultMessage:"URLs must start and end with a lowercase letter or number."}),n)):i?t.push(k((0,a.defineMessage)({id:"change_url.startWithLetter",defaultMessage:"URLs must start with a lowercase letter or number."}),n)):o&&t.push(k((0,a.defineMessage)({id:"change_url.endWithLetter",defaultMessage:"URLs must end with a lowercase letter or number."}),n)),0===t.length&&t.push(k((0,a.defineMessage)({id:"change_url.invalidUrl",defaultMessage:"Invalid URL"}),n))}return t}const A=new RegExp("^/[0-9a-z_-]{1,64}/pl/[0-9a-z_-]{26}$");function y(e,n){if(n&&""!==n){let t=n;if("/"===t[t.length-1]&&(t=t.substring(0,t.length-1)),!e.startsWith(t))return!0;const _=e.substring(t.length);return!A.test(_)}return!0}function b(e,n){return e.startsWith(n||"")||e.startsWith("/")}function N(e,n,t){if(!b(e,n))return!0;const _=e.startsWith("/")?e:e.substring((null==n?void 0:n.length)||0),i=["plugins","files","help"];if(t)for(const e of t)i.push(m.yI(e));return i.some((e=>new RegExp("^/"+e+"\\b").test(_)))}function C(e){const n=F(),t=new RegExp("^(".concat(n,")?/[a-z0-9]+([a-z\\-0-9]+|(__)?)[a-z0-9]+/pl/\\w+"),"gu");return b(e,n)&&t.test(e)}function I(){return/^https?:\/\//i.test(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")}function w(e){return new RegExp("(https?://|www.)").test(e)}const B={Empty:"Empty",Length:"Length",Reserved:"Reserved",Taken:"Taken"};function x(e){const n=d(e.trim());return n?n.lengths.default.MAX_TEAMNAME_LENGTH?{url:n,error:B.Length}:s.default.RESERVED_TEAM_NAMES.some((e=>n.startsWith(e)))?{url:n,error:B.Reserved}:{url:n,error:!1}:{url:n,error:B.Empty}}function O(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"https:"===location.protocol,t=e;if(e.startsWith("/")||E(e)||(t="".concat(n?"https":"http","://").concat(t)),h((0,l.D)(e)))return t}},70174:(e,n,t)=>{"use strict";t.d(n,{$i:()=>nn,AU:()=>re,C8:()=>We,CO:()=>ne,DB:()=>W,E5:()=>Ze,FR:()=>L,GD:()=>_n,Gf:()=>ge,H6:()=>ce,HG:()=>ke,Hq:()=>P,I5:()=>Ye,JB:()=>Y,JF:()=>he,L4:()=>ue,LF:()=>J,LH:()=>de,LK:()=>xe,Mb:()=>Se,Mq:()=>me,Ox:()=>Ne,Pp:()=>Fe,Q0:()=>Qe,QJ:()=>He,Qf:()=>V,Qr:()=>Ke,S3:()=>oe,T8:()=>Ce,Us:()=>Re,V4:()=>K,Vl:()=>Ae,Wt:()=>Be,Wx:()=>X,Y_:()=>tn,Z:()=>Je,ZI:()=>j,Zg:()=>qe,_u:()=>Me,_v:()=>ee,aU:()=>Ie,bb:()=>De,bj:()=>pe,c2:()=>z,dB:()=>q,e6:()=>_e,eA:()=>be,fe:()=>Pe,hI:()=>Ee,hw:()=>Ge,ib:()=>Xe,jH:()=>G,lN:()=>an,m:()=>H,n4:()=>ie,oL:()=>ve,ow:()=>je,po:()=>fe,qF:()=>$e,qI:()=>se,rh:()=>le,tL:()=>Te,tk:()=>Z,u3:()=>U,uD:()=>we,uK:()=>Ve,uZ:()=>ye,vQ:()=>Ue,wQ:()=>Le,x:()=>v,ye:()=>on,z8:()=>Oe}),t(40895),t(52077),t(911),t(82759),t(14078),t(72482),t(32081),t(1203),t(43512),t(95289),t(20266),t(95623),t(61514),t(61418),t(90938),t(76056),t(68581),t(83526),t(42915);var _=t(32337),i=t(59702),a=t(30644),o=t.n(a),s=t(61320),u=t.n(s),r=t(84390),m=t.n(r),l=t(73443),d=t(6352),f=t(17086),F=t(80139),g=t(97042),h=t(4500),c=t(43618),E=t(3901),p=t(83905),k=t(11298),D=t(23894),A=t(70360),y=t(33115),b=t(95894),N=t(17534),C=t(1983),I=t(91436),w=t(80847),B=t(8243),x=t(23712),O=t(35887),T=t(21214),S=t(83514);const M=["a","button","img","svg","audio","video"],R=864e5;let L=function(e){return e.MILLISECONDS="m",e.SECONDS="s",e.MINUTES="x",e.HOURS="h",e.DAYS="d",e.FUTURE="f",e.PAST="p",e}({});function v(e){let n="";return n="string"!=typeof e&&e.props&&e.props.defaultMessage?e.props.defaultMessage:e.toString(),n.replace(new RegExp(" ","g"),"_")}function H(e){return Boolean(O.p(e,x.default.KeyCodes.ENTER)&&!e.shiftKey&&e.altKey&&!T.G6()&&!O._(e))}function K(e){const n=e.target,{selectionEnd:t,selectionStart:_,value:i}=n,a="".concat(i.substr(0,_),"\n").concat(i.substr(t,i.length));return n.value=a,re(n,_+1,_+1),a}function G(e){return new Date(e)}function U(){return Date.now()}function P(e){const n=new Date(e),t=Date.UTC(n.getFullYear(),n.getMonth(),n.getDate()),_=new Date,i=Date.UTC(_.getFullYear(),_.getMonth(),_.getDate());return Math.floor((t-i)/R)}function j(e,n,t){const _=(new Date).getTime(),i=Math.round((_-e)/R);return t===L.PAST?i<=n:i>=n}function q(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY/MM/DD HH:mm:ss",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!e)return u().now();const _=t?" "+u()().tz(t).format("z"):"";return u().unix(e).format(n)+_}function W(e){let n=e;return Object.entries({"&":"&","<":"<",">":">"}).forEach((e=>{let[t,_]=e;const i=new RegExp(t,"g");n=n.replace(i,_)})),n}function V(e){return e.toLowerCase()===x.default.IMAGE_TYPE_GIF}const Y=e=>{const n=(e=>e.split(/[?#]/)[0])(e.toLowerCase());return x.default.TEXT_TYPES.indexOf(n)>-1?x.ml.TEXT:x.default.IMAGE_TYPES.indexOf(n)>-1?x.ml.IMAGE:x.default.AUDIO_TYPES.indexOf(n)>-1?x.ml.AUDIO:x.default.VIDEO_TYPES.indexOf(n)>-1?x.ml.VIDEO:x.default.SPREADSHEET_TYPES.indexOf(n)>-1?x.ml.SPREADSHEET:x.default.CODE_TYPES.indexOf(n)>-1?x.ml.CODE:x.default.WORD_TYPES.indexOf(n)>-1?x.ml.WORD:x.default.PRESENTATION_TYPES.indexOf(n)>-1?x.ml.PRESENTATION:x.default.PDF_TYPES.indexOf(n)>-1?x.ml.PDF:x.default.PATCH_TYPES.indexOf(n)>-1?x.ml.PATCH:x.default.SVG_TYPES.indexOf(n)>-1?x.ml.SVG:x.ml.OTHER};function z(e){const n=Y(e.extension);let t;return t=n in x.default.ICON_FROM_TYPE?x.default.ICON_FROM_TYPE[n]:x.default.ICON_FROM_TYPE.other,t}function Z(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const _=e.toLowerCase();let i="generic";return _ in x.default.ICON_NAME_FROM_TYPE&&(i=x.default.ICON_NAME_FROM_TYPE[_]),i="ppt"===i?"powerpoint":i,i="spreadsheet"===i?"excel":i,i="other"===i?"generic":i,"icon-file-".concat(i).concat(n?"-outline":"").concat(t?"-large":"")}function X(e){const n=e.toLowerCase();return n in x.default.ICON_NAME_FROM_TYPE?x.default.ICON_NAME_FROM_TYPE[n]:"generic"}function J(e){return e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))}function $(e){return e.substr(e.indexOf("(")+1).split(",",3).join(",")}function Q(e){return"".concat(parseInt(e.substr(1,2),16),", ").concat(parseInt(e.substr(3,2),16),", ").concat(parseInt(e.substr(5,2),16))}function ee(e){e.centerChannelColor&&(te(".app__body .markdown__table tbody tr:nth-child(2n)","background:"+(0,A.v5)(e.centerChannelColor,.07)),te(".app__body .channel-header__info .header-dropdown__icon","color:"+(0,A.v5)(e.centerChannelColor,.75)),te(".app__body .channel-header .pinned-posts-button svg","fill:"+(0,A.v5)(e.centerChannelColor,.75)),te(".app__body .channel-header .channel-header_plugin-dropdown svg","fill:"+(0,A.v5)(e.centerChannelColor,.75)),te(".app__body .file-preview, .app__body .post-image__details, .app__body .markdown__table th, .app__body .markdown__table td, .app__body .webhooks__container, .app__body .dropdown-menu","border-color:"+(0,A.v5)(e.centerChannelColor,.2)),te(".emoji-picker .emoji-picker__header","border-color:"+(0,A.v5)(e.centerChannelColor,.2)),te(".app__body .popover.bottom>.arrow","border-bottom-color:"+(0,A.v5)(e.centerChannelColor,.25)),te(".app__body .btn.btn-transparent","color:"+(0,A.v5)(e.centerChannelColor,.7)),te(".app__body .popover.right>.arrow","border-right-color:"+(0,A.v5)(e.centerChannelColor,.25)),te(".app__body .popover.left>.arrow","border-left-color:"+(0,A.v5)(e.centerChannelColor,.25)),te(".app__body .popover.top>.arrow","border-top-color:"+(0,A.v5)(e.centerChannelColor,.25)),te(".app__body .popover .popover__row","border-color:"+(0,A.v5)(e.centerChannelColor,.2)),te("body.app__body, .app__body .custom-textarea","color:"+e.centerChannelColor),te(".app__body .input-group-addon","border-color:"+(0,A.v5)(e.centerChannelColor,.1)),te("@media(min-width: 768px){.app__body .post-list__table .post-list__content .dropdown-menu a:hover, .dropdown-menu > li > button:hover","background:"+(0,A.v5)(e.centerChannelColor,.1)),te(".app__body .MenuWrapper .MenuItem > button:hover, .app__body .Menu .MenuItem > button:hover, .app__body .MenuWrapper .MenuItem > button:focus, .app__body .MenuWrapper .SubMenuItem > div:focus, .app__body .MenuWrapper .MenuItem > a:hover, .MenuItem > div:hover, .SubMenuItemContainer:not(.hasDivider):hover, .app__body .dropdown-menu div > a:focus, .app__body .dropdown-menu div > a:hover, .dropdown-menu li > a:focus, .app__body .dropdown-menu li > a:hover","background:"+(0,A.v5)(e.centerChannelColor,.1)),te(".app__body .MenuWrapper .MenuItem > button:hover, .app__body .Menu .MenuItem > button:hover, .app__body .MenuWrapper .MenuItem > button:focus, .app__body .MenuWrapper .SubMenuItem > div:focus, .app__body .MenuWrapper .MenuItem > a:hover, .app__body .MenuWrapper .MenuItem > div:hover, .app__body .MenuWrapper .SubMenuItemContainer:not(.hasDivider):hover, .app__body .MenuWrapper .SubMenuItemContainer:not(.hasDivider):focus, .app__body .MenuWrapper .SubMenuItemContainer:focus, .app__body .dropdown-menu div > a:focus, .app__body .dropdown-menu div > a:hover, .dropdown-menu li > a:focus, .app__body .dropdown-menu li > a:hover","background-color:"+(0,A.v5)(e.centerChannelColor,.1)),te(".app__body .attachment .attachment__content, .app__body .attachment-actions button","border-color:"+(0,A.v5)(e.centerChannelColor,.16)),te(".app__body .attachment-actions button:focus, .app__body .attachment-actions button:hover","border-color:"+(0,A.v5)(e.centerChannelColor,.5)),te(".app__body .attachment-actions button:focus, .app__body .attachment-actions button:hover","background:"+(0,A.v5)(e.centerChannelColor,.03)),te(".app__body .input-group-addon, .app__body .webhooks__container","background:"+(0,A.v5)(e.centerChannelColor,.05)),te(".app__body .date-separator .separator__text","color:"+e.centerChannelColor),te(".app__body .date-separator .separator__hr, .app__body .modal-footer, .app__body .modal .custom-textarea","border-color:"+(0,A.v5)(e.centerChannelColor,.2)),te(".app__body .search-item-container","border-color:"+(0,A.v5)(e.centerChannelColor,.1)),te(".app__body .modal .custom-textarea:focus","border-color:"+(0,A.v5)(e.centerChannelColor,.3)),te(".app__body .channel-intro, .app__body hr, .app__body .modal .settings-modal .settings-table .settings-content .appearance-section .theme-elements__header, .app__body .user-settings .authorized-app:not(:last-child)","border-color:"+(0,A.v5)(e.centerChannelColor,.2)),te(".app__body .post.post--comment.other--root.current--user .post-comment, .app__body pre","background:"+(0,A.v5)(e.centerChannelColor,.05)),te(".app__body .post.post--comment.other--root.current--user .post-comment, .app__body .more-modal__list .more-modal__row, .app__body .member-div:first-child, .app__body .member-div, .app__body .access-history__table .access__report, .app__body .activity-log__table","border-color:"+(0,A.v5)(e.centerChannelColor,.1)),te("@media(max-width: 1800px){.app__body .inner-wrap.move--left .post.post--comment.same--root","border-color:"+(0,A.v5)(e.centerChannelColor,.07)),te(".app__body .post.post--hovered","background:"+(0,A.v5)(e.centerChannelColor,.08)),te(".app__body .attachment__body__wrap.btn-close","background:"+(0,A.v5)(e.centerChannelColor,.08)),te(".app__body .attachment__body__wrap.btn-close","border-color:"+(0,A.v5)(e.centerChannelColor,.2)),te("@media(min-width: 768px){.app__body .post.a11y--active, .app__body .modal .settings-modal .settings-table .settings-content .section-min:hover","background:"+(0,A.v5)(e.centerChannelColor,.04)),te("@media(min-width: 768px){.app__body .post.post--editing","background:"+(0,A.v5)(e.buttonBg,.08)),te("@media(min-width: 768px){.app__body .post.current--user:hover .post__body ","background: transparent;"),te(".app__body .more-modal__row.more-modal__row--selected, .app__body .date-separator.hovered--before:after, .app__body .date-separator.hovered--after:before, .app__body .new-separator.hovered--after:before, .app__body .new-separator.hovered--before:after","background:"+(0,A.v5)(e.centerChannelColor,.07)),te("@media(min-width: 768px){.app__body .dropdown-menu>li>a:focus, .app__body .dropdown-menu>li>a:hover","background:"+(0,A.v5)(e.centerChannelColor,.15)),te(".app__body .form-control[disabled], .app__body .form-control[readonly], .app__body fieldset[disabled] .form-control","background:"+(0,A.v5)(e.centerChannelColor,.1)),te(".app__body .sidebar--right","color:"+e.centerChannelColor),te(".app__body .modal .settings-modal .settings-table .settings-content .appearance-section .theme-elements__body","background:"+(0,A.v5)(e.centerChannelColor,.05)),te("body","scrollbar-arrow-color:"+e.centerChannelColor),te(".app__body .post.post--compact .post-image__column .post-image__details svg, .app__body .modal .about-modal .about-modal__logo svg, .app__body .status svg, .app__body .edit-post__actions .icon svg","fill:"+e.centerChannelColor),te(".app__body .post-list__new-messages-below","background:"+function(e,n){let t=e,_=.5;t=String(t).replace(/[^0-9a-f]/gi,""),t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),_=_||0;let i,a,o="#";for(a=0;a<3;a++)i=parseInt(t.substr(2*a,2),16),i=Math.round(Math.min(Math.max(0,i+i*_),255)).toString(16),o+=("00"+i).substr(i.length);return o}(e.centerChannelColor)),te("@media(min-width: 768px){.app__body .post.post--compact.same--root.post--comment .post__content","border-color:"+(0,A.v5)(e.centerChannelColor,.2)),te(".app__body .post.post--comment.current--user .post__body","border-color:"+(0,A.v5)(e.centerChannelColor,.2)),te(".app__body .emoji-picker","color:"+e.centerChannelColor),te(".app__body .emoji-picker","border-color:"+(0,A.v5)(e.centerChannelColor,.2)),te(".app__body .emoji-picker__search-icon","color:"+(0,A.v5)(e.centerChannelColor,.4)),te(".app__body .emoji-picker__preview, .app__body .emoji-picker__items, .app__body .emoji-picker__search-container","border-color:"+(0,A.v5)(e.centerChannelColor,.2)),te(".emoji-picker__category .fa:hover","color:"+(0,A.v5)(e.centerChannelColor,.8)),te(".app__body .emoji-picker__item-wrapper:hover","background-color:"+(0,A.v5)(e.centerChannelColor,.8)),te(".app__body .icon__postcontent_picker:hover","color:"+(0,A.v5)(e.centerChannelColor,.8)),te(".app__body .emoji-picker .nav-tabs li a","fill:"+e.centerChannelColor),te(".app__body .post .post-collapse__show-more-button","border-color:".concat((0,A.v5)(e.centerChannelColor,.1))),te(".app__body .post .post-collapse__show-more-line","background-color:".concat((0,A.v5)(e.centerChannelColor,.1)))),e.newMessageSeparator&&(te(".app__body .new-separator .separator__text","color:"+e.newMessageSeparator),te(".app__body .new-separator .separator__hr","border-color:"+(0,A.v5)(e.newMessageSeparator,.5))),e.linkColor&&(te(".app__body .more-modal__list .a11y--focused, .app__body .post.a11y--focused, .app__body .channel-header.a11y--focused, .app__body .post-create.a11y--focused, .app__body .user-popover.a11y--focused, .app__body .post-message__text.a11y--focused","box-shadow: inset 0 0 1px 3px "+(0,A.v5)(e.linkColor,.5)+", inset 0 0 0 1px "+e.linkColor),te(".app__body .a11y--focused","box-shadow: 0 0 1px 3px "+(0,A.v5)(e.linkColor,.5)+", 0 0 0 1px "+e.linkColor),te(".app__body .channel-header .channel-header__favorites.inactive:hover, .app__body a, .app__body a:focus, .app__body a:hover, .app__body .color--link, .app__body a:focus, .app__body .color--link:hover","color:"+e.linkColor),te(".app__body .attachment .attachment__container","border-left-color:"+(0,A.v5)(e.linkColor,.5)),te(".app__body .channel-header .channel-header_plugin-dropdown a:hover","background:"+(0,A.v5)(e.linkColor,.08)),te(".app__body .post .post__reply","fill:"+e.linkColor),te(".app__body .post .card-icon__container.active svg, .app__body .post .post__reply","fill:"+e.linkColor),te(".app__body .channel-header .pinned-posts-button:hover svg","fill:"+(0,A.v5)(e.linkColor,.6)),te(".app__body .channel-header .channel-header_plugin-dropdown a:hover","border-color:"+e.linkColor),te(".app__body .channel-header .channel-header_plugin-dropdown a:hover svg","fill:"+e.linkColor),te(".app__body .channel-header .dropdown-toggle:hover .heading, .app__body .channel-header .dropdown-toggle:hover .header-dropdown__icon, .app__body .channel-header__title .open .heading, .app__body .channel-header__info .channel-header__title .open .header-dropdown__icon, .app__body .channel-header__title .open .heading, .app__body .channel-header__info .channel-header__title .open .heading","color:"+e.linkColor),te(".emoji-picker__container .icon--emoji.active svg","fill:"+e.linkColor),te(".app__body .channel-header .channel-header_plugin-dropdown a:hover .fa","color:"+e.linkColor),te(".app__body .post .post-collapse__show-more","color:".concat(e.linkColor)),te(".app__body .post .post-attachment-collapse__show-more","color:".concat(e.linkColor)),te(".app__body .post .post-collapse__show-more-button:hover","background-color:".concat(e.linkColor))),e.buttonBg&&(te(".app__body .modal .settings-modal .profile-img__remove:hover, .app__body .DayPicker:not(.DayPicker--interactionDisabled) .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover:before, .app__body .modal .settings-modal .team-img__remove:hover, .app__body .btn.btn-transparent:hover, .app__body .btn.btn-transparent:active, .app__body .post-image__details .post-image__download svg:hover, .app__body .file-view--single .file__download:hover, .app__body .new-messages__button div, .app__body .tutorial__circles .circle.active","background:"+e.buttonBg),te(".app__body .system-notice__logo svg","fill:"+e.buttonBg),te(".app__body .post-image__details .post-image__download svg:hover","border-color:"+e.buttonBg),te(".app__body .emoji-picker .nav-tabs li.active a, .app__body .emoji-picker .nav-tabs li a:hover","fill:"+e.buttonBg),te(".app__body .emoji-picker .nav-tabs > li.active > a","border-bottom-color:"+e.buttonBg+"!important;"),te(".app__body .btn-primary:hover","background:"+(0,A.B5)(e.buttonBg,"#000000",.1)),te(".app__body .btn-primary:active","background:"+(0,A.B5)(e.buttonBg,"#000000",.2))),e.buttonColor&&(te(".app__body .DayPicker:not(.DayPicker--interactionDisabled) .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover, .app__body .modal .settings-modal .team-img__remove:hover, .app__body .btn.btn-transparent:hover, .app__body .btn.btn-transparent:active, .app__body .new-messages__button div","color:"+e.buttonColor),te(".app__body .new-messages__button svg","fill:"+e.buttonColor),te(".app__body .post-image__details .post-image__download svg:hover, .app__body .file-view--single .file__download svg","stroke:"+e.buttonColor)),e.errorTextColor&&(te(".app__body .error-text, .app__body .modal .settings-modal .settings-table .settings-content .has-error, .app__body .modal .input__help.error, .app__body .color--error, .app__body .has-error .help-block, .app__body .has-error .control-label, .app__body .has-error .radio, .app__body .has-error .checkbox, .app__body .has-error .radio-inline, .app__body .has-error .checkbox-inline, .app__body .has-error.radio label, .app__body .has-error.checkbox label, .app__body .has-error.radio-inline label, .app__body .has-error.checkbox-inline label","color:"+e.errorTextColor),te(".app__body .btn-danger:hover","background:"+(0,A.B5)(e.errorTextColor,"#000000",.1)),te(".app__body .btn-danger:active","background:"+(0,A.B5)(e.errorTextColor,"#000000",.2))),e.mentionHighlightBg&&(te(".app__body .search-highlight","background:"+e.mentionHighlightBg),te(".app__body .post.post--highlight","background:"+(0,A.v5)(e.mentionHighlightBg,.5))),e.mentionHighlightLink&&(te(".app__body .search-highlight","color:"+e.mentionHighlightLink),te(".app__body .search-highlight > a","color: inherit")),e.codeTheme||(e.codeTheme=x.default.DEFAULT_CODE_THEME),function(e){let n="";x.default.THEME_ELEMENTS.forEach((t=>{var _;"codeTheme"===t.id&&(null===(_=t.themes)||void 0===_||_.forEach((t=>{e===t.id&&(n=t.cssURL)})))}));const t=document.querySelector("link.code_theme");if(t&&n!==t.attributes.href){te("code.hljs","visibility: hidden");const e=new XMLHttpRequest;e.open("GET",n,!0),e.onload=function(){t.href=n,T.vU()?t.addEventListener("load",(()=>{te("code.hljs","visibility: visible")}),{once:!0}):te("code.hljs","visibility: visible")},e.send()}}(e.codeTheme),(0,i.Z)({variables:{"away-indicator-rgb":Q(e.awayIndicator),"button-bg-rgb":Q(e.buttonBg),"button-color-rgb":Q(e.buttonColor),"center-channel-bg-rgb":Q(e.centerChannelBg),"center-channel-color-rgb":Q(e.centerChannelColor),"dnd-indicator-rgb":Q(e.dndIndicator),"error-text-color-rgb":Q(e.errorTextColor),"link-color-rgb":Q(e.linkColor),"mention-bg-rgb":Q(e.mentionBg),"mention-color-rgb":Q(e.mentionColor),"mention-highlight-bg-rgb":Q(e.mentionHighlightBg),"mention-highlight-link-rgb":Q(e.mentionHighlightLink),"mention-highlight-bg-mixed-rgb":$((0,A.B5)(e.centerChannelBg,e.mentionHighlightBg,.5)),"pinned-highlight-bg-mixed-rgb":$((0,A.B5)(e.centerChannelBg,e.mentionHighlightBg,.24)),"own-highlight-bg-rgb":$((0,A.B5)(e.mentionHighlightBg,e.centerChannelColor,.05)),"new-message-separator-rgb":Q(e.newMessageSeparator),"online-indicator-rgb":Q(e.onlineIndicator),"sidebar-bg-rgb":Q(e.sidebarBg),"sidebar-header-bg-rgb":Q(e.sidebarHeaderBg),"sidebar-teambar-bg-rgb":Q(e.sidebarTeamBarBg),"sidebar-header-text-color-rgb":Q(e.sidebarHeaderTextColor),"sidebar-text-rgb":Q(e.sidebarText),"sidebar-text-active-border-rgb":Q(e.sidebarTextActiveBorder),"sidebar-text-active-color-rgb":Q(e.sidebarTextActiveColor),"sidebar-text-hover-bg-rgb":Q(e.sidebarTextHoverBg),"sidebar-unread-text-rgb":Q(e.sidebarUnreadText),"sidebar-bg":e.sidebarBg,"sidebar-text":e.sidebarText,"sidebar-unread-text":e.sidebarUnreadText,"sidebar-text-hover-bg":e.sidebarTextHoverBg,"sidebar-text-active-border":e.sidebarTextActiveBorder,"sidebar-text-active-color":e.sidebarTextActiveColor,"sidebar-header-bg":e.sidebarHeaderBg,"sidebar-teambar-bg":e.sidebarTeamBarBg,"sidebar-header-text-color":e.sidebarHeaderTextColor,"online-indicator":e.onlineIndicator,"away-indicator":e.awayIndicator,"dnd-indicator":e.dndIndicator,"mention-bg":e.mentionBg,"mention-color":e.mentionColor,"center-channel-bg":e.centerChannelBg,"center-channel-color":e.centerChannelColor,"new-message-separator":e.newMessageSeparator,"link-color":e.linkColor,"button-bg":e.buttonBg,"button-color":e.buttonColor,"error-text":e.errorTextColor,"mention-highlight-bg":e.mentionHighlightBg,"mention-highlight-link":e.mentionHighlightLink,"sidebar-text-08":(0,A.v5)(e.sidebarText,.08),"sidebar-text-16":(0,A.v5)(e.sidebarText,.16),"sidebar-text-30":(0,A.v5)(e.sidebarText,.3),"sidebar-text-40":(0,A.v5)(e.sidebarText,.4),"sidebar-text-50":(0,A.v5)(e.sidebarText,.5),"sidebar-text-60":(0,A.v5)(e.sidebarText,.6),"sidebar-text-72":(0,A.v5)(e.sidebarText,.72),"sidebar-text-80":(0,A.v5)(e.sidebarText,.8),"sidebar-header-text-color-80":(0,A.v5)(e.sidebarHeaderTextColor,.8),"center-channel-bg-88":(0,A.v5)(e.centerChannelBg,.88),"center-channel-color-88":(0,A.v5)(e.centerChannelColor,.88),"center-channel-bg-80":(0,A.v5)(e.centerChannelBg,.8),"center-channel-color-80":(0,A.v5)(e.centerChannelColor,.8),"center-channel-color-72":(0,A.v5)(e.centerChannelColor,.72),"center-channel-bg-64":(0,A.v5)(e.centerChannelBg,.64),"center-channel-color-64":(0,A.v5)(e.centerChannelColor,.64),"center-channel-bg-56":(0,A.v5)(e.centerChannelBg,.56),"center-channel-color-56":(0,A.v5)(e.centerChannelColor,.56),"center-channel-color-48":(0,A.v5)(e.centerChannelColor,.48),"center-channel-bg-40":(0,A.v5)(e.centerChannelBg,.4),"center-channel-color-40":(0,A.v5)(e.centerChannelColor,.4),"center-channel-bg-30":(0,A.v5)(e.centerChannelBg,.3),"center-channel-color-32":(0,A.v5)(e.centerChannelColor,.32),"center-channel-bg-20":(0,A.v5)(e.centerChannelBg,.2),"center-channel-color-20":(0,A.v5)(e.centerChannelColor,.2),"center-channel-bg-16":(0,A.v5)(e.centerChannelBg,.16),"center-channel-color-24":(0,A.v5)(e.centerChannelColor,.24),"center-channel-color-16":(0,A.v5)(e.centerChannelColor,.16),"center-channel-bg-08":(0,A.v5)(e.centerChannelBg,.08),"center-channel-color-08":(0,A.v5)(e.centerChannelColor,.08),"center-channel-color-04":(0,A.v5)(e.centerChannelColor,.04),"link-color-08":(0,A.v5)(e.linkColor,.08),"button-bg-88":(0,A.v5)(e.buttonBg,.88),"button-color-88":(0,A.v5)(e.buttonColor,.88),"button-bg-80":(0,A.v5)(e.buttonBg,.8),"button-color-80":(0,A.v5)(e.buttonColor,.8),"button-bg-72":(0,A.v5)(e.buttonBg,.72),"button-color-72":(0,A.v5)(e.buttonColor,.72),"button-bg-64":(0,A.v5)(e.buttonBg,.64),"button-color-64":(0,A.v5)(e.buttonColor,.64),"button-bg-56":(0,A.v5)(e.buttonBg,.56),"button-color-56":(0,A.v5)(e.buttonColor,.56),"button-bg-48":(0,A.v5)(e.buttonBg,.48),"button-color-48":(0,A.v5)(e.buttonColor,.48),"button-bg-40":(0,A.v5)(e.buttonBg,.4),"button-color-40":(0,A.v5)(e.buttonColor,.4),"button-bg-30":(0,A.v5)(e.buttonBg,.32),"button-color-32":(0,A.v5)(e.buttonColor,.32),"button-bg-24":(0,A.v5)(e.buttonBg,.24),"button-color-24":(0,A.v5)(e.buttonColor,.24),"button-bg-16":(0,A.v5)(e.buttonBg,.16),"button-color-16":(0,A.v5)(e.buttonColor,.16),"button-bg-08":(0,A.v5)(e.buttonBg,.08),"button-color-08":(0,A.v5)(e.buttonColor,.08),"button-bg-04":(0,A.v5)(e.buttonBg,.04),"button-color-04":(0,A.v5)(e.buttonColor,.04),"error-text-08":(0,A.v5)(e.errorTextColor,.08),"error-text-12":(0,A.v5)(e.errorTextColor,.12)}})}function ne(){ee(g.Preferences.THEMES.denim)}function te(e,n){let t=document.querySelector('style[data-class="'+e+'"]');t||(t=document.createElement("style"),t.setAttribute("data-class",e),document.head.appendChild(t));const _=t.sheet,i=_.cssRules||_.rules,a=n.substr(0,n.indexOf(":")),o=n.substr(n.indexOf(":")+1).replace(/!important[;]/g,""),s=n.match(/!important/)?"important":null;for(let n=0;n=0&&(u="}");try{_.insertRule(e+"{"+n+"}"+u,_.cssRules.length)}catch(e){console.error(e)}}function _e(e){e.focus(),e.selectionStart=e.value.length,e.selectionEnd=e.value.length}function ie(e){e.scrollTop=e.scrollHeight}function ae(e){return getComputedStyle(e)}function oe(e){const n=e||window;if(null!=n.innerWidth)return{w:n.innerWidth,h:n.innerHeight};const{clientWidth:t,clientHeight:_}=n.document.body;return{w:t,h:_}}function se(e){var n;let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,_=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!(e&&e instanceof HTMLElement))return{pixelsToMoveX:0,pixelsToMoveY:0};const{x:i,y:a}=function(e){if(!e)return{x:0,y:0};const n=e.selectionStart,t=e.selectionEnd,_=function(e){if(!e)return null;const n=document.createElement("div");n.textContent=e.value;const t=ae(e);return["fontFamily","fontSize","fontWeight","wordWrap","whiteSpace","borderLeftWidth","borderTopWidth","borderRightWidth","borderBottomWidth","paddingRight","paddingLeft","paddingTop"].forEach((e=>{n.style[e]=t[e]})),n.style.overflow="auto",n.style.width=e.offsetWidth+"px",n.style.height=e.offsetHeight+"px",n.style.position="absolute",n.style.left=e.offsetLeft+"px",n.style.top=e.offsetTop+"px",_=n,document.body.appendChild(_),n;var _}(e),i=document.createRange();i.setStart(_.firstChild,n),i.setEnd(_.firstChild,t);const a=document.getSelection();a.removeAllRanges(),a.addRange(i);const o=i.getClientRects();return document.body.removeChild(_),e.selectionStart=n,e.selectionEnd=t,e.focus(),{x:Math.floor(o[0].left-e.scrollLeft),y:Math.floor(o[0].top-e.scrollTop)}}(e),{w:o,h:s}=oe(),{offsetWidth:u}=e,r=Math.min(u,x.default.SUGGESTION_LIST_MAXWIDTH),{top:m,left:l}=function(e){if(!(e instanceof HTMLElement))return{top:0,left:0};const n=e.getBoundingClientRect(),t=window.pageXOffset||document.documentElement.scrollLeft,_=window.pageYOffset||document.documentElement.scrollTop;return{top:n.top+_,left:n.left+t}}(e);let d=i-t;return _?d=0:i+l+r>o&&(d=u-r),{pixelsToMoveX:Math.max(0,Math.round(d)),pixelsToMoveY:Math.round(a),lineHeight:Number(null===(n=getComputedStyle(e))||void 0===n?void 0:n.lineHeight.replace("px","")),placementShift:m+a+x.default.SUGGESTION_LIST_MAXHEIGHT>s-x.default.POST_AREA_HEIGHT}}function ue(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"@";if("@"===e){const e=function(e,n){if(isNaN(n))return 0;const t=ae(e);return n*parseFloat(t.fontSize)}(document.documentElement,x.default.MENTION_NAME_PADDING_LEFT);return 5+.5*x.default.AVATAR_WIDTH+e}return"~"===e?39:":"===e?32:0}function re(e,n,t){e.focus(),e.setSelectionRange(n,t)}function me(e,n){e&&re(e,n,n)}function le(e){let n;if(e)if(e.lengthx.default.MAX_USERNAME_LENGTH)n={id:x.qf.INVALID_LENGTH};else if(/^[a-z0-9.\-_]+$/.test(e))if(/[a-z]/.test(e.charAt(0))){for(const t of x.default.RESERVED_USERNAMES)if(e===t){n={id:x.qf.RESERVED_NAME};break}}else n={id:x.qf.INVALID_FIRST_CHARACTER};else n={id:x.qf.INVALID_CHARACTERS};else n={id:x.qf.USERNAME_REQUIRED};return n}function de(e){let n=le(e);return n||(e.endsWith(".")&&(n={id:x.qf.INVALID_LAST_CHARACTER}),n)}function fe(e,n,t){const _=new XMLHttpRequest;_.open("GET",e,!0),_.responseType="arraybuffer",_.onload=n,_.onprogress=e=>{if(t){let n=0;n=e.lengthComputable?e.total:parseInt(e.target.getResponseHeader("X-Uncompressed-Content-Length"),10);const _=Math.round(e.loaded/n*100);t(_)}},_.send()}function Fe(e){return e.first_name&&e.last_name?e.first_name+" "+e.last_name:e.first_name?e.first_name:e.last_name?e.last_name:""}function ge(e){if(e.nickname&&e.nickname.trim().length>0)return e.nickname;return Fe(e)||e.username}function he(e){let n="@"+e.username;const t=Fe(e);return t&&(n=n+" - "+t),e.nickname&&e.nickname.trim().length>0&&(n=n+" ("+e.nickname+")"),e.position&&e.position.trim().length>0&&(n=n+" -"+e.position),n}function ce(e){return{displayName:"@"+e.username,fullName:Fe(e),nickname:e.nickname&&e.nickname.trim()?e.nickname:null,position:e.position&&e.position.trim()?e.position:null}}function Ee(e,n){const t=(0,p.kl)(e);return n?(0,y.fw)(n,t):""}function pe(e){if(!e)return"";let n="";const t=Fe(e);return t&&(n=" - "+t),e.nickname&&(n=n+" ("+e.nickname+")"),e.position&&(n=n+" - "+e.position),n=m().createElement("span",{id:"displayedUserName"+e.username},"@"+e.username,m().createElement("span",{className:"light"},n)),n}function ke(e){if(!e)return"";let n;const t=Fe(e);return t&&e.nickname?n=m().createElement("span",{className:"light"},t+" ("+e.nickname+")"):t?n=m().createElement("span",{className:"light"},t):e.nickname&&(n=m().createElement("span",{className:"light"},"("+e.nickname+")")),n}function De(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return F.je.getUsersRoute()+"/"+e+"/image?_="+n}function Ae(e){return F.je.getUsersRoute()+"/"+e+"/image/default"}function ye(e){return e.last_team_icon_update?F.je.getTeamIconUrl(e.id,e.last_team_icon_update):null}function be(e){return e>1024**4?e<1024**4*10?Math.round(e/1024**4*10)/10+"TB":Math.round(e/1024**4)+"TB":e>1024**3?e<1024**3*10?Math.round(e/1024**3*10)/10+"GB":Math.round(e/1024**3)+"GB":e>1048576?e<10485760?Math.round(e/1048576*10)/10+"MB":Math.round(e/1048576)+"MB":e>1024?Math.round(e/1024)+"KB":e+"B"}function Ne(){let e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";return e=e.replace(/[xy]/g,(e=>{const n=Math.floor(16*Math.random());let t;return t="x"===e?n:3&n|8,t.toString(16)})),e}function Ce(e,n){let t;return t=n>e?e+"__"+n:n+"__"+e,t}function Ie(e){return we(e.name)}function we(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,D.rc)(I.default.getState());const t=e.split("__");let _="";return _=t[0]===n?t[1]:t[0],_}function Be(e,n){const t={};for(let _=0;_n.types.includes(e))));var n}function Se(e){try{e.value="",e.value&&(e.type="text",e.type="file")}catch(e){}}function Me(e){let{id:n,defaultMessage:t}=e;const _=I.default.getState(),i=(0,C.B)(_),a=(0,C.F)(_,i);return a&&n in a?a[n]:t||n}function Re(e,n){const t=Me(e);return n?t.replace(/{[\w]+}/g,(e=>{const t=e.substr(1,e.length-2);return n[t]||e})):t}function Le(e,n){return(e%n+n)%n}const ve=/^(\+|-):([^:\s]+):\s*$/;async function He(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const t=e.target.getAttributeNode("data-hashtag"),_=e.target.getAttributeNode("data-link"),i=e.target.getAttributeNode("data-channel-mention");if(t)e.preventDefault(),I.default.dispatch((0,b._8)(t.value));else if(_){const n=1;if(!(e.button===n||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)){e.preventDefault();const n=I.default.getState(),t=(0,D.ts)(n),i=function(e){let n=/\/([a-z0-9\-_]+)\/channels\/([a-z0-9\-__][a-z0-9\-__.]+)/.exec(e);return n?{type:"channel",teamName:n[1],channelName:n[2]}:(n=/\/([a-z0-9\-__]+)\/pl\/([a-z0-9]+)/.exec(e),n?{type:"permalink",teamName:n[1],postId:n[2]}:n)}(_.value),o=(0,p.ym)(n);let s=!1;if((0,y.$O)(t.roles)&&i){const{teamName:e}=i;let _=(0,k.Xv)(n,e);if(!_){const{data:n}=await I.default.dispatch((0,f.Xv)(e));_=n}if(_&&0===_.delete_at){let a;if("channel"===i.type){const{channelName:t}=i;if(a=(0,c.iC)(n,_.id)[t],!a){const{data:n}=await I.default.dispatch((0,l.Ft)(e,t,!0));a=n}}else{const{postId:e}=i;let t=(0,E.xl)(n,e);if(!t){const{data:e}=await I.default.dispatch((0,d.xl)(i.postId));t=e}if(t&&(s=Boolean(t.root_id),a=(0,c.mr)(n,t.channel_id),!a)){const{data:e}=await I.default.dispatch((0,l.mr)(t.channel_id));a=e}}if(a&&a.type===x.default.PRIVATE_CHANNEL){let e=(0,c.h4)(n)[a.id];if(!e){const t=await I.default.dispatch((0,l.hg)(a.id,(0,D.rc)(n)));"data"in t&&(e=t.data)}if(!e){const{data:e}=await I.default.dispatch((0,S.Jf)(_,a.display_name,!1));if(!e.join)return;{let e=!1;(0,k.gb)(n)[_.id]||(e=(await I.default.dispatch((0,N.aJ)(_.id,t.id))).error),e||await I.default.dispatch((0,l.JJ)(t.id,_.id,a.id,a.name))}}}}}var a;e.stopPropagation(),i&&"permalink"===i.type&&(0,k.UA)(n,i.teamName)&&s&&o?I.default.dispatch((0,w.A)(null!==(a=i.postId)&&void 0!==a?a:"",_.value,t.id,{skipRedirectReplyPermalink:!0})):(0,B.s)().push(_.value)}}else i&&(e.preventDefault(),(0,B.s)().push(n+"/channels/"+i.value))}function Ke(e){return!e||0===Object.keys(e).length}function Ge(e){const n=[];for(let t=0;t0&&void 0!==arguments[0]?arguments[0]:"";return n=>{const t=n.currentTarget;let _=n.target;if("Range"===window.getSelection().type)return!1;if(_===t)return!0;if(!t.contains(_))return!1;for(;_&&_&&_!==t;){if(M.includes(_.tagName.toLowerCase())||"button"===_.getAttribute("role")||e&&_.matches(e))return!1;_=_.parentNode}return!0}}function Ye(e,n){const t=e.toFixed(Math.max(n,0));if(!t.includes("."))return t;let _=-1,i=t.length-1;for(;"0"===t[i];)_=i,i-=1;return"."===t[i]&&(_-=1),-1===_?t:t.slice(0,_)}const ze={fa:x.default.FIRST_ADMIN_ROLE,sa:g.LQ.SYSTEM_ADMIN_ROLE,su:g.LQ.SYSTEM_USER_ROLE};function Ze(e){let n="su";return(0,D.sz)(e)?n="fa":(0,y.$O)((0,D.ts)(e).roles)&&(n="sa"),n}const Xe=(0,h.P1)("getRoleForTrackFlow",Ze,(e=>({started_by_role:ze[e]})));function Je(){var e;const n=null!==(t=new URLSearchParams(window.location.search).get("sbr"))&&void 0!==t?t:"";var t;return{started_by_role:null!==(e=ze[n])&&void 0!==e?e:""}}function $e(e,n){if(e&&"en"!==e&&!n[e])try{n[e]=t(25836)("./".concat(e,"/index.js"))}catch(e){console.log(e)}return n}function Qe(){var e;return{source:null!==(e=new URLSearchParams(window.location.search).get("md"))&&void 0!==e?e:""}}const en={wd:"webapp-desktop",wm:"webapp-mobile",d:"desktop-app"};function nn(){return{source:T.tq()?en.wm:T.P()?en.d:en.wd}}function tn(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];document.dispatchEvent(new CustomEvent(x.sp.FOCUS,{detail:{target:e,keyboardOnly:n}}))}function _n(){return _.randomBytes(16).toString("hex")}function an(e,n){let t="",_="";return t="username"in e?e.username:e.name,_="username"in n?n.username:n.name,t.localeCompare(_)}function on(){return document.cookie.includes("MMUSERID=")}},6098:(e,n,t)=>{"use strict";t.d(n,{$E:()=>k,In:()=>w,kt:()=>B,li:()=>x,mJ:()=>D,zA:()=>I}),t(14078),t(92189);var _=t(60042),i=t.n(_),a=t(84390),o=t.n(a),s=t(11313),u=t(72060),r=t(45448),m=t(85939),l=t.n(m),d=t(24399),f=t(69372),F=t.n(f),g=t(19783),h=t.n(g);function c(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);n&&(_=_.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,_)}return t}function E(e){for(var n=1;n{this.setState({show:!1})})),p(this,"handleCancel",(e=>{e.preventDefault(),this.props.autoCloseOnCancelButton&&this.onHide(),this.props.handleCancel&&this.props.handleCancel()})),p(this,"handleConfirm",(e=>{e.preventDefault(),this.props.autoCloseOnConfirmButton&&this.onHide(),this.props.handleConfirm&&this.props.handleConfirm()})),p(this,"onEnterKeyDown",(e=>{var n,t;if("Enter"===e.key){if(e.nativeEvent.isComposing)return;this.props.autoCloseOnConfirmButton&&this.onHide(),this.props.handleEnterKeyPress&&this.props.handleEnterKeyPress()}null===(n=(t=this.props).handleKeydown)||void 0===n||n.call(t,e)})),this.state={show:e.show,isFocalTrapActive:!1}}render(){let e,n;if(this.props.handleConfirm){const n=this.props.isDeleteModal?"delete":"confirm";let t=o().createElement(u.FormattedMessage,{id:"generic_modal.confirm",defaultMessage:"Confirm"});this.props.confirmButtonText&&(t=this.props.confirmButtonText),e=o().createElement("button",{autoFocus:this.props.autoFocusConfirmButton,type:"submit",className:i()("GenericModal__button btn btn-primary",n,this.props.confirmButtonClassName,{disabled:this.props.isConfirmDisabled}),onClick:this.handleConfirm,disabled:this.props.isConfirmDisabled},t)}if(this.props.handleCancel){let e=o().createElement(u.FormattedMessage,{id:"generic_modal.cancel",defaultMessage:"Cancel"});this.props.cancelButtonText&&(e=this.props.cancelButtonText),n=o().createElement("button",{type:"button",className:i()("GenericModal__button btn btn-tertiary",this.props.cancelButtonClassName),onClick:this.handleCancel},e)}const t=this.props.modalHeaderText&&o().createElement("div",{className:"GenericModal__header"},o().createElement("h1",{id:"genericModalLabel",className:"modal-title"},this.props.modalHeaderText),this.props.headerButton);return o().createElement(s.Modal,{id:this.props.id,role:"dialog","aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabel?void 0:"genericModalLabel",dialogClassName:i()("a11y__modal GenericModal",{GenericModal__compassDesign:this.props.compassDesign,"modal--overflow":this.props.bodyOverflowVisible},this.props.className),show:this.state.show,restoreFocus:!0,enforceFocus:this.props.enforceFocus,onHide:this.onHide,onExited:this.props.onExited,backdrop:this.props.backdrop,backdropClassName:this.props.backdropClassName,container:this.props.container,keyboard:this.props.keyboardEscape},o().createElement("div",{onKeyDown:this.onEnterKeyDown,tabIndex:this.props.tabIndex||0,className:"GenericModal__wrapper-enter-key-press-catcher"},o().createElement(s.Modal.Header,{closeButton:!0},this.props.compassDesign&&o().createElement(o().Fragment,null,t,this.props.headerInput)),o().createElement(s.Modal.Body,{className:i()({divider:this.props.bodyDivider,"overflow-visible":this.props.bodyOverflowVisible})},this.props.compassDesign?this.props.errorText&&o().createElement("div",{className:"genericModalError"},o().createElement("i",{className:"icon icon-alert-outline"}),o().createElement("span",null,this.props.errorText)):t,o().createElement("div",{className:i()("GenericModal__body",{padding:this.props.bodyPadding})},this.props.children)),(n||e||this.props.footerContent)&&o().createElement(s.Modal.Footer,{className:i()({divider:this.props.footerDivider})},n||e?o().createElement(o().Fragment,null,n,e):this.props.footerContent),Boolean(this.props.appendedContent)&&this.props.appendedContent))}}p(k,"defaultProps",{show:!0,id:"genericModal",autoCloseOnCancelButton:!0,autoCloseOnConfirmButton:!0,enforceFocus:!0,keyboardEscape:!0,bodyPadding:!0});const D=e=>{let{page:n,total:t,itemsPerPage:_,onNextPage:a,onPreviousPage:s}=e;const{formatMessage:m}=(0,u.useIntl)(),l=n*_,d=Math.min(l+_,t),f=n<=0,F=n>=Math.trunc((t-1)/_);return o().createElement("div",{className:"footer-pagination"},o().createElement("div",{className:"footer-pagination__legend"},Boolean(t)&&m({id:"footer_pagination.count",defaultMessage:"Showing {startCount, number}-{endCount, number} of {total, number}"},{startCount:l+1,endCount:d,total:t})),o().createElement("div",{className:"footer-pagination__button-container"},o().createElement("button",{type:"button",className:i()("footer-pagination__button-container__button",{disabled:f}),onClick:s,disabled:f},o().createElement(r.ChevronLeftIcon,{size:16}),o().createElement("span",null,m({id:"footer_pagination.prev",defaultMessage:"Previous"}))),o().createElement("button",{type:"button",className:i()("footer-pagination__button-container__button",{disabled:F}),onClick:a,disabled:F},o().createElement("span",null,m({id:"footer_pagination.next",defaultMessage:"Next"})),o().createElement(r.ChevronRightIcon,{size:16}))))},A=(0,m.keyframes)(["0%{background-color:rgba(var(--center-channel-color-rgb),0.08);}50%{background-color:rgba(var(--center-channel-color-rgb),0.16);}100%{background-color:rgba(var(--center-channel-color-rgb),0.08);}"]),y=l().div.withConfig({displayName:"BaseLoader"})(["animation-duration:1500ms;animation-iteration-count:infinite;animation-name:",";animation-timing-function:ease-in-out;background-color:rgba(var(--center-channel-color-rgb),0.08);"],A);function b(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e?"string"==typeof e?e:"".concat(e,"px"):n}l()(y).withConfig({displayName:"CircleSkeletonLoader"})(["display:block;border-radius:50%;height:",";width:",";"],(e=>b(e.size)),(e=>b(e.size))),l()(y).withConfig({displayName:"RectangleSkeletonLoader"})(["height:",";width:",";border-radius:","px;margin:",";flex:",";"],(e=>b(e.height)),(e=>b(e.width,"100%")),(e=>{var n;return null!==(n=null==e?void 0:e.borderRadius)&&void 0!==n?n:8}),(e=>{var n;return null!==(n=null==e?void 0:e.margin)&&void 0!==n?n:null}),(e=>{var n;return null!==(n=null==e?void 0:e.flex)&&void 0!==n?n:null}));const N=e=>{let{children:n,show:t,element:_}=e;return t?F().createPortal(n,_):null},C=e=>{let{show:n,overlayPunchOut:t,interactivePunchOut:_,onDismiss:i,onPunchOut:a,appendTo:s,transparent:u}=e;const r=[];if(t){const{x:e,y:n,width:_,height:i}=t;r.push("0% 0%"),r.push("0% 100%"),r.push("100% 100%"),r.push("100% 0%"),r.push("".concat(e," 0%")),r.push("".concat(e," ").concat(n)),r.push("calc(".concat(e," + ").concat(_,") ").concat(n)),r.push("calc(".concat(e," + ").concat(_,") calc(").concat(n," + ").concat(i,")")),r.push("".concat(e," calc(").concat(n," + ").concat(i,")")),r.push("".concat(e," ").concat(n)),r.push("".concat(e," 0%")),r.push("0% 0%")}const m=o().createElement("div",{onClick:i,className:"tour-tip__backdrop ".concat(u?"tour-tip__backdrop--transparent":""),style:{clipPath:r.length?"polygon(".concat(r.join(", "),")"):void 0}}),l=_?m:o().createElement(o().Fragment,null,o().createElement("div",{className:"tour-tip__overlay",onClick:a||i}),m);return o().createElement(N,{show:n,element:s},l)};class I extends o().PureComponent{render(){var e;let n={};var t,_;null!==(e=this.props)&&void 0!==e&&e.coords&&(n={transform:"translate(".concat(null===(t=this.props.coords)||void 0===t?void 0:t.x,"px, ").concat(null===(_=this.props.coords)||void 0===_?void 0:_.y,"px)")});let i="pulsating_dot";return this.props.onClick&&(i+=" pulsating_dot-clickable"),this.props.className&&(i=i+" "+this.props.className),o().createElement("span",{className:i,onClick:this.props.onClick,ref:this.props.targetRef,style:E({},n),"data-testid":"pulsating_dot"})}}const w=e=>{let{title:n,screen:t,imageURL:_,overlayPunchOut:s,singleTip:r,step:m,show:l,interactivePunchOut:f,tourSteps:F,handleOpen:g,handleDismiss:h,handleNext:c,handlePrevious:E,handleSkip:p,handleJump:k,handlePunchOut:D,pulsatingDotTranslate:A,pulsatingDotPlacement:y,nextBtn:b,prevBtn:N,className:w,offset:B=[-18,4],placement:x="right-start",showOptOut:O=!0,width:T=352,zIndex:S=999,hideBackdrop:M=!1,tippyBlueStyle:R=!1}=e;const L=(0,a.useRef)(null),v=document.getElementById("root-portal"),H=[];if(!r&&F)for(let e=0;e{null==k||k(n,e)}})))}const K=o().createElement(o().Fragment,null,o().createElement("div",{className:"tour-tip__header","data-testid":"current_tutorial_tip"},o().createElement("h4",{className:"tour-tip__header__title"},n),o().createElement("button",{className:"btn btn-sm btn-icon",onClick:h,"data-testid":"close_tutorial_tip"},o().createElement("i",{className:"icon icon-close"}))),o().createElement("div",{className:"tour-tip__body"},t),_&&o().createElement("div",{className:"tour-tip__image"},o().createElement("img",{src:_,alt:"tutorial tour tip product image"})),(b||N||O)&&o().createElement("div",{className:"tour-tip__footer"},o().createElement("div",{className:"tour-tip__footer-buttons"},o().createElement("div",{className:"tour-tip__dot-ctr"},H),o().createElement("div",{className:"tour-tip__btn-ctr"},0!==m&&N&&o().createElement("button",{id:"tipPreviousButton",className:"btn btn-sm btn-tertiary",onClick:E},N),b&&o().createElement("button",{id:"tipNextButton",className:"btn btn-sm btn-primary",onClick:c},b))),O&&o().createElement("div",{className:"tour-tip__opt"},o().createElement(u.FormattedMessage,{id:"tutorial_tip.seen",defaultMessage:"Seen this before? "}),o().createElement("a",{href:"#",onClick:p},o().createElement(u.FormattedMessage,{id:"tutorial_tip.out",defaultMessage:"Opt out of these tips."})))));return o().createElement(o().Fragment,null,o().createElement("div",{id:"tipButton",ref:L,onClick:g,className:"tour-tip__pulsating-dot-ctr","data-pulsating-dot-placement":y||"right",style:{transform:"translate(".concat(null==A?void 0:A.x,"px, ").concat(null==A?void 0:A.y,"px)")}},o().createElement(I,null)),o().createElement(C,{show:l,onDismiss:h,onPunchOut:D,interactivePunchOut:f,overlayPunchOut:s,appendTo:v,transparent:M}),l&&o().createElement(d.ZP,{showOnCreate:l,content:K,animation:"scale-subtle",trigger:"click",duration:[250,150],maxWidth:T,aria:{content:"labelledby"},allowHTML:!0,zIndex:S,reference:L,interactive:!0,appendTo:v,offset:B,className:i()("tour-tip__box",w,{"tippy-blue-style":R}),placement:x}))},B=(e,n,t)=>{const _=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250;const t=(0,a.useRef)(null),[_,i]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{_?t.current&&(clearInterval(t.current),t.current=null):t.current||(t.current=setInterval((()=>{e.every((e=>document.getElementById(e)))&&(i(!0),t.current&&(clearInterval(t.current),t.current=null))}),n))}),[]),(0,a.useMemo)((()=>_),[_])}(e),[i,o]=(0,a.useState)({x:window.innerWidth,y:window.innerHeight}),s=h()((()=>{o({x:window.innerWidth,y:window.innerHeight})}),100,{trailing:!0});return(0,a.useLayoutEffect)((()=>(window.addEventListener("resize",s),()=>window.removeEventListener("resize",s))),[]),(0,a.useMemo)((()=>{let n=Number.MAX_SAFE_INTEGER,_=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER,a=Number.MIN_SAFE_INTEGER;for(let t=0;ti&&(i=s.x+s.width),s.y+s.height>a&&(a=s.y+s.height)}return{x:"".concat(n+(t?t.x:0),"px"),y:"".concat(_+(t?t.y:0),"px"),width:"".concat(i-n+(t?t.width:0),"px"),height:"".concat(a-_+(t?t.height:0),"px")}}),[...e,...n,i,_])},x=e=>{const[n,t]=(0,a.useState)(new DOMRect);return(0,a.useEffect)((()=>{const n=document.getElementById(e);if(!n)return;const _=new ResizeObserver((e=>{e.length>0&&t(e[0].contentRect)}));return _.observe(n),()=>{_.unobserve(n)}}),[e]),n}},16640:(e,n)=>{"use strict";var t;Object.defineProperty(n,"__esModule",{value:!0}),n.LogLevel=void 0,function(e){e.Error="ERROR",e.Warning="WARNING",e.Info="INFO",e.Debug="DEBUG"}(t||(n.LogLevel=t={}))},85071:(e,n)=>{"use strict";var t,_;n.Io=n.ZS=void 0,function(e){e.Team="team",e.Channel="channel"}(t||(n.ZS=t={})),function(e){e.Ldap="ldap",e.Custom="custom"}(_||(n.Io=_={}))},81002:(e,n)=>{"use strict";var t;n.Z=void 0,function(e){e.URGENT="urgent",e.IMPORTANT="important"}(t||(n.Z=t={}))},25836:(e,n,t)=>{var _={"./_lib/buildFormatLongFn/index.js":16676,"./_lib/buildLocalizeFn/index.js":70610,"./_lib/buildMatchFn/index.js":50793,"./_lib/buildMatchPatternFn/index.js":67563,"./af/_lib/formatDistance/index.js":16154,"./af/_lib/formatLong/index.js":2256,"./af/_lib/formatRelative/index.js":16611,"./af/_lib/localize/index.js":37269,"./af/_lib/match/index.js":24922,"./af/index.js":91079,"./ar-DZ/_lib/formatDistance/index.js":98063,"./ar-DZ/_lib/formatLong/index.js":51387,"./ar-DZ/_lib/formatRelative/index.js":52288,"./ar-DZ/_lib/localize/index.js":26242,"./ar-DZ/_lib/match/index.js":41291,"./ar-DZ/index.js":74237,"./ar-EG/_lib/formatDistance/index.js":70471,"./ar-EG/_lib/formatLong/index.js":79777,"./ar-EG/_lib/formatRelative/index.js":3137,"./ar-EG/_lib/localize/index.js":69359,"./ar-EG/_lib/match/index.js":11109,"./ar-EG/index.js":63843,"./ar-MA/_lib/formatDistance/index.js":60065,"./ar-MA/_lib/formatLong/index.js":97576,"./ar-MA/_lib/formatRelative/index.js":92005,"./ar-MA/_lib/localize/index.js":80484,"./ar-MA/_lib/match/index.js":59858,"./ar-MA/index.js":19384,"./ar-SA/_lib/formatDistance/index.js":70160,"./ar-SA/_lib/formatLong/index.js":85665,"./ar-SA/_lib/formatRelative/index.js":58328,"./ar-SA/_lib/localize/index.js":93398,"./ar-SA/_lib/match/index.js":70627,"./ar-SA/index.js":11825,"./ar-TN/_lib/formatDistance/index.js":76141,"./ar-TN/_lib/formatLong/index.js":85483,"./ar-TN/_lib/formatRelative/index.js":69277,"./ar-TN/_lib/localize/index.js":51773,"./ar-TN/_lib/match/index.js":93473,"./ar-TN/index.js":94961,"./ar/_lib/formatDistance/index.js":3330,"./ar/_lib/formatLong/index.js":80805,"./ar/_lib/formatRelative/index.js":37445,"./ar/_lib/localize/index.js":87631,"./ar/_lib/match/index.js":3384,"./ar/index.js":45292,"./az/_lib/formatDistance/index.js":72957,"./az/_lib/formatLong/index.js":90815,"./az/_lib/formatRelative/index.js":39864,"./az/_lib/localize/index.js":76308,"./az/_lib/match/index.js":37255,"./az/index.js":28647,"./be-tarask/_lib/formatDistance/index.js":41770,"./be-tarask/_lib/formatLong/index.js":22730,"./be-tarask/_lib/formatRelative/index.js":65358,"./be-tarask/_lib/localize/index.js":41003,"./be-tarask/_lib/match/index.js":79149,"./be-tarask/index.js":18748,"./be/_lib/formatDistance/index.js":47787,"./be/_lib/formatLong/index.js":79352,"./be/_lib/formatRelative/index.js":61226,"./be/_lib/localize/index.js":19216,"./be/_lib/match/index.js":37814,"./be/index.js":26856,"./bg/_lib/formatDistance/index.js":76705,"./bg/_lib/formatLong/index.js":77604,"./bg/_lib/formatRelative/index.js":52551,"./bg/_lib/localize/index.js":35176,"./bg/_lib/match/index.js":51563,"./bg/index.js":34595,"./bn/_lib/formatDistance/index.js":39542,"./bn/_lib/formatLong/index.js":79733,"./bn/_lib/formatRelative/index.js":70840,"./bn/_lib/localize/index.js":58785,"./bn/_lib/match/index.js":24943,"./bn/index.js":94024,"./bs/_lib/formatDistance/index.js":57287,"./bs/_lib/formatLong/index.js":65412,"./bs/_lib/formatRelative/index.js":39343,"./bs/_lib/localize/index.js":84676,"./bs/_lib/match/index.js":9966,"./bs/index.js":18967,"./ca/_lib/formatDistance/index.js":91262,"./ca/_lib/formatLong/index.js":2529,"./ca/_lib/formatRelative/index.js":38258,"./ca/_lib/localize/index.js":32346,"./ca/_lib/match/index.js":99150,"./ca/index.js":9546,"./cs/_lib/formatDistance/index.js":27717,"./cs/_lib/formatLong/index.js":78341,"./cs/_lib/formatRelative/index.js":66618,"./cs/_lib/localize/index.js":91596,"./cs/_lib/match/index.js":6236,"./cs/index.js":486,"./cy/_lib/formatDistance/index.js":34727,"./cy/_lib/formatLong/index.js":75389,"./cy/_lib/formatRelative/index.js":23302,"./cy/_lib/localize/index.js":39952,"./cy/_lib/match/index.js":82787,"./cy/index.js":80914,"./da/_lib/formatDistance/index.js":7727,"./da/_lib/formatLong/index.js":60578,"./da/_lib/formatRelative/index.js":76708,"./da/_lib/localize/index.js":10725,"./da/_lib/match/index.js":68319,"./da/index.js":70862,"./de-AT/_lib/localize/index.js":26080,"./de-AT/index.js":42525,"./de/_lib/formatDistance/index.js":70826,"./de/_lib/formatLong/index.js":68027,"./de/_lib/formatRelative/index.js":69378,"./de/_lib/localize/index.js":19451,"./de/_lib/match/index.js":13937,"./de/index.js":35444,"./el/_lib/formatDistance/index.js":59894,"./el/_lib/formatLong/index.js":65598,"./el/_lib/formatRelative/index.js":91836,"./el/_lib/localize/index.js":8340,"./el/_lib/match/index.js":67626,"./el/index.js":52598,"./en-AU/_lib/formatLong/index.js":52899,"./en-AU/index.js":99489,"./en-CA/_lib/formatDistance/index.js":18165,"./en-CA/_lib/formatLong/index.js":12397,"./en-CA/index.js":58542,"./en-GB/_lib/formatLong/index.js":46680,"./en-GB/index.js":57142,"./en-IE/index.js":85898,"./en-IN/_lib/formatLong/index.js":25487,"./en-IN/index.js":53373,"./en-NZ/_lib/formatLong/index.js":72434,"./en-NZ/index.js":2586,"./en-US/_lib/formatDistance/index.js":79754,"./en-US/_lib/formatLong/index.js":28061,"./en-US/_lib/formatRelative/index.js":60705,"./en-US/_lib/localize/index.js":89107,"./en-US/_lib/match/index.js":69546,"./en-US/index.js":24541,"./en-ZA/_lib/formatLong/index.js":82191,"./en-ZA/index.js":70893,"./eo/_lib/formatDistance/index.js":32424,"./eo/_lib/formatLong/index.js":70148,"./eo/_lib/formatRelative/index.js":28216,"./eo/_lib/localize/index.js":15685,"./eo/_lib/match/index.js":78930,"./eo/index.js":91248,"./es/_lib/formatDistance/index.js":66417,"./es/_lib/formatLong/index.js":34583,"./es/_lib/formatRelative/index.js":33244,"./es/_lib/localize/index.js":22758,"./es/_lib/match/index.js":57991,"./es/index.js":71638,"./et/_lib/formatDistance/index.js":55341,"./et/_lib/formatLong/index.js":35223,"./et/_lib/formatRelative/index.js":36011,"./et/_lib/localize/index.js":69643,"./et/_lib/match/index.js":51111,"./et/index.js":19126,"./eu/_lib/formatDistance/index.js":4399,"./eu/_lib/formatLong/index.js":97765,"./eu/_lib/formatRelative/index.js":56744,"./eu/_lib/localize/index.js":34649,"./eu/_lib/match/index.js":25334,"./eu/index.js":74529,"./fa-IR/_lib/formatDistance/index.js":43303,"./fa-IR/_lib/formatLong/index.js":96046,"./fa-IR/_lib/formatRelative/index.js":61095,"./fa-IR/_lib/localize/index.js":12834,"./fa-IR/_lib/match/index.js":53248,"./fa-IR/index.js":84324,"./fi/_lib/formatDistance/index.js":97916,"./fi/_lib/formatLong/index.js":74913,"./fi/_lib/formatRelative/index.js":80400,"./fi/_lib/localize/index.js":73137,"./fi/_lib/match/index.js":24855,"./fi/index.js":73611,"./fr-CA/_lib/formatLong/index.js":56568,"./fr-CA/index.js":16904,"./fr-CH/_lib/formatLong/index.js":43812,"./fr-CH/_lib/formatRelative/index.js":77350,"./fr-CH/index.js":43401,"./fr/_lib/formatDistance/index.js":10837,"./fr/_lib/formatLong/index.js":73669,"./fr/_lib/formatRelative/index.js":57883,"./fr/_lib/localize/index.js":34095,"./fr/_lib/match/index.js":85668,"./fr/index.js":91482,"./fy/_lib/formatDistance/index.js":16070,"./fy/_lib/formatLong/index.js":10120,"./fy/_lib/formatRelative/index.js":29503,"./fy/_lib/localize/index.js":767,"./fy/_lib/match/index.js":70677,"./fy/index.js":49280,"./gd/_lib/formatDistance/index.js":69400,"./gd/_lib/formatLong/index.js":36777,"./gd/_lib/formatRelative/index.js":22525,"./gd/_lib/localize/index.js":36299,"./gd/_lib/match/index.js":50531,"./gd/index.js":13081,"./gl/_lib/formatDistance/index.js":74931,"./gl/_lib/formatLong/index.js":94981,"./gl/_lib/formatRelative/index.js":15049,"./gl/_lib/localize/index.js":45916,"./gl/_lib/match/index.js":33624,"./gl/index.js":16826,"./gu/_lib/formatDistance/index.js":19793,"./gu/_lib/formatLong/index.js":56754,"./gu/_lib/formatRelative/index.js":21794,"./gu/_lib/localize/index.js":16444,"./gu/_lib/match/index.js":65483,"./gu/index.js":14098,"./he/_lib/formatDistance/index.js":47531,"./he/_lib/formatLong/index.js":43895,"./he/_lib/formatRelative/index.js":70177,"./he/_lib/localize/index.js":90972,"./he/_lib/match/index.js":48106,"./he/index.js":46873,"./hi/_lib/formatDistance/index.js":67078,"./hi/_lib/formatLong/index.js":42543,"./hi/_lib/formatRelative/index.js":19656,"./hi/_lib/localize/index.js":33757,"./hi/_lib/match/index.js":27730,"./hi/index.js":9602,"./hr/_lib/formatDistance/index.js":33372,"./hr/_lib/formatLong/index.js":53750,"./hr/_lib/formatRelative/index.js":13148,"./hr/_lib/localize/index.js":1604,"./hr/_lib/match/index.js":15068,"./hr/index.js":67116,"./ht/_lib/formatDistance/index.js":62454,"./ht/_lib/formatLong/index.js":59055,"./ht/_lib/formatRelative/index.js":11748,"./ht/_lib/localize/index.js":10287,"./ht/_lib/match/index.js":48083,"./ht/index.js":875,"./hu/_lib/formatDistance/index.js":14026,"./hu/_lib/formatLong/index.js":28475,"./hu/_lib/formatRelative/index.js":50284,"./hu/_lib/localize/index.js":50804,"./hu/_lib/match/index.js":84902,"./hu/index.js":71633,"./hy/_lib/formatDistance/index.js":93284,"./hy/_lib/formatLong/index.js":28737,"./hy/_lib/formatRelative/index.js":22143,"./hy/_lib/localize/index.js":27224,"./hy/_lib/match/index.js":45273,"./hy/index.js":73520,"./id/_lib/formatDistance/index.js":36472,"./id/_lib/formatLong/index.js":22219,"./id/_lib/formatRelative/index.js":13397,"./id/_lib/localize/index.js":42594,"./id/_lib/match/index.js":47057,"./id/index.js":34594,"./is/_lib/formatDistance/index.js":67688,"./is/_lib/formatLong/index.js":27268,"./is/_lib/formatRelative/index.js":30286,"./is/_lib/localize/index.js":45363,"./is/_lib/match/index.js":85603,"./is/index.js":84593,"./it-CH/_lib/formatLong/index.js":88876,"./it-CH/index.js":63213,"./it/_lib/formatDistance/index.js":53230,"./it/_lib/formatLong/index.js":16764,"./it/_lib/formatRelative/index.js":95672,"./it/_lib/localize/index.js":8801,"./it/_lib/match/index.js":47645,"./it/index.js":31233,"./ja-Hira/_lib/formatDistance/index.js":10854,"./ja-Hira/_lib/formatLong/index.js":22507,"./ja-Hira/_lib/formatRelative/index.js":7459,"./ja-Hira/_lib/localize/index.js":17530,"./ja-Hira/_lib/match/index.js":21533,"./ja-Hira/index.js":45524,"./ja/_lib/formatDistance/index.js":66782,"./ja/_lib/formatLong/index.js":13499,"./ja/_lib/formatRelative/index.js":20871,"./ja/_lib/localize/index.js":59405,"./ja/_lib/match/index.js":75927,"./ja/index.js":52090,"./ka/_lib/formatDistance/index.js":7435,"./ka/_lib/formatLong/index.js":93413,"./ka/_lib/formatRelative/index.js":41362,"./ka/_lib/localize/index.js":66408,"./ka/_lib/match/index.js":50577,"./ka/index.js":5900,"./kk/_lib/formatDistance/index.js":39763,"./kk/_lib/formatLong/index.js":85253,"./kk/_lib/formatRelative/index.js":63227,"./kk/_lib/localize/index.js":91212,"./kk/_lib/match/index.js":49599,"./kk/index.js":11283,"./km/_lib/formatDistance/index.js":26583,"./km/_lib/formatLong/index.js":88591,"./km/_lib/formatRelative/index.js":9372,"./km/_lib/localize/index.js":21547,"./km/_lib/match/index.js":31963,"./km/index.js":49582,"./kn/_lib/formatDistance/index.js":44315,"./kn/_lib/formatLong/index.js":62584,"./kn/_lib/formatRelative/index.js":44616,"./kn/_lib/localize/index.js":88831,"./kn/_lib/match/index.js":64273,"./kn/index.js":6869,"./ko/_lib/formatDistance/index.js":78451,"./ko/_lib/formatLong/index.js":87459,"./ko/_lib/formatRelative/index.js":27733,"./ko/_lib/localize/index.js":64726,"./ko/_lib/match/index.js":24665,"./ko/index.js":27478,"./lb/_lib/formatDistance/index.js":80521,"./lb/_lib/formatLong/index.js":12101,"./lb/_lib/formatRelative/index.js":11252,"./lb/_lib/localize/index.js":19986,"./lb/_lib/match/index.js":22862,"./lb/index.js":23850,"./lt/_lib/formatDistance/index.js":91267,"./lt/_lib/formatLong/index.js":35706,"./lt/_lib/formatRelative/index.js":70152,"./lt/_lib/localize/index.js":18286,"./lt/_lib/match/index.js":77174,"./lt/index.js":66426,"./lv/_lib/formatDistance/index.js":57999,"./lv/_lib/formatLong/index.js":91006,"./lv/_lib/formatRelative/index.js":84717,"./lv/_lib/localize/index.js":21451,"./lv/_lib/match/index.js":57982,"./lv/index.js":41919,"./mk/_lib/formatDistance/index.js":36083,"./mk/_lib/formatLong/index.js":36325,"./mk/_lib/formatRelative/index.js":35771,"./mk/_lib/localize/index.js":18122,"./mk/_lib/match/index.js":5718,"./mk/index.js":1573,"./mn/_lib/formatDistance/index.js":67680,"./mn/_lib/formatLong/index.js":21480,"./mn/_lib/formatRelative/index.js":37182,"./mn/_lib/localize/index.js":68249,"./mn/_lib/match/index.js":32034,"./mn/index.js":87616,"./ms/_lib/formatDistance/index.js":16634,"./ms/_lib/formatLong/index.js":18747,"./ms/_lib/formatRelative/index.js":19574,"./ms/_lib/localize/index.js":33270,"./ms/_lib/match/index.js":27567,"./ms/index.js":7362,"./mt/_lib/formatDistance/index.js":31272,"./mt/_lib/formatLong/index.js":49437,"./mt/_lib/formatRelative/index.js":7568,"./mt/_lib/localize/index.js":91478,"./mt/_lib/match/index.js":92463,"./mt/index.js":34610,"./nb/_lib/formatDistance/index.js":8960,"./nb/_lib/formatLong/index.js":30323,"./nb/_lib/formatRelative/index.js":93182,"./nb/_lib/localize/index.js":99424,"./nb/_lib/match/index.js":90530,"./nb/index.js":46139,"./nl-BE/_lib/formatDistance/index.js":27410,"./nl-BE/_lib/formatLong/index.js":92659,"./nl-BE/_lib/formatRelative/index.js":17058,"./nl-BE/_lib/localize/index.js":28024,"./nl-BE/_lib/match/index.js":3791,"./nl-BE/index.js":51597,"./nl/_lib/formatDistance/index.js":4683,"./nl/_lib/formatLong/index.js":55630,"./nl/_lib/formatRelative/index.js":61177,"./nl/_lib/localize/index.js":79340,"./nl/_lib/match/index.js":15144,"./nl/index.js":83735,"./nn/_lib/formatDistance/index.js":45145,"./nn/_lib/formatLong/index.js":9547,"./nn/_lib/formatRelative/index.js":22824,"./nn/_lib/localize/index.js":49514,"./nn/_lib/match/index.js":38916,"./nn/index.js":85716,"./oc/_lib/formatDistance/index.js":96738,"./oc/_lib/formatLong/index.js":70821,"./oc/_lib/formatRelative/index.js":58927,"./oc/_lib/localize/index.js":52289,"./oc/_lib/match/index.js":57647,"./oc/index.js":16112,"./pl/_lib/formatDistance/index.js":29761,"./pl/_lib/formatLong/index.js":23046,"./pl/_lib/formatRelative/index.js":55191,"./pl/_lib/localize/index.js":1294,"./pl/_lib/match/index.js":79545,"./pl/index.js":83277,"./pt-BR/_lib/formatDistance/index.js":69679,"./pt-BR/_lib/formatLong/index.js":92840,"./pt-BR/_lib/formatRelative/index.js":38487,"./pt-BR/_lib/localize/index.js":68009,"./pt-BR/_lib/match/index.js":65841,"./pt-BR/index.js":14503,"./pt/_lib/formatDistance/index.js":96452,"./pt/_lib/formatLong/index.js":97748,"./pt/_lib/formatRelative/index.js":43078,"./pt/_lib/localize/index.js":34865,"./pt/_lib/match/index.js":49569,"./pt/index.js":52848,"./ro/_lib/formatDistance/index.js":51686,"./ro/_lib/formatLong/index.js":8707,"./ro/_lib/formatRelative/index.js":29209,"./ro/_lib/localize/index.js":29789,"./ro/_lib/match/index.js":95114,"./ro/index.js":49189,"./ru/_lib/formatDistance/index.js":95551,"./ru/_lib/formatLong/index.js":38534,"./ru/_lib/formatRelative/index.js":22853,"./ru/_lib/localize/index.js":97741,"./ru/_lib/match/index.js":62711,"./ru/index.js":41787,"./sk/_lib/formatDistance/index.js":73686,"./sk/_lib/formatLong/index.js":64573,"./sk/_lib/formatRelative/index.js":31344,"./sk/_lib/localize/index.js":89521,"./sk/_lib/match/index.js":28029,"./sk/index.js":95304,"./sl/_lib/formatDistance/index.js":13989,"./sl/_lib/formatLong/index.js":97888,"./sl/_lib/formatRelative/index.js":43498,"./sl/_lib/localize/index.js":21312,"./sl/_lib/match/index.js":40146,"./sl/index.js":84103,"./sq/_lib/formatDistance/index.js":25806,"./sq/_lib/formatLong/index.js":68823,"./sq/_lib/formatRelative/index.js":1227,"./sq/_lib/localize/index.js":78639,"./sq/_lib/match/index.js":5834,"./sq/index.js":92674,"./sr-Latn/_lib/formatDistance/index.js":73691,"./sr-Latn/_lib/formatLong/index.js":75189,"./sr-Latn/_lib/formatRelative/index.js":37323,"./sr-Latn/_lib/localize/index.js":60134,"./sr-Latn/_lib/match/index.js":46639,"./sr-Latn/index.js":62863,"./sr/_lib/formatDistance/index.js":90167,"./sr/_lib/formatLong/index.js":61625,"./sr/_lib/formatRelative/index.js":39020,"./sr/_lib/localize/index.js":2621,"./sr/_lib/match/index.js":68158,"./sr/index.js":23112,"./sv/_lib/formatDistance/index.js":53623,"./sv/_lib/formatLong/index.js":26135,"./sv/_lib/formatRelative/index.js":56401,"./sv/_lib/localize/index.js":67243,"./sv/_lib/match/index.js":58153,"./sv/index.js":43308,"./ta/_lib/formatDistance/index.js":53508,"./ta/_lib/formatLong/index.js":82112,"./ta/_lib/formatRelative/index.js":88564,"./ta/_lib/localize/index.js":12711,"./ta/_lib/match/index.js":63163,"./ta/index.js":67570,"./te/_lib/formatDistance/index.js":46977,"./te/_lib/formatLong/index.js":36054,"./te/_lib/formatRelative/index.js":37919,"./te/_lib/localize/index.js":2914,"./te/_lib/match/index.js":25316,"./te/index.js":75790,"./th/_lib/formatDistance/index.js":16287,"./th/_lib/formatLong/index.js":72363,"./th/_lib/formatRelative/index.js":97471,"./th/_lib/localize/index.js":71747,"./th/_lib/match/index.js":81831,"./th/index.js":32746,"./tr/_lib/formatDistance/index.js":50985,"./tr/_lib/formatLong/index.js":48428,"./tr/_lib/formatRelative/index.js":85567,"./tr/_lib/localize/index.js":77650,"./tr/_lib/match/index.js":76503,"./tr/index.js":38126,"./ug/_lib/formatDistance/index.js":15282,"./ug/_lib/formatLong/index.js":60630,"./ug/_lib/formatRelative/index.js":89065,"./ug/_lib/localize/index.js":67074,"./ug/_lib/match/index.js":72934,"./ug/index.js":87048,"./uk/_lib/formatDistance/index.js":33057,"./uk/_lib/formatLong/index.js":23500,"./uk/_lib/formatRelative/index.js":53506,"./uk/_lib/localize/index.js":2820,"./uk/_lib/match/index.js":62082,"./uk/index.js":12083,"./uz-Cyrl/_lib/formatDistance/index.js":85237,"./uz-Cyrl/_lib/formatLong/index.js":65936,"./uz-Cyrl/_lib/formatRelative/index.js":26896,"./uz-Cyrl/_lib/localize/index.js":36517,"./uz-Cyrl/_lib/match/index.js":43011,"./uz-Cyrl/index.js":77769,"./uz/_lib/formatDistance/index.js":61590,"./uz/_lib/formatLong/index.js":16911,"./uz/_lib/formatRelative/index.js":11459,"./uz/_lib/localize/index.js":48185,"./uz/_lib/match/index.js":12904,"./uz/index.js":1628,"./vi/_lib/formatDistance/index.js":26747,"./vi/_lib/formatLong/index.js":98521,"./vi/_lib/formatRelative/index.js":91252,"./vi/_lib/localize/index.js":35144,"./vi/_lib/match/index.js":23557,"./vi/index.js":13730,"./zh-CN/_lib/formatDistance/index.js":2374,"./zh-CN/_lib/formatLong/index.js":10872,"./zh-CN/_lib/formatRelative/index.js":31482,"./zh-CN/_lib/localize/index.js":85857,"./zh-CN/_lib/match/index.js":14083,"./zh-CN/index.js":2039,"./zh-HK/_lib/formatDistance/index.js":81488,"./zh-HK/_lib/formatLong/index.js":7073,"./zh-HK/_lib/formatRelative/index.js":64171,"./zh-HK/_lib/localize/index.js":78405,"./zh-HK/_lib/match/index.js":65346,"./zh-HK/index.js":61987,"./zh-TW/_lib/formatDistance/index.js":20341,"./zh-TW/_lib/formatLong/index.js":21289,"./zh-TW/_lib/formatRelative/index.js":23514,"./zh-TW/_lib/localize/index.js":41262,"./zh-TW/_lib/match/index.js":86287,"./zh-TW/index.js":27566};function i(e){var n=a(e);return t(n)}function a(e){if(!t.o(_,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return _[e]}i.keys=function(){return Object.keys(_)},i.resolve=a,e.exports=i,i.id=25836},62355:(e,n,t)=>{"use strict";e.exports=t.p+"files/eb9c9ed586eda5e79e42.png"},92909:()=>{},45545:()=>{},46047:()=>{},66611:()=>{},61212:()=>{},50303:()=>{},37523:()=>{},44282:()=>{},50471:()=>{},95901:()=>{}}]); //# sourceMappingURL=1490.88a8d5f14dc3ebe85bb0.js.map