import{a as Yt,c as Jt}from"/build/_shared/chunk-YRRE3DZB.js";import{b as no,c as ne}from"/build/_shared/chunk-I5Q7WLJC.js";import{c as ve,d as L,e as te,f as Qt,g as ke,i as eo,j as to,k as we,l as Pe,m as Ne,n as U,o as Te,p as Ie,r as oo,s as v,u as Me,v as h}from"/build/_shared/chunk-WRTB4GZ2.js";import{c as oe}from"/build/_shared/chunk-FT6CVJYS.js";import{b as qt,d as Kt,g as Ce,h as Xt,i as Zt}from"/build/_shared/chunk-5OH6P3GJ.js";import{a as p}from"/build/_shared/chunk-ZUBD5LGO.js";import{a as E}from"/build/_shared/chunk-ZXLMDTT4.js";import{d as l}from"/build/_shared/chunk-G5WX4PPA.js";var z=l(E(),1);var s=l(p(),1);function Ee({module:e,className:t,actionData:o}){let{isExpanded:n}=e||{},[r,i]=(0,z.useState)(!1),[a,c]=(0,z.useState)(null),d=o||{},{executeRecaptcha:y}=Jt(),k=(0,z.useCallback)(async()=>{if(!y)return;let T=await y("yourAction");c(T)},[y]);(0,z.useEffect)(()=>{k()},[k]);let m="http://www.fostr.io"+qt().pathname,[u,x]=(0,z.useState)(null);(0,z.useEffect)(()=>{let N=`; ${document.cookie}`.split("; hubspotutk=");if(N.length===2){let P=N.pop().split(";").shift();x(P)}},[]);let g=Kt()||"";return n?(0,s.jsx)("section",{className:"",children:(0,s.jsxs)(Ce,{method:"post",noValidate:!0,children:[(0,s.jsxs)("fieldset",{className:"fostr-grid gap-y-16 pt-32",children:[(0,s.jsx)("input",{type:"hidden",name:"_subject",value:"Website Contact Form"}),(0,s.jsx)("input",{type:"hidden",name:"_format",value:"plain"}),(0,s.jsx)("input",{type:"hidden",name:"_path",value:m}),(0,s.jsx)("input",{type:"hidden",name:"_tracking",value:u}),(0,s.jsx)("input",{type:"hidden",name:"_ip",value:g}),a?(0,s.jsx)("input",{type:"hidden",name:"_captcha",value:a}):null,(0,s.jsxs)("div",{className:"relative col-span-full flex flex-col md:col-span-3 md:col-start-2 lg:col-span-5 lg:col-start-2",children:[(0,s.jsx)("label",{className:"pb-8 font-secondary text-sm",htmlFor:"first-name",children:"First Name"}),(0,s.jsx)("input",{className:"appearance-none border-b border-b-dark bg-transparent pb-4 font-secondary placeholder:text-dark focus:outline-none focus:placeholder:text-opacity-50",type:"text",name:"first-name",id:"first-name"}),d?.firstname?(0,s.jsx)("span",{className:"absolute -bottom-10 font-secondary text-xs text-error",children:d?.firstname}):null]}),(0,s.jsxs)("div",{className:"relative col-span-full flex flex-col md:col-span-3 lg:col-span-5",children:[(0,s.jsx)("label",{className:"pb-8 font-secondary text-sm",htmlFor:"last-name",children:"Last Name"}),(0,s.jsx)("input",{className:"appearance-none border-b border-b-dark bg-transparent pb-4 font-secondary placeholder:text-dark focus:outline-none focus:placeholder:text-opacity-50",type:"text",name:"last-name",id:"last-name"}),d?.lastname?(0,s.jsx)("span",{className:"absolute -bottom-10 font-secondary text-xs text-error",children:d?.lastname}):null]}),(0,s.jsxs)("div",{className:"relative col-span-full flex flex-col md:col-span-3 md:col-start-2 lg:col-span-5 lg:col-start-2",children:[(0,s.jsx)("label",{className:"pb-8 font-secondary text-sm",htmlFor:"email",children:"Email Address"}),(0,s.jsx)("input",{className:"appearance-none border-b border-b-dark bg-transparent pb-4 font-secondary placeholder:text-dark focus:outline-none focus:placeholder:text-opacity-50",type:"email",name:"email",id:"email"}),d?.email?(0,s.jsx)("span",{className:"absolute -bottom-10 font-secondary text-xs text-error",children:d.email}):null]}),(0,s.jsxs)("div",{className:"relative col-span-full flex flex-col md:col-span-3 lg:col-span-5",children:[(0,s.jsx)("label",{className:"pb-8 font-secondary text-sm",htmlFor:"phone",children:"Phone"}),(0,s.jsx)("input",{className:"appearance-none border-b border-b-dark bg-transparent pb-4 font-secondary placeholder:text-dark focus:outline-none focus:placeholder:text-opacity-50",type:"text",name:"phone",id:"phone"}),d?.phone?(0,s.jsx)("span",{className:"absolute -bottom-10 font-secondary text-xs text-error",children:d?.phone}):null]}),(0,s.jsxs)("div",{className:"relative col-span-full flex flex-col md:col-span-3 md:col-start-2 lg:col-span-5 lg:col-start-2",children:[(0,s.jsx)("label",{className:"pb-8 font-secondary text-sm",htmlFor:"company-name",children:"Company Name"}),(0,s.jsx)("input",{className:"appearance-none border-b border-b-dark bg-transparent pb-4 font-secondary placeholder:text-dark focus:outline-none focus:placeholder:text-opacity-50",type:"text",name:"company-name",id:"company-name"}),d?.company?(0,s.jsx)("span",{className:"absolute -bottom-10 font-secondary text-xs text-error",children:d?.company}):null]}),(0,s.jsxs)("div",{className:"relative col-span-full flex flex-col md:col-span-3 lg:col-span-5",children:[(0,s.jsx)("label",{className:"pb-8 font-secondary text-sm",htmlFor:"project-type",children:"Reason for Enquiry"}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)("select",{className:"block w-full appearance-none border-b border-b-dark bg-transparent pb-4 font-secondary placeholder:text-dark focus:outline-none focus:placeholder:text-opacity-50",name:"project-type",id:"project-type",children:[(0,s.jsx)("option",{value:"select",children:"Select Option"}),(0,s.jsx)("option",{value:"Web & eCommerce solutions",children:"Web & eCommerce solutions"}),(0,s.jsx)("option",{value:"Shopify Plus development",children:"Shopify Plus development"}),(0,s.jsx)("option",{value:"Replatforming",children:"Replatforming"}),(0,s.jsx)("option",{value:"Design, UX & UI",children:"Design, UX & UI"}),(0,s.jsx)("option",{value:"Integrations",children:"Integrations"}),(0,s.jsx)("option",{value:"Internationalisation",children:"Internationalisation"})]})}),d?.type?(0,s.jsx)("span",{className:"absolute -bottom-10 font-secondary text-xs text-error",children:d.type}):null]}),(0,s.jsxs)("div",{className:"relative col-span-full flex flex-col md:col-span-6 md:col-start-2 lg:col-span-10 lg:col-start-2",children:[(0,s.jsx)("label",{className:"pb-8 font-secondary text-sm",htmlFor:"message",children:"Message"}),(0,s.jsx)("textarea",{className:"appearance-none border-b border-b-dark bg-transparent pb-4 font-secondary placeholder:text-dark focus:outline-none focus:placeholder:text-opacity-50",name:"message",id:"message"}),d?.message?(0,s.jsx)("span",{className:"absolute -bottom-10 font-secondary text-xs text-error",children:d.message}):null]})]}),(0,s.jsx)("div",{className:"fostr-grid mt-16",children:(0,s.jsx)("button",{className:"col-span-full rounded-full border py-6 md:col-span-3 md:col-start-5 lg:col-span-5 lg:col-start-7",type:"submit",children:"Send Message"})}),d?.badResponse?(0,s.jsx)("div",{className:"fostr-grid mt-16",children:(0,s.jsx)("p",{className:"col-span-full font-secondary text-error md:col-start-2",children:d?.badResponse})}):null]})}):(0,s.jsxs)(L.section,{layout:!0,transition:{duration:.5,ease:"easeInOut"},className:h("",t),children:[(0,s.jsx)("div",{className:"fostr-grid",children:(0,s.jsx)("button",{onClick:()=>i(!r),className:"relative col-start-1 col-end-5 w-fit cursor-pointer break-normal text-2xl after:absolute after:bottom-2 after:left-0 after:h-1 after:w-full after:bg-dark after:content-[''] md:col-start-2 md:col-end-4 lg:col-start-2 lg:col-end-7",children:"Contact Us"})}),(0,s.jsx)(te,{initial:!1,children:r&&(0,s.jsx)(L.div,{className:"overflow-hidden",initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{height:{type:"spring",duration:.4,bounce:0}},children:(0,s.jsxs)(Ce,{method:"post",noValidate:!0,children:[(0,s.jsxs)("fieldset",{className:"fostr-grid gap-y-16 pt-32",children:[(0,s.jsx)("input",{type:"hidden",name:"_subject",value:"Website Contact Form"}),(0,s.jsx)("input",{type:"hidden",name:"_format",value:"plain"}),(0,s.jsx)("input",{type:"hidden",name:"_path",value:m}),(0,s.jsx)("input",{type:"hidden",name:"_tracking",value:u}),(0,s.jsx)("input",{type:"hidden",name:"_ip",value:g}),a?(0,s.jsx)("input",{type:"hidden",name:"_captcha",value:a}):null,(0,s.jsxs)("div",{className:"relative col-span-full flex flex-col md:col-span-3 md:col-start-2 lg:col-span-5 lg:col-start-2",children:[(0,s.jsx)("label",{className:"pb-8 font-secondary text-sm",htmlFor:"first-name",children:"First Name"}),(0,s.jsx)("input",{className:"appearance-none border-b border-b-dark bg-transparent pb-4 font-secondary placeholder:text-dark focus:outline-none focus:placeholder:text-opacity-50",type:"text",name:"first-name",id:"first-name"}),d?.firstname?(0,s.jsx)("span",{className:"absolute -bottom-10 font-secondary text-xs text-error",children:d?.firstname}):null]}),(0,s.jsxs)("div",{className:"relative col-span-full flex flex-col md:col-span-3 lg:col-span-5",children:[(0,s.jsx)("label",{className:"pb-8 font-secondary text-sm",htmlFor:"last-name",children:"Last Name"}),(0,s.jsx)("input",{className:"appearance-none border-b border-b-dark bg-transparent pb-4 font-secondary placeholder:text-dark focus:outline-none focus:placeholder:text-opacity-50",type:"text",name:"last-name",id:"last-name"}),d?.lastname?(0,s.jsx)("span",{className:"absolute -bottom-10 font-secondary text-xs text-error",children:d?.lastname}):null]}),(0,s.jsxs)("div",{className:"relative col-span-full flex flex-col md:col-span-3 md:col-start-2 lg:col-span-5 lg:col-start-2",children:[(0,s.jsx)("label",{className:"pb-8 font-secondary text-sm",htmlFor:"email",children:"Email Address"}),(0,s.jsx)("input",{className:"appearance-none border-b border-b-dark bg-transparent pb-4 font-secondary placeholder:text-dark focus:outline-none focus:placeholder:text-opacity-50",type:"email",name:"email",id:"email"}),d?.email?(0,s.jsx)("span",{className:"absolute -bottom-10 font-secondary text-xs text-error",children:d.email}):null]}),(0,s.jsxs)("div",{className:"relative col-span-full flex flex-col md:col-span-3 lg:col-span-5",children:[(0,s.jsx)("label",{className:"pb-8 font-secondary text-sm",htmlFor:"phone",children:"Phone"}),(0,s.jsx)("input",{className:"appearance-none border-b border-b-dark bg-transparent pb-4 font-secondary placeholder:text-dark focus:outline-none focus:placeholder:text-opacity-50",type:"text",name:"phone",id:"phone"}),d?.phone?(0,s.jsx)("span",{className:"absolute -bottom-10 font-secondary text-xs text-error",children:d?.phone}):null]}),(0,s.jsxs)("div",{className:"relative col-span-full flex flex-col md:col-span-3 md:col-start-2 lg:col-span-5 lg:col-start-2",children:[(0,s.jsx)("label",{className:"pb-8 font-secondary text-sm",htmlFor:"company-name",children:"Company Name"}),(0,s.jsx)("input",{className:"appearance-none border-b border-b-dark bg-transparent pb-4 font-secondary placeholder:text-dark focus:outline-none focus:placeholder:text-opacity-50",type:"text",name:"company-name",id:"company-name"}),d?.company?(0,s.jsx)("span",{className:"absolute -bottom-10 font-secondary text-xs text-error",children:d?.company}):null]}),(0,s.jsxs)("div",{className:"relative col-span-full flex flex-col md:col-span-3 lg:col-span-5",children:[(0,s.jsx)("label",{className:"pb-8 font-secondary text-sm",htmlFor:"project-type",children:"Reason for Enquiry"}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)("select",{className:"block w-full appearance-none border-b border-b-dark bg-transparent pb-4 font-secondary placeholder:text-dark focus:outline-none focus:placeholder:text-opacity-50",name:"project-type",id:"project-type",children:[(0,s.jsx)("option",{value:"select",children:"Select Option"}),(0,s.jsx)("option",{value:"Web & eCommerce solutions",children:"Web & eCommerce solutions"}),(0,s.jsx)("option",{value:"Shopify Plus development",children:"Shopify Plus development"}),(0,s.jsx)("option",{value:"Replatforming",children:"Replatforming"}),(0,s.jsx)("option",{value:"Design, UX & UI",children:"Design, UX & UI"}),(0,s.jsx)("option",{value:"Integrations",children:"Integrations"}),(0,s.jsx)("option",{value:"Internationalisation",children:"Internationalisation"})]})}),d?.type?(0,s.jsx)("span",{className:"absolute -bottom-10 font-secondary text-xs text-error",children:d.type}):null]}),(0,s.jsxs)("div",{className:"relative col-span-full flex flex-col md:col-span-6 md:col-start-2 lg:col-span-10 lg:col-start-2",children:[(0,s.jsx)("label",{className:"pb-8 font-secondary text-sm",htmlFor:"message",children:"Message"}),(0,s.jsx)("textarea",{className:"appearance-none border-b border-b-dark bg-transparent pb-4 font-secondary placeholder:text-dark focus:outline-none focus:placeholder:text-opacity-50",name:"message",id:"message"}),d?.message?(0,s.jsx)("span",{className:"absolute -bottom-10 font-secondary text-xs text-error",children:d.message}):null]})]}),(0,s.jsx)("div",{className:"fostr-grid mt-16",children:(0,s.jsx)("button",{className:"col-span-full rounded-full border py-6 md:col-span-3 md:col-start-5 lg:col-span-5 lg:col-start-7",type:"submit",children:"Send Message"})}),d?.badResponse?(0,s.jsx)("div",{className:"fostr-grid mt-16",children:(0,s.jsx)("p",{className:"col-span-full font-secondary text-error md:col-start-2",children:d?.badResponse})}):null]})})})]})}var Re=l(p(),1);function We({value:e,actionData:t}){let{modulePadding:o}=e||{};return(0,Re.jsx)("section",{"data-sanity-edit-target":!0,className:e?v(o):"",children:e&&(0,Re.jsx)(Ee,{module:e,actionData:t})})}var se=l(E(),1);function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},de.apply(this,arguments)}function Lo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,pe(e,t)}function $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o){return o.__proto__||Object.getPrototypeOf(o)},$e(e)}function pe(e,t){return pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},pe(e,t)}function Bo(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _e(e,t,o){return Bo()?_e=Reflect.construct.bind():_e=function(r,i,a){var c=[null];c.push.apply(c,i);var d=Function.bind.apply(r,c),y=new d;return a&&pe(y,a.prototype),y},_e.apply(null,arguments)}function Do(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function je(e){var t=typeof Map=="function"?new Map:void 0;return je=function(n){if(n===null||!Do(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,r)}function r(){return _e(n,arguments,$e(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),pe(r,n)},je(e)}var me=function(e){Lo(t,e);function t(o,n){var r;return n===void 0&&(n="Failed to resolve asset ID from source"),r=e.call(this,n)||this,r.unresolvable=!0,r.input=o,r}return t}(je(Error));function Oo(e){var t=e;return Boolean(t.unresolvable&&"input"in t)}function ro(e){return function(){try{return e.apply(void 0,arguments)}catch(t){if(Oo(t))return;throw t}}}var H="https://cdn.sanity.io",Ao=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+\.[a-z0-9]+$/,Fo=/^file-([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+$/,Co=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})-\d+x\d+\.[a-z0-9]+$/;var Le=/^(images|files)\/([a-z0-9]+)\/([a-z0-9][-\w]*)\//,ao=/^(?:image-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+|file-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+)$/;function so(e){return ae(e)&&typeof e._ref=="string"}function Eo(e){return ae(e)&&typeof e._id=="string"}function io(e){return ae(e)&&typeof e.path=="string"}function lo(e){return ae(e)&&typeof e.url=="string"}function Ro(e){return ae(e)&&e._type==="sanity.fileAsset"}function co(e){var t=e;return ae(t)&&t.asset&&typeof t.asset=="object"}function ae(e){return e!==null&&!Array.isArray(e)&&typeof e=="object"}function po(e,t){var o=t?.projectId||e.projectId,n=t?.dataset||e.dataset;if(!o||!n)throw new Error("Project details (projectId and dataset) required to resolve path for file");var r="originalFilename"in e?e.originalFilename:void 0,i=e.assetId,a=e.extension,c=e.vanityFilename,d=Uo(r,c,t);return"files/"+o+"/"+n+"/"+i+"."+a+d}function Wo(e,t){return H+"/"+po(e,t)}function $o(e){return Le.test(jo(e)||"")}function mo(e){if(co(e))return mo(e.asset);if(!so(e)){if(typeof e=="string")return $o(e)?Se(e):void 0;if(io(e))return e.path;if(lo(e))return Se(e.url)}}function Se(e){if(Le.test(e))return e;if(!e.startsWith(H+"/"))throw new me('Failed to resolve path from URL "'+e+'"');var t=e.indexOf("?"),o=t===-1?void 0:t;return e.slice(H.length+1,o)}var jo=ro(Se);function Uo(e,t,o){var n=t||e;return o?.useVanityName===!1||!n?"":"/"+n}var zo="file-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-pdf";function Ho(e){if(!Fo.test(e))throw new Error("Malformed file asset ID '"+e+`'. Expected an id like "`+zo+'"');var t=e.split("-"),o=t[1],n=t[2];return{type:"file",assetId:o,extension:n}}function G(e,t){var o=t||Ko(e),n=Vo(e,o);return{asset:n}}function Vo(e,t){var o=de({},t||uo(e),{useVanityName:!1}),n=Go(e),r=e,i=r.asset||e,a=Ho(n),c=a.assetId,d=a.extension,y=de({},Ro(e)?e:{},{_id:n,_type:"sanity.fileAsset",assetId:c,extension:d,metadata:i.metadata||{},url:"",path:""});return de({},y,{path:po(y,o),url:Wo(y,o)})}function Go(e){var t=co(e)?e.asset:e,o="";typeof t=="string"?o=qo(t):so(t)?o=t._ref:Eo(t)?o=t._id:io(t)?o=re(H+"/"+t.path):lo(t)&&(o=re(t.url));var n=o&&ao.test(o);if(!n)throw new me(e);return o}function qo(e){if(ao.test(e))return e;if(e.indexOf(H+"/images")===0||e.indexOf(H+"/files")===0)return re(e);if(Le.test(e))return re(H+"/"+e);if(Zo(e))return re(H+"/files/a/b/"+e);if(Xo(e))return re(H+"/images/a/b/"+e);throw new me(e)}function re(e){var t=Se(e),o=t.split("/"),n=o[0],r=o[3],i=n.replace(/s$/,"");return i+"-"+r.replace(/\./g,"-")}function uo(e){var t=mo(e);if(!t)throw new me(e,"Failed to resolve project ID and dataset from source");var o=t.match(Le)||[],n=o[2],r=o[3];if(!n||!r)throw new me(e,"Failed to resolve project ID and dataset from source");return{projectId:n,dataset:r}}var Ko=ro(uo);function Xo(e){return Co.test(e)}function Zo(e){return Ao.test(e)}var ie=l(p(),1);function Ue({module:e,className:t}){let o=(0,se.useRef)(null),n=(0,se.useRef)(null),r=(0,se.useRef)(null),{videoFileDesktop:i,videoFileMobile:a}=e||{};if(!i||!a)return null;let c=oe.config(),d=G(i.asset._ref,c),y=G(a.asset._ref,c),k=(f,m)=>{f.forEach(u=>{u.isIntersecting&&(n.current&&u.target===n.current&&(n.current.play(),m.unobserve(n.current)),r.current&&u.target===r.current&&(r.current.play(),m.unobserve(r.current)))})};return(0,se.useEffect)(()=>{let f=new IntersectionObserver(k,{rootMargin:"0px",threshold:.5});return n.current&&f.observe(n.current),r.current&&f.observe(r.current),()=>{n.current&&f.unobserve(n.current),r.current&&f.unobserve(r.current)}},[]),(0,ie.jsx)(Yt,{fallback:null,children:()=>(0,ie.jsxs)("div",{className:h("fostr-grid",t),ref:o,children:[(0,ie.jsx)("video",{ref:n,className:"hidden h-full max-h-screen rounded-2xl border border-dark md:col-start-2 md:col-end-8 md:block lg:col-end-12",muted:!0,loop:!0,playsInline:!0,src:d.asset.url}),(0,ie.jsx)("video",{ref:r,className:"col-span-full h-full max-h-screen w-full rounded-2xl border border-dark md:hidden",muted:!0,loop:!0,playsInline:!0,src:y.asset.url})]})})}var ze=l(p(),1);function He({value:e}){let{modulePadding:t}=e||{};return(0,ze.jsx)("section",{"data-sanity-edit-target":!0,className:e?v(t):"",children:(0,ze.jsx)(Ue,{module:e})})}var Be=l(E(),1),D=l(p(),1);function Ve({module:e}){let[t,o]=(0,Be.useState)({width:0,height:0}),n=()=>{o({width:window.innerWidth,height:window.innerHeight})};(0,Be.useEffect)(()=>(window.addEventListener("resize",n),o({width:window.innerWidth,height:window.innerHeight}),()=>{window.removeEventListener("resize",n)}),[]);let[r,i,a]=Ie(e?.title);return(0,D.jsxs)("section",{className:"fostr-grid",children:[(0,D.jsx)("div",{className:" col-span-full pb-32 pt-44 md:col-start-5 md:col-end-9 md:pt-48 lg:col-start-7 lg:col-end-13",children:e?.splitTitle?(0,D.jsxs)("h1",{className:"text-2xl md:text-4xl",children:[(0,D.jsxs)("div",{className:"flex flex-wrap justify-between gap-x-8 gap-y-0",children:[(0,D.jsx)("span",{className:"col-start-1 col-end-2",children:r||""}),i&&(0,D.jsx)("span",{children:i})]}),a&&(0,D.jsx)("span",{children:a})]}):(0,D.jsx)("h1",{className:"text-2xl md:text-4xl",children:e?.title?e?.title:""})}),(0,D.jsxs)("div",{className:"col-span-full -ml-8 -mr-8 md:col-start-1 md:col-end-5 md:row-start-1 md:-mr-0 lg:col-end-7",children:[e.image?.asset?._ref&&t.width>=768&&(0,D.jsx)(ne,{src:e.image?.asset?._ref,alt:e.image?.alt,crop:e.image?.crop,hotspot:e.image?.hotspot,layout:"responsive",inViewSettings:"0% 0% 0% 0%",sizes:["50vw"]}),e.imageMobile?.asset?._ref&&t.width<768&&(0,D.jsx)(ne,{src:e.imageMobile?.asset?._ref,alt:e.imageMobile?.alt,crop:e.imageMobile?.crop,hotspot:e.imageMobile?.hotspot,layout:"responsive",inViewSettings:"0% 0% 0% 0%",sizes:["100vw"]})]})]})}var Ge=l(p(),1);function qe({value:e}){let{modulePadding:t}=e||{};return(0,Ge.jsx)("section",{"data-sanity-edit-target":!0,className:e?v(t):"",children:(0,Ge.jsx)(Ve,{module:e})})}var le=l(E(),1);var B=l(p(),1);function Ke({module:e}){let{images:t}=e||{},[o,n]=(0,le.useState)({x:0,y:0}),[r,i]=(0,le.useState)(!1);return(0,le.useEffect)(()=>{let a=c=>{let d=Math.min(c.clientX,window.innerWidth-20);requestAnimationFrame(()=>{n({x:d+2,y:c.clientY-4})})};return window.addEventListener("mousemove",a),()=>{window.removeEventListener("mousemove",a)}},[]),(0,B.jsxs)("section",{className:"fostr-grid gap-y-8",children:[(0,B.jsx)("div",{className:"col-span-full grid grid-cols-4 gap-8 md:grid-cols-8 lg:col-start-2 lg:col-end-12 lg:grid-cols-10",children:t&&t?.map((a,c)=>(0,B.jsx)(fo,{isMobileHidden:c>7,showMore:r,mousePosition:o,image:a},a._key))}),t&&t.length>7&&(0,B.jsxs)("div",{className:"col-span-full grid overflow-hidden md:hidden",children:[(0,B.jsx)(te,{initial:!1,children:r&&(0,B.jsx)(L.div,{className:"col-span-full grid grid-cols-4 gap-8 md:grid-cols-8 lg:col-start-2 lg:col-end-12 lg:grid-cols-10",role:"region",initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{height:{type:"spring",duration:.4,bounce:0}},children:t&&t?.map((a,c)=>(0,B.jsx)(fo,{isMobileHidden:c<=7,showMore:r,mousePosition:o,image:a},a._key))})}),(0,B.jsx)("button",{onClick:()=>i(!r),className:"col-span-full md:hidden",children:(0,B.jsx)("span",{className:"text-sm text-dark underline",children:r?"Show Less":"Show More"})})]})]})}function fo({image:e,mousePosition:t,isMobileHidden:o}){let[n,r]=(0,le.useState)(!1),[i]=ve(),a=()=>{r(!0)},c=()=>{r(!1)},{width:d}=Me();return(0,B.jsxs)("div",{onMouseEnter:a,onMouseLeave:c,className:`${o?"hidden md:block":""} col-span-2`,children:[d>768&&(0,B.jsx)(L.span,{animate:{left:t.x+15,top:t.y-7},transition:{top:{duration:.2,transition:{ease:"easeIn"}},left:{duration:.2,transition:{ease:"easeIn"}}},className:`pointer-events-none fixed z-[100] text-xs mix-blend-exclusion ${n?"opacity-1":"opacity-0"} ${i=="light"?"text-light":"text-dark"}`,children:e?.hovertText}),(0,B.jsx)(U,{alt:e.alt,crop:e.crop,hotspot:e.hotspot,layout:"responsive",sizes:["50vw, 20vw"],src:e?.asset?._ref,className:"h-auto w-full object-cover"})]})}var Xe=l(p(),1);function Ze({value:e}){let{modulePadding:t}=e||{};return(0,Xe.jsx)("section",{"data-sanity-edit-target":!0,className:e?v(t):"",children:(0,Xe.jsx)(Ke,{module:e})})}var M=l(p(),1);function Ye({module:e,className:t}){let{content:o,splitWord:n}=e||{},r=Te(o);return(0,M.jsx)(M.Fragment,{children:e&&(0,M.jsxs)("div",{className:h("fostr-grid",t),children:[o&&n&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("h1",{"aria-label":o,className:"col-span-full text-2xl md:col-start-2 md:col-end-7 md:text-3xl lg:col-end-10",children:[(0,M.jsx)("span",{"aria-hidden":"true",children:r.stringWithoutLastWord}),(0,M.jsxs)("span",{"aria-hidden":"true",className:"md:col-start-7 md:col-end-13 md:hidden",children:[" ",r.lastWord]})]}),(0,M.jsxs)("span",{"aria-hidden":"true",className:"hidden self-end text-2xl md:col-start-7 md:col-end-9 md:ml-auto md:block md:text-3xl lg:col-start-10 lg:col-end-13",children:[" ",r.lastWord]})]}),!n&&o&&(0,M.jsx)(M.Fragment,{children:(0,M.jsx)("h1",{className:"col-span-full text-2xl md:col-start-2 md:col-end-8 md:text-3xl lg:col-end-12 xl:col-end-10",children:o})})]})})}var Je=l(p(),1);function Qe({value:e}){let{modulePadding:t}=e||{};return(0,Je.jsx)("section",{"data-sanity-edit-target":!0,className:e?v(t):"",children:e&&(0,Je.jsx)(Ye,{module:e})})}var ce=l(E(),1),I=l(p(),1),Yo={"top-left":"col-span-full row-start-1 items-start md:col-start-2 md:col-end-5 lg:col-end-7","top-center":"col-span-full row-start-1 items-start md:col-start-2 md:col-end-8 lg:col-end-12","top-right":"col-span-full row-start-1 items-start md:col-start-5 md:col-end-8 lg:col-start-7 lg:col-end-12","center-left":"col-span-full row-start-2 items-center md:col-start-2 md:col-end-5 lg:col-end-7","center-center":"col-span-full row-start-2 items-center md:col-start-2 md:col-end-8 lg:col-end-12","center-right":"col-span-full row-start-2 items-center md:col-start-5 md:col-end-8 lg:col-start-7 lg:col-end-12","bottom-left":"col-span-full row-start-3 items-end md:col-start-2 md:col-end-5 lg:col-end-7","bottom-center":"col-span-full row-start-3 items-end md:col-start-2 md:col-end-8 lg:col-end-12","bottom-right":"col-span-full row-start-3 items-end md:col-start-5 md:col-end-8 lg:col-start-7 lg:col-end-12"};function et({module:e,className:t}){let{videoDesktop:o,videoMobile:n,contentPosition:r,contentLight:i,indentation:a,imageDesktop:c,imageMobile:d,animatedImage:y,parallax:k}=e||{},f=oe.config(),[m,u]=(0,ce.useState)({width:0,height:0}),x=()=>{u({width:window.innerWidth,height:window.innerHeight})},g=(0,ce.useRef)(null),{scrollYProgress:T}=eo({target:g,offset:["center center","center end"]}),N=ke(T,[0,1],["0","-25vh"]);(0,ce.useEffect)(()=>(window.addEventListener("resize",x),u({width:window.innerWidth,height:window.innerHeight}),()=>{window.removeEventListener("resize",x)}),[]);let P,F;o&&(P=G(o.asset._ref,f)),n&&(F=G(n.asset._ref,f));let V=Yo[oo(r)];return(0,I.jsx)("section",{className:h("w-full",t),children:(0,I.jsxs)(L.div,{className:`relative w-full ${k?"mt-[25vh]":""}`,ref:g,style:{y:k?N:"0"},children:[e?.mediaBannerMetaBar?.showMetaBar&&(0,I.jsx)(no,{light:e.mediaBannerMetaBar.light,copyLeft:e.mediaBannerMetaBar.copyLeft,copyMiddle:e.mediaBannerMetaBar.copyMiddle,copyRight:e.mediaBannerMetaBar.copyRight,className:"absolute left-0 top-0 w-full pt-4 text-light"}),e?.content&&(0,I.jsx)("div",{className:`fostr-grid absolute inset-0 grid-rows-3 pb-32 ${e?.mediaBannerMetaBar?.showMetaBar?"pt-48":""}`,children:(0,I.jsx)("div",{className:h("flex",V),children:(0,I.jsx)("p",{className:`${i?"text-light":"text-dark"} ${a?"indent-[21%]":""}`,children:e.content})})}),e?.videoDesktop&&(0,I.jsx)("div",{className:"col hidden md:block",children:(0,I.jsx)("video",{className:"w-full",src:P.asset.url,autoPlay:!0,muted:!0,loop:!0,playsInline:!0})}),e?.videoMobile&&(0,I.jsx)("div",{className:"md:hidden",children:(0,I.jsx)("video",{className:"w-full",src:F.asset.url,autoPlay:!0,muted:!0,loop:!0,playsInline:!0})}),c&&!y&&(0,I.jsx)(U,{alt:c.alt,crop:c.crop,hotspot:c.hotspot,layout:"responsive",sizes:["100vw"],src:c.asset?._ref,className:"hidden md:block"}),d&&!y&&(0,I.jsx)(U,{alt:d.alt,crop:d.crop,hotspot:d.hotspot,layout:"responsive",sizes:["100vw"],src:d.asset?._ref,className:"md:hidden"}),c&&y&&m.width>=768&&(0,I.jsx)(ne,{src:c.asset?._ref,alt:c.alt,crop:c.crop,hotspot:c.hotspot,layout:"responsive",sizes:["100vw"]}),d&&y&&m.width<768&&(0,I.jsx)(ne,{alt:d.alt,crop:d.crop,hotspot:d.hotspot,src:d.asset?._ref,layout:"responsive",sizes:["100vw"]})]})})}var tt=l(p(),1);function ot({value:e}){let{modulePadding:t}=e||{};return(0,tt.jsx)("section",{"data-sanity-edit-target":!0,className:e?v(t):"",children:e&&(0,tt.jsx)(et,{module:e})})}var X=l(p(),1);function nt({module:e,className:t}){return(0,X.jsxs)("div",{className:h("fostr-grid pt-4",t),children:[e.copyLeft&&(0,X.jsx)("p",{className:`col-start-1 col-end-3 font-secondary text-sm md:col-start-2 md:col-end-4 lg:col-end-4 ${e.light?"text-light":"text-dark"}`,children:e.copyLeft}),e.copyMiddle&&(0,X.jsx)("p",{className:`hidden font-secondary text-sm md:col-start-5 md:col-end-7 md:block lg:col-start-7 lg:col-end-9 ${e.light?"text-light":"text-dark"}`,children:e.copyMiddle}),e.copyRight&&(0,X.jsx)("p",{className:`col-start-3 col-end-5 flex justify-end font-secondary text-sm md:col-start-7 md:col-end-8 lg:col-start-10 lg:col-end-12 ${e.light?"text-light":"text-dark"}`,children:e.copyRight}),(0,X.jsx)("div",{className:`col-span-full -ml-8 -mr-8 mt-4 h-px ${e.light?"bg-light":"bg-dark"}`})]})}var rt=l(p(),1);function at({value:e}){let{modulePadding:t}=e||{};return(0,rt.jsx)("section",{"data-sanity-edit-target":!0,className:e?v(t):"",children:e&&(0,rt.jsx)(nt,{module:e})})}var De=l(E(),1),q=l(p(),1);function Jo({from:e,to:t}){let o=Qt(e),n=ke(o,a=>Math.round(a)),r=(0,De.useRef)(null),i=we(r);return(0,De.useEffect)(()=>{i&&to(o,t,{duration:2,ease:[0,0,0,1]})},[o,i,t]),(0,q.jsx)(L.span,{className:"text-[96px] leading-[100px]",ref:r,children:n})}function st({module:e}){let{metrics:t}=e||{};return(0,q.jsx)("section",{className:"fostr-grid gap-y-8",children:(0,q.jsx)("div",{className:"col-span-full grid grid-cols-4 gap-16 md:grid-cols-8 md:gap-8 lg:col-start-2 lg:col-end-12 lg:grid-cols-10",children:t&&t?.length>0&&t.map((o,n)=>(0,q.jsxs)("div",{className:`col-span-full lg:col-span-2 ${n==1||n==2?"lg:col-span-3":""}`,children:[(0,q.jsx)(Jo,{from:0,to:o?.Value}),(0,q.jsx)("h3",{children:o?.title})]},o?._key))})})}var it=l(p(),1);function lt({value:e}){let{modulePadding:t}=e||{};return(0,it.jsx)("section",{"data-sanity-edit-target":!0,className:t?v(t):"",children:(0,it.jsx)(st,{module:e})})}function yo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),o.push.apply(o,n)}return o}function go(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?yo(Object(o),!0).forEach(function(n){Qo(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):yo(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function Qo(e,t,o){return t=en(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function en(e){var t=tn(e,"string");return typeof t=="symbol"?t:String(t)}function tn(e,t){if(typeof e!="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ae(e){return e._type==="span"&&"text"in e&&typeof e.text=="string"&&(typeof e.marks>"u"||Array.isArray(e.marks)&&e.marks.every(t=>typeof t=="string"))}function dt(e){return typeof e._type=="string"&&e._type[0]!=="@"&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(t=>typeof t._key=="string"))&&"children"in e&&Array.isArray(e.children)&&e.children.every(t=>typeof t=="object"&&"_type"in t)}function pt(e){return dt(e)&&"listItem"in e&&typeof e.listItem=="string"&&(typeof e.level>"u"||typeof e.level=="number")}function mt(e){return e._type==="@list"}function ut(e){return e._type==="@span"}function ft(e){return e._type==="@text"}var ho=["strong","em","code","underline","strike-through"];function on(e,t,o){if(!Ae(e)||!e.marks)return[];if(!e.marks.length)return[];let n=e.marks.slice(),r={};return n.forEach(i=>{r[i]=1;for(let a=t+1;a<o.length;a++){let c=o[a];if(c&&Ae(c)&&Array.isArray(c.marks)&&c.marks.indexOf(i)!==-1)r[i]++;else break}}),n.sort((i,a)=>nn(r,i,a))}function nn(e,t,o){let n=e[t],r=e[o];if(n!==r)return r-n;let i=ho.indexOf(t),a=ho.indexOf(o);return i!==a?i-a:t.localeCompare(o)}function bo(e){var t;let{children:o,markDefs:n=[]}=e;if(!o||!o.length)return[];let r=o.map(on),i={_type:"@span",children:[],markType:"<unknown>"},a=[i];for(let c=0;c<o.length;c++){let d=o[c];if(!d)continue;let y=r[c]||[],k=1;if(a.length>1)for(k;k<a.length;k++){let m=((t=a[k])==null?void 0:t.markKey)||"",u=y.indexOf(m);if(u===-1)break;y.splice(u,1)}a=a.slice(0,k);let f=a[a.length-1];if(f){for(let m of y){let u=n.find(T=>T._key===m),x=u?u._type:m,g={_type:"@span",_key:d._key,children:[],markDef:u,markType:x,markKey:m};f.children.push(g),a.push(g),f=g}if(Ae(d)){let m=d.text.split(`
`);for(let u=m.length;u-- >1;)m.splice(u,0,`
`);f.children=f.children.concat(m.map(u=>({_type:"@text",text:u})))}else f.children=f.children.concat(d)}}return i.children}function xo(e,t){let o=[],n;for(let r=0;r<e.length;r++){let i=e[r];if(i){if(!pt(i)){o.push(i),n=void 0;continue}if(!n){n=Oe(i,r,t),o.push(n);continue}if(rn(i,n)){n.children.push(i);continue}if((i.level||1)>n.level){let a=Oe(i,r,t);if(t==="html"){let c=n.children[n.children.length-1],d=go(go({},c),{},{children:[...c.children,a]});n.children[n.children.length-1]=d}else n.children.push(a);n=a;continue}if((i.level||1)<n.level){let a=o[o.length-1],c=a&&ct(a,i);if(c){n=c,n.children.push(i);continue}n=Oe(i,r,t),o.push(n);continue}if(i.listItem!==n.listItem){let a=o[o.length-1],c=a&&ct(a,{level:i.level||1});if(c&&c.listItem===i.listItem){n=c,n.children.push(i);continue}else{n=Oe(i,r,t),o.push(n);continue}}console.warn("Unknown state encountered for block",i),o.push(i)}}return o}function rn(e,t){return(e.level||1)===t.level&&e.listItem===t.listItem}function Oe(e,t,o){return{_type:"@list",_key:"".concat(e._key||"".concat(t),"-parent"),mode:o,level:e.level||1,listItem:e.listItem,children:[e]}}function ct(e,t){let o=t.level||1,n=t.listItem||"normal",r=typeof t.listItem=="string";if(mt(e)&&(e.level||1)===o&&r&&(e.listItem||"normal")===n)return e;if(!("children"in e))return;let i=e.children[e.children.length-1];return i&&!Ae(i)?ct(i,t):void 0}function yt(e){let t="";return e.children.forEach(o=>{ft(o)?t+=o.text:ut(o)&&(t+=yt(o))}),t}var vo="html";var b=l(p(),1),ht=l(E(),1),an=["block","list","listItem","marks","types"],sn=["listItem"],ln=["_key"];function ko(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),o.push.apply(o,n)}return o}function W(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?ko(Object(o),!0).forEach(function(n){cn(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ko(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function cn(e,t,o){return t=dn(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function dn(e){var t=pn(e,"string");return typeof t=="symbol"?t:String(t)}function pn(e,t){if(typeof e!="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function gt(e,t){if(e==null)return{};var o=mn(e,t),n,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function mn(e,t){if(e==null)return{};var o={},n=Object.keys(e),r,i;for(i=0;i<n.length;i++)r=n[i],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}function un(e,t){let{block:o,list:n,listItem:r,marks:i,types:a}=t,c=gt(t,an);return W(W({},e),{},{block:ue(e,t,"block"),list:ue(e,t,"list"),listItem:ue(e,t,"listItem"),marks:ue(e,t,"marks"),types:ue(e,t,"types")},c)}function ue(e,t,o){let n=t[o],r=e[o];return typeof n=="function"||n&&typeof r=="function"?n:n?W(W({},r),n):r}var fn=e=>{let{children:t,value:o}=e;return(0,b.jsx)("a",{href:o?.href,children:t})},yn={textDecoration:"underline"},gn={em:e=>{let{children:t}=e;return(0,b.jsx)("em",{children:t})},strong:e=>{let{children:t}=e;return(0,b.jsx)("strong",{children:t})},code:e=>{let{children:t}=e;return(0,b.jsx)("code",{children:t})},underline:e=>{let{children:t}=e;return(0,b.jsx)("span",{style:yn,children:t})},"strike-through":e=>{let{children:t}=e;return(0,b.jsx)("del",{children:t})},link:fn},hn={number:e=>{let{children:t}=e;return(0,b.jsx)("ol",{children:t})},bullet:e=>{let{children:t}=e;return(0,b.jsx)("ul",{children:t})}},bn=e=>{let{children:t}=e;return(0,b.jsx)("li",{children:t})},fe=(e,t)=>"[@portabletext/react] Unknown ".concat(e,", specify a component for it in the `components.").concat(t,"` prop"),To=e=>fe('block type "'.concat(e,'"'),"types"),xn=e=>fe('mark type "'.concat(e,'"'),"marks"),vn=e=>fe('block style "'.concat(e,'"'),"block"),kn=e=>fe('list style "'.concat(e,'"'),"list"),wn=e=>fe('list item style "'.concat(e,'"'),"listItem");function Pn(e){console.warn(e)}var wo={display:"none"},Nn=e=>{let{value:t,isInline:o}=e,n=To(t._type);return o?(0,b.jsx)("span",{style:wo,children:n}):(0,b.jsx)("div",{style:wo,children:n})},Tn=e=>{let{markType:t,children:o}=e;return(0,b.jsx)("span",{className:"unknown__pt__mark__".concat(t),children:o})},In=e=>{let{children:t}=e;return(0,b.jsx)("p",{children:t})},Mn=e=>{let{children:t}=e;return(0,b.jsx)("ul",{children:t})},_n=e=>{let{children:t}=e;return(0,b.jsx)("li",{children:t})},Sn=()=>(0,b.jsx)("br",{}),Ln={normal:e=>{let{children:t}=e;return(0,b.jsx)("p",{children:t})},blockquote:e=>{let{children:t}=e;return(0,b.jsx)("blockquote",{children:t})},h1:e=>{let{children:t}=e;return(0,b.jsx)("h1",{children:t})},h2:e=>{let{children:t}=e;return(0,b.jsx)("h2",{children:t})},h3:e=>{let{children:t}=e;return(0,b.jsx)("h3",{children:t})},h4:e=>{let{children:t}=e;return(0,b.jsx)("h4",{children:t})},h5:e=>{let{children:t}=e;return(0,b.jsx)("h5",{children:t})},h6:e=>{let{children:t}=e;return(0,b.jsx)("h6",{children:t})}},Po={types:{},block:Ln,marks:gn,list:hn,listItem:bn,hardBreak:Sn,unknownType:Nn,unknownMark:Tn,unknownList:Mn,unknownListItem:_n,unknownBlockStyle:In};function Io(e){let{value:t,components:o,listNestingMode:n,onMissingComponent:r=Pn}=e,i=r||Dn,a=Array.isArray(t)?t:[t],c=xo(a,n||vo),d=(0,ht.useMemo)(()=>o?un(Po,o):Po,[o]),y=(0,ht.useMemo)(()=>Bn(d,i),[d,i]),k=c.map((f,m)=>y({node:f,index:m,isInline:!1,renderNode:y}));return(0,b.jsx)(b.Fragment,{children:k})}var Bn=(e,t)=>{function o(f){let{node:m,index:u,isInline:x}=f,g=m._key||"node-".concat(u);return mt(m)?i(m,u,g):pt(m)?r(m,u,g):ut(m)?a(m,u,g):n(m)?k(m,u,g,x):dt(m)?c(m,u,g,x):ft(m)?d(m,g):y(m,u,g,x)}function n(f){return f._type in e.types}function r(f,m,u){let x=No({node:f,index:m,isInline:!1,renderNode:o}),g=e.listItem,N=(typeof g=="function"?g:g[f.listItem])||e.unknownListItem;if(N===e.unknownListItem){let F=f.listItem||"bullet";t(wn(F),{type:F,nodeType:"listItemStyle"})}let P=x.children;if(f.style&&f.style!=="normal"){let{listItem:F}=f,V=gt(f,sn);P=o({node:V,index:m,isInline:!1,renderNode:o})}return(0,b.jsx)(N,{value:f,index:m,isInline:!1,renderNode:o,children:P},u)}function i(f,m,u){let x=f.children.map((P,F)=>o({node:P._key?P:W(W({},P),{},{_key:"li-".concat(m,"-").concat(F)}),index:F,isInline:!1,renderNode:o})),g=e.list,N=(typeof g=="function"?g:g[f.listItem])||e.unknownList;if(N===e.unknownList){let P=f.listItem||"bullet";t(kn(P),{nodeType:"listStyle",type:P})}return(0,b.jsx)(N,{value:f,index:m,isInline:!1,renderNode:o,children:x},u)}function a(f,m,u){let{markDef:x,markType:g,markKey:T}=f,N=e.marks[g]||e.unknownMark,P=f.children.map((F,V)=>o({node:F,index:V,isInline:!0,renderNode:o}));return N===e.unknownMark&&t(xn(g),{nodeType:"mark",type:g}),(0,b.jsx)(N,{text:yt(f),value:x,markType:g,markKey:T,renderNode:o,children:P},u)}function c(f,m,u,x){let g=No({node:f,index:m,isInline:x,renderNode:o}),{_key:T}=g,N=gt(g,ln),P=N.node.style||"normal",V=(typeof e.block=="function"?e.block:e.block[P])||e.unknownBlockStyle;return V===e.unknownBlockStyle&&t(vn(P),{nodeType:"blockStyle",type:P}),(0,b.jsx)(V,W(W({},N),{},{value:N.node,renderNode:o}),u)}function d(f,m){if(f.text===`
`){let u=e.hardBreak;return u?(0,b.jsx)(u,{},m):`
`}return f.text}function y(f,m,u,x){let g={value:f,isInline:x,index:m,renderNode:o};t(To(f._type),{nodeType:"block",type:f._type});let T=e.unknownType;return(0,b.jsx)(T,W({},g),u)}function k(f,m,u,x){let g={value:f,isInline:x,index:m,renderNode:o},T=e.types[f._type];return T?(0,b.jsx)(T,W({},g),u):null}return o};function No(e){let{node:t,index:o,isInline:n,renderNode:r}=e,a=bo(t).map((c,d)=>r({node:c,isInline:!0,index:d,renderNode:r}));return{_key:t._key||"block-".concat(o),children:a,index:o,isInline:n,node:t}}function Dn(){}var So=l(E(),1);var Z=l(p(),1),On=({children:e,value:t})=>t?.url?(0,Z.jsx)("a",{className:"inline-flex items-center underline transition-opacity duration-200 hover:opacity-60",href:t?.url,rel:"noopener noreferrer",target:t?.newWindow?"_blank":"_self",children:(0,Z.jsx)(Z.Fragment,{children:e})}):(0,Z.jsx)(Z.Fragment,{children:e}),Mo=On;var bt=l(p(),1),_o=e=>{let{to:t,className:o,...n}=e;return typeof o=="function"?(0,bt.jsx)(Xt,{to:t,className:o,...n}):(0,bt.jsx)(Zt,{to:t,className:o,...n})};var ye=l(p(),1);function xt({children:e,value:t,className:o}){return t?.slug?(0,ye.jsx)(_o,{className:h("inline-flex items-center underline transition-opacity duration-200 hover:opacity-60",o),to:t.slug,children:(0,ye.jsx)(ye.Fragment,{children:e})}):null}var $=l(p(),1);function vt({children:e,value:t,className:o}){if(!t?.isTextSplit)return(0,$.jsx)($.Fragment,{children:e});if(!e[0])return null;let{stringWithoutLastWord:n,lastWord:r}=Te(e[0]);return(0,$.jsx)($.Fragment,{children:(0,$.jsxs)("div",{className:h("flex flex-col gap-y-4 md:grid md:grid-cols-3 md:gap-x-8 md:gap-y-0 lg:grid-cols-5",o),children:[(0,$.jsx)("span",{className:"md:col-start-1 md:col-end-2 lg:col-end-4 ",children:n||""}),r&&(0,$.jsx)("span",{className:"md:text-inherit md:text pb-2 text-lg md:col-start-3 md:col-end-4 md:flex md:items-end md:justify-end lg:col-start-5 lg:col-end-5",children:r})]})})}var ge=l(p(),1);function kt({children:e,value:t,className:o}){return t?.isIndented?(0,ge.jsx)("p",{className:h("indent-[24.3vw] md:indent-[12.2vw] lg:indent-[8.2vw]",o),children:e}):(0,ge.jsx)(ge.Fragment,{children:e})}var he=l(p(),1),An={xs:"text-xs leading-[1.6rem]",sm:"text-sm leading-[2.4rem]",base:"text-base leading-[2.4rem]",lg:"text-lg leading-[3.2rem]",xl:"text-xl leading-[4rem]","2xl":"text-2xl leading-[4.8rem]","3xl":"text-3xl leading-[6.4rem]","4xl":"text-4xl leading-[8.8rem]"},Fn={xs:"md:text-xs md:leading-[1.6rem]",sm:"md:text-sm md:leading-[2.4rem]",base:"md:text-base md:leading-[2.4rem]",lg:"md:text-lg md:leading-[3.2rem]",xl:"md:text-xl md:leading-[4rem]","2xl":"md:text-2xl md:leading-[4.8rem]","3xl":"md:text-3xl md:leading-[6.4rem]","4xl":"md:text-4xl md:leading-[8.8rem]"};function wt({children:e,value:t,className:o}){if(!t?.textSizeDesktop||!t?.textSizeMobile)return(0,he.jsx)(he.Fragment,{children:e});if(!e[0])return null;let n=`${Fn[t.textSizeDesktop]} ${An[t.textSizeMobile]}`;return(0,he.jsx)("p",{className:h("",n),children:e})}var R=l(p(),1);function Pt({children:e,value:t,className:o}){if(!t?.isTextSplit)return(0,R.jsx)(R.Fragment,{children:e});if(!e[0])return null;let[n,r,i]=Ie(e[0]);return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)("div",{className:h("flex flex-wrap justify-between gap-x-8 gap-y-0",o),children:[(0,R.jsx)("span",{className:"col-start-1 col-end-2",children:n||""}),r&&(0,R.jsx)("span",{children:r})]}),i&&(0,R.jsx)("span",{children:i})]})}var be=l(p(),1),Cn={left:"text-left",center:"text-center",right:"text-right"},En={left:"md:text-left",center:"md:text-center",right:"md:text-right"};function Nt({children:e,value:t,className:o}){if(!t?.textAlignDesktop||!t?.textAlignMobile)return(0,be.jsx)(be.Fragment,{children:e});if(!e[0])return null;let n=`${En[t.textAlignDesktop]} ${Cn[t.textAlignMobile]}`;return(0,be.jsx)("p",{className:h("",n),children:e})}var j=l(p(),1);function Tt({children:e,value:t}){return t.style==="h1"?(0,j.jsx)("h1",{className:"mb-8 mt-8 text-4xl first:mt-0 last:mb-0",children:e}):t.style==="h2"?(0,j.jsx)("h2",{className:"mb-8 mt-8 text-3xl first:mt-0 last:mb-0",children:e}):t.style==="h3"?(0,j.jsx)("h3",{className:"mb-8 mt-8 text-2xl first:mt-0 last:mb-0",children:e}):t.style==="h4"?(0,j.jsx)("h4",{className:"mb-8 mt-8 text-xl first:mt-0 last:mb-0",children:e}):t.style==="h5"?(0,j.jsx)("h5",{className:"mb-8 mt-8 text-lg first:mt-0 last:mb-0",children:e}):t.style==="h6"?(0,j.jsx)("h6",{className:"mb-8 mt-8 first:mt-0 last:mb-0",children:e}):t.style==="small"?(0,j.jsx)("p",{className:"mb-8 mt-8 text-sm first:mt-0 last:mb-0",children:e}):t.style==="tiny"?(0,j.jsx)("p",{className:"mb-8 mt-8 text-xs first:mt-0 last:mb-0",children:e}):(0,j.jsx)("p",{className:"relative my-4 first:mt-0 last:mb-0",children:e})}var _=l(E(),1);var w=l(p(),1);function It({title:e,description:t,id:o,className:n}){let[r,i]=(0,_.useState)(!1),a=(0,_.useRef)(null),c=(0,_.useRef)(null),d=(0,_.useRef)(null),y=(0,_.useRef)(null),k=(0,_.useRef)(null),f=(0,_.useRef)(null),m=(0,_.useRef)(null),u=(0,_.useRef)(null),x=(0,_.useRef)(null),g=(0,_.useRef)(null);return(0,_.useEffect)(()=>{r&&(a.current.classList.add("hidden"),setTimeout(()=>{y.current.classList.add("hidden")},75),setTimeout(()=>{f.current.classList.remove("hidden")},150),setTimeout(()=>{d.current.classList.add("hidden")},225),setTimeout(()=>{u.current.classList.remove("hidden")},300),setTimeout(()=>{c.current.classList.add("hidden")},375),setTimeout(()=>{x.current.classList.remove("hidden")},450),setTimeout(()=>{k.current.classList.add("hidden")},525),setTimeout(()=>{g.current.classList.remove("hidden")},600),setTimeout(()=>{m.current.classList.remove("hidden")},675)),r||(m.current.classList.add("hidden"),setTimeout(()=>{y.current.classList.remove("hidden")},675),setTimeout(()=>{f.current.classList.add("hidden")},600),setTimeout(()=>{d.current.classList.remove("hidden")},525),setTimeout(()=>{u.current.classList.add("hidden")},450),setTimeout(()=>{c.current.classList.remove("hidden")},375),setTimeout(()=>{x.current.classList.add("hidden")},300),setTimeout(()=>{k.current.classList.remove("hidden")},225),setTimeout(()=>{g.current.classList.add("hidden")},150),setTimeout(()=>{a.current.classList.remove("hidden")},75))},[r]),(0,w.jsxs)("div",{className:h("cursor-pointer overflow-hidden border-b py-8",n),onClick:()=>i(!r),children:[e&&(0,w.jsxs)("div",{className:"flex items-center justify-between",children:[(0,w.jsx)("h2",{className:"w-full ",children:(0,w.jsx)("button",{className:"w-full text-left","aria-expanded":r,"aria-controls":`accordion-description-${o}`,id:`accordion-title-${o}`,children:e})}),(0,w.jsx)("span",{className:"cursor-pointer pr-8",onClick:()=>i(!r),children:(0,w.jsxs)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,w.jsxs)("g",{clipPath:"url(#clip0_256_339)",children:[(0,w.jsx)("rect",{ref:a,className:"fill-dark",x:"4",y:"4",width:"2",height:"2"}),(0,w.jsx)("rect",{ref:c,className:"fill-dark",x:"6",y:"2",width:"2",height:"2"}),(0,w.jsx)("rect",{ref:d,className:"fill-dark",x:"2",y:"2",width:"2",height:"2"}),(0,w.jsx)("rect",{ref:y,className:"fill-dark",x:"8",width:"2",height:"2"}),(0,w.jsx)("rect",{ref:k,className:"fill-dark",width:"2",height:"2"}),(0,w.jsx)("rect",{ref:f,className:"fill-dark hidden",x:"4",width:"2",height:"2"}),(0,w.jsx)("rect",{ref:m,className:"fill-dark hidden",x:"6",y:"2",width:"2",height:"2"}),(0,w.jsx)("rect",{ref:u,className:"fill-dark hidden",x:"2",y:"2",width:"2",height:"2"}),(0,w.jsx)("rect",{ref:x,className:"fill-dark hidden",x:"8",y:"4",width:"2",height:"2"}),(0,w.jsx)("rect",{ref:g,className:"fill-dark hidden",y:"4",width:"2",height:"2"})]}),(0,w.jsx)("defs",{children:(0,w.jsx)("clipPath",{id:"clip0_256_339",children:(0,w.jsx)("rect",{width:"10",height:"6",fill:"white"})})})]})})]}),(0,w.jsx)(te,{initial:!1,children:r&&(0,w.jsx)(L.div,{id:`accordion-description-${o}`,role:"region","aria-labelledby":`accordion-title-${o}`,initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{height:{type:"spring",duration:.4,bounce:0}},children:t&&(0,w.jsx)(K,{className:"py-8",blocks:t})})})]})}var Mt=l(p(),1);function _t({module:e,className:t}){return(0,Mt.jsx)("div",{className:h("col-span-full",t),children:(0,Mt.jsx)(It,{id:e._key,title:e.title,description:e.description},e._key)})}var St=l(p(),1);function Lt({value:e}){let{modulePadding:t}=e||{};return(0,St.jsx)("div",{"data-sanity-edit-target":!0,className:e?v(t):"",children:(0,St.jsx)(_t,{className:"first:pt-0",module:e})})}var Y=l(p(),1);function Bt({module:e,services:t,categories:o,className:n}){return(0,Y.jsx)("div",{className:h("col-span-full flex flex-col",n),children:(0,Y.jsxs)("ul",{children:[e.showCatServ&&o&&o.map((r,i)=>(0,Y.jsx)("li",{className:"pt-4 text-sm",children:r.title},i)),e.showCatServ&&t&&t.map((r,i)=>(0,Y.jsx)("li",{className:"pt-4 text-sm",children:r.title},i)),e.listItems&&e.listItems.length>0&&e.listItems.map((r,i)=>(0,Y.jsx)("li",{className:"pt-4 text-sm",children:r},i))]})})}var Dt=l(p(),1);function Ot({value:e,categories:t,services:o}){return(0,Dt.jsx)("div",{"data-sanity-edit-target":!0,children:(0,Dt.jsx)(Bt,{services:o||[],categories:t||[],module:e})})}var xe=l(E(),1);var J=l(p(),1);function At({module:e}){let{images:t}=e||{},[o,n]=(0,xe.useState)({x:0,y:0});return(0,xe.useEffect)(()=>{let r=i=>{let a=Math.min(i.clientX,window.innerWidth-20);requestAnimationFrame(()=>{n({x:a+2,y:i.clientY-4})})};return window.addEventListener("mousemove",r),()=>{window.removeEventListener("mousemove",r)}},[]),(0,J.jsx)("div",{className:"flex flex-wrap gap-8",children:t&&t?.map(r=>(0,J.jsx)(Rn,{mousePosition:o,image:r},r._key))})}function Rn({image:e,mousePosition:t}){let[o,n]=(0,xe.useState)(!1),[r]=ve(),i=()=>{n(!0)},a=()=>{n(!1)},{width:c}=Me();return(0,J.jsxs)("div",{onMouseEnter:i,onMouseLeave:a,className:"w-[calc(50%-8px)]",children:[c>768&&(0,J.jsx)(L.span,{animate:{left:t.x+15,top:t.y-7},transition:{top:{duration:.2,transition:{ease:"easeIn"}},left:{duration:.2,transition:{ease:"easeIn"}}},className:`pointer-events-none fixed z-[100] text-xs mix-blend-exclusion ${o?"opacity-1":"opacity-0"} ${r=="light"?"text-light":"text-dark"}`,children:e?.hovertText}),(0,J.jsx)(U,{alt:e.alt,crop:e.crop,hotspot:e.hotspot,layout:"responsive",sizes:["50vw, 20vw"],src:e?.asset?._ref,className:"h-auto w-full object-cover"})]})}var Ft=l(p(),1);function Ct({value:e}){let{modulePadding:t}=e||{};return(0,Ft.jsx)("section",{"data-sanity-edit-target":!0,className:e?v(t):"",children:(0,Ft.jsx)(At,{module:e})})}var C=l(p(),1);function K({blocks:e,services:t,categories:o,className:n}){let r={list:{bullet:({children:a})=>(0,C.jsx)("ul",{className:"my-32 list-outside list-square pl-8 first:mt-0 last:mb-0 ",children:a}),number:({children:a})=>(0,C.jsx)("ol",{children:a})},marks:{strong:({children:a})=>(0,C.jsx)("strong",{children:a}),em:({children:a})=>(0,C.jsx)("em",{children:a}),link:({children:a,value:c})=>{let d=c.href.startsWith("/")?void 0:"noreferrer noopener",y=c.href.startsWith("https")?"_blank":"_self";return(0,C.jsx)("a",{className:"underline",target:y,href:c.href,rel:d,children:a})},annotationLinkExternal:Mo,annotationLinkInternal:xt,annotationTextIndented:kt,annotationSplitText:Pt,annotationSplitLastWord:vt,annotationTextSize:wt,annotationTextAlign:Nt},block:Tt,types:{customImage:({value:a})=>(0,C.jsx)(U,{alt:a.alt,crop:a.crop,hotspot:a.hotspot,layout:"responsive",sizes:["50vw","100vw"],src:a.asset?._ref,className:"h-auto w-full object-cover"}),"module.unstyledList":a=>(0,C.jsx)(Ot,{services:t||[],categories:o||[],...a}),"module.imageGridSmall":a=>(0,C.jsx)(Ct,{...a}),accordion:a=>(0,C.jsx)(Lt,{...a})}};return(0,So.useMemo)(()=>(0,C.jsx)("div",{className:h("portableText",n),children:(0,C.jsx)(Io,{value:e,components:r})}),[e])}var Fe=l(p(),1);function Et({module:e,className:t,services:o,categories:n}){let{content:r}=e;return(0,Fe.jsx)("div",{className:h("fostr-grid",t),children:(0,Fe.jsx)("div",{className:"col-span-full md:col-start-2 md:col-end-8 lg:col-end-12",children:r&&(0,Fe.jsx)(K,{services:o||[],categories:n||[],blocks:r})})})}var Rt=l(p(),1);function Wt({value:e,services:t,categories:o}){let{modulePadding:n}=e||{};return(0,Rt.jsx)("section",{"data-sanity-edit-target":!0,className:n?v(n):"",children:(0,Rt.jsx)(Et,{services:t||[],categories:o||[],module:e})})}var O=l(p(),1);function $t({module:e,className:t}){let{content:o}=e;return(0,O.jsxs)("div",{className:h("fostr-grid",t),children:[(0,O.jsx)("div",{className:"process-slider col-span-full -mx-8 md:col-start-2 md:col-end-8 md:-mx-0 lg:col-end-12",children:(0,O.jsx)(Pe,{spaceBetween:0,slidesPerView:1,breakpoints:{1024:{slidesPerView:3,spaceBetween:0}},children:o&&o?.length>0&&o.map((n,r)=>(0,O.jsxs)(Ne,{children:[(0,O.jsx)("div",{className:"py-15 md:py-25 lg:py-15",children:(0,O.jsxs)("div",{className:"relative flex aspect-[1/1] w-full items-center justify-center ",children:[(0,O.jsx)("div",{className:`absolute h-[95%] w-[95%] rounded-full border lg:h-[110%] lg:w-[110%] ${r==0?"lg:translate-x-16":""} ${r==2?"lg:-translate-x-16":""}`}),(0,O.jsx)("h3",{className:`x-8 text-center text-lg md:px-0 ${r==0?"lg:translate-x-16":""} ${r==2?"lg:-translate-x-16":""}`,children:n?.title?n.title:""})]})}),(0,O.jsx)("p",{className:"pl-[calc(25vw+16px)] pr-8 pt-16 text-xs md:hidden md:px-0",children:n?.description?n.description:""})]},n?._key))})}),o&&o?.length>0&&o.map((n,r)=>(0,O.jsx)("div",{className:`hidden pt-32 lg:block ${r==0?"col-start-4 col-end-6":""} ${r==1?"col-start-7 col-end-9":""} ${r==2?"col-start-10 col-end-12":""}`,children:(0,O.jsx)("p",{className:"text-xs",children:n?.description?n.description:""})},n?._key))]})}var jt=l(p(),1);function Ut({value:e}){let{modulePadding:t}=e||{};return(0,jt.jsx)("div",{"data-sanity-edit-target":!0,className:t?v(t):"",children:(0,jt.jsx)($t,{module:e})})}var Q=l(p(),1);function zt({module:e,className:t,services:o,categories:n}){let{colLeft:r,colRight:i,colLeftNarrow:a,colRightNarrow:c,fullBleedLayout:d,twoColsMobile:y}=e||{};return(0,Q.jsxs)("div",{className:h("fostr-grid",t),children:[(0,Q.jsx)("div",{className:`col-span-full ${a&&!d&&!y?"md:col-start-2 md:col-end-4 lg:col-end-5":""} ${d&&!a&&!y?"md:col-start-1 md:col-end-5 lg:col-end-7":""} ${!a&&!d&&y?"col-start-1 col-end-3 md:col-start-2 md:col-end-5 lg:col-end-7":""}  ${!a&&!d&&!y?"md:col-start-2 md:col-end-5 lg:col-end-7 ":""} `,children:r&&(0,Q.jsx)(K,{services:o||[],categories:n||[],blocks:r})}),(0,Q.jsx)("div",{className:`col-span-full ${y?"pt-0":"pt-32"}
				${c&&!d&&!y?"md:col-start-5 md:col-end-7 md:pt-0 lg:col-start-7 lg:col-end-10":""}
				${d&&!c&&!y?" md:col-start-5 md:col-end-9 lg:col-start-7 lg:col-end-13":""} ${!a&&!d&&y?"col-start-3 col-end-5 md:col-start-5 md:col-end-8 md:pt-0 lg:col-start-7 lg:col-end-12":""}  ${!c&&!d&&!y?"md:col-start-5 md:col-end-8 md:pt-0 lg:col-start-7 lg:col-end-12":""}`,children:i&&(0,Q.jsx)(K,{services:o||[],categories:n||[],blocks:i})})]})}var Ht=l(p(),1);function Vt({value:e,services:t,categories:o}){let{modulePadding:n}=e||{};return(0,Ht.jsx)("section",{"data-sanity-edit-target":!0,className:n?v(n):"",children:e?(0,Ht.jsx)(zt,{services:t||[],categories:o||[],module:e}):null})}var S=l(E(),1);var ee=l(p(),1);function Gt({module:e,className:t}){let o=oe.config();if(!e.videoFiles)return null;let n=(0,S.useRef)(e.videoFiles.map(()=>(0,S.createRef)())),r=(0,S.useRef)(null),i=(0,S.useRef)(null),a=we(r,{margin:"0px 0px -100px 0px"}),[c,d]=(0,S.useState)([]),[y,k]=(0,S.useState)(0),f=(0,S.useCallback)((m,u)=>{k(m.activeIndex),u[m.previousIndex].pause(),u[m.activeIndex].play()},[]);return(0,S.useEffect)(()=>{let m=n.current.map(u=>u.current.querySelector("video"));d(m)},[r]),(0,S.useEffect)(()=>{c.length>0&&a?c[y].play():c.length>0&&!a&&c[y].pause()},[a]),(0,S.useEffect)(()=>{c.length>0&&(c.forEach((m,u)=>{u!==0&&m.pause()}),c.forEach((m,u)=>{m.addEventListener("ended",()=>{u<c.length-1?(k(u+1),i.current.slideNext(),c[u+1].play()):(k(0),i.current.slideTo(0),c[0].play())})}))},[c]),(0,ee.jsx)("div",{className:h("fostr-grid",t),children:(0,ee.jsx)("div",{ref:r,className:"col-span-full flex justify-between gap-8 md:col-start-2 md:col-end-8 lg:col-start-2 lg:col-end-12",children:(0,ee.jsx)(Pe,{onSwiper:m=>{i.current=m},onSlideChange:m=>f(m,c),spaceBetween:16,slidesPerView:1.5,breakpoints:{640:{slidesPerView:1.5,spaceBetween:16},768:{slidesPerView:3,spaceBetween:16}},children:e.videoFiles.map((m,u)=>{let x=G(m.asset._ref,o);return(0,ee.jsx)(Ne,{children:(0,ee.jsx)("div",{ref:n.current[u],className:`md:flex ${u==0?"md:justify-start":""} ${u==1?"md:justify-center":""} ${u==2?"md:justify-end":""}`,children:(0,ee.jsx)("video",{className:"h-full max-h-screen rounded-2xl border border-dark",autoPlay:!0,muted:!0,playsInline:!0,src:x.asset.url})})},m._key)})})})})}var A=l(p(),1);function Wn({module:e,categories:t,services:o,actionData:n}){switch(e._type){case"mainPageHeading":return(0,A.jsx)(Qe,{value:e});case"oneColumnLayout":return(0,A.jsx)(Wt,{categories:t,services:o,value:e});case"metaBar":return(0,A.jsx)(at,{value:e});case"mediaBanner":return(0,A.jsx)(ot,{value:e});case"twoColumnLayout":return(0,A.jsx)(Vt,{categories:t,services:o,value:e});case"desktopVideo":return(0,A.jsx)(He,{value:e});case"mobileVideos":return(0,A.jsx)(Gt,{module:e});case"hero":return(0,A.jsx)(qe,{value:e});case"imageGrid":return(0,A.jsx)(Ze,{value:e});case"process":return(0,A.jsx)(Ut,{value:e});case"metrics":return(0,A.jsx)(lt,{value:e});case"contactForm":return(0,A.jsx)(We,{value:e,actionData:n});default:return null}}export{Wn as a};