"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[707],{25459:(e,t,o)=>{var a=o(79124),n=o(8301),i=o(75379),s=o(67268),r=o(81448),d=o(57450),l=o(90078),c=o(2161),m=o(28822),w=o(26233),p=o(787),u=o(86106);function b(){return window.mailpoet_automation_id?(0,u.jsx)("div",{className:"mailpoet-automation-flow-embed",children:(0,u.jsx)(p.Q,{})}):(0,u.jsx)("div",{className:"flow-embed-error",children:(0,s.__)("No automation specified","mailpoet")})}window.addEventListener("DOMContentLoaded",(()=>{const e=document.getElementById("mailpoet_automation_flow_embed");if(e&&((0,r.registerTranslations)(),(0,d.b)(),(0,c.createStore)(),(0,m.createStore)(),(0,l.g)(),(0,w.b)(),(0,n.L)(m.storeName).getSections().forEach((e=>{(0,i.J)(m.storeName).updateSection(e)})),(0,a.createRoot)(e).render((0,u.jsx)(b,{})),window.parent!==window)){let e=0;const t=()=>{const t=document.body.scrollHeight;t>0&&t!==e&&(e=t,window.parent.postMessage({type:"mailpoet-flow-embed-height",height:t},"*"))};new ResizeObserver(t).observe(document.body),window.addEventListener("load",t)}}))},41669:e=>{e.exports=jQuery}},e=>{e.O(0,[223],(()=>e(e.s=25459))),e.O()}]);