"use strict";(self.webpackChunkdami=self.webpackChunkdami||[]).push([[5352],{25352:(a,t,i)=>{i.r(t),i.d(t,{default:()=>s});var e=i(93150),n=i.n(e);async function s({data:a,id:t}){return"window"===a.closeType?(await async function(a,t){const i=[];if(a.allWindows)(await n().windows.getAll()).forEach((({id:a})=>{i.push(a)}));else{let a;a=t&&"number"==typeof t?t:(await n().windows.getCurrent()).id,i.push(a)}await Promise.allSettled(i.map((a=>n().windows.remove(a))))}(a,this.windowId),this.windowId=null):(await async function(a,t){let i;a.activeTab&&t?i=t:a.url&&(i=(await n().tabs.query({url:a.url})).map((a=>a.id))),i&&await n().tabs.remove(i)}(a,this.activeTab.id),a.activeTab&&(this.activeTab.id=null)),{data:"",nextBlockId:this.getBlockConnections(t)}}}}]);