rc-notification
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -1,1 +0,1 @@ | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],n):"object"==typeof exports?exports["rc-notification"]=n(require("react"),require("react-dom")):t["rc-notification"]=n(t.React,t.ReactDOM)}(this,function(t,n){return function(t){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}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get: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,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=114)}([function(t,n){var e=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=e)},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){t.exports=!e(16)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(15),o=e(45),i=e(36),a=Object.defineProperty;n.f=e(2)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return a(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(1),o=e(0),i=e(43),a=e(6),u=e(3),s=function(t,n,e){var c,f,l,p=t&s.F,d=t&s.G,v=t&s.S,h=t&s.P,m=t&s.B,y=t&s.W,b=d?o:o[n]||(o[n]={}),E=b.prototype,g=d?r:v?r[n]:(r[n]||{}).prototype;d&&(e=n);for(c in e)(f=!p&&g&&void 0!==g[c])&&u(b,c)||(l=f?g[c]:e[c],b[c]=d&&"function"!=typeof g[c]?e[c]:m&&f?i(l,r):y&&g[c]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((b.virtual||(b.virtual={}))[c]=l,t&s.R&&E&&!E[c]&&a(E,c,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,n,e){var r=e(4),o=e(22);t.exports=e(2)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(46),o=e(27);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(34)("wks"),o=e(23),i=e(1).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(n,e){n.exports=t},function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(40),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(60),i=r(o),a=e(59),u=r(a),s=e(25),c=r(s);n.default=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+(void 0===n?"undefined":(0,c.default)(n)));t.prototype=(0,u.default)(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(i.default?(0,i.default)(t,n):t.__proto__=n)}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(25),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==(void 0===n?"undefined":(0,o.default)(n))&&"function"!=typeof n?t:n}},function(t,n,e){var r=e(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){t.exports=e(103)()},function(t,n,e){"use strict";n.__esModule=!0;var r=e(40),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(t,n,e){return n in t?(0,o.default)(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}},function(t,n){t.exports=!0},function(t,n,e){var r=e(50),o=e(28);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(58),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=o.default||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(62),i=r(o),a=e(61),u=r(a),s="function"==typeof u.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":typeof t};n.default="function"==typeof u.default&&"symbol"===s(i.default)?function(t){return void 0===t?"undefined":s(t)}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":void 0===t?"undefined":s(t)}},function(t,n,e){var r,o;!function(){"use strict";function e(){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)&&r.length){var a=e.apply(null,r);a&&t.push(a)}else if("object"===o)for(var u in r)i.call(r,u)&&r[u]&&t.push(u)}}return t.join(" ")}var i={}.hasOwnProperty;void 0!==t&&t.exports?(e.default=e,t.exports=e):(r=[],void 0!==(o=function(){return e}.apply(n,r))&&(t.exports=o))}()},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){t.exports={}},function(t,n,e){var r=e(15),o=e(81),i=e(28),a=e(33)("IE_PROTO"),u=function(){},s=function(){var t,n=e(44)("iframe"),r=i.length;for(n.style.display="none",e(75).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[i[r]];return s()};t.exports=Object.create||function(t,n){var e;return null!==t?(u.prototype=r(t),e=new u,u.prototype=null,e[a]=t):e=s(),void 0===n?e:o(e,n)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(4).f,o=e(3),i=e(9)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){var r=e(34)("keys"),o=e(23);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(0),o=e(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(19)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(7);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(1),o=e(0),i=e(19),a=e(38),u=e(4).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||u(n,t,{value:a.f(t)})}},function(t,n,e){n.f=e(9)},function(t,e){t.exports=n},function(t,n,e){t.exports={default:e(67),__esModule:!0}},function(t,n){t.exports=function(t,n){if(t.indexOf)return t.indexOf(n);for(var e=0;e<t.length;++e)if(t[e]===n)return e;return-1}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(71);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(7),o=e(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){t.exports=!e(2)&&!e(16)(function(){return 7!=Object.defineProperty(e(44)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(42);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){"use strict";var r=e(19),o=e(5),i=e(51),a=e(6),u=e(29),s=e(77),c=e(32),f=e(83),l=e(9)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,n,e,v,h,m,y){s(e,n,v);var b,E,g,w=function(t){if(!p&&t in T)return T[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},_=n+" Iterator",S="values"==h,x=!1,T=t.prototype,O=T[l]||T["@@iterator"]||h&&T[h],A=O||w(h),k=h?S?w("entries"):A:void 0,L="Array"==n?T.entries||O:O;if(L&&(g=f(L.call(new t)))!==Object.prototype&&g.next&&(c(g,_,!0),r||"function"==typeof g[l]||a(g,l,d)),S&&O&&"values"!==O.name&&(x=!0,A=function(){return O.call(this)}),r&&!y||!p&&!x&&T[l]||a(T,l,A),u[n]=A,u[_]=d,h)if(b={values:S?A:w("values"),keys:m?A:w("keys"),entries:k},y)for(E in b)E in T||i(T,E,b[E]);else o(o.P+o.F*(p||x),n,b);return b}},function(t,n,e){var r=e(21),o=e(22),i=e(8),a=e(36),u=e(3),s=e(45),c=Object.getOwnPropertyDescriptor;n.f=e(2)?c:function(t,n){if(t=i(t),n=a(n,!0),s)try{return c(t,n)}catch(t){}if(u(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(50),o=e(28).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(3),o=e(8),i=e(73)(!1),a=e(33)("IE_PROTO");t.exports=function(t,n){var e,u=o(t),s=0,c=[];for(e in u)e!=a&&r(u,e)&&c.push(e);for(;n.length>s;)r(u,e=n[s++])&&(~i(c,e)||c.push(e));return c}},function(t,n,e){t.exports=e(6)},function(t,n,e){var r=e(27);t.exports=function(t){return Object(r(t))}},function(t,n,e){"use strict";var r={isAppearSupported:function(t){return t.transitionName&&t.transitionAppear||t.animation.appear},isEnterSupported:function(t){return t.transitionName&&t.transitionEnter||t.animation.enter},isLeaveSupported:function(t){return t.transitionName&&t.transitionLeave||t.animation.leave},allowAppearCallback:function(t){return t.transitionAppear||t.animation.appear},allowEnterCallback:function(t){return t.transitionEnter||t.animation.enter},allowLeaveCallback:function(t){return t.transitionLeave||t.animation.leave}};n.a=r},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(57);n.default=r.a},function(t,n){},function(t,n,e){"use strict";var r=e(18),o=e.n(r),i=e(11),a=e.n(i),u=e(12),s=e.n(u),c=e(14),f=e.n(c),l=e(13),p=e.n(l),d=e(10),v=e.n(d),h=e(26),m=e.n(h),y=e(17),b=e.n(y),E=function(t){function n(){var t,e,r,o;a()(this,n);for(var i=arguments.length,u=Array(i),s=0;s<i;s++)u[s]=arguments[s];return e=r=f()(this,(t=n.__proto__||Object.getPrototypeOf(n)).call.apply(t,[this].concat(u))),r.close=function(){r.clearCloseTimer(),r.props.onClose()},r.startCloseTimer=function(){r.props.duration&&(r.closeTimer=setTimeout(function(){r.close()},1e3*r.props.duration))},r.clearCloseTimer=function(){r.closeTimer&&(clearTimeout(r.closeTimer),r.closeTimer=null)},o=e,f()(r,o)}return p()(n,t),s()(n,[{key:"componentDidMount",value:function(){this.startCloseTimer()}},{key:"componentDidUpdate",value:function(t){(this.props.duration!==t.duration||this.props.update)&&this.restartCloseTimer()}},{key:"componentWillUnmount",value:function(){this.clearCloseTimer()}},{key:"restartCloseTimer",value:function(){this.clearCloseTimer(),this.startCloseTimer()}},{key:"render",value:function(){var t,n=this.props,e=n.prefixCls+"-notice",r=(t={},o()(t,""+e,1),o()(t,e+"-closable",n.closable),o()(t,n.className,!!n.className),t);return v.a.createElement("div",{className:m()(r),style:n.style,onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onClick:n.onClick},v.a.createElement("div",{className:e+"-content"},n.children),n.closable?v.a.createElement("a",{tabIndex:"0",onClick:this.close,className:e+"-close"},n.closeIcon||v.a.createElement("span",{className:e+"-close-x"})):null)}}]),n}(d.Component);E.propTypes={duration:b.a.number,onClose:b.a.func,children:b.a.any,update:b.a.bool,closeIcon:b.a.node},E.defaultProps={onEnd:function(){},onClose:function(){},duration:1.5,style:{right:"50%"}},n.a=E},function(t,n,e){"use strict";function r(){return"rcNotification_"+j+"_"+P++}var o=e(63),i=e.n(o),a=e(18),u=e.n(a),s=e(24),c=e.n(s),f=e(11),l=e.n(f),p=e(12),d=e.n(p),v=e(14),h=e.n(v),m=e(13),y=e.n(m),b=e(10),E=e.n(b),g=e(17),w=e.n(g),_=e(39),S=e.n(_),x=e(106),T=e(111),O=e.n(T),A=e(26),k=e.n(A),L=e(56),P=0,j=Date.now(),C=function(t){function n(){var t,e,o,i;l()(this,n);for(var a=arguments.length,u=Array(a),s=0;s<a;s++)u[s]=arguments[s];return e=o=h()(this,(t=n.__proto__||Object.getPrototypeOf(n)).call.apply(t,[this].concat(u))),o.state={notices:[]},o.add=function(t){var n=t.key=t.key||r(),e=o.props.maxCount;o.setState(function(r){var o=r.notices,i=o.map(function(t){return t.key}).indexOf(n),a=o.concat();return-1!==i?a.splice(i,1,t):(e&&o.length>=e&&(t.updateKey=a[0].updateKey||a[0].key,a.shift()),a.push(t)),{notices:a}})},o.remove=function(t){o.setState(function(n){return{notices:n.notices.filter(function(n){return n.key!==t})}})},i=e,h()(o,i)}return y()(n,t),d()(n,[{key:"getTransitionName",value:function(){var t=this.props,n=t.transitionName;return!n&&t.animation&&(n=t.prefixCls+"-"+t.animation),n}},{key:"render",value:function(){var t,n=this,e=this.props,r=this.state.notices,o=r.map(function(t,o){var i=Boolean(o===r.length-1&&t.updateKey),a=t.updateKey?t.updateKey:t.key,u=O()(n.remove.bind(n,t.key),t.onClose);return E.a.createElement(L.a,c()({prefixCls:e.prefixCls},t,{key:a,update:i,onClose:u,onClick:t.onClick,closeIcon:e.closeIcon}),t.content)}),i=(t={},u()(t,e.prefixCls,1),u()(t,e.className,!!e.className),t);return E.a.createElement("div",{className:k()(i),style:e.style},E.a.createElement(x.a,{transitionName:this.getTransitionName()},o))}}]),n}(b.Component);C.propTypes={prefixCls:w.a.string,transitionName:w.a.string,animation:w.a.oneOfType([w.a.string,w.a.object]),style:w.a.object,maxCount:w.a.number,closeIcon:w.a.node},C.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},C.newInstance=function(t,n){function e(t){s||(s=!0,n({notice:function(n){t.add(n)},removeNotice:function(n){t.remove(n)},component:t,destroy:function(){S.a.unmountComponentAtNode(u),u.parentNode.removeChild(u)}}))}var r=t||{},o=r.getContainer,a=i()(r,["getContainer"]),u=document.createElement("div");if(o){o().appendChild(u)}else document.body.appendChild(u);var s=!1;S.a.render(E.a.createElement(C,c()({},a,{ref:e})),u)},n.a=C},function(t,n,e){t.exports={default:e(65),__esModule:!0}},function(t,n,e){t.exports={default:e(66),__esModule:!0}},function(t,n,e){t.exports={default:e(68),__esModule:!0}},function(t,n,e){t.exports={default:e(69),__esModule:!0}},function(t,n,e){t.exports={default:e(70),__esModule:!0}},function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){var e={};for(var r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}},function(t,n,e){function r(t){if(!t||!t.nodeType)throw new Error("A DOM element reference is required");this.el=t,this.list=t.classList}try{var o=e(41)}catch(t){var o=e(41)}var i=/\s+/,a=Object.prototype.toString;t.exports=function(t){return new r(t)},r.prototype.add=function(t){if(this.list)return this.list.add(t),this;var n=this.array();return~o(n,t)||n.push(t),this.el.className=n.join(" "),this},r.prototype.remove=function(t){if("[object RegExp]"==a.call(t))return this.removeMatching(t);if(this.list)return this.list.remove(t),this;var n=this.array(),e=o(n,t);return~e&&n.splice(e,1),this.el.className=n.join(" "),this},r.prototype.removeMatching=function(t){for(var n=this.array(),e=0;e<n.length;e++)t.test(n[e])&&this.remove(n[e]);return this},r.prototype.toggle=function(t,n){return this.list?(void 0!==n?n!==this.list.toggle(t,n)&&this.list.toggle(t):this.list.toggle(t),this):(void 0!==n?n?this.add(t):this.remove(t):this.has(t)?this.remove(t):this.add(t),this)},r.prototype.array=function(){var t=this.el.getAttribute("class")||"",n=t.replace(/^\s+|\s+$/g,""),e=n.split(i);return""===e[0]&&e.shift(),e},r.prototype.has=r.prototype.contains=function(t){return this.list?this.list.contains(t):!!~o(this.array(),t)}},function(t,n,e){e(89),t.exports=e(0).Object.assign},function(t,n,e){e(90);var r=e(0).Object;t.exports=function(t,n){return r.create(t,n)}},function(t,n,e){e(91);var r=e(0).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n,e){e(92),t.exports=e(0).Object.setPrototypeOf},function(t,n,e){e(95),e(93),e(96),e(97),t.exports=e(0).Symbol},function(t,n,e){e(94),e(98),t.exports=e(38).f("iterator")},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){t.exports=function(){}},function(t,n,e){var r=e(8),o=e(87),i=e(86);t.exports=function(t){return function(n,e,a){var u,s=r(n),c=o(s.length),f=i(a,c);if(t&&e!=e){for(;c>f;)if((u=s[f++])!=u)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(20),o=e(31),i=e(21);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var a,u=e(t),s=i.f,c=0;u.length>c;)s.call(t,a=u[c++])&&n.push(a);return n}},function(t,n,e){var r=e(1).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(42);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){"use strict";var r=e(30),o=e(22),i=e(32),a={};e(6)(a,e(9)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(a,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(23)("meta"),o=e(7),i=e(3),a=e(4).f,u=0,s=Object.isExtensible||function(){return!0},c=!e(16)(function(){return s(Object.preventExtensions({}))}),f=function(t){a(t,r,{value:{i:"O"+ ++u,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!s(t))return"F";if(!n)return"E";f(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!s(t))return!0;if(!n)return!1;f(t)}return t[r].w},d=function(t){return c&&v.NEED&&s(t)&&!i(t,r)&&f(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:d}},function(t,n,e){"use strict";var r=e(20),o=e(31),i=e(21),a=e(52),u=e(46),s=Object.assign;t.exports=!s||e(16)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=s({},t)[e]||Object.keys(s({},n)).join("")!=r})?function(t,n){for(var e=a(t),s=arguments.length,c=1,f=o.f,l=i.f;s>c;)for(var p,d=u(arguments[c++]),v=f?r(d).concat(f(d)):r(d),h=v.length,m=0;h>m;)l.call(d,p=v[m++])&&(e[p]=d[p]);return e}:s},function(t,n,e){var r=e(4),o=e(15),i=e(20);t.exports=e(2)?Object.defineProperties:function(t,n){o(t);for(var e,a=i(n),u=a.length,s=0;u>s;)r.f(t,e=a[s++],n[e]);return t}},function(t,n,e){var r=e(8),o=e(49).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?u(t):o(r(t))}},function(t,n,e){var r=e(3),o=e(52),i=e(33)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n,e){var r=e(7),o=e(15),i=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e(43)(Function.call,e(48).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return i(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:i}},function(t,n,e){var r=e(35),o=e(27);t.exports=function(t){return function(n,e){var i,a,u=String(o(n)),s=r(e),c=u.length;return s<0||s>=c?t?"":void 0:(i=u.charCodeAt(s),i<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):i:t?u.slice(s,s+2):a-56320+(i-55296<<10)+65536)}}},function(t,n,e){var r=e(35),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(35),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){"use strict";var r=e(72),o=e(78),i=e(29),a=e(8);t.exports=e(47)(Array,"Array",function(t,n){this._t=a(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(5);r(r.S+r.F,"Object",{assign:e(80)})},function(t,n,e){var r=e(5);r(r.S,"Object",{create:e(30)})},function(t,n,e){var r=e(5);r(r.S+r.F*!e(2),"Object",{defineProperty:e(4).f})},function(t,n,e){var r=e(5);r(r.S,"Object",{setPrototypeOf:e(84).set})},function(t,n){},function(t,n,e){"use strict";var r=e(85)(!0);e(47)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){"use strict";var r=e(1),o=e(3),i=e(2),a=e(5),u=e(51),s=e(79).KEY,c=e(16),f=e(34),l=e(32),p=e(23),d=e(9),v=e(38),h=e(37),m=e(74),y=e(76),b=e(15),E=e(7),g=e(8),w=e(36),_=e(22),S=e(30),x=e(82),T=e(48),O=e(4),A=e(20),k=T.f,L=O.f,P=x.f,j=r.Symbol,C=r.JSON,M=C&&C.stringify,N=d("_hidden"),D=d("toPrimitive"),F={}.propertyIsEnumerable,W=f("symbol-registry"),R=f("symbols"),U=f("op-symbols"),I=Object.prototype,K="function"==typeof j,q=r.QObject,B=!q||!q.prototype||!q.prototype.findChild,V=i&&c(function(){return 7!=S(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=k(I,n);r&&delete I[n],L(t,n,e),r&&t!==I&&L(I,n,r)}:L,z=function(t){var n=R[t]=S(j.prototype);return n._k=t,n},G=K&&"symbol"==typeof j.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof j},$=function(t,n,e){return t===I&&$(U,n,e),b(t),n=w(n,!0),b(e),o(R,n)?(e.enumerable?(o(t,N)&&t[N][n]&&(t[N][n]=!1),e=S(e,{enumerable:_(0,!1)})):(o(t,N)||L(t,N,_(1,{})),t[N][n]=!0),V(t,n,e)):L(t,n,e)},H=function(t,n){b(t);for(var e,r=m(n=g(n)),o=0,i=r.length;i>o;)$(t,e=r[o++],n[e]);return t},J=function(t,n){return void 0===n?S(t):H(S(t),n)},Y=function(t){var n=F.call(this,t=w(t,!0));return!(this===I&&o(R,t)&&!o(U,t))&&(!(n||!o(this,t)||!o(R,t)||o(this,N)&&this[N][t])||n)},Q=function(t,n){if(t=g(t),n=w(n,!0),t!==I||!o(R,n)||o(U,n)){var e=k(t,n);return!e||!o(R,n)||o(t,N)&&t[N][n]||(e.enumerable=!0),e}},X=function(t){for(var n,e=P(g(t)),r=[],i=0;e.length>i;)o(R,n=e[i++])||n==N||n==s||r.push(n);return r},Z=function(t){for(var n,e=t===I,r=P(e?U:g(t)),i=[],a=0;r.length>a;)!o(R,n=r[a++])||e&&!o(I,n)||i.push(R[n]);return i};K||(j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===I&&n.call(U,e),o(this,N)&&o(this[N],t)&&(this[N][t]=!1),V(this,t,_(1,e))};return i&&B&&V(I,t,{configurable:!0,set:n}),z(t)},u(j.prototype,"toString",function(){return this._k}),T.f=Q,O.f=$,e(49).f=x.f=X,e(21).f=Y,e(31).f=Z,i&&!e(19)&&u(I,"propertyIsEnumerable",Y,!0),v.f=function(t){return z(d(t))}),a(a.G+a.W+a.F*!K,{Symbol:j});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;tt.length>nt;)d(tt[nt++]);for(var et=A(d.store),rt=0;et.length>rt;)h(et[rt++]);a(a.S+a.F*!K,"Symbol",{for:function(t){return o(W,t+="")?W[t]:W[t]=j(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var n in W)if(W[n]===t)return n},useSetter:function(){B=!0},useSimple:function(){B=!1}}),a(a.S+a.F*!K,"Object",{create:J,defineProperty:$,defineProperties:H,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),C&&a(a.S+a.F*(!K||c(function(){var t=j();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(E(n)||void 0!==t)&&!G(t))return y(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!G(n))return n}),r[1]=n,M.apply(C,r)}}),j.prototype[D]||e(6)(j.prototype,D,j.prototype.valueOf),l(j,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){e(37)("asyncIterator")},function(t,n,e){e(37)("observable")},function(t,n,e){e(88);for(var r=e(1),o=e(6),i=e(29),a=e(9)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<u.length;s++){var c=u[s],f=r[c],l=f&&f.prototype;l&&!l[a]&&o(l,a,c),i[c]=i.Array}},function(t,n,e){"use strict";function r(t,n,e){t.addEventListener(n,e,!1)}function o(t,n,e){t.removeEventListener(n,e,!1)}var i={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},a=[];"undefined"!=typeof window&&"undefined"!=typeof document&&function(){var t=document.createElement("div"),n=t.style;"AnimationEvent"in window||delete i.animationend.animation,"TransitionEvent"in window||delete i.transitionend.transition;for(var e in i)if(i.hasOwnProperty(e)){var r=i[e];for(var o in r)if(o in n){a.push(r[o]);break}}}();var u={addEndEventListener:function(t,n){if(0===a.length)return void window.setTimeout(n,0);a.forEach(function(e){r(t,e,n)})},endEvents:a,removeEndEventListener:function(t,n){0!==a.length&&a.forEach(function(e){o(t,e,n)})}};n.a=u},function(t,n,e){"use strict";function r(t,n){for(var e=window.getComputedStyle(t,null),r="",o=0;o<d.length&&!(r=e.getPropertyValue(d[o]+n));o++);return r}function o(t){if(l){var n=parseFloat(r(t,"transition-delay"))||0,e=parseFloat(r(t,"transition-duration"))||0,o=parseFloat(r(t,"animation-delay"))||0,i=parseFloat(r(t,"animation-duration"))||0,a=Math.max(e+n,i+o);t.rcEndAnimTimeout=setTimeout(function(){t.rcEndAnimTimeout=null,t.rcEndListener&&t.rcEndListener()},1e3*a+200)}}function i(t){t.rcEndAnimTimeout&&(clearTimeout(t.rcEndAnimTimeout),t.rcEndAnimTimeout=null)}e.d(n,"a",function(){return l});var a=e(25),u=e.n(a),s=e(99),c=e(64),f=e.n(c),l=0!==s.a.endEvents.length,p=["Webkit","Moz","O","ms"],d=["-webkit-","-moz-","-o-","ms-",""],v=function(t,n,e){var r="object"===(void 0===n?"undefined":u()(n)),a=r?n.name:n,c=r?n.active:n+"-active",l=e,p=void 0,d=void 0,v=f()(t);return e&&"[object Object]"===Object.prototype.toString.call(e)&&(l=e.end,p=e.start,d=e.active),t.rcEndListener&&t.rcEndListener(),t.rcEndListener=function(n){n&&n.target!==t||(t.rcAnimTimeout&&(clearTimeout(t.rcAnimTimeout),t.rcAnimTimeout=null),i(t),v.remove(a),v.remove(c),s.a.removeEndEventListener(t,t.rcEndListener),t.rcEndListener=null,l&&l())},s.a.addEndEventListener(t,t.rcEndListener),p&&p(),v.add(a),t.rcAnimTimeout=setTimeout(function(){t.rcAnimTimeout=null,v.add(c),d&&setTimeout(d,0),o(t)},30),{stop:function(){t.rcEndListener&&t.rcEndListener()}}};v.style=function(t,n,e){t.rcEndListener&&t.rcEndListener(),t.rcEndListener=function(n){n&&n.target!==t||(t.rcAnimTimeout&&(clearTimeout(t.rcAnimTimeout),t.rcAnimTimeout=null),i(t),s.a.removeEndEventListener(t,t.rcEndListener),t.rcEndListener=null,e&&e())},s.a.addEndEventListener(t,t.rcEndListener),t.rcAnimTimeout=setTimeout(function(){for(var e in n)n.hasOwnProperty(e)&&(t.style[e]=n[e]);t.rcAnimTimeout=null,o(t)},0)},v.setTransition=function(t,n,e){var r=n,o=e;void 0===e&&(o=r,r=""),r=r||"",p.forEach(function(n){t.style[n+"Transition"+r]=o})},v.isCssAnimationSupported=l,n.b=v},function(t,n,e){(function(n){(function(){var e,r,o,i,a,u;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:void 0!==n&&null!==n&&n.hrtime?(t.exports=function(){return(e()-a)/1e6},r=n.hrtime,e=function(){var t;return t=r(),1e9*t[0]+t[1]},i=e(),u=1e9*n.uptime(),a=i-u):Date.now?(t.exports=function(){return Date.now()-o},o=Date.now()):(t.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(n,e(102))},function(t,n){function e(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===e||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(n){try{return f.call(null,t,0)}catch(n){return f.call(this,t,0)}}}function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(n){try{return l.call(null,t)}catch(n){return l.call(this,t)}}}function a(){h&&d&&(h=!1,d.length?v=d.concat(v):m=-1,v.length&&u())}function u(){if(!h){var t=o(a);h=!0;for(var n=v.length;n;){for(d=v,v=[];++m<n;)d&&d[m].run();m=-1,n=v.length}d=null,h=!1,i(t)}}function s(t,n){this.fun=t,this.array=n}function c(){}var f,l,p=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:e}catch(t){f=e}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(t){l=r}}();var d,v=[],h=!1,m=-1;p.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)n[e-1]=arguments[e];v.push(new s(t,n)),1!==v.length||h||o(u)},s.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,n,e){"use strict";function r(){}var o=e(104);t.exports=function(){function t(t,n,e,r,i,a){if(a!==o){var u=new Error("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");throw u.name="Invariant Violation",u}}function n(){return t}t.isRequired=t;var e={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n};return e.checkPropTypes=r,e.PropTypes=e,e}},function(t,n,e){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,n,e){(function(n){for(var r=e(101),o="undefined"==typeof window?n:window,i=["moz","webkit"],a="AnimationFrame",u=o["request"+a],s=o["cancel"+a]||o["cancelRequest"+a],c=0;!u&&c<i.length;c++)u=o[i[c]+"Request"+a],s=o[i[c]+"Cancel"+a]||o[i[c]+"CancelRequest"+a];if(!u||!s){var f=0,l=0,p=[];u=function(t){if(0===p.length){var n=r(),e=Math.max(0,1e3/60-(n-f));f=e+n,setTimeout(function(){var t=p.slice(0);p.length=0;for(var n=0;n<t.length;n++)if(!t[n].cancelled)try{t[n].callback(f)}catch(t){setTimeout(function(){throw t},0)}},Math.round(e))}return p.push({handle:++l,callback:t,cancelled:!1}),l},s=function(t){for(var n=0;n<p.length;n++)p[n].handle===t&&(p[n].cancelled=!0)}}t.exports=function(t){return u.call(o,t)},t.exports.cancel=function(){s.apply(o,arguments)},t.exports.polyfill=function(t){t||(t=o),t.requestAnimationFrame=u,t.cancelAnimationFrame=s}}).call(n,e(113))},function(t,n,e){"use strict";function r(t){var n=t.children;return b.a.isValidElement(n)&&!n.key?b.a.cloneElement(n,{key:T}):n}function o(){}var i=e(24),a=e.n(i),u=e(18),s=e.n(u),c=e(11),f=e.n(c),l=e(12),p=e.n(l),d=e(14),v=e.n(d),h=e(13),m=e.n(h),y=e(10),b=e.n(y),E=e(17),g=e.n(E),w=e(109),_=e(107),S=e(108),x=e(53),T="rc_animate_"+Date.now(),O=function(t){function n(t){f()(this,n);var o=v()(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return A.call(o),o.currentlyAnimatingKeys={},o.keysToEnter=[],o.keysToLeave=[],o.state={children:e.i(w.a)(r(t))},o.childrenRefs={},o}return m()(n,t),p()(n,[{key:"componentDidMount",value:function(){var t=this,n=this.props.showProp,e=this.state.children;n&&(e=e.filter(function(t){return!!t.props[n]})),e.forEach(function(n){n&&t.performAppear(n.key)})}},{key:"componentWillReceiveProps",value:function(t){var n=this;this.nextProps=t;var o=e.i(w.a)(r(t)),i=this.props;i.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(t){n.stop(t)});var a=i.showProp,u=this.currentlyAnimatingKeys,c=i.exclusive?e.i(w.a)(r(i)):this.state.children,f=[];a?(c.forEach(function(t){var n=t&&e.i(w.b)(o,t.key),r=void 0;(r=n&&n.props[a]||!t.props[a]?n:b.a.cloneElement(n||t,s()({},a,!0)))&&f.push(r)}),o.forEach(function(t){t&&e.i(w.b)(c,t.key)||f.push(t)})):f=e.i(w.c)(c,o),this.setState({children:f}),o.forEach(function(t){var r=t&&t.key;if(!t||!u[r]){var o=t&&e.i(w.b)(c,r);if(a){var i=t.props[a];if(o){!e.i(w.d)(c,r,a)&&i&&n.keysToEnter.push(r)}else i&&n.keysToEnter.push(r)}else o||n.keysToEnter.push(r)}}),c.forEach(function(t){var r=t&&t.key;if(!t||!u[r]){var i=t&&e.i(w.b)(o,r);if(a){var s=t.props[a];if(i){!e.i(w.d)(o,r,a)&&s&&n.keysToLeave.push(r)}else s&&n.keysToLeave.push(r)}else i||n.keysToLeave.push(r)}})}},{key:"componentDidUpdate",value:function(){var t=this.keysToEnter;this.keysToEnter=[],t.forEach(this.performEnter);var n=this.keysToLeave;this.keysToLeave=[],n.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(t,n){var r=this.props.showProp;return r?e.i(w.d)(t,n,r):e.i(w.b)(t,n)}},{key:"stop",value:function(t){delete this.currentlyAnimatingKeys[t];var n=this.childrenRefs[t];n&&n.stop()}},{key:"render",value:function(){var t=this,n=this.props;this.nextProps=n;var e=this.state.children,r=null;e&&(r=e.map(function(e){if(null===e||void 0===e)return e;if(!e.key)throw new Error("must set key for <rc-animate> children");return b.a.createElement(_.a,{key:e.key,ref:function(n){t.childrenRefs[e.key]=n},animation:n.animation,transitionName:n.transitionName,transitionEnter:n.transitionEnter,transitionAppear:n.transitionAppear,transitionLeave:n.transitionLeave},e)}));var o=n.component;if(o){var i=n;return"string"==typeof o&&(i=a()({className:n.className,style:n.style},n.componentProps)),b.a.createElement(o,i,r)}return r[0]||null}}]),n}(b.a.Component);O.isAnimate=!0,O.CSSMotion=S.a,O.propTypes={component:g.a.any,componentProps:g.a.object,animation:g.a.object,transitionName:g.a.oneOfType([g.a.string,g.a.object]),transitionEnter:g.a.bool,transitionAppear:g.a.bool,exclusive:g.a.bool,transitionLeave:g.a.bool,onEnd:g.a.func,onEnter:g.a.func,onLeave:g.a.func,onAppear:g.a.func,showProp:g.a.string,children:g.a.node},O.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:o,onEnter:o,onLeave:o,onAppear:o};var A=function(){var t=this;this.performEnter=function(n){t.childrenRefs[n]&&(t.currentlyAnimatingKeys[n]=!0,t.childrenRefs[n].componentWillEnter(t.handleDoneAdding.bind(t,n,"enter")))},this.performAppear=function(n){t.childrenRefs[n]&&(t.currentlyAnimatingKeys[n]=!0,t.childrenRefs[n].componentWillAppear(t.handleDoneAdding.bind(t,n,"appear")))},this.handleDoneAdding=function(n,o){var i=t.props;if(delete t.currentlyAnimatingKeys[n],!i.exclusive||i===t.nextProps){var a=e.i(w.a)(r(i));t.isValidChildByKey(a,n)?"appear"===o?x.a.allowAppearCallback(i)&&(i.onAppear(n),i.onEnd(n,!0)):x.a.allowEnterCallback(i)&&(i.onEnter(n),i.onEnd(n,!0)):t.performLeave(n)}},this.performLeave=function(n){t.childrenRefs[n]&&(t.currentlyAnimatingKeys[n]=!0,t.childrenRefs[n].componentWillLeave(t.handleDoneLeaving.bind(t,n)))},this.handleDoneLeaving=function(n){var o=t.props;if(delete t.currentlyAnimatingKeys[n],!o.exclusive||o===t.nextProps){var i=e.i(w.a)(r(o));if(t.isValidChildByKey(i,n))t.performEnter(n);else{var a=function(){x.a.allowLeaveCallback(o)&&(o.onLeave(n),o.onEnd(n,!1))};e.i(w.e)(t.state.children,i,o.showProp)?a():t.setState({children:i},a)}}}};n.a=O},function(t,n,e){"use strict";var r=e(11),o=e.n(r),i=e(12),a=e.n(i),u=e(14),s=e.n(u),c=e(13),f=e.n(c),l=e(10),p=e.n(l),d=e(39),v=e.n(d),h=e(17),m=e.n(h),y=e(100),b=e(53),E={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},g=function(t){function n(){return o()(this,n),s()(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return f()(n,t),a()(n,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(t){b.a.isEnterSupported(this.props)?this.transition("enter",t):t()}},{key:"componentWillAppear",value:function(t){b.a.isAppearSupported(this.props)?this.transition("appear",t):t()}},{key:"componentWillLeave",value:function(t){b.a.isLeaveSupported(this.props)?this.transition("leave",t):t()}},{key:"transition",value:function(t,n){var r=this,o=v.a.findDOMNode(this),i=this.props,a=i.transitionName,u="object"==typeof a;this.stop();var s=function(){r.stopper=null,n()};if((y.a||!i.animation[t])&&a&&i[E[t]]){var c=u?a[t]:a+"-"+t,f=c+"-active";u&&a[t+"Active"]&&(f=a[t+"Active"]),this.stopper=e.i(y.b)(o,{name:c,active:f},s)}else this.stopper=i.animation[t](o,s)}},{key:"stop",value:function(){var t=this.stopper;t&&(this.stopper=null,t.stop())}},{key:"render",value:function(){return this.props.children}}]),n}(p.a.Component);g.propTypes={children:m.a.any},n.a=g},function(t,n,e){"use strict";var r=e(18),o=e.n(r),i=e(24),a=e.n(i),u=e(11),s=e.n(u),c=e(12),f=e.n(c),l=e(14),p=e.n(l),d=e(13),v=e.n(d),h=e(10),m=e.n(h),y=e(39),b=e.n(y),E=e(17),g=e.n(E),w=e(112),_=e(26),S=e.n(_),x=e(105),T=e.n(x),O=e(110),A="none",k="appear",L="enter",P="leave";n.a=function(t){function n(n){return!(!n.motionName||!t)}var r=function(t){function r(){s()(this,r);var t=p()(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return t.onDomUpdate=function(){var e=t.state,r=e.status,o=e.newStatus,i=t.props,a=i.onAppearStart,u=i.onEnterStart,s=i.onLeaveStart,c=i.onAppearActive,f=i.onEnterActive,l=i.onLeaveActive,p=i.motionAppear,d=i.motionEnter,v=i.motionLeave;if(n(t.props)){var h=b.a.findDOMNode(t);t.$ele!==h&&(t.removeEventListener(t.$ele),t.addEventListener(h),t.$ele=h),o&&r===k&&p?t.updateStatus(a,null,null,function(){t.updateActiveStatus(c,k)}):o&&r===L&&d?t.updateStatus(u,null,null,function(){t.updateActiveStatus(f,L)}):o&&r===P&&v&&t.updateStatus(s,null,null,function(){t.updateActiveStatus(l,P)})}},t.onMotionEnd=function(n){var e=t.state,r=e.status,o=e.statusActive,i=t.props,a=i.onAppearEnd,u=i.onEnterEnd,s=i.onLeaveEnd;r===k&&o?t.updateStatus(a,{status:A},n):r===L&&o?t.updateStatus(u,{status:A},n):r===P&&o&&t.updateStatus(s,{status:A},n)},t.addEventListener=function(n){n&&(n.addEventListener(O.a,t.onMotionEnd),n.addEventListener(O.b,t.onMotionEnd))},t.removeEventListener=function(n){n&&(n.removeEventListener(O.a,t.onMotionEnd),n.removeEventListener(O.b,t.onMotionEnd))},t.updateStatus=function(n,e,r,o){var i=n?n(b.a.findDOMNode(t),r):null;if(!1!==i&&!t._destroyed){var u=void 0;o&&(u=function(){t.nextFrame(o)}),t.setState(a()({statusStyle:"object"==typeof i?i:null,newStatus:!1},e),u)}},t.updateActiveStatus=function(n,e){t.nextFrame(function(){t.state.status===e&&t.updateStatus(n,{statusActive:!0})})},t.nextFrame=function(n){t.cancelNextFrame(),t.raf=T()(n)},t.cancelNextFrame=function(){t.raf&&(T.a.cancel(t.raf),t.raf=null)},t.state={status:A,statusActive:!1,newStatus:!1,statusStyle:null},t.$ele=null,t.raf=null,t}return v()(r,t),f()(r,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this._destroyed=!0,this.removeEventListener(this.$ele),this.cancelNextFrame()}},{key:"render",value:function(){var t,r=this.state,i=r.status,a=r.statusActive,u=r.statusStyle,s=this.props,c=s.children,f=s.motionName,l=s.visible,p=s.removeOnLeave;return c?i!==A&&n(this.props)?c({className:S()((t={},o()(t,e.i(O.c)(f,i),i!==A),o()(t,e.i(O.c)(f,i+"-active"),i!==A&&a),o()(t,f,"string"==typeof f),t)),style:u}):l||!p?c({}):null:null}}],[{key:"getDerivedStateFromProps",value:function(t,e){var r=e.prevProps;if(!n(t))return{};var o=t.visible,i=t.motionAppear,a=t.motionEnter,u=t.motionLeave,s=t.motionLeaveImmediately,c={prevProps:t};return!r&&o&&i&&(c.status=k,c.statusActive=!1,c.newStatus=!0),r&&!r.visible&&o&&a&&(c.status=L,c.statusActive=!1,c.newStatus=!0),(r&&r.visible&&!o&&u||!r&&s&&!o&&u)&&(c.status=P,c.statusActive=!1,c.newStatus=!0),c}}]),r}(m.a.Component);return r.propTypes={visible:g.a.bool,children:g.a.func,motionName:g.a.oneOfType([g.a.string,g.a.object]),motionAppear:g.a.bool,motionEnter:g.a.bool,motionLeave:g.a.bool,motionLeaveImmediately:g.a.bool,removeOnLeave:g.a.bool,onAppearStart:g.a.func,onAppearActive:g.a.func,onAppearEnd:g.a.func,onEnterStart:g.a.func,onEnterActive:g.a.func,onEnterEnd:g.a.func,onLeaveStart:g.a.func,onLeaveActive:g.a.func,onLeaveEnd:g.a.func},r.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},e.i(w.a)(r),r}(O.d)},function(t,n,e){"use strict";function r(t){var n=[];return c.a.Children.forEach(t,function(t){n.push(t)}),n}function o(t,n){var e=null;return t&&t.forEach(function(t){e||t&&t.key===n&&(e=t)}),e}function i(t,n,e){var r=null;return t&&t.forEach(function(t){if(t&&t.key===n&&t.props[e]){if(r)throw new Error("two child with same key for <rc-animate> children");r=t}}),r}function a(t,n,e){var r=t.length===n.length;return r&&t.forEach(function(t,o){var i=n[o];t&&i&&(t&&!i||!t&&i?r=!1:t.key!==i.key?r=!1:e&&t.props[e]!==i.props[e]&&(r=!1))}),r}function u(t,n){var e=[],r={},i=[];return t.forEach(function(t){t&&o(n,t.key)?i.length&&(r[t.key]=i,i=[]):i.push(t)}),n.forEach(function(t){t&&Object.prototype.hasOwnProperty.call(r,t.key)&&(e=e.concat(r[t.key])),e.push(t)}),e=e.concat(i)}n.a=r,n.b=o,n.d=i,n.e=a,n.c=u;var s=e(10),c=e.n(s)},function(t,n,e){"use strict";function r(t,n){var e={};return e[t.toLowerCase()]=n.toLowerCase(),e["Webkit"+t]="webkit"+n,e["Moz"+t]="moz"+n,e["ms"+t]="MS"+n,e["O"+t]="o"+n.toLowerCase(),e}function o(t){if(c[t])return c[t];var n=u[t];if(n)for(var e=Object.keys(n),r=e.length,o=0;o<r;o+=1){var i=e[o];if(Object.prototype.hasOwnProperty.call(n,i)&&i in s)return c[t]=n[i],c[t]}return""}function i(t,n){if(!t)return null;if("object"==typeof t){return t[n.replace(/-\w/g,function(t){return t[1].toUpperCase()})]}return t+"-"+n}e.d(n,"b",function(){return f}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return p}),n.c=i;var a=!("undefined"==typeof window||!window.document||!window.document.createElement),u=function(t,n){var e={animationend:r("Animation","AnimationEnd"),transitionend:r("Transition","TransitionEnd")};return t&&("AnimationEvent"in n||delete e.animationend.animation,"TransitionEvent"in n||delete e.transitionend.transition),e}(a,"undefined"!=typeof window?window:{}),s={};a&&(s=document.createElement("div").style);var c={},f=o("animationend"),l=o("transitionend"),p=!(!f||!l)},function(t,n,e){"use strict";function r(){var t=[].slice.call(arguments,0);return 1===t.length?t[0]:function(){for(var n=0;n<t.length;n++)t[n]&&t[n].apply&&t[n].apply(this,arguments)}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r,t.exports=n.default},function(t,n,e){"use strict";function r(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==t&&void 0!==t&&this.setState(t)}function o(t){function n(n){var e=this.constructor.getDerivedStateFromProps(t,n);return null!==e&&void 0!==e?e:null}this.setState(n.bind(this))}function i(t,n){try{var e=this.props,r=this.state;this.props=t,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(e,r)}finally{this.props=e,this.state=r}}function a(t){var n=t.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return t;var e=null,a=null,u=null;if("function"==typeof n.componentWillMount?e="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(e="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?u="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(u="UNSAFE_componentWillUpdate"),null!==e||null!==a||null!==u){var s=t.displayName||t.name,c="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==e?"\n "+e:"")+(null!==a?"\n "+a:"")+(null!==u?"\n "+u:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof t.getDerivedStateFromProps&&(n.componentWillMount=r,n.componentWillReceiveProps=o),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=i;var f=n.componentDidUpdate;n.componentDidUpdate=function(t,n,e){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:e;f.call(this,t,n,r)}}return t}e.d(n,"a",function(){return a}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(t,n){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){e(55),t.exports=e(54)}])}); | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],n):"object"==typeof exports?exports["rc-notification"]=n(require("react"),require("react-dom")):t["rc-notification"]=n(t.React,t.ReactDOM)}(this,function(t,n){return function(t){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}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get: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,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=107)}([function(t,n){var e=t.exports={version:"2.6.4"};"number"==typeof __e&&(__e=e)},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){t.exports=!e(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(10),o=e(44),i=e(34),a=Object.defineProperty;n.f=e(2)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return a(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(1),o=e(0),i=e(42),a=e(6),u=e(3),s=function(t,n,e){var c,f,l,p=t&s.F,d=t&s.G,v=t&s.S,h=t&s.P,y=t&s.B,m=t&s.W,b=d?o:o[n]||(o[n]={}),E=b.prototype,g=d?r:v?r[n]:(r[n]||{}).prototype;d&&(e=n);for(c in e)(f=!p&&g&&void 0!==g[c])&&u(b,c)||(l=f?g[c]:e[c],b[c]=d&&"function"!=typeof g[c]?e[c]:y&&f?i(l,r):m&&g[c]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((b.virtual||(b.virtual={}))[c]=l,t&s.R&&E&&!E[c]&&a(E,c,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,n,e){var r=e(4),o=e(20);t.exports=e(2)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(45),o=e(25);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(32)("wks"),o=e(21),i=e(1).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,n,e){var r=e(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(n,e){n.exports=t},function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(37),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(60),i=r(o),a=e(59),u=r(a),s=e(24),c=r(s);n.default=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+(void 0===n?"undefined":(0,c.default)(n)));t.prototype=(0,u.default)(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(i.default?(0,i.default)(t,n):t.__proto__=n)}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(24),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==(void 0===n?"undefined":(0,o.default)(n))&&"function"!=typeof n?t:n}},function(t,n){t.exports=!0},function(t,n,e){var r=e(49),o=e(26);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){t.exports=e(101)()},function(t,n,e){"use strict";n.__esModule=!0;var r=e(37),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(t,n,e){return n in t?(0,o.default)(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(62),i=r(o),a=e(61),u=r(a),s="function"==typeof u.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":typeof t};n.default="function"==typeof u.default&&"symbol"===s(i.default)?function(t){return void 0===t?"undefined":s(t)}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":void 0===t?"undefined":s(t)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){t.exports={}},function(t,n,e){var r=e(10),o=e(81),i=e(26),a=e(31)("IE_PROTO"),u=function(){},s=function(){var t,n=e(43)("iframe"),r=i.length;for(n.style.display="none",e(75).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[i[r]];return s()};t.exports=Object.create||function(t,n){var e;return null!==t?(u.prototype=r(t),e=new u,u.prototype=null,e[a]=t):e=s(),void 0===n?e:o(e,n)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(4).f,o=e(3),i=e(9)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){var r=e(32)("keys"),o=e(21);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(0),o=e(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(17)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(7);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(1),o=e(0),i=e(17),a=e(36),u=e(4).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||u(n,t,{value:a.f(t)})}},function(t,n,e){n.f=e(9)},function(t,n,e){t.exports={default:e(67),__esModule:!0}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(58),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=o.default||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}},function(t,n,e){var r,o;!function(){"use strict";function e(){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)&&r.length){var a=e.apply(null,r);a&&t.push(a)}else if("object"===o)for(var u in r)i.call(r,u)&&r[u]&&t.push(u)}}return t.join(" ")}var i={}.hasOwnProperty;void 0!==t&&t.exports?(e.default=e,t.exports=e):(r=[],void 0!==(o=function(){return e}.apply(n,r))&&(t.exports=o))}()},function(t,n){t.exports=function(t,n){if(t.indexOf)return t.indexOf(n);for(var e=0;e<t.length;++e)if(t[e]===n)return e;return-1}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(71);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(7),o=e(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){t.exports=!e(2)&&!e(11)(function(){return 7!=Object.defineProperty(e(43)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(41);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){"use strict";var r=e(17),o=e(5),i=e(50),a=e(6),u=e(27),s=e(77),c=e(30),f=e(83),l=e(9)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,n,e,v,h,y,m){s(e,n,v);var b,E,g,_=function(t){if(!p&&t in k)return k[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},x=n+" Iterator",O="values"==h,T=!1,k=t.prototype,w=k[l]||k["@@iterator"]||h&&k[h],S=w||_(h),A=h?O?_("entries"):S:void 0,L="Array"==n?k.entries||w:w;if(L&&(g=f(L.call(new t)))!==Object.prototype&&g.next&&(c(g,x,!0),r||"function"==typeof g[l]||a(g,l,d)),O&&w&&"values"!==w.name&&(T=!0,S=function(){return w.call(this)}),r&&!m||!p&&!T&&k[l]||a(k,l,S),u[n]=S,u[x]=d,h)if(b={values:O?S:_("values"),keys:y?S:_("keys"),entries:A},m)for(E in b)E in k||i(k,E,b[E]);else o(o.P+o.F*(p||T),n,b);return b}},function(t,n,e){var r=e(19),o=e(20),i=e(8),a=e(34),u=e(3),s=e(44),c=Object.getOwnPropertyDescriptor;n.f=e(2)?c:function(t,n){if(t=i(t),n=a(n,!0),s)try{return c(t,n)}catch(t){}if(u(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(49),o=e(26).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(3),o=e(8),i=e(73)(!1),a=e(31)("IE_PROTO");t.exports=function(t,n){var e,u=o(t),s=0,c=[];for(e in u)e!=a&&r(u,e)&&c.push(e);for(;n.length>s;)r(u,e=n[s++])&&(~i(c,e)||c.push(e));return c}},function(t,n,e){t.exports=e(6)},function(t,n,e){var r=e(25);t.exports=function(t){return Object(r(t))}},function(t,n,e){"use strict";var r={isAppearSupported:function(t){return t.transitionName&&t.transitionAppear||t.animation.appear},isEnterSupported:function(t){return t.transitionName&&t.transitionEnter||t.animation.enter},isLeaveSupported:function(t){return t.transitionName&&t.transitionLeave||t.animation.leave},allowAppearCallback:function(t){return t.transitionAppear||t.animation.appear},allowEnterCallback:function(t){return t.transitionEnter||t.animation.enter},allowLeaveCallback:function(t){return t.transitionLeave||t.animation.leave}};n.a=r},function(t,e){t.exports=n},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(57);n.default=r.a},function(t,n){},function(t,n,e){"use strict";var r=e(23),o=e.n(r),i=e(13),a=e.n(i),u=e(14),s=e.n(u),c=e(16),f=e.n(c),l=e(15),p=e.n(l),d=e(12),v=e.n(d),h=e(39),y=e.n(h),m=e(22),b=e.n(m),E=function(t){function n(){var t,e,r,o;a()(this,n);for(var i=arguments.length,u=Array(i),s=0;s<i;s++)u[s]=arguments[s];return e=r=f()(this,(t=n.__proto__||Object.getPrototypeOf(n)).call.apply(t,[this].concat(u))),r.close=function(t){t&&t.stopPropagation(),r.clearCloseTimer(),r.props.onClose()},r.startCloseTimer=function(){r.props.duration&&(r.closeTimer=setTimeout(function(){r.close()},1e3*r.props.duration))},r.clearCloseTimer=function(){r.closeTimer&&(clearTimeout(r.closeTimer),r.closeTimer=null)},o=e,f()(r,o)}return p()(n,t),s()(n,[{key:"componentDidMount",value:function(){this.startCloseTimer()}},{key:"componentDidUpdate",value:function(t){(this.props.duration!==t.duration||this.props.update)&&this.restartCloseTimer()}},{key:"componentWillUnmount",value:function(){this.clearCloseTimer()}},{key:"restartCloseTimer",value:function(){this.clearCloseTimer(),this.startCloseTimer()}},{key:"render",value:function(){var t,n=this.props,e=n.prefixCls+"-notice",r=(t={},o()(t,""+e,1),o()(t,e+"-closable",n.closable),o()(t,n.className,!!n.className),t);return v.a.createElement("div",{className:y()(r),style:n.style,onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onClick:n.onClick},v.a.createElement("div",{className:e+"-content"},n.children),n.closable?v.a.createElement("a",{tabIndex:"0",onClick:this.close,className:e+"-close"},n.closeIcon||v.a.createElement("span",{className:e+"-close-x"})):null)}}]),n}(d.Component);E.propTypes={duration:b.a.number,onClose:b.a.func,children:b.a.any,update:b.a.bool,closeIcon:b.a.node},E.defaultProps={onEnd:function(){},onClose:function(){},duration:1.5,style:{right:"50%"}},n.a=E},function(t,n,e){"use strict";function r(){return"rcNotification_"+P+"_"+j++}var o=e(63),i=e.n(o),a=e(23),u=e.n(a),s=e(38),c=e.n(s),f=e(13),l=e.n(f),p=e(14),d=e.n(p),v=e(16),h=e.n(v),y=e(15),m=e.n(y),b=e(12),E=e.n(b),g=e(22),_=e.n(g),x=e(53),O=e.n(x),T=e(103),k=e(106),w=e.n(k),S=e(39),A=e.n(S),L=e(56),j=0,P=Date.now(),C=function(t){function n(){var t,e,o,i;l()(this,n);for(var a=arguments.length,u=Array(a),s=0;s<a;s++)u[s]=arguments[s];return e=o=h()(this,(t=n.__proto__||Object.getPrototypeOf(n)).call.apply(t,[this].concat(u))),o.state={notices:[]},o.add=function(t){var n=t.key=t.key||r(),e=o.props.maxCount;o.setState(function(r){var o=r.notices,i=o.map(function(t){return t.key}).indexOf(n),a=o.concat();return-1!==i?a.splice(i,1,t):(e&&o.length>=e&&(t.updateKey=a[0].updateKey||a[0].key,a.shift()),a.push(t)),{notices:a}})},o.remove=function(t){o.setState(function(n){return{notices:n.notices.filter(function(n){return n.key!==t})}})},i=e,h()(o,i)}return m()(n,t),d()(n,[{key:"getTransitionName",value:function(){var t=this.props,n=t.transitionName;return!n&&t.animation&&(n=t.prefixCls+"-"+t.animation),n}},{key:"render",value:function(){var t,n=this,e=this.props,r=this.state.notices,o=r.map(function(t,o){var i=Boolean(o===r.length-1&&t.updateKey),a=t.updateKey?t.updateKey:t.key,u=w()(n.remove.bind(n,t.key),t.onClose);return E.a.createElement(L.a,c()({prefixCls:e.prefixCls},t,{key:a,update:i,onClose:u,onClick:t.onClick,closeIcon:e.closeIcon}),t.content)}),i=(t={},u()(t,e.prefixCls,1),u()(t,e.className,!!e.className),t);return E.a.createElement("div",{className:A()(i),style:e.style},E.a.createElement(T.a,{transitionName:this.getTransitionName()},o))}}]),n}(b.Component);C.propTypes={prefixCls:_.a.string,transitionName:_.a.string,animation:_.a.oneOfType([_.a.string,_.a.object]),style:_.a.object,maxCount:_.a.number,closeIcon:_.a.node},C.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},C.newInstance=function(t,n){function e(t){s||(s=!0,n({notice:function(n){t.add(n)},removeNotice:function(n){t.remove(n)},component:t,destroy:function(){O.a.unmountComponentAtNode(u),u.parentNode.removeChild(u)}}))}var r=t||{},o=r.getContainer,a=i()(r,["getContainer"]),u=document.createElement("div");if(o){o().appendChild(u)}else document.body.appendChild(u);var s=!1;O.a.render(E.a.createElement(C,c()({},a,{ref:e})),u)},n.a=C},function(t,n,e){t.exports={default:e(65),__esModule:!0}},function(t,n,e){t.exports={default:e(66),__esModule:!0}},function(t,n,e){t.exports={default:e(68),__esModule:!0}},function(t,n,e){t.exports={default:e(69),__esModule:!0}},function(t,n,e){t.exports={default:e(70),__esModule:!0}},function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){var e={};for(var r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}},function(t,n,e){function r(t){if(!t||!t.nodeType)throw new Error("A DOM element reference is required");this.el=t,this.list=t.classList}try{var o=e(40)}catch(t){var o=e(40)}var i=/\s+/,a=Object.prototype.toString;t.exports=function(t){return new r(t)},r.prototype.add=function(t){if(this.list)return this.list.add(t),this;var n=this.array();return~o(n,t)||n.push(t),this.el.className=n.join(" "),this},r.prototype.remove=function(t){if("[object RegExp]"==a.call(t))return this.removeMatching(t);if(this.list)return this.list.remove(t),this;var n=this.array(),e=o(n,t);return~e&&n.splice(e,1),this.el.className=n.join(" "),this},r.prototype.removeMatching=function(t){for(var n=this.array(),e=0;e<n.length;e++)t.test(n[e])&&this.remove(n[e]);return this},r.prototype.toggle=function(t,n){return this.list?(void 0!==n?n!==this.list.toggle(t,n)&&this.list.toggle(t):this.list.toggle(t),this):(void 0!==n?n?this.add(t):this.remove(t):this.has(t)?this.remove(t):this.add(t),this)},r.prototype.array=function(){var t=this.el.getAttribute("class")||"",n=t.replace(/^\s+|\s+$/g,""),e=n.split(i);return""===e[0]&&e.shift(),e},r.prototype.has=r.prototype.contains=function(t){return this.list?this.list.contains(t):!!~o(this.array(),t)}},function(t,n,e){e(89),t.exports=e(0).Object.assign},function(t,n,e){e(90);var r=e(0).Object;t.exports=function(t,n){return r.create(t,n)}},function(t,n,e){e(91);var r=e(0).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n,e){e(92),t.exports=e(0).Object.setPrototypeOf},function(t,n,e){e(95),e(93),e(96),e(97),t.exports=e(0).Symbol},function(t,n,e){e(94),e(98),t.exports=e(36).f("iterator")},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){t.exports=function(){}},function(t,n,e){var r=e(8),o=e(87),i=e(86);t.exports=function(t){return function(n,e,a){var u,s=r(n),c=o(s.length),f=i(a,c);if(t&&e!=e){for(;c>f;)if((u=s[f++])!=u)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(18),o=e(29),i=e(19);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var a,u=e(t),s=i.f,c=0;u.length>c;)s.call(t,a=u[c++])&&n.push(a);return n}},function(t,n,e){var r=e(1).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(41);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){"use strict";var r=e(28),o=e(20),i=e(30),a={};e(6)(a,e(9)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(a,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(21)("meta"),o=e(7),i=e(3),a=e(4).f,u=0,s=Object.isExtensible||function(){return!0},c=!e(11)(function(){return s(Object.preventExtensions({}))}),f=function(t){a(t,r,{value:{i:"O"+ ++u,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!s(t))return"F";if(!n)return"E";f(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!s(t))return!0;if(!n)return!1;f(t)}return t[r].w},d=function(t){return c&&v.NEED&&s(t)&&!i(t,r)&&f(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:d}},function(t,n,e){"use strict";var r=e(18),o=e(29),i=e(19),a=e(51),u=e(45),s=Object.assign;t.exports=!s||e(11)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=s({},t)[e]||Object.keys(s({},n)).join("")!=r})?function(t,n){for(var e=a(t),s=arguments.length,c=1,f=o.f,l=i.f;s>c;)for(var p,d=u(arguments[c++]),v=f?r(d).concat(f(d)):r(d),h=v.length,y=0;h>y;)l.call(d,p=v[y++])&&(e[p]=d[p]);return e}:s},function(t,n,e){var r=e(4),o=e(10),i=e(18);t.exports=e(2)?Object.defineProperties:function(t,n){o(t);for(var e,a=i(n),u=a.length,s=0;u>s;)r.f(t,e=a[s++],n[e]);return t}},function(t,n,e){var r=e(8),o=e(48).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?u(t):o(r(t))}},function(t,n,e){var r=e(3),o=e(51),i=e(31)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n,e){var r=e(7),o=e(10),i=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e(42)(Function.call,e(47).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return i(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:i}},function(t,n,e){var r=e(33),o=e(25);t.exports=function(t){return function(n,e){var i,a,u=String(o(n)),s=r(e),c=u.length;return s<0||s>=c?t?"":void 0:(i=u.charCodeAt(s),i<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):i:t?u.slice(s,s+2):a-56320+(i-55296<<10)+65536)}}},function(t,n,e){var r=e(33),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(33),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){"use strict";var r=e(72),o=e(78),i=e(27),a=e(8);t.exports=e(46)(Array,"Array",function(t,n){this._t=a(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(5);r(r.S+r.F,"Object",{assign:e(80)})},function(t,n,e){var r=e(5);r(r.S,"Object",{create:e(28)})},function(t,n,e){var r=e(5);r(r.S+r.F*!e(2),"Object",{defineProperty:e(4).f})},function(t,n,e){var r=e(5);r(r.S,"Object",{setPrototypeOf:e(84).set})},function(t,n){},function(t,n,e){"use strict";var r=e(85)(!0);e(46)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){"use strict";var r=e(1),o=e(3),i=e(2),a=e(5),u=e(50),s=e(79).KEY,c=e(11),f=e(32),l=e(30),p=e(21),d=e(9),v=e(36),h=e(35),y=e(74),m=e(76),b=e(10),E=e(7),g=e(8),_=e(34),x=e(20),O=e(28),T=e(82),k=e(47),w=e(4),S=e(18),A=k.f,L=w.f,j=T.f,P=r.Symbol,C=r.JSON,M=C&&C.stringify,N=d("_hidden"),R=d("toPrimitive"),D={}.propertyIsEnumerable,F=f("symbol-registry"),I=f("symbols"),W=f("op-symbols"),K=Object.prototype,z="function"==typeof P,V=r.QObject,G=!V||!V.prototype||!V.prototype.findChild,q=i&&c(function(){return 7!=O(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=A(K,n);r&&delete K[n],L(t,n,e),r&&t!==K&&L(K,n,r)}:L,B=function(t){var n=I[t]=O(P.prototype);return n._k=t,n},U=z&&"symbol"==typeof P.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof P},H=function(t,n,e){return t===K&&H(W,n,e),b(t),n=_(n,!0),b(e),o(I,n)?(e.enumerable?(o(t,N)&&t[N][n]&&(t[N][n]=!1),e=O(e,{enumerable:x(0,!1)})):(o(t,N)||L(t,N,x(1,{})),t[N][n]=!0),q(t,n,e)):L(t,n,e)},J=function(t,n){b(t);for(var e,r=y(n=g(n)),o=0,i=r.length;i>o;)H(t,e=r[o++],n[e]);return t},Y=function(t,n){return void 0===n?O(t):J(O(t),n)},Q=function(t){var n=D.call(this,t=_(t,!0));return!(this===K&&o(I,t)&&!o(W,t))&&(!(n||!o(this,t)||!o(I,t)||o(this,N)&&this[N][t])||n)},$=function(t,n){if(t=g(t),n=_(n,!0),t!==K||!o(I,n)||o(W,n)){var e=A(t,n);return!e||!o(I,n)||o(t,N)&&t[N][n]||(e.enumerable=!0),e}},X=function(t){for(var n,e=j(g(t)),r=[],i=0;e.length>i;)o(I,n=e[i++])||n==N||n==s||r.push(n);return r},Z=function(t){for(var n,e=t===K,r=j(e?W:g(t)),i=[],a=0;r.length>a;)!o(I,n=r[a++])||e&&!o(K,n)||i.push(I[n]);return i};z||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===K&&n.call(W,e),o(this,N)&&o(this[N],t)&&(this[N][t]=!1),q(this,t,x(1,e))};return i&&G&&q(K,t,{configurable:!0,set:n}),B(t)},u(P.prototype,"toString",function(){return this._k}),k.f=$,w.f=H,e(48).f=T.f=X,e(19).f=Q,e(29).f=Z,i&&!e(17)&&u(K,"propertyIsEnumerable",Q,!0),v.f=function(t){return B(d(t))}),a(a.G+a.W+a.F*!z,{Symbol:P});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;tt.length>nt;)d(tt[nt++]);for(var et=S(d.store),rt=0;et.length>rt;)h(et[rt++]);a(a.S+a.F*!z,"Symbol",{for:function(t){return o(F,t+="")?F[t]:F[t]=P(t)},keyFor:function(t){if(!U(t))throw TypeError(t+" is not a symbol!");for(var n in F)if(F[n]===t)return n},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!z,"Object",{create:Y,defineProperty:H,defineProperties:J,getOwnPropertyDescriptor:$,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),C&&a(a.S+a.F*(!z||c(function(){var t=P();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(E(n)||void 0!==t)&&!U(t))return m(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!U(n))return n}),r[1]=n,M.apply(C,r)}}),P.prototype[R]||e(6)(P.prototype,R,P.prototype.valueOf),l(P,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){e(35)("asyncIterator")},function(t,n,e){e(35)("observable")},function(t,n,e){e(88);for(var r=e(1),o=e(6),i=e(27),a=e(9)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<u.length;s++){var c=u[s],f=r[c],l=f&&f.prototype;l&&!l[a]&&o(l,a,c),i[c]=i.Array}},function(t,n,e){"use strict";function r(t,n,e){t.addEventListener(n,e,!1)}function o(t,n,e){t.removeEventListener(n,e,!1)}var i={transitionstart:{transition:"transitionstart",WebkitTransition:"webkitTransitionStart",MozTransition:"mozTransitionStart",OTransition:"oTransitionStart",msTransition:"MSTransitionStart"},animationstart:{animation:"animationstart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"mozAnimationStart",OAnimation:"oAnimationStart",msAnimation:"MSAnimationStart"}},a={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},u=[],s=[];"undefined"!=typeof window&&"undefined"!=typeof document&&function(){function t(t,n){for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];for(var i in o)if(i in e){n.push(o[i]);break}}}var n=document.createElement("div"),e=n.style;"AnimationEvent"in window||(delete i.animationstart.animation,delete a.animationend.animation),"TransitionEvent"in window||(delete i.transitionstart.transition,delete a.transitionend.transition),t(i,u),t(a,s)}();var c={startEvents:u,addStartEventListener:function(t,n){if(0===u.length)return void window.setTimeout(n,0);u.forEach(function(e){r(t,e,n)})},removeStartEventListener:function(t,n){0!==u.length&&u.forEach(function(e){o(t,e,n)})},endEvents:s,addEndEventListener:function(t,n){if(0===s.length)return void window.setTimeout(n,0);s.forEach(function(e){r(t,e,n)})},removeEndEventListener:function(t,n){0!==s.length&&s.forEach(function(e){o(t,e,n)})}};n.a=c},function(t,n,e){"use strict";function r(t,n){for(var e=window.getComputedStyle(t,null),r="",o=0;o<d.length&&!(r=e.getPropertyValue(d[o]+n));o++);return r}function o(t){if(l){var n=parseFloat(r(t,"transition-delay"))||0,e=parseFloat(r(t,"transition-duration"))||0,o=parseFloat(r(t,"animation-delay"))||0,i=parseFloat(r(t,"animation-duration"))||0,a=Math.max(e+n,i+o);t.rcEndAnimTimeout=setTimeout(function(){t.rcEndAnimTimeout=null,t.rcEndListener&&t.rcEndListener()},1e3*a+200)}}function i(t){t.rcEndAnimTimeout&&(clearTimeout(t.rcEndAnimTimeout),t.rcEndAnimTimeout=null)}e.d(n,"a",function(){return l});var a=e(24),u=e.n(a),s=e(99),c=e(64),f=e.n(c),l=0!==s.a.endEvents.length,p=["Webkit","Moz","O","ms"],d=["-webkit-","-moz-","-o-","ms-",""],v=function(t,n,e){var r="object"===(void 0===n?"undefined":u()(n)),a=r?n.name:n,c=r?n.active:n+"-active",l=e,p=void 0,d=void 0,v=f()(t);return e&&"[object Object]"===Object.prototype.toString.call(e)&&(l=e.end,p=e.start,d=e.active),t.rcEndListener&&t.rcEndListener(),t.rcEndListener=function(n){n&&n.target!==t||(t.rcAnimTimeout&&(clearTimeout(t.rcAnimTimeout),t.rcAnimTimeout=null),i(t),v.remove(a),v.remove(c),s.a.removeEndEventListener(t,t.rcEndListener),t.rcEndListener=null,l&&l())},s.a.addEndEventListener(t,t.rcEndListener),p&&p(),v.add(a),t.rcAnimTimeout=setTimeout(function(){t.rcAnimTimeout=null,v.add(c),d&&setTimeout(d,0),o(t)},30),{stop:function(){t.rcEndListener&&t.rcEndListener()}}};v.style=function(t,n,e){t.rcEndListener&&t.rcEndListener(),t.rcEndListener=function(n){n&&n.target!==t||(t.rcAnimTimeout&&(clearTimeout(t.rcAnimTimeout),t.rcAnimTimeout=null),i(t),s.a.removeEndEventListener(t,t.rcEndListener),t.rcEndListener=null,e&&e())},s.a.addEndEventListener(t,t.rcEndListener),t.rcAnimTimeout=setTimeout(function(){for(var e in n)n.hasOwnProperty(e)&&(t.style[e]=n[e]);t.rcAnimTimeout=null,o(t)},0)},v.setTransition=function(t,n,e){var r=n,o=e;void 0===e&&(o=r,r=""),r=r||"",p.forEach(function(n){t.style[n+"Transition"+r]=o})},v.isCssAnimationSupported=l,n.b=v},function(t,n,e){"use strict";function r(){}function o(){}var i=e(102);o.resetWarningCache=r,t.exports=function(){function t(t,n,e,r,o,a){if(a!==i){var u=new Error("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");throw u.name="Invariant Violation",u}}function n(){return t}t.isRequired=t;var e={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:r};return e.PropTypes=e,e}},function(t,n,e){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,n,e){"use strict";function r(t){var n=t.children;return b.a.isValidElement(n)&&!n.key?b.a.cloneElement(n,{key:T}):n}function o(){}var i=e(38),a=e.n(i),u=e(23),s=e.n(u),c=e(13),f=e.n(c),l=e(14),p=e.n(l),d=e(16),v=e.n(d),h=e(15),y=e.n(h),m=e(12),b=e.n(m),E=e(22),g=e.n(E),_=e(105),x=e(104),O=e(52),T="rc_animate_"+Date.now(),k=function(t){function n(t){f()(this,n);var o=v()(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return w.call(o),o.currentlyAnimatingKeys={},o.keysToEnter=[],o.keysToLeave=[],o.state={children:e.i(_.a)(r(t))},o.childrenRefs={},o}return y()(n,t),p()(n,[{key:"componentDidMount",value:function(){var t=this,n=this.props.showProp,e=this.state.children;n&&(e=e.filter(function(t){return!!t.props[n]})),e.forEach(function(n){n&&t.performAppear(n.key)})}},{key:"componentWillReceiveProps",value:function(t){var n=this;this.nextProps=t;var o=e.i(_.a)(r(t)),i=this.props;i.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(t){n.stop(t)});var a=i.showProp,u=this.currentlyAnimatingKeys,c=i.exclusive?e.i(_.a)(r(i)):this.state.children,f=[];a?(c.forEach(function(t){var n=t&&e.i(_.b)(o,t.key),r=void 0;(r=n&&n.props[a]||!t.props[a]?n:b.a.cloneElement(n||t,s()({},a,!0)))&&f.push(r)}),o.forEach(function(t){t&&e.i(_.b)(c,t.key)||f.push(t)})):f=e.i(_.c)(c,o),this.setState({children:f}),o.forEach(function(t){var r=t&&t.key;if(!t||!u[r]){var o=t&&e.i(_.b)(c,r);if(a){var i=t.props[a];if(o){!e.i(_.d)(c,r,a)&&i&&n.keysToEnter.push(r)}else i&&n.keysToEnter.push(r)}else o||n.keysToEnter.push(r)}}),c.forEach(function(t){var r=t&&t.key;if(!t||!u[r]){var i=t&&e.i(_.b)(o,r);if(a){var s=t.props[a];if(i){!e.i(_.d)(o,r,a)&&s&&n.keysToLeave.push(r)}else s&&n.keysToLeave.push(r)}else i||n.keysToLeave.push(r)}})}},{key:"componentDidUpdate",value:function(){var t=this.keysToEnter;this.keysToEnter=[],t.forEach(this.performEnter);var n=this.keysToLeave;this.keysToLeave=[],n.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(t,n){var r=this.props.showProp;return r?e.i(_.d)(t,n,r):e.i(_.b)(t,n)}},{key:"stop",value:function(t){delete this.currentlyAnimatingKeys[t];var n=this.childrenRefs[t];n&&n.stop()}},{key:"render",value:function(){var t=this,n=this.props;this.nextProps=n;var e=this.state.children,r=null;e&&(r=e.map(function(e){if(null===e||void 0===e)return e;if(!e.key)throw new Error("must set key for <rc-animate> children");return b.a.createElement(x.a,{key:e.key,ref:function(n){t.childrenRefs[e.key]=n},animation:n.animation,transitionName:n.transitionName,transitionEnter:n.transitionEnter,transitionAppear:n.transitionAppear,transitionLeave:n.transitionLeave},e)}));var o=n.component;if(o){var i=n;return"string"==typeof o&&(i=a()({className:n.className,style:n.style},n.componentProps)),b.a.createElement(o,i,r)}return r[0]||null}}]),n}(b.a.Component);k.isAnimate=!0,k.propTypes={component:g.a.any,componentProps:g.a.object,animation:g.a.object,transitionName:g.a.oneOfType([g.a.string,g.a.object]),transitionEnter:g.a.bool,transitionAppear:g.a.bool,exclusive:g.a.bool,transitionLeave:g.a.bool,onEnd:g.a.func,onEnter:g.a.func,onLeave:g.a.func,onAppear:g.a.func,showProp:g.a.string,children:g.a.node},k.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:o,onEnter:o,onLeave:o,onAppear:o};var w=function(){var t=this;this.performEnter=function(n){t.childrenRefs[n]&&(t.currentlyAnimatingKeys[n]=!0,t.childrenRefs[n].componentWillEnter(t.handleDoneAdding.bind(t,n,"enter")))},this.performAppear=function(n){t.childrenRefs[n]&&(t.currentlyAnimatingKeys[n]=!0,t.childrenRefs[n].componentWillAppear(t.handleDoneAdding.bind(t,n,"appear")))},this.handleDoneAdding=function(n,o){var i=t.props;if(delete t.currentlyAnimatingKeys[n],!i.exclusive||i===t.nextProps){var a=e.i(_.a)(r(i));t.isValidChildByKey(a,n)?"appear"===o?O.a.allowAppearCallback(i)&&(i.onAppear(n),i.onEnd(n,!0)):O.a.allowEnterCallback(i)&&(i.onEnter(n),i.onEnd(n,!0)):t.performLeave(n)}},this.performLeave=function(n){t.childrenRefs[n]&&(t.currentlyAnimatingKeys[n]=!0,t.childrenRefs[n].componentWillLeave(t.handleDoneLeaving.bind(t,n)))},this.handleDoneLeaving=function(n){var o=t.props;if(delete t.currentlyAnimatingKeys[n],!o.exclusive||o===t.nextProps){var i=e.i(_.a)(r(o));if(t.isValidChildByKey(i,n))t.performEnter(n);else{var a=function(){O.a.allowLeaveCallback(o)&&(o.onLeave(n),o.onEnd(n,!1))};e.i(_.e)(t.state.children,i,o.showProp)?a():t.setState({children:i},a)}}}};n.a=k},function(t,n,e){"use strict";var r=e(13),o=e.n(r),i=e(14),a=e.n(i),u=e(16),s=e.n(u),c=e(15),f=e.n(c),l=e(12),p=e.n(l),d=e(53),v=e.n(d),h=e(22),y=e.n(h),m=e(100),b=e(52),E={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},g=function(t){function n(){return o()(this,n),s()(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return f()(n,t),a()(n,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(t){b.a.isEnterSupported(this.props)?this.transition("enter",t):t()}},{key:"componentWillAppear",value:function(t){b.a.isAppearSupported(this.props)?this.transition("appear",t):t()}},{key:"componentWillLeave",value:function(t){b.a.isLeaveSupported(this.props)?this.transition("leave",t):t()}},{key:"transition",value:function(t,n){var r=this,o=v.a.findDOMNode(this),i=this.props,a=i.transitionName,u="object"==typeof a;this.stop();var s=function(){r.stopper=null,n()};if((m.a||!i.animation[t])&&a&&i[E[t]]){var c=u?a[t]:a+"-"+t,f=c+"-active";u&&a[t+"Active"]&&(f=a[t+"Active"]),this.stopper=e.i(m.b)(o,{name:c,active:f},s)}else this.stopper=i.animation[t](o,s)}},{key:"stop",value:function(){var t=this.stopper;t&&(this.stopper=null,t.stop())}},{key:"render",value:function(){return this.props.children}}]),n}(p.a.Component);g.propTypes={children:y.a.any},n.a=g},function(t,n,e){"use strict";function r(t){var n=[];return c.a.Children.forEach(t,function(t){n.push(t)}),n}function o(t,n){var e=null;return t&&t.forEach(function(t){e||t&&t.key===n&&(e=t)}),e}function i(t,n,e){var r=null;return t&&t.forEach(function(t){if(t&&t.key===n&&t.props[e]){if(r)throw new Error("two child with same key for <rc-animate> children");r=t}}),r}function a(t,n,e){var r=t.length===n.length;return r&&t.forEach(function(t,o){var i=n[o];t&&i&&(t&&!i||!t&&i?r=!1:t.key!==i.key?r=!1:e&&t.props[e]!==i.props[e]&&(r=!1))}),r}function u(t,n){var e=[],r={},i=[];return t.forEach(function(t){t&&o(n,t.key)?i.length&&(r[t.key]=i,i=[]):i.push(t)}),n.forEach(function(t){t&&Object.prototype.hasOwnProperty.call(r,t.key)&&(e=e.concat(r[t.key])),e.push(t)}),e=e.concat(i)}n.a=r,n.b=o,n.d=i,n.e=a,n.c=u;var s=e(12),c=e.n(s)},function(t,n,e){"use strict";function r(){var t=[].slice.call(arguments,0);return 1===t.length?t[0]:function(){for(var n=0;n<t.length;n++)t[n]&&t[n].apply&&t[n].apply(this,arguments)}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r,t.exports=n.default},function(t,n,e){e(55),t.exports=e(54)}])}); |
@@ -24,3 +24,6 @@ import _defineProperty from 'babel-runtime/helpers/defineProperty'; | ||
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Notice.__proto__ || Object.getPrototypeOf(Notice)).call.apply(_ref, [this].concat(args))), _this), _this.close = function () { | ||
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Notice.__proto__ || Object.getPrototypeOf(Notice)).call.apply(_ref, [this].concat(args))), _this), _this.close = function (e) { | ||
if (e) { | ||
e.stopPropagation(); | ||
} | ||
_this.clearCloseTimer(); | ||
@@ -27,0 +30,0 @@ _this.props.onClose(); |
@@ -55,3 +55,6 @@ 'use strict'; | ||
return _ret = (_temp = (_this = (0, _possibleConstructorReturn3['default'])(this, (_ref = Notice.__proto__ || Object.getPrototypeOf(Notice)).call.apply(_ref, [this].concat(args))), _this), _this.close = function () { | ||
return _ret = (_temp = (_this = (0, _possibleConstructorReturn3['default'])(this, (_ref = Notice.__proto__ || Object.getPrototypeOf(Notice)).call.apply(_ref, [this].concat(args))), _this), _this.close = function (e) { | ||
if (e) { | ||
e.stopPropagation(); | ||
} | ||
_this.clearCloseTimer(); | ||
@@ -58,0 +61,0 @@ _this.props.onClose(); |
{ | ||
"name": "rc-notification", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "notification ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
2
426712
4899
12