!function(){"use strict";var t={82965:function(t){function e(t,r){var n;if(Array.isArray(r))for(n=0;n<r.length;n++)e(t,r[n]);else for(n in r)t[n]=(t[n]||[]).concat(r[n])}t.exports=function(t){var r,n={};return e(n,t),(r=function(t){return function(e){return function(r){var o,i,u=n[r.type],c=e(r);if(u)for(o=0;o<u.length;o++)(i=u[o](r,t))&&t.dispatch(i);return c}}}).effects=n,r}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};!function(){r.r(n),r.d(n,{applyEffects:function(){return i},applyMiddlewares:function(){return u}});var t=window.lodash,e=r(82965),o=r.n(e);const i=(e,r)=>{const n=[o()(r)];let i=()=>{throw new Error("Dispatching while constructing your effect is not allowed. Other effect would not be applied to this dispatch.")},u=[];const c={getState:e.getState,dispatch:t=>i(t)};return u=n.map((t=>t(c))),i=(0,t.flowRight)(...u)(e.dispatch),e.dispatch=i,e},u=(t,e={})=>{var r;return t.dispatch=(r=t.dispatch,n=>{const o=e[n.type]||[],i=[...e["*"]||[],...o];return i.length>0?i.map((e=>e(t))).reverse().reduce(((t,e)=>e(t)),r)(n):r(n)}),t}}(),(window.divi=window.divi||{}).middleware=n}();