"use strict";(self.webpackChunkproject=self.webpackChunkproject||[]).push([[178],{5178:(u,o,s)=>{s.r(o),s.d(o,{Browser:()=>l,BrowserWeb:()=>_});var r=s(8885),t=s(4961);class _ extends t.E_{constructor(){super(),this._lastWindow=null}open(e){var n=this;return(0,r.A)(function*(){n._lastWindow=window.open(e.url,e.windowName||"_blank")})()}close(){var e=this;return(0,r.A)(function*(){return new Promise((n,i)=>{null!=e._lastWindow?(e._lastWindow.close(),e._lastWindow=null,n()):i("No active window to close!")})})()}}const l=new _}}]);