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CAAC,EAIpB,EAAQ,GAAK,EACb,EAAQ,YAAc,EACtB,EAAQ,KAAO,EACf,EAAQ,IAAM,EACd,EAAQ,eAAiB,EACzB,EAAQ,mBAAqB,EAC7B,EAAQ,KAAO,EAEf,EAAQ,QAAU,SAAU,GACxB,MAAM,IAAI,MAAM,mCACpB,EAEA,EAAQ,IAAM,WAAc,MAAO,GAAI,EACvC,EAAQ,MAAQ,SAAU,GACtB,MAAM,IAAI,MAAM,iCACpB,EACA,EAAQ,MAAQ,WAAa,OAAO,CAAG,CAGhC,EAED,SAAU,EAAQ,EAAS,GAEjC,aAGA,OAAO,eAAe,EAAS,aAAc,CAC3C,OAAO,IAGT,IAAI,EAAc,EAAoB,GAEtC,OAAO,eAAe,EAAS,UAAW,CACxC,YAAY,EACZ,IAAK,WACH,OA+B4B,EA/BE,EA+BY,GAAO,EAAI,WAAa,EAAM,CAAE,QAAS,IA/BxC,QA+B/C,IAAgC,CA9B9B,IAEF,OAAO,eAAe,EAAS,wBAAyB,CACtD,YAAY,EACZ,IAAK,WACH,OAAO,EAAY,qBACrB,IAGF,IAAI,EAAkB,EAAoB,GAE1C,OAAO,eAAe,EAAS,iBAAkB,CAC/C,YAAY,EACZ,IAAK,WACH,OAAO,EAAgB,cACzB,IAEF,OAAO,eAAe,EAAS,eAAgB,CAC7C,YAAY,EACZ,IAAK,WACH,OAAO,EAAgB,YACzB,IAEF,OAAO,eAAe,EAAS,iBAAkB,CAC/C,YAAY,EACZ,IAAK,WACH,OAAO,EAAgB,cACzB,GAKK,GAEP","file":"/npm/redux-axios-middleware@4.0.1/dist/bundle.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/redux-axios-middleware@4.0.1/dist/bundle.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReduxAxiosMiddleware\"] = factory();\n\telse\n\t\troot[\"ReduxAxiosMiddleware\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 4);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nvar SUCCESS_SUFFIX = exports.SUCCESS_SUFFIX = '_SUCCESS';\nvar ERROR_SUFFIX = exports.ERROR_SUFFIX = '_FAIL';\n\nvar getActionTypes = exports.getActionTypes = function getActionTypes(action) {\n  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n      _ref$errorSuffix = _ref.errorSuffix,\n      errorSuffix = _ref$errorSuffix === undefined ? ERROR_SUFFIX : _ref$errorSuffix,\n      _ref$successSuffix = _ref.successSuffix,\n      successSuffix = _ref$successSuffix === undefined ? SUCCESS_SUFFIX : _ref$successSuffix;\n\n  var types = void 0;\n  if (typeof action.type !== 'undefined') {\n    var type = action.type;\n\n    types = [type, '' + type + successSuffix, '' + type + errorSuffix];\n  } else if (typeof action.types !== 'undefined') {\n    types = action.types;\n  } else {\n    throw new Error('Action which matched axios middleware needs to have \"type\" or \"types\" key which is not null');\n  }\n  return types;\n};\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.multiClientMiddleware = undefined;\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _defaults = __webpack_require__(2);\n\nvar defaultOptions = _interopRequireWildcard(_defaults);\n\nvar _getActionTypes3 = __webpack_require__(0);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction addInterceptor(target, candidate, injectedParameters) {\n  if (!candidate) return;\n  var successInterceptor = typeof candidate === 'function' ? candidate : candidate.success;\n  var errorInterceptor = candidate && candidate.error;\n  target.use(successInterceptor && successInterceptor.bind(null, injectedParameters), errorInterceptor && errorInterceptor.bind(null, injectedParameters));\n}\n\nfunction bindInterceptors(client, injectedParameters) {\n  var middlewareInterceptors = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n  var clientInterceptors = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n\n  [].concat(_toConsumableArray(middlewareInterceptors.request || []), _toConsumableArray(clientInterceptors.request || [])).forEach(function (interceptor) {\n    addInterceptor(client.interceptors.request, interceptor, injectedParameters);\n  });\n  [].concat(_toConsumableArray(middlewareInterceptors.response || []), _toConsumableArray(clientInterceptors.response || [])).forEach(function (interceptor) {\n    addInterceptor(client.interceptors.response, interceptor, injectedParameters);\n  });\n}\n\nfunction getSourceAction(config) {\n  return config.reduxSourceAction;\n}\n\nvar multiClientMiddleware = exports.multiClientMiddleware = function multiClientMiddleware(clients, customMiddlewareOptions) {\n  var middlewareOptions = _extends({}, defaultOptions, customMiddlewareOptions);\n  var setupedClients = {};\n\n  return function (_ref) {\n    var getState = _ref.getState,\n        dispatch = _ref.dispatch;\n    return function (next) {\n      return function (action) {\n        if (!middlewareOptions.isAxiosRequest(action)) {\n          return next(action);\n        }\n\n        var clientName = middlewareOptions.getClientName(action) || middlewareOptions.defaultClientName;\n\n        if (!clients[clientName]) {\n          throw new Error('Client with name \"' + clientName + '\" has not been defined in middleware');\n        }\n\n        if (!setupedClients[clientName]) {\n          var clientOptions = _extends({}, middlewareOptions, clients[clientName].options);\n\n          if (clientOptions.interceptors) {\n            var middlewareInterceptors = middlewareOptions.interceptors;\n            var clientInterceptors = clients[clientName].options && clients[clientName].options.interceptors;\n            var injectToInterceptor = { getState: getState, dispatch: dispatch, getSourceAction: getSourceAction };\n            bindInterceptors(clients[clientName].client, injectToInterceptor, middlewareInterceptors, clientInterceptors);\n          }\n\n          setupedClients[clientName] = {\n            client: clients[clientName].client,\n            options: clientOptions\n          };\n        }\n\n        var setupedClient = setupedClients[clientName];\n        var actionOptions = _extends({}, setupedClient.options, setupedClient.options.getRequestOptions(action));\n\n        var _getActionTypes = (0, _getActionTypes3.getActionTypes)(action, actionOptions),\n            _getActionTypes2 = _slicedToArray(_getActionTypes, 1),\n            REQUEST = _getActionTypes2[0];\n\n        next(_extends({}, action, { type: REQUEST }));\n\n        var requestConfig = _extends({}, actionOptions.getRequestConfig(action), {\n          reduxSourceAction: action\n        });\n        return setupedClient.client.request(requestConfig).then(function (response) {\n          var newAction = actionOptions.onSuccess({ action: action, next: next, response: response, getState: getState, dispatch: dispatch }, actionOptions);\n          actionOptions.onComplete({ action: newAction, next: next, getState: getState, dispatch: dispatch }, actionOptions);\n          return newAction;\n        }, function (error) {\n          var newAction = actionOptions.onError({ action: action, next: next, error: error, getState: getState, dispatch: dispatch }, actionOptions);\n          actionOptions.onComplete({ action: newAction, next: next, getState: getState, dispatch: dispatch }, actionOptions);\n          return actionOptions.returnRejectedPromiseOnError ? Promise.reject(newAction) : newAction;\n        });\n      };\n    };\n  };\n};\n\nexports.default = function (client, customMiddlewareOptions, customClientOptions) {\n  var middlewareOptions = _extends({}, defaultOptions, customMiddlewareOptions);\n  var options = customClientOptions || {};\n  return multiClientMiddleware(_defineProperty({}, middlewareOptions.defaultClientName, { client: client, options: options }), middlewareOptions);\n};\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(process) {\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.onComplete = exports.onError = exports.onSuccess = exports.getRequestOptions = exports.getClientName = exports.getRequestConfig = exports.isAxiosRequest = exports.defaultClientName = exports.returnRejectedPromiseOnError = undefined;\n\nvar _getActionTypes = __webpack_require__(0);\n\nvar returnRejectedPromiseOnError = exports.returnRejectedPromiseOnError = false;\n\nvar defaultClientName = exports.defaultClientName = 'default';\n\nvar isAxiosRequest = exports.isAxiosRequest = function isAxiosRequest(action) {\n  return action.payload && action.payload.request;\n};\n\nvar getRequestConfig = exports.getRequestConfig = function getRequestConfig(action) {\n  return action.payload.request;\n};\n\nvar getClientName = exports.getClientName = function getClientName(action) {\n  return action.payload.client;\n};\n\nvar getRequestOptions = exports.getRequestOptions = function getRequestOptions(action) {\n  return action.payload.options;\n};\n\nvar onSuccess = exports.onSuccess = function onSuccess(_ref, options) {\n  var action = _ref.action,\n      next = _ref.next,\n      response = _ref.response;\n\n  var nextAction = {\n    type: (0, _getActionTypes.getActionTypes)(action, options)[1],\n    payload: response,\n    meta: {\n      previousAction: action\n    }\n  };\n  next(nextAction);\n  return nextAction;\n};\n\nvar onError = exports.onError = function onError(_ref2, options) {\n  var action = _ref2.action,\n      next = _ref2.next,\n      error = _ref2.error;\n\n  var errorObject = void 0;\n  if (!error.response) {\n    errorObject = {\n      data: error.message,\n      status: 0\n    };\n    if (process.env.NODE_ENV !== 'production') {\n      console.log('HTTP Failure in Axios', error);\n    }\n  } else {\n    errorObject = error;\n  }\n  var nextAction = {\n    type: (0, _getActionTypes.getActionTypes)(action, options)[2],\n    error: errorObject,\n    meta: {\n      previousAction: action\n    }\n  };\n\n  next(nextAction);\n  return nextAction;\n};\n\nvar onComplete = exports.onComplete = function onComplete() {};\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\n// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things.  But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals.  It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n    throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n    throw new Error('clearTimeout has not been defined');\n}\n(function () {\n    try {\n        if (typeof setTimeout === 'function') {\n            cachedSetTimeout = setTimeout;\n        } else {\n            cachedSetTimeout = defaultSetTimout;\n        }\n    } catch (e) {\n        cachedSetTimeout = defaultSetTimout;\n    }\n    try {\n        if (typeof clearTimeout === 'function') {\n            cachedClearTimeout = clearTimeout;\n        } else {\n            cachedClearTimeout = defaultClearTimeout;\n        }\n    } catch (e) {\n        cachedClearTimeout = defaultClearTimeout;\n    }\n} ())\nfunction runTimeout(fun) {\n    if (cachedSetTimeout === setTimeout) {\n        //normal enviroments in sane situations\n        return setTimeout(fun, 0);\n    }\n    // if setTimeout wasn't available but was latter defined\n    if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n        cachedSetTimeout = setTimeout;\n        return setTimeout(fun, 0);\n    }\n    try {\n        // when when somebody has screwed with setTimeout but no I.E. maddness\n        return cachedSetTimeout(fun, 0);\n    } catch(e){\n        try {\n            // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n            return cachedSetTimeout.call(null, fun, 0);\n        } catch(e){\n            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n            return cachedSetTimeout.call(this, fun, 0);\n        }\n    }\n\n\n}\nfunction runClearTimeout(marker) {\n    if (cachedClearTimeout === clearTimeout) {\n        //normal enviroments in sane situations\n        return clearTimeout(marker);\n    }\n    // if clearTimeout wasn't available but was latter defined\n    if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n        cachedClearTimeout = clearTimeout;\n        return clearTimeout(marker);\n    }\n    try {\n        // when when somebody has screwed with setTimeout but no I.E. maddness\n        return cachedClearTimeout(marker);\n    } catch (e){\n        try {\n            // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally\n            return cachedClearTimeout.call(null, marker);\n        } catch (e){\n            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n            // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n            return cachedClearTimeout.call(this, marker);\n        }\n    }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n    if (!draining || !currentQueue) {\n        return;\n    }\n    draining = false;\n    if (currentQueue.length) {\n        queue = currentQueue.concat(queue);\n    } else {\n        queueIndex = -1;\n    }\n    if (queue.length) {\n        drainQueue();\n    }\n}\n\nfunction drainQueue() {\n    if (draining) {\n        return;\n    }\n    var timeout = runTimeout(cleanUpNextTick);\n    draining = true;\n\n    var len = queue.length;\n    while(len) {\n        currentQueue = queue;\n        queue = [];\n        while (++queueIndex < len) {\n            if (currentQueue) {\n                currentQueue[queueIndex].run();\n            }\n        }\n        queueIndex = -1;\n        len = queue.length;\n    }\n    currentQueue = null;\n    draining = false;\n    runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n    var args = new Array(arguments.length - 1);\n    if (arguments.length > 1) {\n        for (var i = 1; i < arguments.length; i++) {\n            args[i - 1] = arguments[i];\n        }\n    }\n    queue.push(new Item(fun, args));\n    if (queue.length === 1 && !draining) {\n        runTimeout(drainQueue);\n    }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n    this.fun = fun;\n    this.array = array;\n}\nItem.prototype.run = function () {\n    this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n    throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n    throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _middleware = __webpack_require__(1);\n\nObject.defineProperty(exports, 'default', {\n  enumerable: true,\n  get: function get() {\n    return _interopRequireDefault(_middleware).default;\n  }\n});\nObject.defineProperty(exports, 'multiClientMiddleware', {\n  enumerable: true,\n  get: function get() {\n    return _middleware.multiClientMiddleware;\n  }\n});\n\nvar _getActionTypes = __webpack_require__(0);\n\nObject.defineProperty(exports, 'getActionTypes', {\n  enumerable: true,\n  get: function get() {\n    return _getActionTypes.getActionTypes;\n  }\n});\nObject.defineProperty(exports, 'ERROR_SUFFIX', {\n  enumerable: true,\n  get: function get() {\n    return _getActionTypes.ERROR_SUFFIX;\n  }\n});\nObject.defineProperty(exports, 'SUCCESS_SUFFIX', {\n  enumerable: true,\n  get: function get() {\n    return _getActionTypes.SUCCESS_SUFFIX;\n  }\n});\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/***/ })\n/******/ ]);\n});"]}