"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _react = require('react'); var _react2 = _interopRequireDefault(_react);var m=_react.createContext.call(void 0, Object.freeze({middleware:Object.freeze([])})),r= exports.a =m;var C=Object.freeze([]);function x({children:d,middleware:e=C,priority:t}){let o=_react.useContext.call(void 0, r),a=_react.useMemo.call(void 0, ()=>Object.freeze(t==="low"?[...o.middleware,...e]:[...e,...o.middleware]),[o,e,t]),c=_react.useMemo.call(void 0, ()=>({middleware:a}),[a]);return _react2.default.createElement(r.Provider,{value:c},d)}var u=_react.memo.call(void 0, x);exports.a = r; exports.b = u;
//# sourceMappingURL=chunk-5X4VJZOM.js.map