text: "use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _toUpper=_interopRequireDefault(require("lodash/toUpper")),_middleware=_interopRequireDefault(require("./middleware")),middleware=function(e){return function(r){return function(t){return function(u){return(0,_toUpper.default)(e)===(0,_toUpper.default)(u.type)?(0,_middleware.default)(r,u):t(u)}}}},_default=middleware;exports.default=_default;