"use strict";(self.webpackChunkdami=self.webpackChunkdami||[]).push([[8209],{68209:(t,i,a)=>{a.r(i),a.d(i,{default:()=>s,newWindow:()=>o});var n=a(93150),e=a.n(n),d=a(31791);async function o({data:t,id:i}){const a={state:t.windowState,incognito:t.incognito,type:t.type||"normal"};"normal"===t.windowState&&["top","left","height","width"].forEach((i=>{t[i]<=0||(a[i]=t[i])})),t.url&&(a.url=t.url);const n=await e().windows.create(a);if(this.windowId=n.id,t.url){const[t]=n.tabs;this.settings.debugMode&&await(0,d.xq)(t.id,this.activeTab.id),this.activeTab.id=t.id,this.activeTab.url=t.url}return{data:n.id,nextBlockId:this.getBlockConnections(i)}}const s=o}}]);