(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{1039:function(e,t,r){"use strict";var s=this&&this.__decorate||function(e,t,r,s){var n,u=arguments.length,i=u<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,s);else for(var o=e.length-1;o>=0;o--)(n=e[o])&&(i=(u<3?n(i):u>3?n(t,r,i):n(t,r))||i);return u>3&&i&&Object.defineProperty(t,r,i),i};Object.defineProperty(t,"__esModule",{value:!0}),t.FxdkDataService=t.SingleEventEmitter=void 0;var n=r(12),u=r(3),i=function(){function e(){this.listeners=new Set}return e.prototype.on=function(e){var t=this;return this.listeners.add(e),n.Disposable.create((function(){return t.listeners.delete(e)}))},e.prototype.emit=function(e){this.listeners.forEach((function(t){return t(e)}))},e}();t.SingleEventEmitter=i;var o=function(){function e(){this.data={},this.clientResourcesData=[],this.bufferedServerOutput="",this.structuredServerMessages=[],this.bufferedServerOutputChanged=new i,this.structuredServerMessageReceivedEvent=new i,this.clearAllServerOutputsEvent=new i,this.clientResourcesDataEvent=new i,this.structuredGameMessages=[],this.structuredGameMessageReceivedEvent=new i,this.clearGameOutputEvent=new i,this.theiaIsActive=!1,this.theiaIsActiveEvent=new i}return e.prototype.onBufferedServerOutputChanged=function(e){return this.bufferedServerOutputChanged.on(e)},e.prototype.onStructuredServerMessageReceived=function(e){return this.structuredServerMessageReceivedEvent.on(e)},e.prototype.onClearAllServerOutputs=function(e){return this.clearAllServerOutputsEvent.on(e)},e.prototype.onClientResourcesData=function(e){return this.clientResourcesDataEvent.on(e)},e.prototype.getClientResourcesData=function(){return this.clientResourcesData},e.prototype.setClientResourcesData=function(e){this.clientResourcesData=e,this.clientResourcesDataEvent.emit(e)},e.prototype.getBufferedServerOutput=function(){return this.bufferedServerOutput},e.prototype.getStructuredServerMessages=function(){return this.structuredServerMessages},e.prototype.clearAllServerOutputs=function(){this.bufferedServerOutput="",this.structuredServerMessages=[],this.clearAllServerOutputsEvent.emit()},e.prototype.setBufferedServerOutput=function(e){this.bufferedServerOutput=e,this.bufferedServerOutputChanged.emit(this.bufferedServerOutput)},e.prototype.receiveStructuredServerMessage=function(e){this.structuredServerMessages.push(e),this.structuredServerMessageReceivedEvent.emit(e)},e.prototype.onStructuredGameMessageReceived=function(e){return this.structuredGameMessageReceivedEvent.on(e)},e.prototype.onClearGameOutput=function(e){return this.clearGameOutputEvent.on(e)},e.prototype.getStructuredGameMessage=function(){return this.structuredGameMessages},e.prototype.receiveStructuredGameMessage=function(e){this.structuredGameMessages.push(e),this.structuredGameMessageReceivedEvent.emit(e)},e.prototype.clearGameOutput=function(){this.structuredGameMessages=[],this.clearGameOutputEvent.emit()},e.prototype.sendMessageToShell=function(e,t){window.parent.postMessage({type:e,data:t},"*")},e.prototype.onTheiaIsActiveChange=function(e){return this.theiaIsActiveEvent.on(e)},e.prototype.setTheiaIsActive=function(e){this.theiaIsActive=e,this.theiaIsActiveEvent.emit(e)},e.prototype.getTheiaIsActive=function(){return this.theiaIsActive},e=s([u.injectable()],e)}();t.FxdkDataService=o},667:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=r(3),n=r(1039);t.default=new s.ContainerModule((function(e,t,r,s){e(n.FxdkDataService).toSelf().inSingletonScope()}))}}]);
//# sourceMappingURL=47.bundle.js.map