"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[707],{43653(e,t,o){var n=o(79124),a=o(73201),i=o(45003),s=o(69139),d=o(75245),r=o(25444),l=o(9689),c=o(38585),m=o(64164),w=o(25639),p=o(61041),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,d.registerTranslations)(),(0,r.b)(),(0,c.createStore)(),(0,m.createStore)(),(0,l.g)(),(0,w.b)(),(0,i.L)(m.storeName).getSections().forEach(e=>{(0,a.J)(m.storeName).updateSection(e)}),(0,n.H)(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=43653)),e.O()}]);