var gdjs;(function(s){const r=new s.Logger("Scene stack");class a{constructor(e){this._stack=[];this._wasFirstSceneLoaded=!1;if(!e)throw"SceneStack must be constructed with a gdjs.RuntimeGame.";this._runtimeGame=e}onGameResolutionResized(){for(let e=0;e