/*! Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one or more contributor license agreements. * Licensed under the Elastic License 2.0; you may not use this file except in compliance with the Elastic License 2.0. */!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=3)}([function(t,e){t.exports=__kbnSharedDeps__.EmotionReact},function(t,e,n){t.exports=n(5)(1465)},function(t,e){t.exports=__kbnSharedDeps__.React},function(t,e,n){n(4),__kbnBundles__.define("plugin/cloudChatProvider/public",n,6)},function(t,e,n){n.p=window.__kbnPublicPath__.cloudChatProvider},function(t,e){t.exports=__kbnSharedDeps_npm__},function(t,e,n){"use strict";n.r(e),n.d(e,"plugin",(function(){return a}));var r=n(1),o=n.n(r),u=n(2),i=n.n(u),l=n(0);class plugin_CloudChatProviderPlugin{constructor(t){o()(this,"getChat",void 0)}setup(t){return{registerChatProvider:t=>{if(this.getChat)throw new Error("Chat component has already been provided");this.getChat=t}}}start(t){return{Chat:()=>{var t;const e=null===(t=this.getChat)||void 0===t?void 0:t.call(this);return e?Object(l.jsx)(e,null):Object(l.jsx)(i.a.Fragment,null)}}}stop(){}}function a(t){return new plugin_CloudChatProviderPlugin(t)}}]);