PageSourceSearch

https://hugfestival.com/assets/newsletter-Bucc4_Sj.js

js hugfestival.com collected 2026-10-02 00:07:32 UTC 1,568 bytes, 1 lines download raw bytes

1import{u as h,r as m,j as r}from"./jsx-runtime-Dpo-hqiJ.js";import{S as j}from"./seo-BpHF9rH8.js";function w(){const{locale:s,altHref:u,c:t}=h(),e=t==null?void 0:t.mailerLite,n=m.useRef(null);return m.useEffect(()=>{if(!(e!=null&&e.formId))return;let a=!1,f=0;const o=()=>{var c,d;if(a)return;const x=typeof((d=(c=window.ml)==null?void 0:c.fn)==null?void 0:d.renderEmbeddedForm)=="function",i=n.current;if(i&&i.childElementCount>0)return;if(!x){f++<100&&setTimeout(o,200);return}const l=document.createElement("script");l.src=`https://assets.mailerlite.com/jsonp/${e.accountId}/forms/${e.formId}?callback=ml.fn.renderEmbeddedForm`,document.head.appendChild(l)},p=setTimeout(o,300);return()=>{a=!0,clearTimeout(p)}},[e==null?void 0:e.accountId,e==null?void 0:e.formId]),r.jsx(j,{locale:s,altHref:u,children:r.jsxs("div",{className:"mx-auto max-w-xl px-4 py-10 text-center",children:[r.jsx("h1",{className:"h-brand text-5xl",children:(t==null?void 0:t.title)??(s==="hu"?"Hírlevél":"Newsletter")}),(t==null?void 0:t.descriptionHtml)&&r.jsx("div",{className:"rich-text mt-6 opacity-90",dangerouslySetInnerHTML:{__html:t.descriptionHtml}}),e!=null&&e.formId?r.jsx("div",{ref:n,className:"ml-embedded mt-8 text-left","data-form":e.formId,suppressHydrationWarning:!0}):r.jsxs("p",{className:"mt-8 opacity-80",children:[s==="hu"?"A feliratkozás jelenleg nem elérhető — írj nekünk: ":"Signup is temporarily unavailable — write to us: ",r.jsx("a",{href:"mailto:[email protected]",className:"underline",children:"[email protected]"})]})]})})}export{w as N};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.