/*! For license information please see dll.Reaction.js.LICENSE.txt */
(window.webpackJsonp_name_hash_=window.webpackJsonp_name_hash_||[]).push([[94],{1051:function(e,t,n){"use strict";n.r(t);var r=n(13),o=n.n(r),s=n(12),i=n.n(s),a=n(14),l=n.n(a),u=n(15),c=n.n(u),f=n(8),p=n.n(f),d=n(0),h=n.n(d),b=n(1),m=n.n(b),v=n(23),w=n.n(v),y=n(1095),O=n(19),j=n(120),D=n.n(j),C=n(134),R=n.n(C),k=n(71);function x(e){var t=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(e){return!1}}();return function(){var n,r=p()(e);if(t){var o=p()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c()(this,n)}}var E=w()("isle:reaction"),I=function(e){l()(n,e);var t=x(n);function n(e){return o()(this,n),t.call(this,e)}return i()(n,[{key:"componentDidMount",value:function(){var e=this,t=this.context;this.unsubscribe=t.subscribe((function(t,n){t===k.MEMBER_ACTION&&n.id===e.props.actionID&&e.forceUpdate()}))}},{key:"componentWillUnmount",value:function(){this.unsubscribe()}},{key:"render",value:function(){E("Render component...");var e=this.context;if(!this.props.actionID)return h.a.createElement(y.default,{variant:"danger"},"Please supply an ID for component to be watched.");if(e.currentUserActions){var t=e.responseVisualizers[this.props.actionID];if(t){var n=t.type,r=e.currentUserActions[this.props.actionID];if(r){var o=(r=(r=r.filter((function(e){return e.type===n}))).sort((function(e,t){return e.absoluteTime-t.absoluteTime})))[r.length-1];if(D()(this.props.show))return this.props.show[o.value]||null;if(R()(this.props.show))return this.props.show(o.value)||null}return null}}return null}}]),n}(d.Component);I.propTypes={actionID:m.a.string.isRequired,show:m.a.oneOfType([m.a.object,m.a.func])},I.defaultProps={show:{}},I.contextType=O.default,t.default=I},1095:function(e,t,n){"use strict";n.r(t);var r=n(4),o=n(10),s=n(11),i=n.n(s),a=n(0),l=n.n(a),u=n(278),c=n(80),f=n(32),p=n(138),d=n(16),h=n(208),b=n(288),m=n(282),v={show:!0,transition:h.default,closeLabel:"Close alert"},w={show:"onClose"},y=l.a.forwardRef((function(e,t){var n=Object(u.useUncontrolled)(e,w),s=n.bsPrefix,a=n.show,f=n.closeLabel,p=n.className,h=n.children,m=n.variant,v=n.onClose,y=n.dismissible,O=n.transition,j=Object(o.default)(n,["bsPrefix","show","closeLabel","className","children","variant","onClose","dismissible","transition"]),D=Object(d.useBootstrapPrefix)(s,"alert"),C=Object(c.default)((function(e){v(!1,e)})),R=l.a.createElement("div",Object(r.default)({role:"alert"},O?j:void 0,{ref:t,className:i()(p,D,m&&D+"-"+m,y&&D+"-dismissible")}),y&&l.a.createElement(b.default,{onClick:C,label:f}),h);return O?l.a.createElement(O,Object(r.default)({unmountOnExit:!0},j,{in:a}),R):a?R:null})),O=Object(p.default)("h4");O.displayName="DivStyledAsH4",y.displayName="Alert",y.defaultProps=v,y.Link=Object(f.default)("alert-link",{Component:m.default}),y.Heading=Object(f.default)("alert-heading",{Component:O}),t.default=y}}]);