import{e as o}from"./vendor-DZn8NuT6.js";import{A as e,g as a,v as n,a as t,f as i,p as r}from"./getActionCreator-JRnMe0en.js";import"./cookies-Btke1V1y.js";const c=o=>o=>e=>o(e),d=o({reducer:{vanilla:n.reducer,analytics:t.reducer},middleware:o=>o().concat(c,i,r)});if("undefined"!=typeof window&&(window.reduxStore=d,window.Actions=e,window.actionQueue&&window.actionQueue.length)){for(const o of window.actionQueue){const e=a(o.action);if(e)try{const a=e(o.payload);window.reduxStore.dispatch(a),"analytics.setFreyrData"===o.action&&delete window.freyrData}catch(e){console.error(`Error dispatching action ${o.action}:`,e)}}window.actionQueue=[]}