PageSourceSearch

https://format-3.co/assets/contact-6fa5fbbf.js

js format-3.co collected 2026-09-28 08:11:02 UTC 17,883 bytes, 2 lines download raw bytes

1import{a as Y,d as e,m as v,S as t,e as d,n as x,c as q,o as O,u as _,z as V,h as F,l as E,a7 as f,k as j,p as U,a8 as $,w as X,E as J,g as K,f as A,i as M,a0 as Q,a3 as R,t as Z,a9 as ee,b as H,K as te,aa as re,F as I,a4 as ie,G as L,ab as ne,ac as oe,T as N,U as ae,J as se,H as ce,O as le,Y as de,Z as ue,_ as pe,a6 as me}from"./entry-client-55f7cc68.js";import{C as ge}from"./click-and-stick-mobile-48bd3a55.js";import{F as he}from"./format-sticker-0ee88271.js";import{R as B}from"./RichText-ec6988e3.js";import"./index-7d5501b7.js";const k=c=>{const[r,i]=Y(c,["label","placeholder","isMultiline","controller"]),o=r.controller();return e(t.Generic,v({get css(){return[d.sohne.body3,d.m.sohne.body3,{display:"flex",flexDirection:"column"}]},as:"div"},i,{get children(){return[e(t.Generic,{css:{marginBottom:"12rem","@media (max-width: 767px)":{marginBottom:"8rem"}},as:"div",get children(){return r.label}}),e(t.Input,{get as(){return r.isMultiline?"textarea":"input"},type:"text",get css(){return[{width:"100%",borderRadius:"12rem",borderWidth:"1px","--tw-border-opacity":"0.2",borderColor:"rgb(0 0 0 / var(--tw-border-opacity))",padding:"24rem",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms","&:focus":{"--tw-border-opacity":"1",borderColor:"rgb(85 83 226 / var(--tw-border-opacity))"},"@media (max-width: 767px)":{padding:"16rem"}},d.sohne.body2,d.m.sohne.body2,{...r.isMultiline&&{height:"100%",minHeight:"144rem",resize:"none"},...o.error()!=null&&{"--tw-border-opacity":"1",borderColor:"rgb(255 0 0 / var(--tw-border-opacity))"}}]},onInput:a=>{o?.value(a.currentTarget.value)},get placeholder(){return r.placeholder}}),x(()=>x(()=>o.error()!=null)()&&e(t.Generic,{css:{position:"relative",textAlign:"right",fontSize:"12rem","--tw-text-opacity":"1",color:"rgb(255 0 0 / var(--tw-text-opacity))"},as:"div",get children(){return e(t.Generic,{css:{position:"absolute",width:"100%"},as:"div",get children(){return o.error()}})}}))]}}))},z=c=>{let r=null,i=null;return q(()=>{if(c.shouldExpand){let o=r.offsetHeight;r.style.height="auto";const a=r.offsetHeight;r.style.height=`${o}px`,clearTimeout(i),i=setTimeout(()=>{r.style.height=`${a}px`,i=setTimeout(()=>{r.style.height="auto"},500)}),O(()=>{clearTimeout(i),r.style.height=`${r.offsetHeight}px`,i=setTimeout(()=>{r.style.height="0px",i=setTimeout(()=>{r.style.height=""},500)})})}}),e(c.children,{ref(o){const a=r;typeof a=="function"?a(o):r=o}})},ye=Z("<div><!#><!/><!#><!/>"),be=/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/i,fe=c=>!c||be.test(c),xe=()=>{E();const c=_(),r=f([]),i=f(!1),o=f(!1),a=f(!1),u=f(""),n=Date.now(),s=f(0),m=j({y:0}),b=(p,{isRequired:l=!1,defaultValue:g,validate:T})=>()=>{const y=f(g),G=x(()=>{if(l&&(typeof g=="string"&&y()===""||Array.isArray(g)&&y().length===0||g==null&&y()==null))return"This field is required";if(T){const w=T(y());if(w)return w}return null}),D={key:p,value:y,error:G};return r([...r(),D]),O(()=>{r(r().filter(w=>w!==D))}),{value:y,error:x(()=>i()?G():null)}},h=x(()=>r().some(p=>p.error()!=null));let P=null;const W=U(()=>P);return q($(m,()=>{X(m().y),window.scrollTo({top:m().y})},{defer:!0})),q($(a,()=>{a()&&(window.history.replaceState({},"","/contact/success"),m().y=window.scrollY,m.to({y:W().y},1e3).easing(J.Quadratic.InOut).startFromCurrentValues())},{defer:!0})),e(t.Generic,{ref(p){const l=P;typeof l=="function"?l(p):P=p},get css(){return[{paddingBottom:"64rem",paddingTop:"64rem",opacity:"0",transitionProperty:"opacity",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms",transitionDelay:"750ms","@media (max-width: 767px)":{paddingBottom:"24rem",paddingTop:"64rem"}},F,{...c()&&{opacity:"1"}}]},as:"section",get children(){return e(t.Generic,{onSubmit:p=>{p.preventDefault(),i(!0),!h()&&(o(!0),fetch("/api/contact",{method:"POST",body:JSON.stringify({type:"Project",_hp:u(),_t:Date.now()-n,_ic:s(),...Object.fromEntries(r().map(l=>{let g=l.value();return Array.isArray(g)&&l.key!=="categories"&&([g]=g),[l.key,g]}))})}).then(l=>l.json()).then(l=>{l.status==="OK"?a(!0):alert(`Something went wrong. Please try again. (${l.message})`)}).finally(()=>{o(!1)}))},onKeyDown:()=>s(s()+1),onMouseMove:()=>s(s()+1),onClick:()=>s(s()+1),css:{overflow:"hidden",borderRadius:"24rem","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"128rem","--tw-text-opacity":"1",color:"rgb(0 0 0 / var(--tw-text-opacity))","@media (max-width: 767px)":{gap:"48rem",padding:"24rem"}},as:"form",get children(){return[e(z,{get shouldExpand(){return!a()},children:p=>e(t.Generic,v({get css(){return[{display:"flex",height:"0px",flexDirection:"column",gap:"88rem",transitionProperty:"opacity, height",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms"},{...o()&&{pointerEvents:"none",opacity:"0.5"},...a()&&{pointerEvents:"none",opacity:"0"}}]},as:"div"},p,{get children(){return[(()=>{const l=K(ye),g=l.firstChild,[T,y]=A(g.nextSibling),G=T.nextSibling,[D,w]=A(G.nextSibling);return M(l,e(t.Generic,{get css(){return[d.sohne.h3,d.m.sohne.body1,{marginBottom:"40rem","@media (max-width: 767px)":{marginBottom:"24rem"}}]},as:"h3",children:"Got an enquiry?"}),T,y),M(l,e(t.Generic,{css:{display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",gap:"88rem","@media (max-width: 767px)":{display:"flex",flexDirection:"column",gap:"24rem"}},as:"div",get children(){return[e(t.Generic,{css:{display:"grid",gap:"32rem"},as:"div",get children(){return[e(k,{label:"Full name*",placeholder:"Your full name",get controller(){return b("fullName",{isRequired:!0,defaultValue:""})}}),e(k,{label:"E-mail*",placeholder:"Your email address",get controller(){return b("email",{defaultValue:"",isRequired:!0,validate:C=>C&&!ee(C)?"Please enter a valid email address":null})}}),e(k,{label:"Company",placeholder:"Your company name",get controller(){return b("company",{defaultValue:""})}}),e(k,{label:"Website",placeholder:"Your website",get controller(){return b("website",{defaultValue:"",validate:C=>C&&!fe(C)?"Please enter a valid URL":null})}})]}}),e(t.Generic,{css:{display:"flex",flexDirection:"column",gap:"32rem","@media (max-width: 767px)":{gap:"24rem"}},as:"div",get children(){return[e(t.Generic,{css:{height:"100%"},as:k,isMultiline:!0,label:"Your Enquiry*",placeholder:"Enter your message here",get controller(){return b("message",{isRequired:!0,defaultValue:""})}}),e(t.Generic,{get css(){return[{"--tw-text-opacity":"0.5",color:"rgb(0 0 0 / var(--tw-text-opacity))"},d.sohne.body3]}
1,as:"p",get children(){return["Please read our"," ",e(t.Generic,{href:"/legal/privacy-policy",css:{"--tw-text-opacity":"1",color:"rgb(0 0 0 / var(--tw-text-opacity))",textDecorationLine:"underline"},as:Q,children:"privacy policy"})," ","so you understand how we collect and use your personal data."]}})]}})]}}),D,w),l})(),e(t.Generic,{type:"text",name:"website_url",get value(){return u()},onInput:l=>u(l.currentTarget.value),autocomplete:"off",tabIndex:-1,"aria-hidden":"true",css:{pointerEvents:"none",position:"absolute",left:"-9999px",height:"0px",width:"0px",opacity:"0"},as:"input"}),e(t.Generic,{get css(){return[{display:"flex",alignItems:"center",justifyContent:"space-between","--tw-text-opacity":"0.5",color:"rgb(0 0 0 / var(--tw-text-opacity))"},d.sohne.body1]},as:"div",get children(){return[e(t.Generic,{get css(){return[{transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms","@media (max-width: 767px)":{display:"none"}},{...h()&&i()&&{"--tw-text-opacity":"1",color:"rgb(255 0 0 / var(--tw-text-opacity))"}}]},as:"div",get children(){return h()&&i()?"Looks like some issues need correcting.":"All set and filled? Email address looking good?"}}),e(t.Generic,{type:"submit",label:"Send",isDark:!0,get isDisabled(){return x(()=>!!h())()&&i()},css:{maxWidth:"311rem","--tw-text-opacity":"1",color:"rgb(0 0 0 / var(--tw-text-opacity))"},as:R})]}})]}}))}),e(z,{get shouldExpand(){return a()},children:p=>e(t.Generic,v({get css(){return[{display:"grid",height:"0px",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",opacity:"0",transitionProperty:"opacity, height",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms","@media (max-width: 767px)":{display:"flex",flexDirection:"column",gap:"24rem"}},{...a()&&{opacity:"1"}}]},as:"div"},p,{get children(){return[e(t.Generic,{get css(){return[d.sohne.h3,d.m.sohne.body1]},as:"h2",children:"Thank you!"}),e(t.Generic,{css:{display:"flex",flexDirection:"column",gap:"40rem"},as:"div",get children(){return[e(t.Generic,{get css(){return[{whiteSpace:"pre-line","--tw-text-opacity":"0.5",color:"rgb(0 0 0 / var(--tw-text-opacity))"},d.sohne.body1]},as:"p",children:`Your form has been successfully submitted.
2We will get back to you with a response as soon as possible… we won't take longer than 1 day!`}),e(t.Generic,{css:{maxWidth:"304rem"},as:R,isDark:!0,label:"Back to homepage",href:"/"})]}})]}}))})]}})}})},we=()=>{const c=_();let r=null;return V(()=>{const i=window,o=i.Cal||function(...a){const u=i.Cal;if(!u.loaded){u.ns={},u.q=u.q||[];const n=document.createElement("script");n.src="https://app.cal.eu/embed/embed.js",document.head.appendChild(n),u.loaded=!0}if(a[0]==="init"){const n=function(...m){n.q.push(m)},s=a[1];n.q=n.q||[],typeof s=="string"?(u.ns[s]=u.ns[s]||n,u.ns[s].q.push(a),u.q.push(["initNamespace",s])):u.q.push(a);return}u.q.push(a)};i.Cal||(i.Cal=o,i.Cal.q=i.Cal.q||[],i.Cal.ns=i.Cal.ns||{}),i.Cal("init","intro-call",{origin:"https://app.cal.eu"}),i.Cal.ns["intro-call"]("inline",{elementOrSelector:"#my-cal-inline-intro-call",config:{layout:"month_view",useSlotsViewOnSmallScreen:"true",theme:"dark"},calLink:"team/format-3/intro-call"}),i.Cal.ns["intro-call"]("ui",{theme:"dark",hideEventTypeDetails:!1,layout:"month_view"})}),[e(t.Generic,{ref(i){const o=r;typeof o=="function"?o(i):r=i},get css(){return[{paddingBottom:"64rem",paddingTop:"64rem",opacity:"0",transitionProperty:"opacity",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms",transitionDelay:"750ms","@media (max-width: 767px)":{paddingBottom:"24rem",paddingTop:"24rem"}},F,{...c()&&{opacity:"1"}}]},as:"section",get children(){return e(t.Generic,{id:"my-cal-inline-intro-call",style:{width:"100%",overflow:"scroll"},css:{height:"600px","@media (max-width: 767px)":{height:"auto"}},as:"div"})}}),e(xe,{})]},S=[{stroke:"#5553E2",fill:"#FFF"},{stroke:"#000",fill:"#FFF"},{stroke:"#FFF",fill:"#000"}],ve=()=>{let c=null;const r=E();let i=0;const o=_(),a=H([]);return e(se,{get type(){return te.ClickAndStick},get exclude(){return x(()=>[...c.querySelectorAll("a")])},children:u=>e(t.Generic,v({css:[F,N,ae,{"a:hover":{position:"relative",zIndex:"10","--tw-drop-shadow":"drop-shadow(0 0 5rem rgba(0,0,0,0.5))",filter:"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"}},{position:"relative",overflow:"hidden",paddingBottom:"128rem","@media (max-width: 767px)":{display:"flex",flexDirection:"column",paddingBottom:"64rem"}}],as:"section",onClick:n=>{const s=n.currentTarget.getBoundingClientRect(),m=n.clientX-s.left,b=n.clientY-s.top;let h=a();h.length>4&&(h=h.slice(1)),a([...h,{x:m,y:b,rotation:-45+Math.random()*90,scale:.75+Math.random()*.5,index:i++}])}},u,{get children(){return[e(t.Generic,{css:[{position:"absolute",right:"24rem",marginTop:"24rem",display:"none",height:"auto",width:"56.48rem",animation:"click-and-stick-mobile 10s linear infinite","@media (max-width: 767px)":{display:"flex"}},{"@keyframes click-and-stick-mobile":{"0%":{transform:"rotate(0)"},"100%":{transform:"rotate(360deg)"}}}],as:ge}),e(re,{name:"fade",get children(){return e(I,{get each(){return a()},children:n=>e(t.Generic,{get style(){return{left:`${n.x}px`,top:`${n.y}px`,transform:`scale(${n.scale*(ie()?.5:1)}) rotate(${n.rotation}deg)`}},css:[{pointerEvents:"none",position:"absolute"},{"&.fade-exit-to":{opacity:"0"},"&.fade-exit-active":{transitionProperty:"opacity",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms"}}],as:"div",get children(){return e(t.Generic,{get style(){return{"--stroke":S[n.index%S.length].stroke,"--fill":S[n.index%S.length].fill}}
2,css:[{"--tw-translate-x":"-50%",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-translate-y":"-50%",animation:"sticker 500ms","--tw-drop-shadow":"drop-shadow(0 7rem 8rem rgba(0,0,0,0.25))",filter:"var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)"},{"@keyframes sticker":{from:{scale:1.1,opacity:0},to:{scale:1,opacity:1}}}],as:he})}})})}}),e(t.Generic,{css:[L,{marginTop:"72rem","@media (max-width: 767px)":{marginTop:"56rem",display:"flex",flexDirection:"column"}}],as:"div",get children(){return[e(t.Generic,{get css(){return[{gridColumn:"span 5 / span 5",textTransform:"uppercase","--tw-text-opacity":"0.5",color:"rgb(255 255 255 / var(--tw-text-opacity))",opacity:"0",transitionProperty:"opacity",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms","@media (max-width: 767px)":{marginBottom:"12rem"}},d.breit.h7,d.m.breit.h5,{...o()&&{opacity:"1"}}]},as:"h1",get children(){return r.heroSection.title}}),e(t.Generic,{css:{gridColumn:"span 7 / span 7",gridColumnStart:"6"},as:"div",get children(){return[e(t.Generic,{get css(){return[{marginBottom:"64rem",opacity:"0",transitionProperty:"opacity",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms",transitionDelay:"250ms","@media (max-width: 767px)":{marginBottom:"24rem"}},d.sohne.h4,d.m.sohne.body1,{...o()&&{opacity:"1"}}]},as:"h2",get children(){return e(ne,{get children(){return r.heroSection.subtitle}})}}),e(t.Generic,{ref(n){const s=c;typeof s=="function"?s(n):c=n},get css(){return[{"--tw-text-opacity":"0.5",color:"rgb(255 255 255 / var(--tw-text-opacity))",opacity:"0",transitionProperty:"opacity",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms",transitionDelay:"500ms"},{...o()&&{opacity:"1"}}]},as:"div",onMouseOver:n=>{n.target.tagName==="A"&&oe(null)},get children(){return e(B,{get children(){return r.heroSection.copy}})}})]}})]}})]}}))})},Te=()=>{const c=H(-1),r=E();return e(t.Generic,{css:[F,L,{paddingBottom:"256rem",paddingTop:"128rem","@media (max-width: 767px)":{display:"flex",flexDirection:"column",paddingTop:"64rem",paddingBottom:"64rem"}}],as:"section",get children(){return[e(t.Generic,{tag:"h2",get css(){return[{gridColumn:"span 5 / span 5","@media (max-width: 767px)":{marginBottom:"24rem"}},d.breit.h4,d.m.breit.h3]},as:ce,get children(){return r.faqSection.title}}),e(t.Generic,{css:{gridColumn:"span 8 / span 8",gridColumnStart:"6"},as:"div",get children(){return e(le,{children:i=>{const[o,a]=Y(i,["isTriggered"]);return[e(t.Generic,v({get css(){return[{"--tw-text-opacity":"0.5",color:"rgb(255 255 255 / var(--tw-text-opacity))",opacity:"0",transitionProperty:"opacity",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms",transitionDelay:"500ms"},d.sohne.body1,d.m.sohne.body2,{...o.isTriggered&&{opacity:"1"}}]},as:"div"},a,{get children(){return e(B,{get children(){return r.faqSection.copy}})}})),e(t.Generic,{get css(){return[{marginTop:"48rem",borderTopWidth:"1px","--tw-border-opacity":"0.2",borderColor:"rgb(255 255 255 / var(--tw-border-opacity))",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms",transitionDelay:"750ms","@media (max-width: 767px)":{marginTop:"24rem"}},{...!o.isTriggered&&{"--tw-border-opacity":"0"}}]},as:"ul",get children(){return e(I,{get each(){return r.faqSection.questions},children:({question:u,answer:n},s)=>e(t.Generic,{get style(){return{"transition-delay":`${.75+s()*.15}s`}},get css(){return[{borderBottomWidth:"1px","--tw-border-opacity":"0.2",borderColor:"rgb(255 255 255 / var(--tw-border-opacity))",paddingTop:"48rem",paddingBottom:"48rem",opacity:"0",transitionProperty:"opacity",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"1s","@media (max-width: 767px)":{paddingTop:"24rem",paddingBottom:"24rem"}},{...o.isTriggered&&{opacity:"1"}}]},as:"li",get children(){return[e(t.Generic,{css:{display:"flex",width:"100%",justifyContent:"space-between",gap:"32rem",textAlign:"left"},as:"button",onClick:()=>{c(s()===c()?-1:s())},get children(){return[u,e(t.Generic,{get css(){return[{transitionProperty:"transform",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms"},c()===s()?{transform:"rotate(180deg)"}:{}]},as:"div",children:"↓"})]}}),e(z,{get shouldExpand(){return c()===s()},children:m=>e(t.Generic,v({css:{height:"0px",overflow:"hidden",transitionProperty:"height",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms"},as:"div"},m,{get children(){return e(t.Generic,{get css(){return[d.sohne.body3,{marginTop:"16rem","--tw-text-opacity":"0.5",color:"rgb(255 255 255 / var(--tw-text-opacity))"}]},as:"div",get children(){return e(B,{children:n})}})}}))})]}})})}})]}})}})]}})},Fe=()=>de(me,()=>{const c=E();
2return e(pe,{css:N,get children(){return[e(ue,{type:"ContactPage",get seo(){return c.seo},get title(){return c.seo?.title||"Contact Us"},get description(){return c.seo?.description||""}}),e(ve,{}),e(we,{}),e(Te,{})]}})});export{Fe as ContactPage,Fe as default};

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.