"use strict";(self.webpackChunktelegram_t=self.webpackChunktelegram_t||[]).push([[8925],{8925(e,t,n){n.r(t),n.d(t,{TauriEvent:()=>a,emit:()=>o,emitTo:()=>E,listen:()=>u,once:()=>l});var a,i=n(55962);async function r(e,t){window.__TAURI_EVENT_PLUGIN_INTERNALS__.unregisterListener(e,t),await(0,i.invoke)("plugin:event|unlisten",{event:e,eventId:t})}async function u(e,t,n){var a;const u="string"==typeof(null==n?void 0:n.target)?{kind:"AnyLabel",label:n.target}:null!==(a=null==n?void 0:n.target)&&void 0!==a?a:{kind:"Any"};return(0,i.invoke)("plugin:event|listen",{event:e,target:u,handler:(0,i.transformCallback)(t)}).then(t=>async()=>r(e,t))}async function l(e,t,n){return u(e,n=>{r(e,n.id),t(n)},n)}async function o(e,t){await(0,i.invoke)("plugin:event|emit",{event:e,payload:t})}async function E(e,t,n){const a="string"==typeof e?{kind:"AnyLabel",label:e}:e;await(0,i.invoke)("plugin:event|emit_to",{target:a,event:t,payload:n})}!function(e){e.WINDOW_RESIZED="tauri://resize",e.WINDOW_MOVED="tauri://move",e.WINDOW_CLOSE_REQUESTED="tauri://close-requested",e.WINDOW_DESTROYED="tauri://destroyed",e.WINDOW_FOCUS="tauri://focus",e.WINDOW_BLUR="tauri://blur",e.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",e.WINDOW_THEME_CHANGED="tauri://theme-changed",e.WINDOW_CREATED="tauri://window-created",e.WEBVIEW_CREATED="tauri://webview-created",e.DRAG_ENTER="tauri://drag-enter",e.DRAG_OVER="tauri://drag-over",e.DRAG_DROP="tauri://drag-drop",e.DRAG_LEAVE="tauri://drag-leave"}(a||(a={}))}}]);
//# sourceMappingURL=8925.913371228ec858de64b7.js.map