PageSourceSearch

https://amigo-mvp-production.up.railway.app/_next/static/chunks/2758-4ac7e286a3538cc7.js

js amigo-mvp-production.up.railway.app collected 2026-10-03 12:11:37 UTC 53,868 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2758],{1460:(e,a,l)=>{l.d(a,{A:()=>d});var t=l(43072),s=l(41695),r=l(59186),i=l(76983);let n=e=>{let{defaultConverters:a}=e;return{...a,...i.C,blocks:{}}};function d(e){let{className:a,...l}=e;return(0,t.jsx)(r.s,{converters:n,className:(0,s.cn)(a),...l})}},5049:(e,a,l)=>{l.d(a,{A:()=>c});var t=l(43072);l(24076);var s=l(72349),r=l(91910),i=l(1460),n=l(1165),d=l.n(n);let c=e=>{let{duration:a,"preview-header":l,"preview-text":n,"preview-image":c}=e["preview-info"],{createdAt:o,slug:m,title:u,publishedAt:x,newTab:f=!0}=e,g=null==c?void 0:c.url,h=null==c?void 0:c.alt;return(0,t.jsxs)("div",{className:"grid h-full grid-cols-2 shadow-md",children:[(0,t.jsx)("div",{className:"relative h-full",children:g&&(0,t.jsx)(s.default,{src:g,alt:h,fill:!0,style:{objectFit:"cover"}})}),(0,t.jsxs)("div",{className:"flex flex-col justify-between gap-[5rem] p-[2rem]",children:[(0,t.jsxs)("div",{className:"flex flex-col flex-wrap justify-between gap-[2rem] md:flex-row md:items-center",children:[(0,t.jsx)("p",{className:"text-[2rem] lg:text-[1.3rem]",children:u}),(0,t.jsxs)("div",{className:"*:bg-amigo-black/10 flex flex-col gap-[0.5rem] *:flex *:w-fit *:items-center *:gap-[1rem] *:rounded-full *:px-[1.2rem] *:py-[0.8rem] *:text-[2rem] md:flex-row *:lg:text-[1.3rem]",children:[o&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{children:(0,t.jsx)(r.B_N,{})}),(0,t.jsx)("p",{children:x?x.split("T")[0]:o.split("T")[0]})]}),a&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{children:(0,t.jsx)(r.LEs,{})}),(0,t.jsx)("p",{children:a})]})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-[3rem]",children:[l&&(0,t.jsx)(i.A,{className:"font-degular text-[3rem] leading-none lg:text-[2.2rem]",data:l}),n&&(0,t.jsx)(i.A,{className:"flex flex-col gap-[1rem] text-[2.5rem] lg:text-[1.5rem]",data:n})]}),(0,t.jsx)("div",{children:m&&(0,t.jsx)(d(),{href:"/blog/".concat(m),target:f?"_blank":void 0,className:"w-fit",children:(0,t.jsx)("p",{className:"hover:bg-amigo-black hover:text-amigo-white w-fit rounded-lg border px-[1.6rem] py-[0.8rem] text-[2rem] uppercase transition-colors duration-300 lg:text-[1.4rem]",children:"Read More"})})})]})]})}},12057:(e,a,l)=>{l.d(a,{CampaignTestimonials:()=>g});var t=l(43072),s=l(24076),r=l(73310),i=l(99565),n=l(45679),d=l(1460),c=l(99557);let o=e=>{var a;let{item:l}=e,s=null===(a=l["user-image"])||void 0===a?void 0:a.url;return(0,t.jsxs)("div",{className:"bg-amigo-white flex flex-col justify-between gap-8 p-8",children:[(0,t.jsx)("div",{className:"flex flex-col gap-2",children:(0,t.jsx)(c.default,{type:"fade",children:(0,t.jsx)(d.A,{data:l.quote})})}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(c.default,{type:"flip-x",children:(0,t.jsxs)(n.eu,{children:[s&&(0,t.jsx)(n.BK,{src:s}),(0,t.jsx)(n.q5,{children:"/"})]})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(c.default,{type:"slide-left",className:"font-semibold uppercase",children:l.person}),(0,t.jsx)(c.default,{type:"slide-left",className:"text-sm uppercase",children:l["job-title"]})]})]})]})};var m=l(37987),u=l(72349);let x=e=>{var a,l;let{item:s}=e,r=null===(a=s["main-image"])||void 0===a?void 0:a.url,i=null===(l=s["main-image"])||void 0===l?void 0:l.alt;return(0,t.jsx)(m.P.div,{transition:{duration:1.5,ease:[.76,0,.24,1]},initial:{opacity:0}
1,animate:{opacity:1},className:"relative aspect-video lg:aspect-auto",children:r&&(0,t.jsx)(u.default,{src:r,alt:i,fill:!0,style:{objectFit:"cover"}})})};var f=l(53037);let g=e=>{let[a,l]=(0,s.useState)(1),{header:n,items:d}=e,c=(0,s.useMemo)(()=>d.map(e=>({image:e["sub-image"]}))||[],[d]),m=(0,s.useMemo)(()=>({contents:d.map(e=>(0,t.jsx)(o,{item:e},e.id+"content")),images:d.map(e=>(0,t.jsx)(x,{item:e},e.id+"image"))}),[d]);return(0,t.jsx)("div",{className:"text-amigo-black w-full bg-[#e5e5e5]",children:(0,t.jsx)("div",{className:"campaign-container flex flex-col gap-8 py-8",children:(0,t.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(r.A,{text:"Testimonials"}),(0,t.jsx)(f.A,{text:n})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-[0.7fr_0.3fr]",children:[(0,t.jsxs)("div",{className:"grid min-h-92 grid-cols-1 lg:grid-cols-[0.3fr_0.7fr]",children:[m.images[a-1],m.contents[a-1]]}),(0,t.jsx)("div",{children:(0,t.jsx)(i.A,{images:c,carouselStyle:"full",setCurrentTestimonial:l})})]})]})})})}},13345:(e,a,l)=>{l.d(a,{$:()=>m});var t=l(43072),s=l(24076),r=l(72349),i=l(41695);let{breakpoints:n}={breakpoints:{"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640}},d=e=>{let a,l,{alt:s,fill:d,imgClassName:c,priority:o,resource:m,size:u,src:x,loading:f}=e,g=s,h=x||"";if(!h&&m&&"object"==typeof m){let{alt:e,height:t,url:s,width:r}=function(e,a){let l=null==e?void 0:e.sizes;if(l&&a&&a in l){let t=l[a];if(null==t?void 0:t.url)return{alt:null==e?void 0:e.alt,...t}}return e}(m,"large");a=r,l=t,g=e||"";let i=m.updatedAt;h="".concat(s,"?").concat(i)}let p=u||Object.entries(n).map(e=>{let[,a]=e;return"(max-width: ".concat(a,"px) ").concat(2*a,"w")}).join(", ");return(0,t.jsx)("picture",{className:"block h-full w-full",children:(0,t.jsx)(r.default,{alt:g||"",className:(0,i.cn)("h-full w-full",c),fill:d,height:d?void 0:l,placeholder:"blur",blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",priority:o,quality:100,loading:f||(o?void 0:"lazy"),sizes:p,src:h,width:d?void 0:a,style:{objectFit:"cover"}})})},c=e=>{let{onClick:a,resource:l,videoClassName:r,playVid:n}=e,d=(0,s.useRef)(null);if((0,s.useEffect)(()=>{let{current:e}=d;e&&e.addEventListener("suspend",()=>{})},[]),(0,s.useEffect)(()=>{let{current:e}=d;e&&(n?(e.play(),e.muted=!1):(e.muted=!0,e.pause()))},[n]),l&&"object"==typeof l&&l.url){let{filename:e}=l;return(0,t.jsx)("video",{className:(0,i.cn)(r),controls:!1,loop:!0,muted:!0,onClick:a,playsInl
1ine:!0,ref:d,children:(0,t.jsx)("source",{src:l.url})})}return null};var o=l(59365);let m=e=>{var a;let{className:l,htmlElement:s="div",resource:r,playVid:n,playButtonClassName:m}=e,u="object"==typeof r&&(null==r?void 0:null===(a=r.mimeType)||void 0===a?void 0:a.includes("video"));return(0,t.jsxs)("div",{...null!==s?{className:l}:{},className:"relative flex h-full w-full items-center justify-center",children:[u&&!n&&(0,t.jsx)("div",{className:(0,i.cn)("text-amigo-white bg-amigo-black pointer-events-none absolute top-1/2 left-1/2 grid h-24 w-24 -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full",m),children:(0,t.jsx)(o.A,{width:"100%",height:"100%",className:"p-4"})}),u?(0,t.jsx)(c,{...e}):(0,t.jsx)(d,{...e})]})}},13365:(e,a,l)=>{l.d(a,{A:()=>r});var t=l(42531);let s={muted:null},r=(0,t.v)(e=>({...s,reset:()=>e(s),setMuted:a=>{e(e=>({muted:a===e.muted?null:a}))}}))},18815:(e,a,l)=>{l.d(a,{BE:()=>x,I6:()=>g,Uz:()=>d,_s:()=>n,cp:()=>o,gk:()=>f,zj:()=>u});var t=l(43072),s=l(24076),r=l(47089),i=l(41695);let n=e=>{let{shouldScaleBackground:a=!0,...l}=e;return(0,t.jsx)(r._s.Root,{shouldScaleBackground:a,...l})};n.displayName="Drawer";let d=r._s.Trigger,c=r._s.Portal,o=r._s.Close,m=s.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)(r._s.Overlay,{ref:a,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80",l),...s})});m.displayName=r._s.Overlay.displayName;let u=s.forwardRef((e,a)=>{let{className:l,children:s,...n}=e;return(0,t.jsxs)(c,{children:[(0,t.jsx)(m,{}),(0,t.jsx)(r._s.Content,{ref:a,className:(0,i.cn)("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] bg-white dark:border-gray-800 dark:bg-gray-950",l),...n,children:s})]})});u.displayName="DrawerContent";let x=e=>{let{className:a,...l}=e;return(0,t.jsx)("div",{className:(0,i.cn)("grid gap-1.5 p-4 text-center sm:text-left",a),...l})};x.displayName="DrawerHeader";let f=s.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)(r._s.Title,{ref:a,className:(0,i.cn)("text-lg leading-none font-semibold tracking-tight",l),...s})});f.displayName=r._s.Title.displayName;let g=s.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)(r._s.Description,{ref:a,className:(0,i.cn)("text-sm text-gray-500 dark:text-gray-400",l),...s})});g.displayName=r._s.Description.displayName},29056:(e,a,l)=>{l.d(a,{CampaignSingleContact:()=>v});var t=l(43072),s=l(24076),r=l(73310),i=l(1460),n=l(69857),d=l(46076),c=l(53806),o=l(32796),m=l(66080),u=l(46841),x=l(88913),f=l(3199);let g=e=>{var a;let{form:l,form:{id:r,confirmationMessage:n,confirmationType:d,submitButtonLabel:g}={},campaignTitle:h}=e,p=(0,o.mN)({defaultValues:l.fields}),{control:v,formState:{errors:j},handleSubmit:b,register:y}=p,[N,w]=(0,s.useState)(!1),[A,k]=(0,s.useState)(),[C,S]=(0,s.useState)(),R=(0,c.useRouter)(),D=(0,s.useCallback)(e=>{let a;(async()=>{S(void 0);let l=Object.entries(e).map(e=>{let[a,l]=e;return{field:a,value:l}});l.push({field:"campaign",value:h}),a=setTimeout(()=>{w(!0)},1e3);try{let e=await fetch("".concat((0,u.y)(),"/api/form-submissions"),{body:JSON.stringify({form:r,submissionData:l}),headers:{"Content-Type":"application/json"},method:"POST"}),i=await e.json();if(clearTimeout(a),e.status>=400){var t,s;w(!1),S({message:(null===(s=i.errors)||void 0===s?void 0:null===(t=s[0])||void 0===t?void 0:t.message)||"Internal Server Error",status:i.status});return}w(!1),k(!0)}catch(e){console.warn(e),w(!1),S({message:"Something went wrong."})}})()},[R,r,d]);return(0,t.jsxs)("div",{className:"flex flex-col items-start",children:[(0,t.jsx)("div",{className:"w-full",children:(0,t.jsxs)(o.Op,{...p,children:[N&&!A&&(0,t.jsx)("p",{className:"text-amigo-white",children:"Loading, please wait..."}),C&&(0,t.jsx)("div",{children:"".concat(C.status||"500",": ").concat(C.message||"")}),!A&&(0,t.jsxs)("form",{id:r,onSubmit:b(D),className:"flex w-full flex-col gap-4",children:[(0,t.jsx)("div",{className:"flex flex-col gap-4",children:l&&l.fields&&(null===(a=l.fields)||void 0===a?void 0:a.map((e,a)=>{let s=null===x.O||void 0===x.O?void 0:x.O[e.blockType],r="".concat("checkbox"===e.blockType?"":"!bg-amigo-white/5"," mt-2 !border-amigo-white/25 rounded-lg p-2 !text-base");return s?(0,t.jsx)("div",{className:"",children:(0,t.jsx)(s,{className:r,labelClassName:"!text-base",placeholder:!0,form:l,...e,...p,control:v,errors:j,register:y})},a):null}))}),(0,t.jsxs)(m.$,{form:r,type:"submit",variant:"outline",className:"text-amigo-black flex w-fit items-center gap-2 bg-[#fafafa] px-8 py-2",children:[(0,t.jsx)(f.A,{}),(0,t.jsx)("p",{children:g})]})]})]})}),A&&(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsx)(i.A,{data:n,className:"text-amigo-white"})})]})};var h=l(53037),p=l(99557);let v=e=>{let{header:a,content:l,"phone-number":s,email:c,form:o}=e;return(0,t.jsx)("div",{className:"pt-8 pb-24",style:{background:"linear-gradient(180deg,rgba(0, 0, 0, 1) 50%, rgba(255, 255, 255, 0.1) 100%)"},children:(0,t.jsxs)("div",{className:"campaign-container flex flex-col gap-8",children:[(0,t.jsx)(r.A,{text:"Contact"}),(0,t.jsx)(h.A,{text:a}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-4 lg:grid-cols-2 lg:gap-24",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-8",children:[l&&(0,t.jsx)(p.default,{type:"fade",children:(0,t.jsx)(i.A,{data:l})}),(0,t.jsxs)("div",{className:"flex flex-col items-start justify-between gap-4 lg:flex-row lg:items-center",children:[s&&s.root.direction&&(0,t.jsx)(b,{data:s,label:"Call us",children:(0,t.jsx)(n.A,{})}),c&&c.root.direction&&(0,t.jsx)(b,{data:c,label:"Send us a message",children:(0,t.jsx)(d.A,{})})]})]}
1),o&&(0,t.jsx)(g,{campaignTitle:"The Pools",form:o})]})]})})},j=e=>{let{data:a,label:l}=e;return(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)(p.default,{type:"slide-left",className:"font-bold",children:l}),(0,t.jsx)(p.default,{type:"slide-left",className:"",children:(0,t.jsx)(i.A,{data:a,className:"!text-amigo-white/50"})})]})},b=e=>{let{data:a,label:l,children:s}=e;return(0,t.jsxs)("div",{className:"grid grid-cols-[auto_1fr] gap-4",children:[(0,t.jsx)(p.default,{type:"flip-x",className:"!border-amigo-white grid aspect-square place-items-center rounded-md border p-2",children:s}),(0,t.jsx)(j,{data:a,label:l})]})}},33258:(e,a,l)=>{l.d(a,{$m:()=>o,As:()=>c,nD:()=>d,ub:()=>m});var t=l(43072);l(24076);var s=l(19658),r=l(91355),i=l(70913),n=l(41695);function d(e){let{...a}=e;return(0,t.jsx)(s.bL,{"data-slot":"accordion",...a})}function c(e){let{className:a,...l}=e;return(0,t.jsx)(s.q7,{"data-slot":"accordion-item",className:(0,n.cn)("!border-amigo-black/25 border-b last:border-b-0",a),...l})}function o(e){let{className:a,children:l,...d}=e;return(0,t.jsx)(s.Y9,{className:"flex",children:(0,t.jsxs)(s.l9,{"data-slot":"accordion-trigger",className:(0,n.cn)('focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=closed]>[data-name="plus-minus-container"]>[data-name="minus"]]:opacity-0 [&[data-state=closed]>[data-name="plus-minus-container"]>[data-name="plus"]]:opacity-100 [&[data-state=open]>[data-name="plus-minus-container"]>[data-name="minus"]]:opacity-100 [&[data-state=open]>[data-name="plus-minus-container"]>[data-name="plus"]]:opacity-0',a),...d,children:[l,(0,t.jsxs)("div",{"data-name":"plus-minus-container",className:"relative aspect-square h-full place-items-center rounded-md border bg-[#fafafa]",children:[(0,t.jsx)("div",{"data-name":"plus",className:"text-amigo-black absolute top-0 left-0 grid aspect-square h-full w-full place-items-center rounded-md p-2 transition-opacity duration-300",children:(0,t.jsx)(r.A,{className:"h-full w-full"})}),(0,t.jsx)("div",{"data-name":"minus",className:"text-amigo-black absolute top-0 left-0 grid h-full w-full place-items-center rounded-md p-2 transition-opacity duration-300",children:(0,t.jsx)(i.A,{className:"h-full w-full"})})]})]})})}function m(e){let{className:a,children:l,...r}=e;return(0,t.jsx)(s.UC,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...r,children:(0,t.jsx)("div",{className:(0,n.cn)("pt-0 pb-4",a),children:l})})}},35824:(e,a,l)=>{l.d(a,{Dialog:()=>d,DialogContent:()=>u,DialogDescription:()=>f,DialogTitle:()=>x,DialogTrigger:()=>c});var t=l(43072),s=l(24076),r=l(20629),i=l(68321),n=l(41695);let d=r.bL,c=r.l9,o=r.ZL;r.bm;let m=s.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)(r.hJ,{ref:a,className:(0,n.cn)("bg-amigo-black/80 fixed inset-0 z-[999]",l),...s})});m.displayName=r.hJ.displayName;let u=s.forwardRef((e,a)=>{let{className:l,children:s,...d}=e;return(0,t.jsxs)(o,{children:[(0,t.jsx)(m,{}),(0,t.jsxs)(r.UC,{ref:a,className:(0,n.cn)("bg-amigo-black text-amigo-white fixed top-[50%] left-[50%] z-[999] grid w-full translate-x-[-50%] translate-y-[-50%] gap-[2rem] px-[5rem] py-[5rem] shadow-lg duration-200",l),...d,children:[s,(0,t.jsxs)(r.bm,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-[2rem] right-[2rem] rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none",children:[(0,t.jsx)(i.A,{className:"h-[2rem] w-[2rem]"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});u.displayName=r.UC.displayName;let x=s.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)(r.hE,{ref:a,className:(0,n.cn)("text-lg leading-none font-semibold tracking-tight",l),...s})});x.displayName=r.hE.displayName;let f=s.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)(r.VY,{ref:a,className:(0,n.cn)("text-muted-foreground text-sm",l),...s})});f.displayName=r.VY.displayName},36242:(e,a,l)=>{l.d(a,{FormBlock:()=>m});var t=l(43072),s=l(53806),r=l(24076),i=l(32796),n=l(1460),d=l(66080),c=l(889
113),o=l(46841);let m=e=>{var a;let{enableIntro:l,form:m,form:{id:u,confirmationMessage:x,confirmationType:f,submitButtonLabel:g,description:h}={},introContent:p,pdfUrl:v,paperTitle:j,fileName:b}=e,y=(0,i.mN)({defaultValues:m.fields}),{control:N,formState:{errors:w},handleSubmit:A,register:k}=y,[C,S]=(0,r.useState)(!1),[R,D]=(0,r.useState)(!1),[I,E]=(0,r.useState)(),[P,B]=(0,r.useState)(),F=(0,s.useRouter)(),L=(0,r.useCallback)(e=>{let a;(async()=>{B(void 0);let l=Object.entries(e).map(e=>{let[a,l]=e;return{field:a,value:l}});l.push({field:"paper",value:j}),a=setTimeout(()=>{D(!0)},1e3);try{let e=await fetch("".concat((0,o.y)(),"/api/form-submissions"),{body:JSON.stringify({form:u,submissionData:l}),headers:{"Content-Type":"application/json"},method:"POST"}),r=await e.json();if(clearTimeout(a),e.status>=400){var t,s;D(!1),B({message:(null===(s=r.errors)||void 0===s?void 0:null===(t=s[0])||void 0===t?void 0:t.message)||"Internal Server Error",status:r.status});return}D(!1),E(!0),localStorage.setItem(j,j)}catch(e){console.warn(e),D(!1),B({message:"Something went wrong."})}})()},[F,u,f]);(0,r.useEffect)(()=>{S(!!localStorage.getItem(j))},[]);let T=async(e,a)=>{fetch(e,{headers:{"Content-Type":"application/pdf"}}).then(e=>e.blob()).then(e=>{let l=window.URL.createObjectURL(new Blob([e])),t=document.createElement("a");t.href=l,t.download=a||"downloaded-file",document.body.appendChild(t),t.click(),document.body.removeChild(t),window.URL.revokeObjectURL(l)}).catch(e=>{console.error("Error fetching the file:",e)})};return(0,t.jsxs)("div",{className:"flex flex-col gap-[2rem]",children:[l&&p&&!I&&!C&&(0,t.jsx)(n.A,{className:"",data:p}),h&&!I&&!C&&(0,t.jsx)(n.A,{className:"text-[2rem] lg:text-[1.5rem]",data:h}),C?(0,t.jsxs)("div",{className:"flex flex-col gap-[4rem]",children:[(0,t.jsx)(n.A,{data:x,className:"text-[2rem] lg:text-[1.5rem]"}),(0,t.jsx)("div",{className:"hover:bg-amigo-black hover:text-amigo-white w-fit cursor-pointer rounded-lg border px-[1.6rem] py-[0.8rem] text-[2rem] uppercase transition-colors duration-300 lg:text-[1.4rem]",onClick:()=>T(v,b),children:"Download Now"})]}):(0,t.jsx)("div",{children:(0,t.jsxs)(i.Op,{...y,children:[!R&&I&&"message"===f&&(0,t.jsxs)("div",{className:"flex flex-col gap-[4rem]",children:[(0,t.jsx)(n.A,{data:x,className:"text-[2rem] lg:text-[1.5rem]"}),(0,t.jsx)("div",{className:"hover:bg-amigo-black hover:text-amigo-white w-fit cursor-pointer rounded-lg border px-[1.6rem] py-[0.8rem] text-[2rem] uppercase transition-colors duration-300 lg:text-[1.4rem]",onClick:()=>T(v,b),children:"Download Now"})]}),R&&!I&&(0,t.jsx)("p",{className:"text-[2rem] lg:text-[1.5rem]",children:"Loading, please wait..."}),P&&(0,t.jsx)("div",{children:"".concat(P.status||"500",": ").concat(P.message||"")}),!I&&(0,t.jsxs)("form",{id:u,onSubmit:A(L),className:"flex flex-col gap-[2rem]",children:[(0,t.jsx)("div",{className:"grid grid-cols-2 gap-[2rem]",children:m&&m.fields&&(null===(a=m.fields)||void 0===a?void 0:a.map((e,a)=>{let l=null===c.O||void 0===c.O?void 0:c.O[e.blockType];return l?(0,t.jsx)("div",{children:(0,t.jsx)(l,{form:m,...e,...y,control:N,errors:w,register:k})},a):null}))}),(0,t.jsx)(d.$,{form:u,type:"submit",variant:"outline",className:"p-[2rem] text-[2rem] lg:text-[1.5rem]",children:g})]})]})})]})}},38490:(e,a,l)=>{l.d(a,{CampaignSingleHero:()=>b});var t=l(43072),s=l(1460),r=l(72349),i=l(24076);let n=e=>{let{children:a}=e;return(0,t.jsx)("div",{className:"flex flex-col gap-4",children:a})};var d=l(73310);let c=e=>{let{whatWeDid:a,isMobile:l}=e;return(0,t.jsxs)(n,{children:[!l&&(0,t.jsx)(d.A,{text:"What we did"}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:null==a?void 0:a.map(e=>(0,t.jsx)("p",{className:"w-fit border px-4 py-2 text-xs",children:e.title},"what-we-did"+e.id))})]})},o=e=>{let{awards:a,isMobile:l}=e;return(0,t.jsxs)(n,{children:[!l&&(0,t.jsx)(d.A,{text:"Awards"}),(0,t.jsx)("div",{className:"flex flex-col gap-4",children:null==a?void 0:a.map(e=>{var a,l;let s=null===(a=e.image)||void 0===a?void 0:a.url,i=null===(l=e.image)||void 0===l?void 0:l.alt;return(0,t.jsxs)("div",{className:"flex items-center gap-8",children:[(0,t.jsx)("div",{className:"relative h-20 w-20",children:s&&(0,t.jsx)(r.default,{src:s,alt:i,fill:!0,style:{objectFit:"contain"}})}),e.award&&(0,t.jsx)("p",{className:"border px-4 py-2 text-xs",children:e.award})]},"awards"+e.id)})})]})},m=e=>{let{featuredIn:a,isMobile:l}=e;return(0,t.jsxs)(n,{children:[!l&&(0,t.jsx)(d.A,{text:"As Featured In"}),(0,t.jsx)("div",{className:"flex flex-wrap gap-8",children:null==a?void 0:a.map(e=>{var a,l,s;let i=null===(a=e.image)||void 0===a?void 0:a.url,n=null===(l=e.image)||void 0===l?void 0:l.alt,d=(null===(s=e.image)||void 0===s?void 0:s.width)||172;return(0,t.jsx)("div",{className:"relative h-[60px]",style:{width:d},children:i&&(0,t.jsx)(r.default,{src:i,alt:n,fill:!0,style:{objectFit:"contain"}})},"featured-in"+e.id)})})]})};var u=l(33258),x=l(10445),f=l(42784),g=l(37987);let h=e=>{let{children:a}=e,l=(0,i.useRef)(null),{scrollYProgress:s}=(0,x.L)({target:l,offset:["start end","end start"]}),r=(0,f.G)(s,[0,1],["-20%","10%"]);return(0,t.jsx)(g.P.div,{style:{y:r},ref:l,className:"absolute top-0 left-0 h-[120%] w-full",children:a})};var p=l(53037),v=l(59365),j=l(83481);let b=e=>{let{"hero-image":a,title:l,"what-we-did":i,awards:n,"featured-in":d,content:u,advert:x}=e,f=null==a?void 0:a.url,g=null==a?void 0:a.alt;return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsxs)("div",{className:"bg-amigo-black relative h-[460px] w-full overflow-hidden",children:[f&&(0,t.jsx)(h,{children:(0,t.jsx)(r.default,{src:f,alt:g,fill:!0,style:{objectFit:"cover"}})}),x&&(0,t.jsx)(j.default,{advert:x,play:!0,children:(0,t.jsxs)("div",{className:"absolute right-4 bottom-4 flex flex-col items-end gap-1 mix-blend-exclusion",children:[(0,t.jsx)(v.A,{}),(0,t.jsx)("p",{children:"Click to play advert"})]})})]}),(0,t.jsxs)("div",{className:"campaign-container hidden grid-cols-2 gap-10 py-8 lg:grid",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(p.A,{text:l}),(0,t.jsxs)("div",{className:"flex flex-col gap-8",children:[i&&i.length>0&&(0,t.jsx)(c,{whatWeDid:i}),n&&n.length>0&&(0,t.jsx)(o,{awards:n}),d&&d.length>0&&(0,t.jsx)(m,{featuredIn:d})]})]}),(0,t.jsx)("div",{children:(0,t.jsx)(s.A,{data:u,className:"sticky top-8 h-fit text-lg"})})]}),(0,t.jsx)(y,{...e})]})},y=e=>{let{"featured-in":a,"what-we-did":l,title:r,awards:i,content:n}=e;return(0,t.jsxs)("div",{className:"campaign-container flex flex-col gap-10 py-8 lg:hidden",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(p.A,{text:r}),(0,t.jsx)("div",{children:(0,t.jsx)(s.A,{data:n,className:"sticky top-8 h-fit text-lg"})})]}),(0,t.jsxs)(u.nD,{type:"single",collapsible:!0,className:"[&>*]:!border-amigo-white flex w-full flex-col",children:[l&&l.length>0&&(0,t.jsxs)(u.As,{value:String("what-we-did"),children:[(0,t.jsx)(u.$m,{value:String("what-we-did"),children:(0,t.jsx)(d.A,{text:"What we did"})}),(0,t.jsx)(u.ub,{children:(0,t.jsx)(c,{whatWeDid:l,isMobile:!0})})]}),i&&i.length>0&&(0,t.jsxs)(u.As,{value:String("awards"),children:[(0,t.jsx)(u.$m,{value:String("awards"),children:(0,t.jsx)(d.A,{text:"Awards"})}),(0,t.jsx)(u.ub,{children:(0,t.jsx)(o,{awards:i,isMobile:!0})})]}),a&&a.length>0&&(0,t.jsxs)(u.As,{value:String("featured-in"),children:[(0,t.jsx)(u.$m,{value:String("featured-in"),children:(0,t.jsx)(d.A,{text:"As featured in"})}),(0,t.jsx)(u.ub,{children:(0,t.jsx)(m,{featuredIn:a,isMobile:!0})})]})]})]})}},41695:(e,a,l)=>{l.d(a,{cn:()=>r});var t=l(1386),s=l(46958);function r(){for(var e=arguments.length,a=Array(e),l=0;l<e;l++)a[l]=arguments[l];return(0,s.QP)((0,t.$)(a))}},45679:(e,a,l)=>{l.d(a,{BK:()=>d,eu:()=>n,q5:()=>c});var t=l(43072),s=l(24076),r=l(97173),i=l(41695);let n=s.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)(r.bL,{ref:a,className:(0,i.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",l),...s})});n.displayName=r.bL.displayName;let d=s.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)(r._V,{ref:a,className:(0,i.cn)("aspect-square h-full w-full",l),...s})});d.displayName=r._V.displayName;let c=s.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)(r.H4,{ref:a,className:(0,i.cn)("flex h-full w-full items-center justify-center rounded-full bg-gray-100 dark:bg-gray-800",l),...s})});c.displayName=r.H4.displayName},46841:(e,a,l)=>{l.d(a,{y:()=>r});let t=!!(window.document&&window.document.createElement);var s=l(28354);let r=()=>{if(t){let e=window.location.protocol,a=window.location.hostname,l=window.location.port;return"".concat(e,"//").concat(a).concat(l?":".concat(l):"")}return s.env.RAILWAY_PUBLIC_DOMAIN?"https://".concat(s.env.RAILWAY_PUBLIC_DOMAIN):s.env.NEXT_PUBLIC_SERVER_URL||""}},48396:(e,a,l)=>{l.r(a),l.d(a,{default:()=>r});var t=l(43072),s=l(13365);l(24076);let r=e=>{let{video:a}=e,l=(0,s.A)(e=>e.setMuted),r=(0,s.A)(e=>e.muted);return(0,t.jsx)("video",{onClick:()=>{l(a.id)},style:{objectFit:"cover"},className:"h-full w-full overflow-auto ".concat(a["use-3d-image"]&&"opacity-0"," pointer-events-auto cursor-pointer"),src:a.image.url,muted:!!a["use-3d-image"]||r!==a.id,playsInl
1ine:!0,loop:!0,autoPlay:!a["use-3d-image"],preload:"".concat(a["use-3d-image"]?"none":"auto")})}},53037:(e,a,l)=>{l.d(a,{A:()=>i});var t=l(43072);l(24076);var s=l(99557),r=l(41695);let i=e=>{let{text:a,className:l}=e;return(0,t.jsx)(s.default,{type:"slide-up",className:(0,r.cn)("font-degular text-5xl",l),children:a})}},62843:(e,a,l)=>{l.d(a,{A:()=>s});var t=l(24076);let s=()=>{let[e,a]=(0,t.useState)({width:0,height:0});return(0,t.useEffect)(()=>{let e=()=>a({width:window.innerWidth,height:window.innerHeight});return window.addEventListener("resize",e),e(),()=>{window.removeEventListener("resize",e)}},[]),e}},66080:(e,a,l)=>{l.d(a,{$:()=>c});var t=l(43072),s=l(24076),r=l(43418),i=l(22172),n=l(41695);let d=(0,i.F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-white transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-gray-950 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 dark:ring-offset-gray-950 dark:focus-visible:ring-gray-300",{variants:{variant:{default:"bg-gray-900 text-gray-50 hover:bg-gray-900/90 dark:bg-gray-50 dark:text-gray-900 dark:hover:bg-gray-50/90",destructive:"bg-red-500 text-gray-50 hover:bg-red-500/90 dark:bg-red-900 dark:text-gray-50 dark:hover:bg-red-900/90",outline:"border border-gray-200 bg-white hover:bg-gray-100 hover:text-gray-900 dark:border-gray-800 dark:bg-gray-950 dark:hover:bg-gray-800 dark:hover:text-gray-50",secondary:"bg-gray-100 text-gray-900 hover:bg-gray-100/80 dark:bg-gray-800 dark:text-gray-50 dark:hover:bg-gray-800/80",ghost:"hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-800 dark:hover:text-gray-50",link:"text-gray-900 underline-offset-4 hover:underline dark:text-gray-50"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=s.forwardRef((e,a)=>{let{className:l,variant:s,size:i,asChild:c=!1,...o}=e,m=c?r.DX:"button";return(0,t.jsx)(m,{className:(0,n.cn)(d({variant:s,size:i,className:l})),ref:a,...o})});c.displayName="Button"},71618:(e,a,l)=>{l.r(a),l.d(a,{default:()=>n});var t=l(43072);l(24076);var s=l(77246),r=l(62843),i=l(1386);let n=e=>{let{text:a,value:l=-50,rotate:n,className:d}=e;return(0,r.A)(),(0,t.jsx)("div",{className:(0,i.A)(d,"".concat(n&&"origin-top -translate-x-[50%] translate-y-[200%] -rotate-90 lg:translate-x-0 lg:rotate-0")),children:(0,t.jsx)(s.default,{value:l,children:(0,t.jsx)("div",{className:"w-[200%] text-[3rem] uppercase sm:text-[2rem] lg:w-auto lg:text-[1.6rem]",children:"/ ".concat(a)})})})}},73310:(e,a,l)=>{l.d(a,{A:()=>i});var t=l(43072),s=l(41695);l(24076);var r=l(99557);let i=e=>{let{text:a,className:l}=e;return(0,t.jsxs)(r.default,{type:"flip-x",className:(0,s.cn)("font-degular text-2xl",l),children:["/ ",a]})}},76861:(e,a,l)=>{l.d(a,{CampaignGallery:()=>n});var t=l(43072),s=l(24076),r=l(99565),i=l(13345);let n=e=>{let{images:a,advert:l}=e,[n,d]=s.useState(!1);return(0,t.jsx)("div",{className:"bg-[#fafafa] py-8",children:(0,t.jsxs)("div",{className:"campaign-container flex flex-col gap-8",children:[l&&(0,t.jsx)("div",{className:"relative aspect-video w-full cursor-pointer",children:(0,t.jsx)(i.$,{resource:l,videoClassName:"h-full",onClick:()=>d(e=>!e),playVid:n})}),(0,t.jsx)("div",{className:"w-full",children:a&&a.length>0&&(0,t.jsx)(r.A,{images:a})})]})})}},77246:(e,a,l)=>{l.r(a),l.d(a,{default:()=>d});var t=l(43072),s=l(24076),r=l(10445),i=l(42784),n=l(37987);let d=e=>{let{children:a,value:l=-200,xValue:d=-200,scaleValue:c=1.25,startContainer:o="start",startViewport:m="end",endContainer:u="end",endViewport:x="start",className:f,type:g="y-translate",useOpacity:h=!1,scaleFrom:p="center",useScale:v=!1,shrink:j=!1}=e,b=(0,s.useRef)(null),{scrollYProgress:y}=(0,r.L)({target:b,offset:["".concat(o," ").concat(m),"".concat(u," ").concat(x)]}),{scrollYProgress:N}=(0,r.L)({target:b,offset:["start end","start 0.75"]}),{scrollYProgress:w}=(0,r.L)({target:b,offset:["start end","start 0.75"]}),A=(0,i.G)(y,[0,1],[0,l]),k=(0,i.G)(y,[0,1],[0,d]),C=(0,i.G)(v?y:w,[0,1],[c,1]),S=(0,i.G)(y,[0,1],[1,.95]);return(0,t.jsx)(n.P.div,{className:f,style:{y:"y-translate"===g||"both"===g?A:0,x:"x-translate"===g?k:0,scale:"scale"===g?j?S:C:1,transformOrigin:p,opacity:"opacity"===g||"both"===g?h?N:y:1},ref:b,children:a})}},78558:(e,a,l)=>{l.d(a,{CampaignAboutUs:()=>g});var t=l(43072),s=l(24076),r=l(19658),i=l(91355),n=l(70913),d=l(41695);let c=r.bL,o=s.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)(r.q7,{ref:a,className:(0,d.cn)("",l),...s})});o.displayName="AccordionItem";let m=s.forwardRef((e,a)=>{let{className:l,children:s,...c}=e;return(0,t.jsx)(r.Y9,{className:"flex",children:(0,t.jsxs)(r.l9,{ref:a,className:(0,d.cn)('font-degular flex flex-1 cursor-pointer items-center gap-[2rem] py-4 text-[6rem] leading-none font-bold transition-all lg:text-[10rem] [&[data-state=closed]>[data-name="plus-minus-container"]>[data-name="minus"]]:opacity-0 [&[data-state=closed]>[data-name="plus-minus-container"]>[data-name="plus"]]:opacity-100 [&[data-state=closed]>[data-name="slash-container"]>[data-name="slash"]]:translate-y-0 [&[data-state=open]>[data-name="plus-minus-container"]>[data-name="minus"]]:opacity-100 [&[data-state=open]>[data-name="plus-minus-container"]>[data-name="plus"]]:opacity-0 [&[data-state=open]>[data-name="slash-container"]>[data-name="slash"]]:translate-y-full',l),...c,children:[(0,t.jsx)("div",{"data-name":"slash-container",className:"overflow-hidden text-[6rem] leading-none lg:text-[10rem]",children:(0,t.jsx)("div",{"data-name":"slash",className:"transition-transform duration-300",children:"/"})}),(0,t.jsxs)("div",{"data-name":"plus-minus-container",className:"relative aspect-square h-full place-items-center rounded-full border",children:[(0,t.jsx)("div",{"data-name":"plus",className:"absolute top-0 left-0 grid aspect-square h-full w-full place-items-center rounded-full transition-opacity duration-300",children:(0,t.jsx)(i.A,{className:"h-full w-full"})}),(0,t.jsx)("div",{"data-name":"minus",className:"bg-amigo-white text-amigo-black absolute top-0 left-0 grid h-full w-full place-items-center rounded-full transition-opacity duration-300",children:(0,t.jsx)(n.A,{className:"h-full w-full"})})]}),s]})})});m.displayName=r.l9.displayName;let u=s.forwardRef((e,a)=>{let{className:l,children:s,...i}=e;return(0,t.jsx)(r.UC,{ref:a,className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm transition-all",...i,children:(0,t.jsx)("div",{className:(0,d.cn)("grid grid-cols-1 gap-[4rem] py-[5rem] pl-[12rem] lg:grid-cols-2 lg:gap-0 lg:pl-[18rem]",l),children:s})})});u.displayName=r.UC.displayName;var x=l(1460),f=l(72349);let g=e=>{let{items:a,title:l,identifier:s}=e;return(0,t.jsxs)("div",{"data-name":s,className:"bg-amigo-black text-amigo-white px-amigo-gutter-mobile md:px-amigo-gutter-tablet lg:px-amigo-gutter relative z-[999] flex flex-col gap-[3rem] py-[10rem]",children:[(0,t.jsxs)("h2",{className:"font-degular text-[3.5rem] leading-none font-semibold",children:["/ ",l]}),(0,t.jsx)(c,{type:"single",collapsible:!0,className:"flex w-full flex-col gap-[3rem] lg:gap-[1rem]",children:null==a?void 0:a.map(e=>{var a,l;let s=null===(a=e.image)||void 0===a?void 0:a.url,r=null===(l=e.image)||void 0===l?void 0:l.alt;return(0,t.jsxs)(o,{value:String(e.id),children:[(0,t.jsx)(m,{value:String(e.id),children:e.title}),(0,t.jsxs)(u,{children:[(0,t.jsx)(x.A,{data:e.content,className:"flex flex-col gap-[2rem] text-[2.5rem] lg:text-[1.7rem]"}),(0,t.jsx)("div",{className:"flex lg:justify-end",children:s&&(0,t.jsx)("div",{className:"relative aspect-square w-1/2",children:(0,t.jsx)(f.default,{src:s,alt:r,fill:!0,style:{objectFit:"cover"},priority:!0})})})]})]},e.id)})})]})}},78781:(e,a,l)=>{l.d(a,{BlogContactSection:()=>m});var t=l(43072),s=l(71618),r=l(1165),i=l.n(r),n=l(24076),d=l(10445),c=l(21206),o=l(72349);let m=e=>{let{title:a,tagline:l,"contact-people":r,id:m}=e,u=(0,n.useRef)(null),{scrollYProgress:x}=(0,d.L)({target:u,offset:["start end","end end"]});return(0,c.L)(x,"change",e=>{u.current&&(u.current.dataset.scroll=e.toString())}),(0,t.jsx)("div",{ref:u,"data-name":m,className:"text-amigo-white relative z-[999] flex min-h-screen items-center justify-center",children:(0,t.jsxs)("div",{className:"bg-amigo-white text-amigo-black grid grid-cols-1 gap-[5rem] p-[3rem] lg:grid-cols-2 lg:gap-[2rem]",children:[(0,t.jsxs)("div",{className:"flex flex-col justify-between gap-[2rem]",children:[(0,t.jsx)(s.default,{text:a,value:0}),(0,t.jsx)("p",{className:"font-degular text-[5rem] font-bold lg:text-[4rem]",children:l}),(0,t.jsx)(i(),{href:"/contact",target:"_blank",className:"w-fit",children:(0,t.jsx)("p",{className:"hover:bg-amigo-black hover:text-amigo-white w-fit roun
1ded-lg border px-[1.6rem] py-[0.8rem] text-[2rem] uppercase transition-colors duration-300 lg:text-[1.4rem]",children:"Let's chat"})})]}),(0,t.jsx)("div",{className:"flex flex-col justify-center gap-[2rem]",children:null==r?void 0:r.map(e=>{var a,l;let s=null===(a=e.image)||void 0===a?void 0:a.url,r=null===(l=e.image)||void 0===l?void 0:l.alt;return(0,t.jsxs)("div",{className:"flex items-center gap-[1rem]",children:[(0,t.jsx)("div",{className:"relative h-[10rem] w-[10rem] overflow-hidden rounded-full ".concat(s?"":"border"),children:s&&(0,t.jsx)(o.default,{src:s,alt:r,fill:!0,style:{objectFit:"cover"}})}),(0,t.jsxs)("div",{className:"flex flex-col gap-[0.5rem]",children:[(0,t.jsxs)("p",{className:"text-[3rem] lg:text-[2rem]",children:["Email ",e.name]}),(0,t.jsx)(i(),{href:"mailto:".concat(e.email),target:"_blank",className:"text-[2.5rem] lg:text-[1.3rem]",children:e.email})]})]},e.id)})})]})})}},82271:(e,a,l)=>{l.d(a,{default:()=>c});var t=l(43072),s=l(24076),r=l(41695);let i=e=>(0,t.jsxs)("div",{"data-name":e.identifier,className:(0,r.cn)(e.className),children:[(0,t.jsxs)("h2",{className:"font-degular pr-[6rem] text-[4.5rem] leading-none font-semibold lg:text-[3.5rem]",children:["/ ",e.title]}),e.children]});var n=l(5049),d=l(94674);let c=e=>{let{identifier:a,title:l,blogs:r}=e,c=(0,s.useMemo)(()=>{if(r){let e=[];for(let a=0;a<r.length;a+=2){let l=r.slice(a,a+2);e.push(l)}return e}},[]);return(0,t.jsx)(i,{identifier:a,title:l,className:"flex flex-col gap-[2rem]",children:(0,t.jsxs)(d.Carousel,{className:"relative grid w-full grow grid-rows-1 gap-[2rem]",children:[r&&r.length>2&&(0,t.jsxs)("div",{className:"absolute top-0 right-0 flex w-fit -translate-y-[calc(100%+2rem)] items-center gap-[1rem]",children:[(0,t.jsx)(d.CarouselPrevious,{className:"static h-[5rem] w-[5rem] translate-y-0 lg:h-[2rem] lg:w-[2rem]"}),(0,t.jsx)(d.CarouselNext,{className:"static h-[5rem] w-[5rem] translate-y-0 lg:h-[2rem] lg:w-[2rem]"})]}),(0,t.jsx)(d.CarouselContent,{className:"h-full grow",children:null==c?void 0:c.map((e,a)=>(0,t.jsx)(d.CarouselItem,{className:"grid grow grid-rows-2 gap-[2rem]",children:e.map(e=>"string"==typeof e?null:(0,t.jsx)(n.A,{...e,title:l},e.id))},a+"blog-section-chunk"))})]})})}},83481:(e,a,l)=>{l.d(a,{default:()=>d});var t=l(43072),s=l(24076),r=l(18815),i=l(13345),n=l(68321);let d=e=>{let{advert:a,children:l,play:d}=e,[c,o]=s.useState(d);return(0,t.jsxs)(r._s,{children:[(0,t.jsx)(r.Uz,{asChild:!0,className:"cursor-pointer",children:l}),(0,t.jsxs)(r.zj,{className:"bg-amigo-black fixed top-0 left-0 flex h-[calc(100vh-96px)] w-screen flex-col items-center justify-center p-8",children:[(0,t.jsxs)(r.BE,{className:"hidden",children:[(0,t.jsx)(r.gk,{children:"Campaign Advert"}),(0,t.jsx)(r.I6,{children:"Campaign Advert"})]}),(0,t.jsx)("div",{className:"relative h-full w-full cursor-pointer",children:(0,t.jsx)(i.$,{resource:a,videoClassName:"h-full",onClick:()=>o(e=>!e),playVid:c})}),(0,t.jsx)("div",{className:"absolute right-4 bottom-4",children:(0,t.jsx)(r.cp,{asChild:!0,className:"cursor-pointer",children:(0,t.jsx)("div",{className:"bg-amigo-white text-amigo-black flex w-fit items-center gap-2 border px-4 py-2",children:(0,t.jsx)(n.A,{})})})})]})]})}},88913:(e,a,l)=>{l.d(a,{O:()=>p});var t=l(43072),s=l(32796),r=l(24076),i=l(63329),n=l(67017),d=l(41695);let c=r.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)(i.bL,{ref:a,className:(0,d.cn)("peer border-primary ring-offset-background focus-visible:ring-ring data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground h-4 w-4 shrink-0 rounded-sm border focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",l),...s,children:(0,t.jsx)(i.C1,{className:(0,d.cn)("flex items-center justify-center text-current"),children:(0,t.jsx)(n.A,{className:"h-4 w-4"})})})});c.displayName=i.bL.displayName;var o=l(21327);let m=(0,l(22172).F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),u=r.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)(o.b,{ref:a,className:(0,d.cn)(m(),l),...s})});u.displayName=o.b.displayName;let x=()=>(0,t.jsx)("div",{className:"mt-2 text-red-500 text-sm",children:"This field is required"}),f=e=>{let{children:a,className:l,width:s}=e;return(0,t.jsx)("div",{className:l,style:{maxWidth:s?"".concat(s,"%"):void 0},children:a})},g=r.forwardRef((e,a)=>{let{className:l,type:s,...r}=e;return(0,t.jsx)("input",{type:s,className:(0,d.cn)("flex h-10 w-full rounded-md border border-gray-200 bg-white px-3 py-2 text-sm r
1ing-offset-white file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-gray-500 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-gray-950 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 dark:border-gray-800 dark:bg-gray-950 dark:ring-offset-gray-950 dark:placeholder:text-gray-400 dark:focus-visible:ring-gray-300",l),ref:a,...r})});g.displayName="Input";let h=r.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)("textarea",{className:(0,d.cn)("flex min-h-[80px] w-full rounded-md border border-gray-200 bg-white px-3 py-2 text-sm ring-offset-white placeholder:text-gray-500 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-gray-950 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 dark:border-gray-800 dark:bg-gray-950 dark:ring-offset-gray-950 dark:placeholder:text-gray-400 dark:focus-visible:ring-gray-300",l),ref:a,...s})});h.displayName="Textarea";let p={checkbox:e=>{let{name:a,defaultValue:l,errors:r,label:i,register:n,required:o,width:m,className:g,labelClassName:h}=e,p=n(a,{required:o}),{setValue:v}=(0,s.xW)();return(0,t.jsxs)(f,{width:m,children:[(0,t.jsxs)("div",{className:(0,d.cn)("flex items-center gap-2",g),children:[(0,t.jsx)(c,{defaultChecked:l,id:a,...p,onCheckedChange:e=>{v(p.name,e)}}),(0,t.jsxs)(u,{htmlFor:a,className:(0,d.cn)("",h),children:[o&&(0,t.jsxs)("span",{className:"required",children:["* ",(0,t.jsx)("span",{className:"sr-only",children:"(required)"})]}),i]})]}),r[a]&&(0,t.jsx)(x,{})]})},email:e=>{let{name:a,defaultValue:l,errors:s,label:r,register:i,required:n,width:c,className:o,labelClassName:m,placeholder:h}=e;return(0,t.jsxs)(f,{width:c,children:[(0,t.jsxs)(u,{htmlFor:a,className:(0,d.cn)("text-[2rem] lg:text-[1.5rem]",m),children:[r,n&&(0,t.jsxs)("span",{className:"required",children:["* ",(0,t.jsx)("span",{className:"sr-only",children:"(required)"})]})]}),(0,t.jsx)(g,{defaultValue:l,id:a,placeholder:h?r:"",type:"text",...i(a,{pattern:/^\S[^\s@]*@\S+$/,required:n}),className:(0,d.cn)("p-[2rem] text-[2rem] lg:text-[1.5rem]",o)}),s[a]&&(0,t.jsx)(x,{})]})},text:e=>{let{name:a,defaultValue:l,errors:s,label:r,register:i,required:n,width:c,className:o,labelClassName:m,placeholder:h}=e;return(0,t.jsxs)(f,{width:c,children:[(0,t.jsxs)(u,{htmlFor:a,className:(0,d.cn)("text-[2rem] lg:text-[1.5rem]",m),children:[r,n&&(0,t.jsxs)("span",{className:"required",children:["* ",(0,t.jsx)("span",{className:"sr-only",children:"(required)"})]})]}),(0,t.jsx)(g,{defaultValue:l,id:a,placeholder:h?r:"",type:"text",...i(a,{required:n}),className:(0,d.cn)("p-[2rem] text-[2rem] lg:text-[1.5rem]",o)}),s[a]&&(0,t.jsx)(x,{})]})},textarea:e=>{let{name:a,defaultValue:l,errors:s,label:r,register:i,required:n,rows:c=3,width:o,className:m,labelClassName:g,placeholder:p}=e;return(0,t.jsxs)(f,{width:o,children:[(0,t.jsxs)(u,{htmlFor:a,className:(0,d.cn)("",g),children:[r,n&&(0,t.jsxs)("span",{className:"required",children:["* ",(0,t.jsx)("span",{className:"sr-only",children:"(required)"})]})]}),(0,t.jsx)(h,{className:(0,d.cn)("",m),defaultValue:l,id:a,placeholder:p?r:"",rows:c,...i(a,{required:n})}),s[a]&&(0,t.jsx)(x,{})]})}}},89333:(e,a,l)=>{l.d(a,{CampaignContactSection:()=>m});var t=l(43072),s=l(71618),r=l(1165),i=l.n(r),n=l(24076),d=l(10445),c=l(21206),o=l(72349);let m=e=>{let{title:a,tagline:l,identifier:r,"contact-people":m}=e,u=(0,n.useRef)(null),{scrollYProgress:x}=(0,d.L)({target:u,offset:["start end","end end"]});return(0,c.L)(x,"change",e=>{u.current&&(u.current.dataset.scroll=e.toString())}),(0,t.jsx)("div",{ref:u,"data-name":r,className:"text-amigo-white relative z-[999] flex min-h-screen items-center justify-center",children:(0,t.jsxs)("div",{className:"bg-amigo-white text-amigo-black grid grid-cols-1 gap-[5rem] p-[3rem] lg:grid-cols-2 lg:gap-[2rem]",children:[(0,t.jsxs)("div",{className:"flex flex-col justify-between gap-[2rem]",children:[(0,t.jsx)(s.default,{text:a,value:0}),(0,t.jsx)("p",{className:"font-degular text-[5rem] font-bold lg:text-[4rem]",children:l}),(0,t.jsx)(i(),{href:"/contact",target:"_blank",className:"w-fit",children:(0,t.jsx)("p",{className:"hover:bg-amigo-black hover:text-amigo-white w-fit roun
1ded-lg border px-[1.6rem] py-[0.8rem] text-[2rem] uppercase transition-colors duration-300 lg:text-[1.4rem]",children:"Let's chat"})})]}),(0,t.jsx)("div",{className:"flex flex-col justify-center gap-[2rem]",children:null==m?void 0:m.map(e=>{var a,l;let s=null===(a=e.image)||void 0===a?void 0:a.url,r=null===(l=e.image)||void 0===l?void 0:l.alt;return(0,t.jsxs)("div",{className:"flex items-center gap-[1rem]",children:[(0,t.jsx)("div",{className:"relative h-[10rem] w-[10rem] overflow-hidden rounded-full ".concat(s?"":"border"),children:s&&(0,t.jsx)(o.default,{src:s,alt:r,fill:!0,style:{objectFit:"cover"}})}),(0,t.jsxs)("div",{className:"flex flex-col gap-[0.5rem]",children:[(0,t.jsxs)("p",{className:"text-[3rem] lg:text-[2rem]",children:["Email ",e.name]}),(0,t.jsx)(i(),{href:"mailto:".concat(e.email),target:"_blank",className:"text-[2.5rem] lg:text-[1.3rem]",children:e.email})]})]},e.id)})})]})})}},94674:(e,a,l)=>{l.d(a,{Carousel:()=>u,CarouselContent:()=>x,CarouselItem:()=>f,CarouselNext:()=>h,CarouselPrevious:()=>g});var t=l(43072),s=l(24076),r=l(59582),i=l(32750),n=l(24759),d=l(41695),c=l(66080);let o=s.createContext(null);function m(){let e=s.useContext(o);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let u=s.forwardRef((e,a)=>{let{orientation:l="horizontal",opts:i,setApi:n,plugins:c,className:m,children:u,...x}=e,[f,g]=(0,r.A)({...i,axis:"horizontal"===l?"x":"y"},c),[h,p]=s.useState(!1),[v,j]=s.useState(!1),b=s.useCallback(e=>{e&&(p(e.canScrollPrev()),j(e.canScrollNext()))},[]),y=s.useCallback(()=>{null==g||g.scrollPrev()},[g]),N=s.useCallback(()=>{null==g||g.scrollNext()},[g]),w=s.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),y()):"ArrowRight"===e.key&&(e.preventDefault(),N())},[y,N]);return s.useEffect(()=>{g&&n&&n(g)},[g,n]),s.useEffect(()=>{if(g)return b(g),g.on("reInit",b),g.on("select",b),()=>{null==g||g.off("select",b)}},[g,b]),(0,t.jsx)(o.Provider,{value:{carouselRef:f,api:g,opts:i,orientation:l||((null==i?void 0:i.axis)==="y"?"vertical":"horizontal"),scrollPrev:y,scrollNext:N,canScrollPrev:h,canScrollNext:v},children:(0,t.jsx)("div",{ref:a,onKeyDownCapture:w,className:(0,d.cn)("relative",m),role:"region","aria-roledescription":"carousel",...x,children:u})})});u.displayName="Carousel";let x=s.forwardRef((e,a)=>{let{className:l,...s}=e,{carouselRef:r,orientation:i}=m();return(0,t.jsx)("div",{ref:r,className:"overflow-hidden",children:(0,t.jsx)("div",{ref:a,className:(0,d.cn)("flex","horizontal"===i?"-ml-0":"-mt-4 flex-col",l),...s})})});x.displayName="CarouselContent";let f=s.forwardRef((e,a)=>{let{className:l,...s}=e,{orientation:r}=m();return(0,t.jsx)("div",{ref:a,role:"group","aria-roledescription":"slide",className:(0,d.cn)("flex min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-0":"pt-0",l),...s})});f.displayName="CarouselItem";let g=s.forwardRef((e,a)=>{let{className:l,variant:s="outline",size:r="icon",...n}=e,{orientation:o,scrollPrev:u,canScrollPrev:x}=m();return(0,t.jsxs)(c.$,{ref:a,variant:s,size:r,className:(0,d.cn)("absolute h-8 w-8 rounded-full","horizontal"===o?"top-1/2 -left-12 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",l),disabled:!x,onClick:u,...n,children:[(0,t.jsx)(i.A,{className:"h-[3rem] w-[3rem] lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});g.displayName="CarouselPrevious";let h=s.forwardRef((e,a)=>{let{className:l,variant:s="outline",size:r="icon",...i}=e,{orientation:o,scrollNext:u,canScrollNext:x}=m();return(0,t.jsxs)(c.$,{ref:a,variant:s,size:r,className:(0,d.cn)("absolute h-8 w-8 rounded-full","horizontal"===o?"top-1/2 -right-12 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",l),disabled:!x,onClick:u,...i,children:[(0,t.jsx)(n.A,{className:"h-[3rem] w-[3rem] lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})});h.displayName="CarouselNext"},96294:(e,a,l)=>{l.d(a,{AspectRatio:()=>t});let t=l(68326).b},99557:(e,a,l)=>{l.d(a,{default:()=>n});var t=l(43072),s=l(80231),r=l(37987),i=l(24076);function n(e){var a;let{children:l,type:n="fade",duration:d=1.5,delay:c=0,root:o,amount:m=.3,className:u="",once:x=!1}=e,f=(0,i.useRef)(null),g=(0,s.W)(f,{amount:m,root:null!==(a=null==o?void 0:o.current)&&void 0!==a?a:void 0,once:x}),h={fade:{hidden:{opacity:0}
1,visible:{opacity:1}},"slide-up":{hidden:{opacity:0,y:20,clipPath:"inset(100% 0% 0% 0%)"},visible:{opacity:1,y:0,clipPath:"inset(0% 0% 0% 0%)"}},"slide-down":{hidden:{opacity:0,y:-20,clipPath:"inset(0% 0% 100% 0%)"},visible:{opacity:1,y:0,clipPath:"inset(0% 0% 0% 0%)"}},"slide-left":{hidden:{opacity:0,x:20,clipPath:"inset(0% 0% 0% 100%)"},visible:{opacity:1,x:0,clipPath:"inset(0% 0% 0% 0%)"}},"slide-right":{hidden:{opacity:0,x:-20,clipPath:"inset(0% 100% 0% 0%)"},visible:{opacity:1,x:0,clipPath:"inset(0% 0% 0% 0%)"}},"flip-x":{hidden:{opacity:0,rotateX:-90},visible:{opacity:1,rotateX:0}},"flip-y":{hidden:{opacity:0,rotateY:-90},visible:{opacity:1,rotateY:0}}}[n];return(0,t.jsx)("div",{ref:f,className:u,children:(0,t.jsx)(r.P.span,{initial:h.hidden,animate:g?h.visible:h.hidden,transition:{duration:d,delay:c,ease:[.76,0,.24,1]},style:{display:"inline-block",overflow:"hidden",willChange:"clip-path, opacity, transform",...["flip-x","flip-y"].includes(n)?{transformStyle:"preserve-3d",backfaceVisibility:"hidden"}:{}},className:"transform-gpu",children:l})})}},99565:(e,a,l)=>{l.d(a,{A:()=>j});var t=l(43072),s=l(24076),r=l(59582),i=l(41695),n=l(66080);let d=s.createContext(null);function c(){let e=s.useContext(d);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}function o(e){let{orientation:a="horizontal",opts:l,setApi:n,plugins:c,className:o,children:m,...u}=e,[x,f]=(0,r.A)({...l,axis:"horizontal"===a?"x":"y"},c),[g,h]=s.useState(!1),[p,v]=s.useState(!1),j=s.useCallback(e=>{e&&(h(e.canScrollPrev()),v(e.canScrollNext()))},[]),b=s.useCallback(()=>{null==f||f.scrollPrev()},[f]),y=s.useCallback(()=>{null==f||f.scrollNext()},[f]),N=s.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),b()):"ArrowRight"===e.key&&(e.preventDefault(),y())},[b,y]);return s.useEffect(()=>{f&&n&&n(f)},[f,n]),s.useEffect(()=>{if(f)return j(f),f.on("reInit",j),f.on("select",j),()=>{null==f||f.off("select",j)}},[f,j]),(0,t.jsx)(d.Provider,{value:{carouselRef:x,api:f,opts:l,orientation:a||((null==l?void 0:l.axis)==="y"?"vertical":"horizontal"),scrollPrev:b,scrollNext:y,canScrollPrev:g,canScrollNext:p},children:(0,t.jsx)("div",{onKeyDownCapture:N,className:(0,i.cn)("relative",o),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...u,children:m})})}function m(e){let{className:a,...l}=e,{carouselRef:s,orientation:r}=c();return(0,t.jsx)("div",{ref:s,className:"overflow-hidden","data-slot":"carousel-content",children:(0,t.jsx)("div",{className:(0,i.cn)("flex","horizontal"===r?"-ml-4":"-mt-4 flex-col",a),...l})})}function u(e){let{className:a,...l}=e,{orientation:s}=c();return(0,t.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:(0,i.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===s?"pl-4":"pt-4",a),...l})}function x(e){let{className:a,variant:l="default",size:s="icon",...r}=e,{orientation:d,scrollPrev:o,canScrollPrev:m}=c();return(0,t.jsxs)(n.$,{"data-slot":"carousel-previous",variant:l,size:s,className:(0,i.cn)("size-8 rounded-md",a),disabled:!m,onClick:o,...r,children:["←",(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}function f(e){let{className:a,variant:l="default",size:s="icon",...r}=e,{orientation:d,scrollNext:o,canScrollNext:m}=c();return(0,t.jsxs)(n.$,{"data-slot":"carousel-next",variant:l,size:s,className:(0,i.cn)("size-8 rounded-md",a),disabled:!m,onClick:o,...r,children:["→",(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})}var g=l(72349),h=l(62843);let p={half:"md:basis-1/2",full:"basis-full"},v={half:"aspect-[1/1.28]",full:"aspect-video"},j=e=>{let{images:a,carouselStyle:l="half",setCurrentTestimonial:r}=e,[n,d]=s.useState(),[c,j]=s.useState(0),[b,y]=s.useState(0),{width:N}=(0,h.A)();return s.useEffect(()=>{n&&(y(n.scrollSnapList().length),j(n.selectedScrollSnap()+1),n.on("select",()=>{j(n.selectedScrollSnap()+1),r&&r(n.selectedScrollSnap()+1)}))},[n,N]),(0,t.jsxs)(o,{setApi:d,opts:{align:"start"},className:"flex w-full flex-col gap-8",children:[(0,t.jsx)(m,{children:null==a?void 0:a.map((e,a)=>{var s,r;let n=null===(s=e.image)||void 0===s?void 0:s.url,d=null===(r=e.image)||void 0===r?void 0:r.alt;return(0,t.jsx)(u,{className:"".concat(p[l]),children:(0,t.jsx)("div",{className:(0,i.cn)("relative flex","".concat(v[l])),children:n&&(0,t.jsx)(g.default,{src:n,alt:d,fill:!0,style:{objectFit:"cover"}})})},a)})}),b>1&&(0,t.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,t.jsx)(x,{variant:null,className:"!border-amigo-black/25 text-amigo-black border"}),(0,t.jsxs)("div",{className:"text-amigo-black",children:[c<10?"0".concat(c):c,"/",b<10?"0".concat(b):b]}),(0,t.jsx)(f,{variant:null,className:"!border-amigo-black/25 text-amigo-black border"})]})]})}}}]);

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.