react-notification-system
Version:
A React Notification System fully customized
2 lines • 21.4 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],e):"object"==typeof exports?exports.ReactNotificationSystem=e(require("react"),require("react-dom")):t.ReactNotificationSystem=e(t.React,t.ReactDOM)}(this,function(t,e){return function(t){function e(o){if(i[o])return i[o].exports;var n=i[o]={exports:{},id:o,loaded:!1};return t[o].call(n.exports,n,n.exports,e),n.loaded=!0,n.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){t.exports=i(7)},function(t,e){var i={positions:{tl:"tl",tr:"tr",tc:"tc",bl:"bl",br:"br",bc:"bc"},levels:{success:"success",error:"error",warning:"warning",info:"info"},notification:{title:null,message:null,level:null,position:"tr",autoDismiss:5,dismissible:"both",action:null}};t.exports=i},function(t,e,i){t.exports=i(12)()},function(e,i){e.exports=t},function(t,e){"use strict";function i(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function o(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},i=0;i<10;i++)e["_"+String.fromCharCode(i)]=i;var o=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==o.join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;t.exports=o()?Object.assign:function(t,e){for(var o,a,c=i(t),l=1;l<arguments.length;l++){o=Object(arguments[l]);for(var f in o)r.call(o,f)&&(c[f]=o[f]);if(n){a=n(o);for(var u=0;u<a.length;u++)s.call(o,a[u])&&(c[a[u]]=o[a[u]])}}return c}},function(t,e,i){function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=function(){function t(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,i,o){return i&&t(e.prototype,i),o&&t(e,o),e}}(),a=i(3),c=i(2),l=i(6),f=i(1),u=function(t){function e(t){o(this,e);var i=n(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return i._style=t.getStyles.container(t.position),!t.getStyles.overrideWidth||t.position!==f.positions.tc&&t.position!==f.positions.bc||(i._style.marginLeft=-(t.getStyles.overrideWidth/2)),i}return r(e,t),s(e,[{key:"render",value:function(){function t(){var t,e=this;return[f.positions.bl,f.positions.br,f.positions.bc].indexOf(this.props.position)>-1&&this.props.notifications.reverse(),t=this.props.notifications.map(function(t){return a.createElement(l,{ref:"notification-"+t.uid,key:t.uid,notification:t,getStyles:e.props.getStyles,onRemove:e.props.onRemove,noAnimation:e.props.noAnimation,allowHTML:e.props.allowHTML,children:e.props.children})}),a.createElement("div",{className:"notifications-"+this.props.position,style:this._style},t)}return t}()}]),e}(a.Component);u.propTypes={position:c.string.isRequired,notifications:c.array.isRequired,getStyles:c.object,onRemove:c.func,noAnimation:c.bool,allowHTML:c.bool,children:c.oneOfType([c.string,c.element])},t.exports=u},function(t,e,i){function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t){return{__html:t}}var a=function(){function t(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,i,o){return i&&t(e.prototype,i),o&&t(e,o),e}}(),c=i(3),l=i(2),f=i(14),u=i(1),p=i(8),d=i(4),h=function(){var t,e=document.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};return Object.keys(i).forEach(function(o){void 0!==e.style[o]&&(t=i[o])}),t},b=function(t){function e(t){o(this,e);var i=n(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));i._notificationTimer=null,i._height=0,i._noAnimation=null,i._isMounted=!1,i._removeCount=0,i.state={visible:void 0,removed:!1};var r=t.getStyles,s=t.notification.level,a=t.notification.dismissible;return i._noAnimation=t.noAnimation,i._styles={notification:r.byElement("notification")(s),title:r.byElement("title")(s),dismiss:r.byElement("dismiss")(s),messageWrapper:r.byElement("messageWrapper")(s),actionWrapper:r.byElement("actionWrapper")(s),action:r.byElement("action")(s)},a&&"none"!==a&&"button"!==a||(i._styles.notification.cursor="default"),i._getCssPropertyByPosition=i._getCssPropertyByPosition.bind(i),i._defaultAction=i._defaultAction.bind(i),i._hideNotification=i._hideNotification.bind(i),i._removeNotification=i._removeNotification.bind(i),i._dismiss=i._dismiss.bind(i),i._showNotification=i._showNotification.bind(i),i._onTransitionEnd=i._onTransitionEnd.bind(i),i._handleMouseEnter=i._handleMouseEnter.bind(i),i._handleMouseLeave=i._handleMouseLeave.bind(i),i._handleNotificationClick=i._handleNotificationClick.bind(i),i}return r(e,t),a(e,[{key:"_getCssPropertyByPosition",value:function(){function t(){var t=this.props.notification.position,e={};switch(t){case u.positions.tl:case u.positions.bl:e={property:"left",value:-200};break;case u.positions.tr:case u.positions.br:e={property:"right",value:-200};break;case u.positions.tc:e={property:"top",value:-100};break;case u.positions.bc:e={property:"bottom",value:-100}}return e}return t}()},{key:"_defaultAction",value:function(){function t(t){var e=this.props.notification;t.preventDefault(),this._hideNotification(),"function"==typeof e.action.callback&&e.action.callback()}return t}()},{key:"_hideNotification",value:function(){function t(){this._notificationTimer&&this._notificationTimer.clear(),this._isMounted&&this.setState({visible:!1,removed:!0}),this._noAnimation&&this._removeNotification()}return t}()},{key:"_removeNotification",value:function(){function t(){this.props.onRemove(this.props.notification.uid)}return t}()},{key:"_dismiss",value:function(){function t(){this.props.notification.dismissible&&this._hideNotification()}return t}()},{key:"_showNotification",value:function(){function t(){var t=this;setTimeout(function(){t._isMounted&&t.setState({visible:!0})},50)}return t}()},{key:"_onTransitionEnd",value:function(){function t(){this._removeCount>0||this.state.removed&&(this._removeCount+=1,this._removeNotification())}return t}()},{key:"componentDidMount",value:function(){function t(){var t=this,e=h(),i=this.props.notification,o=f.findDOMNode(this);this._height=o.offsetHeight,this._isMounted=!0,this._noAnimation||(e?o.addEventListener(e,this._onTransitionEnd):this._noAnimation=!0),i.autoDismiss&&(this._notificationTimer=new p.Timer(function(){t._hideNotification()},1e3*i.autoDismiss)),this._showNotification()}return t}()},{key:"_handleMouseEnter",value:function(){function t(){var t=this.props.notification;t.autoDismiss&&this._notificationTimer.pause()}return t}()},{key:"_handleMouseLeave",value:function(){function t(){var t=this.props.notification;t.autoDismiss&&this._notificationTimer.resume()}return t}()},{key:"_handleNotificationClick",value:function(){function t(){var t=this.props.notification.dismissible;"both"!==t&&"click"!==t&&t!==!0||this._dismiss()}return t}()},{key:"componentWillUnmount",value:function(){function t(){var t=f.findDOMNode(this),e=h();t.removeEventListener(e,this._onTransitionEnd),this._isMounted=!1}return t}()},{key:"render",value:function(){function t(){var t=this.props.notification,e="notification notification-"+t.level,i=d({},this._styles.notification),o=this._getCssPropertyByPosition(),n=null,r=null,a=null,l=null;return this.props.notification.className&&(e+=" "+this.props.notification.className),this.state.visible?e+=" notification-visible":this.state.visible===!1&&(e+=" notification-hidden"),"none"===t.dismissible&&(e+=" notification-not-dismissible"),this.props.getStyles.overrideStyle&&(this.state.visible||this.state.removed||(i[o.property]=o.value),this.state.visible&&!this.state.removed&&(i.height=this._height,i[o.property]=0),this.state.removed&&(i.overlay="hidden",i.height=0,i.marginTop=0,i.paddingTop=0,i.paddingBottom=0),this._styles.notification.isVisible&&this._styles.notification.isHidden&&(i.opacity=this.state.visible?this._styles.notification.isVisible.opacity:this._styles.notification.isHidden.opacity)),t.title&&(a=c.createElement("h4",{className:"notification-title",style:this._styles.title},t.title)),t.message&&(l=this.props.allowHTML?c.createElement("div",{className:"notification-message",style:this._styles.messageWrapper,dangerouslySetInnerHTML:s(t.message)}):c.createElement("div",{className:"notification-message",style:this._styles.messageWrapper},t.message)),"both"!==t.dismissible&&"button"!==t.dismissible&&t.dismissible!==!0||(n=c.createElement("span",{className:"notification-dismiss",onClick:this._dismiss,style:this._styles.dismiss,"aria-hidden":!0},"×")),t.action&&(r=c.createElement("div",{className:"notification-action-wrapper",style:this._styles.actionWrapper},c.createElement("button",{className:"notification-action-button",onClick:this._defaultAction,style:this._styles.action},t.action.label))),t.children&&(r=t.children),c.createElement("div",{className:e,onClick:this._handleNotificationClick,onMouseEnter:this._handleMouseEnter,onMouseLeave:this._handleMouseLeave,style:i,role:"alert"},a,l,n,r)}return t}()}]),e}(c.Component);b.propTypes={notification:l.object,getStyles:l.object,onRemove:l.func,allowHTML:l.bool,noAnimation:l.bool,children:l.oneOfType([l.string,l.element])},b.defaultProps={noAnimation:!1,onRemove:function(){function t(){}return t}(),allowHTML:!1},t.exports=b},function(t,e,i){function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=function(){function t(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,i,o){return i&&t(e.prototype,i),o&&t(e,o),e}}(),a=i(3),c=i(2),l=i(4),f=i(5),u=i(1),p=i(9),d=function(t){function e(){o(this,e);var t=n(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.state={notifications:[]},t.uid=3400,t._isMounted=!1,t.overrideWidth=null,t.overrideStyle={},t.elements={notification:"NotificationItem",title:"Title",messageWrapper:"MessageWrapper",dismiss:"Dismiss",action:"Action",actionWrapper:"ActionWrapper"},t.setOverrideStyle=t.setOverrideStyle.bind(t),t.wrapper=t.wrapper.bind(t),t.container=t.container.bind(t),t.byElement=t.byElement.bind(t),t._didNotificationRemoved=t._didNotificationRemoved.bind(t),t.addNotification=t.addNotification.bind(t),t.getNotificationRef=t.getNotificationRef.bind(t),t.removeNotification=t.removeNotification.bind(t),t.editNotification=t.editNotification.bind(t),t.clearNotifications=t.clearNotifications.bind(t),t._getStyles={overrideWidth:t.overrideWidth,overrideStyle:t.overrideStyle,elements:t.elements,setOverrideStyle:t.setOverrideStyle,wrapper:t.wrapper,container:t.container,byElement:t.byElement},t}return r(e,t),s(e,[{key:"componentDidMount",value:function(){function t(){this.setOverrideStyle(this.props.style),this._isMounted=!0}return t}()},{key:"componentWillUnmount",value:function(){function t(){this._isMounted=!1}return t}()},{key:"setOverrideStyle",value:function(){function t(t){this.overrideStyle=t}return t}()},{key:"wrapper",value:function(){function t(){return this.overrideStyle?l({},p.Wrapper,this.overrideStyle.Wrapper):{}}return t}()},{key:"container",value:function(){function t(t){var e=this.overrideStyle.Containers||{};return this.overrideStyle?(this.overrideWidth=p.Containers.DefaultStyle.width,e.DefaultStyle&&e.DefaultStyle.width&&(this.overrideWidth=e.DefaultStyle.width),e[t]&&e[t].width&&(this.overrideWidth=e[t].width),l({},p.Containers.DefaultStyle,p.Containers[t],e.DefaultStyle,e[t])):{}}return t}()},{key:"byElement",value:function(){function t(t){var e=this;return function(i){var o=e.elements[t],n=e.overrideStyle[o]||{};return e.overrideStyle?l({},p[o].DefaultStyle,p[o][i],n.DefaultStyle,n[i]):{}}}return t}()},{key:"_didNotificationRemoved",value:function(){function t(t){var e,i=this.state.notifications.filter(function(i){return i.uid!==t||(e=i,!1)});this._isMounted&&this.setState({notifications:i}),e&&e.onRemove&&e.onRemove(e)}return t}()},{key:"addNotification",value:function(){function t(t){var e,i=l({},u.notification,t),o=this.state.notifications;if(!i.level)throw new Error("notification level is required.");if(Object.keys(u.levels).indexOf(i.level)===-1)throw new Error("'"+i.level+"' is not a valid level.");if(isNaN(i.autoDismiss))throw new Error("'autoDismiss' must be a number.");if(Object.keys(u.positions).indexOf(i.position)===-1)throw new Error("'"+i.position+"' is not a valid position.");for(i.position=i.position.toLowerCase(),i.level=i.level.toLowerCase(),i.autoDismiss=parseInt(i.autoDismiss,10),i.uid=i.uid||this.uid,i.ref="notification-"+i.uid,this.uid+=1,e=0;e<o.length;e+=1)if(o[e].uid===i.uid)return!1;return this.props.newOnTop?o.unshift(i):o.push(i),"function"==typeof i.onAdd&&t.onAdd(i),this.setState({notifications:o}),i}return t}()},{key:"getNotificationRef",value:function(){function t(t){var e=this,i=null;return Object.keys(this.refs).forEach(function(o){o.indexOf("container")>-1&&Object.keys(e.refs[o].refs).forEach(function(n){var r=t.uid?t.uid:t;n==="notification-"+r&&(i=e.refs[o].refs[n])})}),i}return t}()},{key:"removeNotification",value:function(){function t(t){var e=this.getNotificationRef(t);return e&&e._hideNotification()}return t}()},{key:"editNotification",value:function(){function t(t,e){var i=null,o=t.uid?t.uid:t,n=this.state.notifications.filter(function(t){return o!==t.uid||(i=t,!1)});i&&(n.push(l({},i,e)),this.setState({notifications:n}))}return t}()},{key:"clearNotifications",value:function(){function t(){var t=this;Object.keys(this.refs).forEach(function(e){e.indexOf("container")>-1&&Object.keys(t.refs[e].refs).forEach(function(i){t.refs[e].refs[i]._hideNotification()})})}return t}()},{key:"render",value:function(){function t(){var t=this,e=null,i=this.state.notifications;return i.length&&(e=Object.keys(u.positions).map(function(e){var o=i.filter(function(t){return e===t.position});return o.length?a.createElement(f,{ref:"container-"+e,key:e,position:e,notifications:o,getStyles:t._getStyles,onRemove:t._didNotificationRemoved,noAnimation:t.props.noAnimation,allowHTML:t.props.allowHTML}):null})),a.createElement("div",{className:"notifications-wrapper",style:this.wrapper()},e)}return t}()}]),e}(a.Component);d.propTypes={style:c.oneOfType([c.bool,c.object]),noAnimation:c.bool,allowHTML:c.bool,newOnTop:c.bool},d.defaultProps={style:{},noAnimation:!1,allowHTML:!1,newOnTop:!1},t.exports=d},function(t,e){var i={Timer:function(){function t(t,e){var i,o,n=e;this.pause=function(){clearTimeout(i),n-=new Date-o},this.resume=function(){o=new Date,clearTimeout(i),i=setTimeout(t,n)},this.clear=function(){clearTimeout(i)},this.resume()}return t}()};t.exports=i},function(t,e){var i=320,o={success:{rgb:"94, 164, 0",hex:"#5ea400"},error:{rgb:"236, 61, 61",hex:"#ec3d3d"},warning:{rgb:"235, 173, 23",hex:"#ebad1a"},info:{rgb:"54, 156, 199",hex:"#369cc7"}},n="0.9",r={Wrapper:{},Containers:{DefaultStyle:{fontFamily:"inherit",position:"fixed",width:i,padding:"0 10px 10px 10px",zIndex:9998,WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",height:"auto"},tl:{top:"0px",bottom:"auto",left:"0px",right:"auto"},tr:{top:"0px",bottom:"auto",left:"auto",right:"0px"},tc:{top:"0px",bottom:"auto",margin:"0 auto",left:"50%",marginLeft:-(i/2)},bl:{top:"auto",bottom:"0px",left:"0px",right:"auto"},br:{top:"auto",bottom:"0px",left:"auto",right:"0px"},bc:{top:"auto",bottom:"0px",margin:"0 auto",left:"50%",marginLeft:-(i/2)}},NotificationItem:{DefaultStyle:{position:"relative",width:"100%",cursor:"pointer",borderRadius:"2px",fontSize:"13px",margin:"10px 0 0",padding:"10px",display:"block",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",opacity:0,transition:"0.3s ease-in-out",WebkitTransform:"translate3d(0, 0, 0)",transform:"translate3d(0, 0, 0)",willChange:"transform, opacity",isHidden:{opacity:0},isVisible:{opacity:1}},success:{borderTop:"2px solid "+o.success.hex,backgroundColor:"#f0f5ea",color:"#4b583a",WebkitBoxShadow:"0 0 1px rgba("+o.success.rgb+","+n+")",MozBoxShadow:"0 0 1px rgba("+o.success.rgb+","+n+")",boxShadow:"0 0 1px rgba("+o.success.rgb+","+n+")"},error:{borderTop:"2px solid "+o.error.hex,backgroundColor:"#f4e9e9",color:"#412f2f",WebkitBoxShadow:"0 0 1px rgba("+o.error.rgb+","+n+")",MozBoxShadow:"0 0 1px rgba("+o.error.rgb+","+n+")",boxShadow:"0 0 1px rgba("+o.error.rgb+","+n+")"},warning:{borderTop:"2px solid "+o.warning.hex,backgroundColor:"#f9f6f0",color:"#5a5343",WebkitBoxShadow:"0 0 1px rgba("+o.warning.rgb+","+n+")",MozBoxShadow:"0 0 1px rgba("+o.warning.rgb+","+n+")",boxShadow:"0 0 1px rgba("+o.warning.rgb+","+n+")"},info:{borderTop:"2px solid "+o.info.hex,backgroundColor:"#e8f0f4",color:"#41555d",WebkitBoxShadow:"0 0 1px rgba("+o.info.rgb+","+n+")",MozBoxShadow:"0 0 1px rgba("+o.info.rgb+","+n+")",boxShadow:"0 0 1px rgba("+o.info.rgb+","+n+")"}},Title:{DefaultStyle:{fontSize:"14px",margin:"0 0 5px 0",padding:0,fontWeight:"bold"},success:{color:o.success.hex},error:{color:o.error.hex},warning:{color:o.warning.hex},info:{color:o.info.hex}},MessageWrapper:{DefaultStyle:{margin:0,padding:0}},Dismiss:{DefaultStyle:{cursor:"pointer",fontFamily:"Arial",fontSize:"17px",position:"absolute",top:"4px",right:"5px",lineHeight:"15px",backgroundColor:"#dededf",color:"#ffffff",borderRadius:"50%",width:"14px",height:"14px",fontWeight:"bold",textAlign:"center"},success:{color:"#f0f5ea",backgroundColor:"#b0ca92"},error:{color:"#f4e9e9",backgroundColor:"#e4bebe"},warning:{color:"#f9f6f0",backgroundColor:"#e1cfac"},info:{color:"#e8f0f4",backgroundColor:"#a4becb"}},Action:{DefaultStyle:{background:"#ffffff",borderRadius:"2px",padding:"6px 20px",fontWeight:"bold",margin:"10px 0 0 0",border:0},success:{backgroundColor:o.success.hex,color:"#ffffff"},error:{backgroundColor:o.error.hex,color:"#ffffff"},warning:{backgroundColor:o.warning.hex,color:"#ffffff"},info:{backgroundColor:o.info.hex,color:"#ffffff"}},ActionWrapper:{DefaultStyle:{margin:0,padding:0}}};t.exports=r},function(t,e){"use strict";function i(t){return function(){return t}}var o=function(){};o.thatReturns=i,o.thatReturnsFalse=i(!1),o.thatReturnsTrue=i(!0),o.thatReturnsNull=i(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(t){return t},t.exports=o},function(t,e,i){"use strict";function o(t,e,i,o,r,s,a,c){if(n(e),!t){var l;if(void 0===e)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[i,o,r,s,a,c],u=0;l=new Error(e.replace(/%s/g,function(){return f[u++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var n=function(t){};t.exports=o},function(t,e,i){"use strict";var o=i(10),n=i(11),r=i(13);t.exports=function(){function t(t,e,i,o,s,a){a!==r&&n(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var i={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return i.checkPropTypes=o,i.PropTypes=i,i}},function(t,e){"use strict";var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=i},function(t,i){t.exports=e}])});
//# sourceMappingURL=react-notification-system.min.js.map