(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{1053:function(e,t,r){"use strict";var u=this&&this.__decorate||function(e,t,r,u){var s,n=arguments.length,i=n<3?t:null===u?u=Object.getOwnPropertyDescriptor(t,r):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,u);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(i=(n<3?s(i):n>3?s(t,r,i):s(t,r))||i);return n>3&&i&&Object.defineProperty(t,r,i),i};Object.defineProperty(t,"__esModule",{value:!0}),t.FxdkDataService=t.SingleEventEmitter=void 0;var s=r(12),n=r(3),i=function(){function e(){this.listeners=new Set}return e.prototype.on=function(e){var t=this;return this.listeners.add(e),s.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.bufferedServerOutput="",this.structuredServerMessages=[],this.bufferedServerOutputChanged=new i,this.structuredServerMessageReceivedEvent=new i,this.clearAllServerOutputsEvent=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.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=u([n.injectable()],e)}();t.FxdkDataService=o},667:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=r(3),s=r(1053);t.default=new u.ContainerModule((function(e,t,r,u){e(s.FxdkDataService).toSelf().inSingletonScope()}))}}]);
//# sourceMappingURL=47.bundle.js.map