!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.reduxLogger=t():e.reduxLogger=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){r(2),e.exports=r(2)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.repeat=function(e,t){return new Array(t+1).join(e)},n=t.pad=function(e,t){return r("0",t-e.toString().length)+e};t.formatTime=function(e){return n(e.getHours(),2)+":"+n(e.getMinutes(),2)+":"+n(e.getSeconds(),2)+"."+n(e.getMilliseconds(),3)},t.timer="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a({},c.default,e),r=t.logger,n=t.transformer,o=t.stateTransformer,f=t.errorTransformer,l=t.predicate,s=t.logErrors,p=t.diffPredicate;if("undefined"==typeof r)return function(){return function(e){return function(t){return e(t)}}};if(n&&console.error("Option 'transformer' is deprecated, use 'stateTransformer' instead!"),e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n\n\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\n\nconst logger = createLogger({\n // ...options\n});\n\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(e){return function(t){return e(t)}}};var d=[];return function(e){var r=e.getState;return function(e){return function(n){if("function"==typeof l&&!l(r,n))return e(n);var c={};d.push(c),c.started=u.timer.now(),c.startedTime=new Date,c.prevState=o(r()),c.action=n;var h=void 0;if(s)try{h=e(n)}catch(e){c.error=f(e)}else h=e(n);c.took=u.timer.now()-c.started,c.nextState=o(r());var g=t.diff&&"function"==typeof p?p(r,n):t.diff;if((0,i.printBuffer)(d,a({},t,{diff:g})),d.length=0,c.error)throw c.error;return h}}}}Object.defineProperty(t,"__esModule",{value:!0}),t.logger=t.defaults=void 0;var a=Object.assign||function(e){for(var t=1;t=r.length?n(new u(g,m,new i(e,t[m]))):l(t[m],r[m],n,s,g,m,h);for(;m=0?(l(t[o],r[o],n,s,g,o,h),w=f(w,i)):l(t[o],e,n,s,g,o,h)}),w.forEach(function(t){l(e,r[t],n,s,g,t,h)})}h.length=h.length-1}}else t!==r&&("number"===v&&isNaN(t)&&isNaN(r)||n(new o(g,t,r)))}function s(t,r,n,o){return o=o||[],l(t,r,function(e){e&&o.push(e)},n),o.length?o:e}function p(e,t,r){if(r.path&&r.path.length){var n,o=e[t],a=r.path.length-1;for(n=0;n