/*! For license information please see dll.Reaction.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[120],{1080:function(t,e,n){"use strict";n.r(e);var r=n(5),o=n(11),s=n(1),a=n.n(s),i=n(0),u=n.n(i),c=n(12),l=n.n(c),p={label:a.a.string.isRequired,onClick:a.a.func},f=u.a.forwardRef((function(t,e){var n=t.label,s=t.onClick,a=t.className,i=Object(o.default)(t,["label","onClick","className"]);return u.a.createElement("button",Object(r.default)({ref:e,type:"button",className:l()("close",a),onClick:s},i),u.a.createElement("span",{"aria-hidden":"true"},"×"),u.a.createElement("span",{className:"sr-only"},n))}));f.displayName="CloseButton",f.propTypes=p,f.defaultProps={label:"Close"},e.default=f},923:function(t,e,n){"use strict";n.r(e);var r=n(14),o=n.n(r),s=n(13),a=n.n(s),i=n(15),u=n.n(i),c=n(16),l=n.n(c),p=n(8),f=n.n(p),h=n(0),d=n.n(h),b=n(1),m=n.n(b),v=n(36),y=n.n(v),w=n(1015),R=n(37),k=n(111),D=n.n(k),C=n(108),I=n.n(C),T=n(109);function E(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f()(t);if(e){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l()(this,n)}}var N=y()("isle:reaction"),g=function(t){u()(n,t);var e=E(n);function n(t){return o()(this,n),e.call(this,t)}return a()(n,[{key:"componentDidMount",value:function(){var t=this,e=this.context;this.unsubscribe=e.subscribe((function(e,n){e===T.MEMBER_ACTION&&n.id===t.props.actionID&&t.forceUpdate()}))}},{key:"componentWillUnmount",value:function(){this.unsubscribe()}},{key:"render",value:function(){N("Render component...");var t=this.context;if(!this.props.actionID)return d.a.createElement(w.default,{variant:"danger"},"Please supply an ID for component to be watched.");if(t.currentUserActions){var e=t.responseVisualizers[this.props.actionID];if(e){var n=e.type,r=t.currentUserActions[this.props.actionID];if(r){var o=(r=(r=r.filter((function(t){return t.type===n}))).sort((function(t,e){return t.absoluteTime-e.absoluteTime})))[r.length-1];if(D()(this.props.show))return this.props.show[o.value]||this.props.show.default||null;if(I()(this.props.show))return this.props.show(o.value,o)||null}return null}}return null}}]),n}(h.Component);g.propTypes={actionID:m.a.string.isRequired,show:m.a.oneOfType([m.a.object,m.a.func])},g.defaultProps={show:{}},g.contextType=R.default,e.default=g}}]);