import{i as f,b as d,J as D,k as se,cK as le,fw as ce,t as N,eM as E,n as ee,cx as de,cy as ge,cu as p,v,dt as S,eb as me,cp as pe}from"./index-6Jqoo2rk.js";import{U as z,V as ue,W as M,X as he,Y as k,Z as R}from"./appDialogsManager-DnVhdlim.js";import{a as ne,f as te}from"./anchorCallback-DsA1XczG.js";import{I as $}from"./emailSetup-CFcJlzt-.js";import{o as H,g as q}from"./accumulate-BydAFozl.js";import{d as B,p as y,r as W,i as ie,a as ae,T as Ae}from"./topicName-B0x6qq-V.js";import{S as F}from"./space-DBcSn32d.js";import"./iconTsx-Cr8T7ZIv.js";import"./putPreloader-WBjcuDFX.js";import"./htmlToSpan-DhAls8qz.js";import"./toast-B3QB1-N7.js";import"./paintQrCode-u2FNs0A8.js";import"./fastBlur-Co-79rP4.js";import"./bootstrapIm-BS8HLnlI.js";import"./transition-DuxZkCEv.js";import"./animations-O3syBkMX.js";import"./telInputField-Fj4gE689.js";import"./browser-BlRx6CLO.js";import"./_commonjsHelpers-DsqdWQfm.js";import"./mediaHeader-B5k-4_FU.js";import"./readBlobAsDataURL-DL2tTmc_.js";import"./tracking-CIK7NCFD.js";import"./getInputPasskeyResponse-RiY9Fe0r.js";import"./base64ToBytes-B7rMxzcy.js";import"./sha256-BMgYLqDy.js";import"./bytesCmp-DgkPox5J.js";const ve=N('<div class="name colored-name next-is-message">'),Le=N('<div class=bubble-content-wrapper><div class=bubble-content><div class="message spoilers-container"><div class=time><div class=time-inner></div></div><div class=clearfix>'),U=e=>(()=>{const n=Le(),t=n.firstChild,i=t.firstChild,a=i.firstChild,r=a.firstChild;return f(t,d(D,{get when(){return e.name},get children(){const s=ve();return f(s,()=>e.name),s}}),i),f(i,()=>e.children,a),f(a,()=>z(e.date),r),f(r,()=>z(e.date)),f(t,ue,null),se(()=>le(i,"dir",ce())),n})(),O=e=>{const{wrapReply:n}=E();return ee(()=>{const i=de().get(),a=n({setColorPeerId:e.colorPeerId,title:e.title,quote:{text:e.text,entities:e.entities},middleware:i}).container;return a.classList.add("margin-0"),a})};function x(e){const n=M(e);return ge(n,{withTime:!0}).textContent||""}function Te(e){return ne(te(e),!0)}function fe(e,n,t){const i=ie(e.new_participant),a=e.prev_participant?._==="channelParticipantBanned"?e.prev_participant:void 0,r=e.new_participant?._==="channelParticipantBanned"?e.new_participant:void 0,s=t.getChat(n),l=A=>s?._==="channel"&&A?ae(s,A):A,o=H(e.prev_participant||e.new_participant),c=t.getUser(o.toUserId()),g=c?.username||"",m=B(l(a?.banned_rights)?.pFlags,l(r?.banned_rights)?.pFlags),P=m.new.map(A=>y[A]).filter(Boolean).map(A=>p.format(A,!0)),C=m.old.map(A=>y[A]).filter(Boolean).map(A=>p.format(A,!0));return{isBanned:i,participantPeerId:o,participantUser:c,username:g,added:C,removed:P}}function Ce(e,n,t){const i="admin_rights"in e.prev_participant?e.prev_participant.admin_rights:null,a="admin_rights"in e.new_participant?e.new_participant.admin_rights:null,r=B(i?.pFlags,a?.pFlags),s=H(e.prev_participant||e.new_participant),l=n.getUser(s.toUserId()),o=l?.username||"",c=r.new.map(m=>p.format(W(m,{isBroadcast:t}),!0)),g=r.old.map(m=>p.format(W(m,{isBroadcast:t}),!0));return{participantPeerId:s,participantUser:l,username:o,added:c,removed:g}}function _e(e){const n=B(e.prev_banned_rights?.pFlags,e.new_banned_rights?.pFlags),t=n.old.map(a=>y[a]).filter(Boolean).map(a=>p.format(a,!0)),i=n.new.map(a=>y[a]).filter(Boolean).map(a=>p.format(a,!0));return{added:t,removed:i}}function Y(e){return e._!=="message"?{text:"",html:""}:he({text:e.message,entities:e.entities})}async function Z(e,n,t){const{getPeerTitle:i}=E(),a=x(e),r=await i({peerId:n,plainText:!0});return{text:`${t(r)} [${a}]`}}async function Ee(e,n,t,i){const{getPeerTitle:a}=E(),r=x(e),s=await a({peerId:n,plainText:!0}),l=i(s),o=Y(t);return{text:`${l} [${r}]
${o.text}`,html:`${l} [${r}]<br/>${o.html}`}}async function Pe(e,n,t,i,a,r){const{getPeerTitle:s}=E(),l=x(e),o=await s({peerId:n,plainText:!0}),c=t(o),g=r();return{text:`${c} [${l}]
${i}

${g}:
${a}`}}async function xe(e,n,t){const{getPeerTitle:i}=E(),a=x(e),r=await i({peerId:n,plainText:!0});return{text:t(r,a).join(`
`)}}async function we(e,n,t,i,a,r){const{getPeerTitle:s}=E(),l=x(e),o=await s({peerId:n,plainText:!0}),c=a(o),g=Y(t),m=Y(i),P=r();return{text:`${c} [${l}]
${g.text}

${P}:
${m.text}`,html:`${c} [${l}]<br/>${g.html}<br/><br/>${P}:<br/>${m.html}`}}async function re(e,n,t,i){const{getPeerTitle:a}=E(),r=x(e),s=await a({peerId:n,plainText:!0}),l=await a({peerId:t,plainText:!0});return{text:`${i(s,l)} [${r}]`}}const Q=N("<div class=service-msg>"),K=N("<div>+ "),X=N("<div>- "),I="can-have-tail has-fake-service is-forced-rounded";function u(e,n,t,i){return{type:"service",Content:()=>v(e,[i(n)]),getCopyText:()=>Z(t.date,n,a=>p.format(e,!0,[a]))}}function ye(e,n,t,i,a){return{type:"service",Content:()=>v(e,[i(n),...a]),getCopyText:()=>Z(t.date,n,r=>p.format(e,!0,[r,...a]))}}function w(e,n,t,i,a,r){return u(e?n:t,i,a,r)}function G(e,n,t,i,a){return{type:"service",Content:()=>v(e,[a(n),a(t)]),getCopyText:()=>re(i.date,n,t,(r,s)=>p.format(e,!0,[r,s]))}}function j(e,n,t,i,a){return{type:"default",message:n,ServiceContent:()=>v(e,[a(t)]),getCopyText:()=>Ee(i.date,t,n,r=>p.format(e,!0,[r]))}}function J(e,n,t,i,a){return{type:"service",Content:()=>d($,{key:e,get args(){return[a(t),d(Ae,{topic:n})]}}),getCopyText:()=>Z(i.date,t,r=>{const s=n._==="forumTopicDeleted"?"":n.title;return p.format(e,!0,[r,s])})}}function V(e,n,t,i,a,r){const s=t?e:n;return{type:"service",Content:()=>{if(t){const l=ne(te(t));return v(s,[r(i),l])}else return v(s,[r(i)])},getCopyText:async()=>{const{getPeerTitle:l}=E(),o=x(a.date),c=await l({peerId:i,plainText:!0});if(t){const g=Te(t);return{text:`${p.format(s,!0,[c,g])} [${o}]`}}else return{text:`${p.format(s,!0,[c])} [${o}]`}}}}function be(e,n,t){let i;e.user_id===n.user_id?e.new_rank?i=e.prev_rank?"EventLogRankSelfEdit":"EventLogRankSelfAdd":i="EventLogRankSelfRemove":e.new_rank?i=e.prev_rank?"EventLogRankEdit":"EventLogRankAdd":i="EventLogRankRemove";const a=n.user_id.toPeerId(!1),r=e.user_id.toPeerId(!1),s=e.prev_rank||"",l=e.new_rank||"";return{type:"service",Content:()=>v(i,[t(a),t(r),s,l]),getCopyText:()=>re(n.date,a,r,(o,c)=>p.format(i,!0,[o,c,s,l]))}}const $e={channelAdminLogEventActionChangeTitle:({isBroadcast:e,action:n,peerId:t,makePeerTitle:i,event:a})=>ye(e?"AdminLog.ChangeTitleChannel":"AdminLog.ChangeTitleGroup",t,a,i,[n.new_value]),channelAdminLogEventActionChangeAbout:({isBroadcast:e,action:n,event:t,peerId:i,makePeerTitle:a,makeMessagePeerTitle:r,isOut:s})=>{const l=e?"AdminLog.ChangeAboutChannel":"AdminLog.ChangeAboutGroup";return{type:"regular",bubbleClass:I,Content:()=>[(()=>{const o=Q();return f(o,d($,{key:l,get args(){return[a(i)]}})),o})(),d(U,{get date(){return M(t.date)},get name(){return s?null:r(i)},get children(){return[ee(()=>pe(n.new_value)),d(F,{amount:"0.5rem"}),d(O,{colorPeerId:i,get title(){return v("AdminRecentActions.PreviousDescription")},get text(){return n.prev_value}})]}})],getCopyText:()=>Pe(t.date,i,o=>p.format(l,!0,[o]),n.new_value,n.prev_value,()=>p.format("AdminRecentActions.PreviousDescription",!0))}},channelAdminLogEventActionChangeUsername:({isBroadcast:e,event:n,action:t,peerId:i,makePeerTitle:a,makeMessagePeerTitle:r,isOut:s})=>{const l=t.new_value?e?"AdminLog.ChangeLinkChannel":"AdminLog.ChangeLinkGroup":e?"AdminLog.RemovedLinkChannel":"AdminLog.RemovedLinkGroup";return{type:"regular",bubbleClass:I,Content:()=>{const o=(()=>{if(!t.new_value)return;const c=`t.me/${t.new_value}`,g=me(c);return g.textContent=c,g})();return[(()=>{const c=Q();return f(c,d($,{key:l,get args(){return[a(i)]}})),c})(),d(U,{get date(){return M(n.date)},get name(){return s?null:r(i)},get children(){return[d(D,{when:o,get children(){return[o,d(F,{amount:"0.5rem"})]}}),d(D,{get when(){return t.prev_value},get children(){return d(O,{colorPeerId:i,get title(){return v("AdminRecentActions.PreviousLink")},get text(){return`https://t.me/${t.prev_value}`}})}})]}})]},getCopyText:()=>xe(n.date,i,(o,c)=>{const g=p.format("AdminRecentActions.PreviousLink",!0),m=[`${p.format(l,!0,[o])} [${c}]`];return t.new_value&&m.push(`https://t.me/${t.new_value}`),t.prev_value&&m.push(`${g}: https://t.me/${t.prev_value}`),m})}},channelAdminLogEventActionChangePhoto:({isBroadcast:e,peerId:n,makePeerTitle:t,event:i})=>u(e?"AdminLog.ChangePhotoChannel":"AdminLog.ChangePhotoGroup",n,i,t),channelAdminLogEventActionToggleInvites:({action:e,peerId:n,makePeerTitle:t,event:i})=>w(e.new_value,"AdminLog.ToggleInvitesEnabled","AdminLog.ToggleInvitesDisabled",n,i,t),channelAdminLogEventActionToggleSignatures:({action:e,peerId:n,makePeerTitle:t,event:i})=>w(e.new_value,"AdminLog.ToggleSignaturesEnabled","AdminLog.ToggleSignaturesDisabled",n,i,t),channelAdminLogEventActionUpdatePinned:({action:e,peerId:n,makePeerTitle:t,event:i})=>{if(!k(e.message))return null;const r=e.message._==="message"&&e.message.pFlags?.pinned?"AdminLog.PinnedMessage":"AdminLog.UnpinnedMessage";return j(r,e.message,n,i,t)},channelAdminLogEventActionEditMessage:({action:e,peerId:n,makePeerTitle:t,event:i})=>{if(!k(e.new_message))return null;const a="AdminLog.EditedMessage";return{type:"default",message:e.new_message,colorPeerId:n,originalMessage:k(e.prev_message)?e.prev_message:null,ServiceContent:()=>v(a,[t(n)]),getCopyText:()=>we(i.date,n,e.new_message,e.prev_message,r=>p.format(a,!0,[r]),()=>p.format("AdminRecentActions.PreviousMessage",!0))}},channelAdminLogEventActionDeleteMessage:({action:e,peerId:n,makePeerTitle:t,event:i})=>k(e.message)?j("AdminLog.DeletedMessage",e.message,n,i,t):null,channelAdminLogEventActionParticipantJoin:({isBroadcast:e,peerId:n,makePeerTitle:t,event:i})=>u(e?"AdminLog.ParticipantJoinedChannel":"AdminLog.ParticipantJoinedGroup",n,i,t),channelAdminLogEventActionParticipantLeave:({isBroadcast:e,peerId:n,makePeerTitle:t,event:i})=>u(e?"AdminLog.ParticipantLeftChannel":"AdminLog.ParticipantLeftGroup",n,i,t),channelAdminLogEventActionParticipantInvite:({peerId:e,action:n,makePeerTitle:t,event:i})=>G("AdminLog.ParticipantInvited",e,H(n.participant),i,t),channelAdminLogEventActionParticipantToggleBan:({event:e,action:n,channelId:t,peerId:i,makeMessagePeerTitle:a,makePeerTitle:r,isOut:s})=>({type:"regular",bubbleClass:I,Content:()=>{const l=ie(n.new_participant),{apiManagerProxy:o}=E(),c=n.prev_participant?._==="channelParticipantBanned"?n.prev_participant:void 0,g=n.new_participant?._==="channelParticipantBanned"?n.new_participant:void 0,m=o.getChat(t),P=L=>m?._==="channel"&&L?ae(m,L):L,C=H(n.prev_participant||n.new_participant),T=o.getUser(C.toUserId())?.username||"",h=B(P(c?.banned_rights)?.pFlags,P(g?.banned_rights)?.pFlags),_=h.new.map(L=>y[L]).filter(Boolean).map(L=>v(L)),oe=h.old.map(L=>y[L]).filter(Boolean).map(L=>v(L));return d(U,{get date(){return M(e.date)},get name(){return s?null:a(i)},get children(){return[d(D,{when:l,get children(){return d($,{key:T?"AdminLog.ParticipantBannedUsername":"AdminLog.ParticipantBanned",get args(){return[R(r(C)),T?R(`@${T}`):""]}})}}),d(D,{when:!l,get children(){return d($,{key:T?"AdminLog.ParticipantPermissionsToggledUsername":"AdminLog.ParticipantPermissionsToggled",get args(){return[R(r(C)),T?R(`@${T}`):""]}})}}),d(D,{when:!l,get children(){return[d(F,{amount:"0.5rem"}),d(S,{each:oe,children:L=>(()=>{const b=K();return b.firstChild,f(b,L,null),b})()}),d(S,{each:_,children:L=>(()=>{const b=X();return b.firstChild,f(b,L,null),b})()})]}})]}})},getCopyText:async()=>{const l=x(e.date),{apiManagerProxy:o,getPeerTitle:c}=E(),{isBanned:g,participantPeerId:m,added:P,removed:C}=fe(n,t,o),A=await c({peerId:m,plainText:!0}),h=[`${await c({peerId:i,plainText:!0})} [${l}]`];return h.push(p.format(g?"AdminLog.ParticipantBanned":"AdminLog.ParticipantPermissionsToggled",!0,[A])),P.forEach(_=>h.push(`+ ${_}`)),C.forEach(_=>h.push(`- ${_}`)),{text:h.join(`
`)}}}),channelAdminLogEventActionParticipantToggleAdmin:({event:e,action:n,peerId:t,makePeerTitle:i,makeMessagePeerTitle:a,isBroadcast:r,isOut:s})=>({type:"regular",bubbleClass:I,Content:()=>{const{apiManagerProxy:l}=E(),o="admin_rights"in n.prev_participant?n.prev_participant.admin_rights:null,c="admin_rights"in n.new_participant?n.new_participant.admin_rights:null,g=B(o?.pFlags,c?.pFlags),m=H(n.prev_participant||n.new_participant),C=l.getUser(m.toUserId())?.username||"",A=g.new.map(h=>v(W(h,{isBroadcast:r}))),T=g.old.map(h=>v(W(h,{isBroadcast:r})));return d(U,{get date(){return M(e.date)},get name(){return s?null:a(t)},get children(){return[d($,{key:C?"AdminLog.AdminPermissionsChangedUsername":"AdminLog.AdminPermissionsChanged",get args(){return[R(i(m)),C?R(`@${C}`):""]}}),d(F,{amount:"0.5rem"}),d(S,{each:A,children:h=>(()=>{const _=K();return _.firstChild,f(_,h,null),_})()}),d(S,{each:T,children:h=>(()=>{const _=X();return _.firstChild,f(_,h,null),_})()})]}})},getCopyText:async()=>{const l=x(e.date),{apiManagerProxy:o,getPeerTitle:c}=E(),{participantPeerId:g,added:m,removed:P}=Ce(n,o,r),C=await c({peerId:g,plainText:!0}),T=[`${await c({peerId:t,plainText:!0})} [${l}]`];return T.push(p.format("AdminLog.AdminPermissionsChanged",!0,[C])),m.forEach(h=>T.push(`+ ${h}`)),P.forEach(h=>T.push(`- ${h}`)),{text:T.join(`
`)}}}),channelAdminLogEventActionChangeStickerSet:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.ChangeStickerSet",e,t,n),channelAdminLogEventActionTogglePreHistoryHidden:({action:e,peerId:n,makePeerTitle:t,event:i})=>w(e.new_value,"AdminLog.TogglePreHistoryHiddenEnabled","AdminLog.TogglePreHistoryHiddenDisabled",n,i,t),channelAdminLogEventActionDefaultBannedRights:({event:e,action:n,peerId:t,makeMessagePeerTitle:i,isOut:a})=>({type:"regular",bubbleClass:I,Content:()=>{const r=B(n.prev_banned_rights?.pFlags,n.new_banned_rights?.pFlags),s=r.old.map(o=>y[o]).filter(Boolean).map(o=>v(o)),l=r.new.map(o=>y[o]).filter(Boolean).map(o=>v(o));return d(U,{get date(){return M(e.date)},get name(){return a?null:i(t)},get children(){return[d($,{key:"AdminLog.DefaultBannedRightsChanged"}),d(F,{amount:"0.5rem"}),d(S,{each:s,children:o=>(()=>{const c=K();return c.firstChild,f(c,o,null),c})()}),d(S,{each:l,children:o=>(()=>{const c=X();return c.firstChild,f(c,o,null),c})()})]}})},getCopyText:async()=>{const{getPeerTitle:r}=E(),s=x(e.date),l=await r({peerId:t,plainText:!0}),{added:o,removed:c}=_e(n),g=[`${l} [${s}]`];return g.push(p.format("AdminLog.DefaultBannedRightsChanged",!0,[l])),o.forEach(m=>g.push(`+ ${m}`)),c.forEach(m=>g.push(`- ${m}`)),{text:g.join(`
`)}}}),channelAdminLogEventActionStopPoll:({action:e,peerId:n,makePeerTitle:t,event:i})=>k(e.message)?j("AdminLog.PollStopped",e.message,n,i,t):null,channelAdminLogEventActionChangeLinkedChat:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.ChangeLinkedChat",e,t,n),channelAdminLogEventActionChangeLocation:({isBroadcast:e,peerId:n,makePeerTitle:t,event:i})=>u(e?"AdminLog.ChangeLocationChannel":"AdminLog.ChangeLocationGroup",n,i,t),channelAdminLogEventActionToggleSlowMode:({action:e,peerId:n,makePeerTitle:t,event:i})=>V("AdminLog.ToggleSlowModeSet","AdminLog.ToggleSlowModeDisabled",e.new_value,n,i,t),channelAdminLogEventActionStartGroupCall:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.StartGroupCall",e,t,n),channelAdminLogEventActionDiscardGroupCall:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.DiscardGroupCall",e,t,n),channelAdminLogEventActionParticipantMute:({peerId:e,action:n,makePeerTitle:t,event:i})=>G("AdminLog.ParticipantMuted",q(n.participant?.peer),e,i,t),channelAdminLogEventActionParticipantUnmute:({peerId:e,action:n,makePeerTitle:t,event:i})=>G("AdminLog.ParticipantUnmuted",q(n.participant?.peer),e,i,t),channelAdminLogEventActionToggleGroupCallSetting:({action:e,peerId:n,makePeerTitle:t,event:i})=>w(e.join_muted,"AdminLog.ToggleGroupCallSettingEnabled","AdminLog.ToggleGroupCallSettingDisabled",n,i,t),channelAdminLogEventActionParticipantJoinByInvite:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.ParticipantJoinedByInvite",e,t,n),channelAdminLogEventActionExportedInviteDelete:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.ExportedInviteDeleted",e,t,n),channelAdminLogEventActionExportedInviteRevoke:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.ExportedInviteRevoked",e,t,n),channelAdminLogEventActionExportedInviteEdit:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.ExportedInviteEdit",e,t,n),channelAdminLogEventActionParticipantVolume:({peerId:e,action:n,makePeerTitle:t,event:i})=>G("AdminLog.ParticipantVolumeChanged",q(n.participant?.peer),e,i,t),channelAdminLogEventActionChangeHistoryTTL:({action:e,peerId:n,makePeerTitle:t,event:i})=>V("AdminLog.ChangeHistoryTTLEnabled","AdminLog.ChangeHistoryTTLDisabled",e.new_value,n,i,t),channelAdminLogEventActionParticipantJoinByRequest:({peerId:e,action:n,makePeerTitle:t,event:i})=>G("AdminLog.ParticipantJoinedByRequest",e,n.approved_by.toPeerId(),i,t),channelAdminLogEventActionToggleNoForwards:({action:e,peerId:n,makePeerTitle:t,event:i})=>w(e.new_value,"AdminLog.ToggleNoForwardsEnabled","AdminLog.ToggleNoForwardsDisabled",n,i,t),channelAdminLogEventActionSendMessage:({action:e,peerId:n,makePeerTitle:t,event:i})=>k(e.message)?j("AdminLog.MessageSent",e.message,n,i,t):null,channelAdminLogEventActionChangeAvailableReactions:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.ChangeAvailableReactions",e,t,n),channelAdminLogEventActionChangeUsernames:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.ChangeUsernames",e,t,n),channelAdminLogEventActionToggleForum:({action:e,peerId:n,makePeerTitle:t,event:i})=>w(e.new_value,"AdminLog.ToggleForumEnabled","AdminLog.ToggleForumDisabled",n,i,t),channelAdminLogEventActionCreateTopic:({peerId:e,action:n,makePeerTitle:t,event:i})=>J("AdminLog.TopicCreated",n.topic,e,i,t),channelAdminLogEventActionEditTopic:({peerId:e,action:n,makePeerTitle:t,event:i})=>J("AdminLog.TopicEdited",n.new_topic,e,i,t),channelAdminLogEventActionDeleteTopic:({peerId:e,action:n,makePeerTitle:t,event:i})=>J("AdminLog.TopicDeleted",n.topic,e,i,t),channelAdminLogEventActionPinTopic:({action:e,peerId:n,makePeerTitle:t,event:i})=>{const r=!!e.new_topic?"AdminLog.TopicPinned":"AdminLog.TopicUnpinned",s=e.new_topic?e.new_topic:e.prev_topic;return J(r,s,n,i,t)},channelAdminLogEventActionToggleAntiSpam:({action:e,peerId:n,makePeerTitle:t,event:i})=>w(e.new_value,"AdminLog.ToggleAntiSpamEnabled","AdminLog.ToggleAntiSpamDisabled",n,i,t),channelAdminLogEventActionChangePeerColor:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.ChangePeerColor",e,t,n),channelAdminLogEventActionChangeProfilePeerColor:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.ChangeProfilePeerColor",e,t,n),channelAdminLogEventActionChangeWallpaper:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.ChangeWallpaper",e,t,n),channelAdminLogEventActionChangeEmojiStatus:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.ChangeEmojiStatus",e,t,n),channelAdminLogEventActionChangeEmojiStickerSet:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.ChangeEmojiStickerSet",e,t,n),channelAdminLogEventActionToggleSignatureProfiles:({action:e,peerId:n,makePeerTitle:t,event:i})=>w(e.new_value,"AdminLog.ToggleSignatureProfilesEnabled","AdminLog.ToggleSignatureProfilesDisabled",n,i,t),channelAdminLogEventActionParticipantSubExtend:({peerId:e,makePeerTitle:n,event:t})=>u("AdminLog.ParticipantSubscriptionExtended",e,t,n),channelAdminLogEventActionToggleAutotranslation:({action:e,peerId:n,makePeerTitle:t,event:i})=>w(e.new_value,"AdminLog.ToggleAutoTranslationEnabled","AdminLog.ToggleAutoTranslationDisabled",n,i,t),channelAdminLogEventActionParticipantEditRank:({action:e,makePeerTitle:n,event:t})=>be(e,t,n)},tn=e=>{const{event:n}=e,t=$e[n.action._];return t?t({...e,action:n.action}):null};export{tn as resolveAdminLog};
//# sourceMappingURL=index-DC2uSTjn.js.map
