(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9898],{58064:function(A,e,t){"use strict";Object.defineProperty(e,"$",{enumerable:!0,get:function(){return a}});let s=t(74590);function a(A){let{createServerReference:e}=t(6671);return e(A,s.callServer)}},21932:function(A,e,t){"use strict";var s=t(2265),a=s&&"object"==typeof s&&"default"in s?s:{default:s};!function(A){if(!A||"undefined"==typeof window)return;let e=document.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=A,document.head.appendChild(e)}('.rfm-marquee-container {\n  overflow-x: hidden;\n  display: flex;\n  flex-direction: row;\n  position: relative;\n  width: var(--width);\n  transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n  animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n  animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n  background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));\n  content: "";\n  height: 100%;\n  position: absolute;\n  width: var(--gradient-width);\n  z-index: 2;\n  pointer-events: none;\n  touch-action: none;\n}\n.rfm-overlay::after {\n  right: 0;\n  top: 0;\n  transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n  left: 0;\n  top: 0;\n}\n\n.rfm-marquee {\n  flex: 0 0 auto;\n  min-width: var(--min-width);\n  z-index: 1;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n  animation-play-state: var(--play);\n  animation-delay: var(--delay);\n  animation-direction: var(--direction);\n}\n@keyframes scroll {\n  0% {\n    transform: translateX(0%);\n  }\n  100% {\n    transform: translateX(-100%);\n  }\n}\n\n.rfm-initial-child-container {\n  flex: 0 0 auto;\n  display: flex;\n  min-width: auto;\n  flex-direction: row;\n  align-items: center;\n}\n\n.rfm-child {\n  transform: var(--transform);\n}');let l=s.forwardRef(function(A,e){let{style:t={},className:l="",autoFill:r=!1,play:n=!0,pauseOnHover:i=!1,pauseOnClick:c=!1,direction:o="left",speed:u=50,delay:d=0,loop:x=0,gradient:h=!1,gradientColor:m="white",gradientWidth:p=200,onFinish:g,onCycleComplete:f,onMount:E,children:v}=A,[j,w]=s.useState(0),[B,b]=s.useState(0),[y,Q]=s.useState(1),[z,N]=s.useState(!1),C=s.useRef(null),D=e||C,O=s.useRef(null),I=s.useCallback(()=>{if(O.current&&D.current){let A=D.current.getBoundingClientRect(),e=O.current.getBoundingClientRect(),t=A.width,s=e.width;("up"===o||"down"===o)&&(t=A.height,s=e.height),r&&t&&s?Q(s<t?Math.ceil(t/s):1):Q(1),w(t),b(s)}},[r,D,o]);s.useEffect(()=>{if(z&&(I(),O.current&&D.current)){let A=new ResizeObserver(()=>I());return A.observe(D.current),A.observe(O.current),()=>{A&&A.disconnect()}}},[I,D,z]),s.useEffect(()=>{I()},[I,v]),s.useEffect(()=>{N(!0)},[]),s.useEffect(()=>{"function"==typeof E&&E()},[]);let k=s.useMemo(()=>r?B*y/u:B<j?j/u:B/u,[r,j,B,y,u]),S=s.useMemo(()=>Object.assign(Object.assign({},t),{"--pause-on-hover":!n||i?"paused":"running","--pause-on-click":!n||i&&!c||c?"paused":"running","--width":"up"===o||"down"===o?"100vh":"100%","--transform":"up"===o?"rotate(-90deg)":"down"===o?"rotate(90deg)":"none"}),[t,n,i,c,o]),F=s.useMemo(()=>({"--gradient-color":m,"--gradient-width":"number"==typeof p?"".concat(p,"px"):p}),[m,p]),M=s.useMemo(()=>({"--play":n?"running":"paused","--direction":"left"===o?"normal":"reverse","--duration":"".concat(k,"s"),"--delay":"".concat(d,"s"),"--iteration-count":x?"".concat(x):"infinite","--min-width":r?"auto":"100%"}),[n,o,k,d,x,r]),R=s.useMemo(()=>({"--transform":"up"===o?"rotate(90deg)":"down"===o?"rotate(-90deg)":"none"}),[o]),P=s.useCallback(A=>[...Array(Number.isFinite(A)&&A>=0?A:0)].map((A,e)=>a.default.createElement(s.Fragment,{key:e},s.Children.map(v,A=>a.default.createElement("div",{style:R,className:"rfm-child"},A)))),[R,v]);return z?a.default.createElement("div",{ref:D,style:S,className:"rfm-marquee-container "+l},h&&a.default.createElement("div",{style:F,className:"rfm-overlay"}),a.default.createElement("div",{className:"rfm-marquee",style:M,onAnimationIteration:f,onAnimationEnd:g},a.default.createElement("div",{className:"rfm-initial-child-container",ref:O},s.Children.map(v,A=>a.default.createElement("div",{style:R,className:"rfm-child"},A))),P(y-1)),a.default.createElement("div",{className:"rfm-marquee",style:M},P(y))):null});e.Z=l},54144:function(A,e,t){"use strict";t.d(e,{Accordions:function(){return d}});var s=t(57437),a=t(2265),l=t(12451),r=t(79467),n=t(53141),i=t(56800),c=t.n(i);let o=A=>{let{description:e,header:t,text1:i,text2:o,cta:u,linkTiles:d,tags:x,noBorder:h,active:m,index:p,setActiveAccordion:g}=A,{containerHeight:f,contentRef:E,setIsExpanded:v}=(0,r.As)(),{setIsHeaderDisabled:j}=(0,n.g4)(),w=(0,a.useRef)(null);return(0,a.useEffect)(()=>{m&&w.current&&(j(!0),setTimeout(()=>{if(!w.current)return;let A=w.current.getBoundingClientRect().top,e=window.scrollY;window.scrollTo({top:e+A+0,behavior:"smooth"})},500),setTimeout(()=>{j(!1)},1500))},[m,j]),(0,a.useEffect)(()=>{v(m)},[m,v]),(0,s.jsxs)("article",{ref:w,className:c()({"border-b border-grey":!h}),children:[(0,s.jsx)(l.zi,{children:(0,s.jsxs)("button",{onClick:()=>{g(A=>A===p?null:p)},className:c()("t-h1 sm:t-d2 hover:bg-white/5 transition-colors w-full flex items-center justify-between layout-px py-6 a11y-outline",{"bg-white/5":m}),children:[t,(0,s.jsx)(l.zZ,{status:m?"active":"offline",className:"sm:hidden"}),(0,s.jsx)(l.Wj,{svg:"chevronDown",className:c()("hidden sm:block w-6 h-6 xl:w-8 xl:h-8 transition-transform duration-500",{"rotate-180":m})})]})}),(0,s.jsx)("div",{className:"transition-height duration-500 overflow-hidden bg-white/5",style:{height:f},children:(0,s.jsxs)("div",{className:"layout-px pt-4 pb-[60px]",ref:E,children:[(0,s.jsxs)("div",{className:"layout-grid gap-6",children:[(0,s.jsxs)("div",{className:"col-span-full md:col-span-6 xl:col-span-3",children:[(0,s.jsx)("h3",{className:c()("t-h2 xl:w-[90%] whitespace-pre-wrap",{"mb-4":u}),children:e}),u&&(0,s.jsx)(l.yE,{iconRight:"arrowRight",link:u.link})]}),(0,s.jsx)("div",{className:"col-span-full md:col-span-6 xl:col-span-3",children:(0,s.jsx)("p",{className:"t-b2 xl:w-[90%]",children:i})}),(0,s.jsx)("div",{className:"col-span-full md:col-span-6 xl:col-span-3",children:(0,s.jsx)("p",{className:"t-b2 xl:w-[90%]",children:o})}),x&&(0,s.jsx)("div",{className:"col-span-full md:col-span-6 xl:col-span-3",children:(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:null==x?void 0:x.map((A,e)=>(0,s.jsx)(l.Gl,{children:A},e))})})]}),d&&(0,s.jsx)("ul",{className:"layout-grid gap-6 mt-[60px] xl:mt-[120px]",children:d.map((A,e)=>(0,s.jsx)("li",{className:"col-span-4 lg:col-span-2 xl:col-span-3",children:(0,s.jsx)(l.YW,{...A})},e))})]})})]})};var u=t(13473);let d=A=>{let{accordions:e}=A,[t,l]=(0,a.useState)(null),{ref:r,inView:n}=(0,u.YD)({rootMargin:"-300px",triggerOnce:!0});return(0,a.useEffect)(()=>{n&&l(0)},[n]),(0,s.jsx)("section",{ref:r,className:"border-t border-grey",children:e.map((A,s)=>(0,a.createElement)(o,{active:t===s,setActiveAccordion:l,noBorder:s+1===e.length,...A,key:s,index:s}))})}},68306:function(A,e,t){"use strict";t.d(e,{BasicText:function(){return u}});var s=t(57437),a=t(12451),l=t(56800),r=t.n(l),n=t(13473),i=t(90948),c=t.n(i),o=t(92535);let u=A=>{let{heading:e,secondaryHeading:t,mainContent:l,leftButtons:i,rightButtons:u,tags:d}=A,{ref:x,inView:h}=(0,n.YD)({triggerOnce:!0,rootMargin:"-100px"});return(0,s.jsxs)("section",{ref:x,className:"layout-grid layout-px gap-y-16 pt-10 pb-20 xl:pb-[120px] border-t border-grey",children:[(0,s.jsxs)("div",{className:"col-span-full md:col-span-6 max-w-text-width",children:[e&&(0,s.jsx)(a.Fp,{text:e,element:"h2",className:"t-h1 whitespace-pre-line"}),t&&(0,s.jsx)(a.Fp,{text:t,element:"h3",className:"t-h1 text-grey whitespace-pre-line"}),i&&(0,s.jsx)("div",{className:"mt-6 flex gap-2 flex-wrap",children:i.map((A,e)=>(0,s.jsx)(a.yE,{variant:"secondary",iconRight:"arrowRight",link:A.link},e))})]}),(0,s.jsx)(a.Jq,{animation:"fadeIn",durationMS:1e3,delayMS:150,trigger:h,className:r()("col-span-full md:col-span-6 xl:col-start-7"),children:(0,s.jsxs)("div",{className:r()("text-black-30 flex flex-col gap-y-8 md:gap-y-6 max-w-text-width"),children:[l&&(0,s.jsx)("div",{className:r()(c().portableTextContainer,"whitespace-pre-line t-h2"),children:(0,s.jsx)(o.YI,{value:l})}),(null==d?void 0:d[0])&&(0,s.jsx)("ul",{className:"col-span-full h-max flex gap-2 flex-wrap md:col-span-6 xl:col-start-9 xl:col-span-4",children:d.map((A,e)=>(0,s.jsx)("li",{children:(0,s.jsx)(a.Gl,{children:A})},e))}),u&&(0,s.jsx)("div",{className:"flex gap-2 flex-wrap",children:u.map((A,e)=>(0,s.jsx)(a.yE,{variant:"secondary",iconRight:"arrowRight",link:A.link,abTestVariant:!0},e))})]})})]})}},83519:function(A,e,t){"use strict";t.d(e,{BrandOnAPage:function(){return v}});var s=t(57437),a=t(12451),l=t(56800),r=t.n(l),n=t(2265);let i=A=>{let{buttons:e,content:t,title:l,delay:n,visible:i,className:c,lightTheme:o}=A;return(0,s.jsx)(a.Jq,{className:r()("col-span-full",c),trigger:i,delayMS:n,children:(0,s.jsxs)("section",{className:r()("rounded-lg border border-grey p-4 h-full flex flex-col transition",o&&"bg-almost-white text-almost-black"),children:[(0,s.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,s.jsx)("h3",{className:"t-b3",children:l}),(0,s.jsx)("div",{className:"flex gap-2",children:e})]}),(0,s.jsxs)("div",{className:"flex-1",children:[" ",t]})]})})};var c=t(66648);let o=A=>{let{activeIllustration:e,customIllustrations:t}=A;return(0,s.jsx)("div",{className:"aspect-square relative overflow-hidden",children:(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:r()("absolute top-0 h-full flex transition-transform duration-300 w-[300%]",{"translate-x-[-33.3%]":2===e,"translate-x-[-66.6%]":3===e}),children:(t||[{src:"/images/graphic1.png",alt:"A brand illustration"},{src:"/images/graphic2.png",alt:"A brand illustration"},{src:"/images/graphic3.png",alt:"A brand illustration"}]).map((A,e)=>{let{src:t,alt:a}=A;return(0,s.jsx)(c.default,{sizes:"(max-width: 768px) 90vw, (max-width: 1280px) 40vw, 30vw",src:t,className:"w-full h-full",alt:a||"A brand illustration"},e)})})})})};var u=t(762);let d=A=>{let{hex:e,title:t,className:a}=A,l=(0,u.YB)(e);return(0,s.jsxs)("article",{className:r()("t-b3 p-4 h-full flex flex-col justify-between",a),style:{background:e,color:l},children:[(0,s.jsx)("h3",{className:"mb-[60px]",children:t}),(0,s.jsx)("p",{children:e})]})},x=A=>{let{activePallet:e,primaryColor:t,secondaryColor:a,index:l}=A;return(0,s.jsxs)("div",{style:{transitionDelay:"".concat(50*l,"ms")},className:r()("flip-tile relative","primary"!==e&&"flip-x"),children:[(0,s.jsx)(d,{title:t.title,hex:t.hex,className:"backface-hidden"}),(0,s.jsx)(d,{title:a.title,hex:a.hex,className:"flip-x backface-hidden absolute inset-0"})]})},h=A=>{let{activeColorPalette:e,customColors:t,isColumn:a}=A,l=t||{primary:[{title:"Mint Green",hex:"#5FFF95"},{title:"Light Pink",hex:"#FFABAB"},{title:"Gold",hex:"#FFDE31"},{title:"Red",hex:"#C3423D"},{title:"Construction Orange",hex:"#FF8731"},{title:"Sky Blue",hex:"#50DBEE"}],secondary:[{title:"Dark Purple",hex:"#77007C"},{title:"Teal",hex:"#007171"},{title:"Drak Blue",hex:"#00394F"},{title:"Dark Grey",hex:"#5C625D"},{title:"Forest Green",hex:"#007F4F"},{title:"Brown",hex:"#6E3E20"}]};return(0,s.jsx)("div",{className:r()("grid h-full",{"grid-cols-2":!a,"grid-cols-1":a}),children:l.primary.map((A,t)=>(0,s.jsx)(x,{activePallet:e,index:t,primaryColor:A,secondaryColor:l.secondary[t]},t))})},m=A=>{let{customSvg:e,logoClassName:t}=A;return(0,s.jsx)("div",{className:"p-4 sm:p-6 h-full flex items-center justify-center",children:(0,s.jsx)(a.Wj,{className:t,svg:e||"logoEuphemia"})})},p=A=>{let{activeButtonColorScheme:e}=A;return(0,s.jsx)("div",{className:"p-4 flex items-center justify-center",children:(0,s.jsxs)("button",{className:r()("a11y-outline p-4 transition-colors rounded-[64px] flex items-center gap-[10px]",{"bg-white text-black hover:bg-black-20":"dark"===e,"bg-black text-white hover:bg-black-80":"light"===e}),children:[(0,s.jsx)("span",{children:"Get Valet"}),(0,s.jsx)(a.Wj,{className:"w-[11px]",svg:"arrowRight"})]})})},g=A=>{let{activeTypestyle:e,customTypography:t}=A;return(0,s.jsx)("div",{className:"relative h-full min-h-[140px]",children:(0,s.jsx)("div",{className:r()("absolute inset flex items-center justify-center transition-height"),children:(0,s.jsx)("div",{className:r()("transition-height duration-300 ease-bounce",{"h-[120px]":"h1"===e,"h-[96px]":"h2"===e,"h-[80px]":"h3"===e}),children:(0,s.jsx)(a.Wj,{className:"h-full max-w-full",svg:(()=>{switch(e){case"h1":if(t)return t.h1;return"valetTypographyDesktop";case"h2":if(t)return t.h2;return"euphemiaTypographyTablet";default:if(t)return t.h3;return"euphemiaTypographyMobile"}})()})})})})};var f=t(13473);let E={title:"ToolKit’s™ Atomic Brand System",logo:"logoValet",logoClassName:"w-[289px]",typography:{h1:"valetTypographyDesktop",h2:"valetTypographyTablet",h3:"valetTypographyMobile"},colorsIsColumn:!0,colors:{primary:[{title:"Dark Teal",hex:"#008982"},{title:"White",hex:"#FFFFFF"},{title:"Bright Yellow",hex:"#FEFF5E"}],secondary:[{title:"Off-White",hex:"#F4F2E6"},{title:"Dark Green",hex:"#01231E"},{title:"Black",hex:"#000000"}]},illustrations:[{src:{src:"/_next/static/media/valet-illustration-01.03cc7f8d.jpg",height:574,width:574,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAIAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAVAQEBAAAAAAAAAAAAAAAAAAADBf/aAAwDAQACEAMQAAABtiCv/8QAFRABAQAAAAAAAAAAAAAAAAAAFCT/2gAIAQEAAQUCpR//xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oACAEDAQE/AX//xAAVEQEBAAAAAAAAAAAAAAAAAAABAP/aAAgBAgEBPwFb/8QAGRAAAQUAAAAAAAAAAAAAAAAAEQATIjFB/9oACAEBAAY/AhFs3q//xAAZEAEAAgMAAAAAAAAAAAAAAAABABFhceH/2gAIAQEAAT8hViuF25P/2gAMAwEAAgADAAAAEAP/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oACAEDAQE/EH//xAAWEQEBAQAAAAAAAAAAAAAAAAARACH/2gAIAQIBAT8QYy//xAAZEAEAAgMAAAAAAAAAAAAAAAABEVEAITH/2gAIAQEAAT8QOQlCFpEJOJa0c//Z",blurWidth:8,blurHeight:8},alt:"Valet brand illustration 1"},{src:{src:"/_next/static/media/valet-illustration-02.0e9bd936.jpg",height:575,width:574,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAIAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAVAQEBAAAAAAAAAAAAAAAAAAADBf/aAAwDAQACEAMQAAABsCEn/8QAFxABAAMAAAAAAAAAAAAAAAAAAgEDBP/aAAgBAQABBQJq2Nn/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oACAEDAQE/AX//xAAVEQEBAAAAAAAAAAAAAAAAAAAAAv/aAAgBAgEBPwGn/8QAGhAAAgIDAAAAAAAAAAAAAAAAAhEAARIhIv/aAAgBAQAGPwIcaYLrU//EABgQAAIDAAAAAAAAAAAAAAAAAAAhATFR/9oACAEBAAE/IYMwlnR//9oADAMBAAIAAwAAABD3/8QAFREBAQAAAAAAAAAAAAAAAAAAAAH/2gAIAQMBAT8Qj//EABgRAAIDAAAAAAAAAAAAAAAAAAABESFB/9oACAECAQE/EGUKsP/EABgQAQEBAQEAAAAAAAAAAAAAAAERITEA/9oACAEBAAE/EFwiNTCTtCDVSoG99//Z",blurWidth:8,blurHeight:8},alt:"Valet brand illustration 2"},{src:{src:"/_next/static/media/valet-illustration-03.b1bbb287.jpg",height:575,width:574,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAIAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAb/xAAVAQEBAAAAAAAAAAAAAAAAAAADBf/aAAwDAQACEAMQAAABoRBX/8QAFhABAQEAAAAAAAAAAAAAAAAAAgMR/9oACAEBAAEFAtSp/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPwF//8QAFREBAQAAAAAAAAAAAAAAAAAAAAH/2gAIAQIBAT8Br//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEABj8Cf//EABYQAQEBAAAAAAAAAAAAAAAAAAEAUf/aAAgBAQABPyEwAv/aAAwDAQACAAMAAAAQ8//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Qf//EABYRAQEBAAAAAAAAAAAAAAAAAAEAEf/aAAgBAgEBPxB43//EABoQAAICAwAAAAAAAAAAAAAAAAERACEx0fD/2gAIAQEAAT8QozdDAx2p/9k=",blurWidth:8,blurHeight:8},alt:"Valet brand illustration 3"}]},v=A=>{let{header:e}=A,[t,l]=(0,n.useState)("dark"),[c,u]=(0,n.useState)("h1"),[d,x]=(0,n.useState)("primary"),[v,j]=(0,n.useState)("dark"),[w,B]=(0,n.useState)(1),{ref:b,inView:y}=(0,f.YD)({triggerOnce:!0,rootMargin:"-100px"}),{colors:Q,colorsIsColumn:z,illustrations:N,logo:C,logoClassName:D,typography:O}=E;return(0,s.jsxs)("section",{className:r()("bg-almost-black text-almost-white layout-px layout-py"),children:[(0,s.jsx)(a.Fp,{text:e,className:"mb-10 t-h2",element:"h2"}),(0,s.jsxs)("div",{ref:b,className:"layout-grid gap-y-4 xl:gap-y-6 grid-flow-dense",children:[(0,s.jsx)(i,{visible:y,delay:0,title:"Logo",className:"md:col-span-4 md:row-span-2 xl:row-span-3",buttons:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.zx,{active:"dark"===t,variant:"primary",onClick:()=>l("dark"),children:"Dark"}),(0,s.jsx)(a.zx,{active:"light"===t,variant:"primary",onClick:()=>l("light"),children:"Light"})]}),content:(0,s.jsx)(m,{logoClassName:D,customSvg:C}),lightTheme:"light"===t}),(0,s.jsx)(i,{visible:y,delay:60,title:"Typography",className:"md:col-start-1 md:col-span-4 md:row-span-3 xl:row-span-3",buttons:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.zx,{active:"h1"===c,onClick:()=>u("h1"),variant:"primary",children:"H1"}),(0,s.jsx)(a.zx,{active:"h2"===c,onClick:()=>u("h2"),variant:"primary",children:"H2"}),(0,s.jsx)(a.zx,{active:"h3"===c,onClick:()=>u("h3"),variant:"primary",children:"H3"})]}),content:(0,s.jsx)(g,{activeTypestyle:c,customTypography:O})}),(0,s.jsx)(i,{title:"Colours",visible:y,delay:120,className:"md:col-start-5 md:col-span-4 md:row-span-4 xl:row-span-6",buttons:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.zx,{active:"primary"===d,onClick:()=>x("primary"),variant:"primary",children:"Primary"}),(0,s.jsx)(a.zx,{active:"secondary"===d,onClick:()=>x("secondary"),variant:"primary",children:"Secondary"})]}),content:(0,s.jsx)(h,{activeColorPalette:d,customColors:Q,isColumn:z})}),(0,s.jsx)(i,{title:"Button",visible:y,delay:180,className:"md:col-start-1 md:col-span-4 md:row-span-2 xl:col-start-9 xl:col-span:4 xl:row-span-2",buttons:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.zx,{active:"dark"===v,onClick:()=>j("dark"),variant:"primary",children:"Dark"}),(0,s.jsx)(a.zx,{active:"light"===v,onClick:()=>j("light"),variant:"primary",children:"Light"})]}),content:(0,s.jsx)(p,{activeButtonColorScheme:v}),lightTheme:"light"===v}),(0,s.jsx)(i,{title:"Illustrations",visible:y,delay:240,className:"md:col-start-5 md:col-span-4 md:row-span-3 xl:col-start-9 xl:col-span:4 xl:row-span-4",buttons:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.zx,{active:1===w,onClick:()=>B(1),variant:"primary",children:"1"}),(0,s.jsx)(a.zx,{active:2===w,onClick:()=>B(2),variant:"primary",children:"2"}),(0,s.jsx)(a.zx,{active:3===w,onClick:()=>B(3),variant:"primary",children:"3"})]}),content:(0,s.jsx)(o,{activeIllustration:w,customIllustrations:N})})]})]})}},97757:function(A,e,t){"use strict";t.d(e,{CaseStudyCarousel:function(){return p}});var s=t(57437),a=t(56800),l=t.n(a),r=t(79467),n=t(2265),i=t(49582),c=t(66648),o=t(53141);let u=A=>{let{caseStudies:e}=A,[t,a]=(0,n.useState)(0),[c,u]=(0,n.useState)(!1),[x,h]=(0,n.useState)(0),[m,p]=(0,n.useState)(!1),[g,f]=(0,n.useState)("move"),{x:E,y:v}=(0,r.kk)(),{width:j}=(0,r.dz)(),{setIsTimerPieActive:w}=(0,o.jr)(),B=(0,n.useRef)(v),b=(0,n.useRef)(null),y=(0,n.useRef)(null),Q=(0,n.useRef)(null),z=c?3*t:t,N=()=>{Q.current&&clearTimeout(Q.current),w(!0),Q.current=setTimeout(()=>{u(!0)},600)},C=()=>{Q.current&&clearTimeout(Q.current),Q.current=null};return(0,n.useEffect)(()=>{let A=()=>{f("scroll")},e=()=>{f("move")};return window.addEventListener("scroll",A),window.addEventListener("mousemove",e),()=>{window.removeEventListener("scroll",A),window.removeEventListener("mousemove",e)}},[]),(0,n.useEffect)(()=>{let A=()=>{b.current&&a(b.current.offsetWidth)};return A(),window.addEventListener("resize",A),()=>window.removeEventListener("resize",A)},[]),(0,n.useEffect)(()=>{(()=>{if(!b.current||!y.current)return;let A=.25*j,e=j-2*A;h(-((Math.max(Math.min(E,j-A),A)-A)/e)*(z-t))})()},[E,z,j,t]),(0,n.useEffect)(()=>{if(y.current){let A=c?x:0;i.p8.to(y.current,{width:z,x:A,duration:1,ease:"power3.out"})}},[c,x,z]),(0,n.useEffect)(()=>{t&&p(!0)},[t]),(0,n.useEffect)(()=>{B.current=v},[v]),(0,n.useEffect)(()=>{if(!c||!b.current)return;let A=b.current.getBoundingClientRect().top,e=window.scrollY;window.scrollTo({top:e+A,behavior:"smooth"})},[c]),(0,s.jsx)("div",{onMouseEnter:()=>{"move"===g&&N()},onMouseLeave:()=>{u(!1),C(),w(!1)},onMouseMove:()=>{"move"!==g||Q.current||N()},className:"layout-px",children:(0,s.jsx)("div",{ref:b,className:"layout-py",children:(0,s.jsx)("div",{ref:y,className:l()("flex gap-2",{"transition-[opacity,padding] duration-1000":m,"opacity-0":!m,"py-20":c}),children:e.map((A,e)=>(0,s.jsx)(d,{isCarouselExpanded:c,...A},e))})})})},d=A=>{let{client:e,image:t,meme:a,isCarouselExpanded:r,video:n,placeholderColor:i}=A;return(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:l()("rounded-lg relative group transition-all duration-1000",{"pb-[80px] xl:pb-[20px]":r}),children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("div",{style:{background:i},className:l()("h-full transition-transform ease-fast-out duration-200 rounded-lg overflow-hidden relative"),children:[(0,s.jsx)(c.default,{priority:!0,placeholder:"blur",src:t,alt:e,sizes:"50vw",className:"transition-all"}),n&&(0,s.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,disablePictureInPicture:!0,className:"absolute inset-0 object-cover opacity-0 group-hover:opacity-100 transition-opacity",children:(0,s.jsx)("source",{src:n,type:"video/mp4"})})]}),(0,s.jsxs)("div",{className:l()("pt-4 flex flex-col xl:flex-row gap-4 xl:gap-10 absolute duration-500 left-0 bottom-0 translate-y-full transition-opacity",{"opacity-0":!r}),children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"t-caption mb-3",children:"Client"}),(0,s.jsx)("p",{className:"t-b2",children:e})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"t-caption mb-3",children:"Meme"}),(0,s.jsx)("p",{className:"t-b2",children:a})]})]})]})})})};var x=t(21932);let h=A=>{let{caseStudies:e}=A;return(0,s.jsx)(x.Z,{loop:0,gradient:!1,speed:80,className:"gap-2 layout-py",children:(0,s.jsx)("div",{className:"flex gap-2",children:e.map((A,e)=>{let{image:t,client:a,placeholderColor:r}=A;return(0,s.jsx)("div",{children:(0,s.jsx)("div",{style:{background:r},className:l()("rounded-lg overflow-hidden"),children:(0,s.jsx)(c.default,{priority:!0,src:t,height:200,placeholder:"blur",alt:a})})},e)})})})};var m=t(762);let p=A=>{let{caseStudies:e,borderTop:t}=A,{width:a}=(0,r.dz)(),n=(0,m.L$)()&&a>1e3;return(0,s.jsx)("div",{className:l()("relative overflow-hidden",{"border-t border-grey":t}),children:n?(0,s.jsx)(u,{caseStudies:e}):(0,s.jsx)(h,{caseStudies:e})})}},86870:function(A,e,t){"use strict";t.d(e,{CaseStudyGrid:function(){return o}});var s=t(57437),a=t(12451),l=t(762),r=t(56800),n=t.n(r),i=t(2265),c=t(13473);let o=A=>{var e;let{tiles:t}=A,r=[...new Set(t.map(A=>A.category))].map(A=>({active:!1,title:A})),[o,u]=(0,i.useState)(12),[d,x]=(0,i.useState)(!1),[h,m]=(0,i.useState)([]),[p,g]=(0,i.useState)(0),[f,E]=(0,i.useState)(!1),[v,j]=(0,i.useState)(r),[w,B]=(0,i.useState)([]),[b,y]=(0,i.useState)(!1),{ref:Q,inView:z}=(0,c.YD)(),N=(0,i.useRef)(null),C=()=>{g(A=>A?0:1)},D=null===(e=v.find(A=>A.active))||void 0===e?void 0:e.title,O=w.filter(A=>A.active).map(A=>A.title),I=()=>{j(r)},k=()=>{B([])},S=A=>{j(e=>{let t=e.find(A=>!0===A.active);return(null==t?void 0:t.title)===A?r:e.map(e=>({...e,active:e.title===A}))})},F=A=>{B(e=>e.map(e=>({...e,active:e.title===A?!e.active:e.active})))},M=h.filter(A=>!D||(O.length?A.category===D&&A.subcategories.some(A=>O.includes(A)):A.category===D)),R=(0,i.useCallback)(()=>{C(),m((0,l.Sy)(t)),u(12)},[t]),P=()=>{u(A=>A+12)},L=(0,i.useCallback)(()=>{E(!0),setTimeout(()=>{P(),E(!1)},1e3)},[]),T=(0,i.useCallback)(()=>{let A=N.current;A&&A.getBoundingClientRect().top<=window.innerHeight&&L()},[L]),H=A=>{switch(A){case"Financial Technology":return"Fintech";case"Tech":return"Technology";default:return A}};return(0,i.useEffect)(()=>{x(!0);let A=()=>{f||T()};return window.addEventListener("scroll",A),()=>{window.removeEventListener("scroll",A)}},[T,f]),(0,i.useEffect)(()=>{D||k(),B([...new Set(t.filter(A=>A.category===D).map(A=>A.subcategories).flat())].map(A=>({active:!1,title:A})))},[D,t]),(0,i.useEffect)(()=>(setTimeout(()=>{T()},50),window.addEventListener("resize",T),()=>{window.removeEventListener("resize",T)}),[T]),(0,i.useEffect)(()=>{b?(()=>{let A=Object.values(t.reduce((A,e)=>{let t=e.title.toLowerCase();return A[t]||(A[t]=[]),A[t].push(e),A},{})),e=[],s=[];A.forEach(A=>{A[0].link?e.push(A):s.push(A)});let a=(0,l.Sy)(e),r=(0,l.Sy)(s);m([...a.flat(),...r.flat()])})():R(),x(!1),setTimeout(()=>{x(!0)},10)},[t,b,R]),(0,s.jsxs)("section",{className:n()("layout-px layout-py"),children:[(0,s.jsxs)("div",{className:"mb-4 pt-[100px] md:pt-[120px] flex flex-col gap-5 md:flex-row md:justify-between md:items-center",children:[(0,s.jsxs)("div",{className:"flex gap-2 overflow-auto",children:[D&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.zx,{className:"animate-slideFromRight",iconLeft:"x",onClick:()=>{I(),k()},variant:"primarySmall",children:H(D)}),w.map((A,e)=>{let{active:t,title:l}=A;return(0,s.jsx)(a.Jq,{durationMS:200,trigger:!0,delayMS:(e+1)*50,children:(0,s.jsx)(a.zx,{onClick:()=>F(l),variant:t?"primarySmall":"secondarySmall",children:l})},e)})]}),!D&&v.map((A,e)=>{let{title:t}=A;return(0,s.jsx)(a.Jq,{durationMS:200,trigger:!0,delayMS:50*e,children:(0,s.jsx)(a.zx,{onClick:()=>S(t),variant:"secondarySmall",children:H(t)})},e)})]}),(0,s.jsxs)("div",{className:"flex items-center gap-4",children:[(0,s.jsx)("span",{className:"t-label order-2 md:order-1",children:"Sort by client"}),(0,s.jsx)(a.ZD,{className:"order-1 md:order-2",isActive:b,setIsActive:y})]})]}),(0,s.jsx)("ul",{className:"grid grid-cols-2 gap-2 md:grid-cols-3 lg:grid-cols-4 lg:gap-4",children:d&&M.slice(0,o).map((A,e)=>{let{textColor:t,title:l,image:r,link:n,videoURL:i,_key:c}=A,u={_type:"caseStudyLink",caseStudy:{slug:{current:(null==n?void 0:n.slug.current)||""}},text:(null==n?void 0:n.title)||""};return(0,s.jsx)("li",{children:(0,s.jsx)(a.Jq,{retriggerKey:p,trigger:d,delayMS:(e-(o-12))*50,children:(0,s.jsx)(a.YW,{hoverBackgroundColor:(null==n?void 0:n.backgroundHex)||"",hoverText:(null==n?void 0:n.brandMeme)||"",textColor:t,title:l,image:r,videoURL:i,link:n?{link:[u]}:void 0})})},c)})}),d&&o<M.length&&(0,s.jsx)("div",{ref:N,children:(0,s.jsx)("div",{ref:Q,className:n()("flex justify-center px-4 py-10 transition duration-500"),children:(0,s.jsx)(a.Wj,{svg:"lamPlus",className:n()("w-[40px] h-[40px] md:w-[60px] md:h-[60px] text-grey",{"animate-spinOut":z})})})})]})}},89778:function(A,e,t){"use strict";t.d(e,{CursorTrail:function(){return n}});var s=t(57437),a=t(2265),l=t(66648),r=t(49582);let n=A=>{let{type:e="meme"}=A,t=(0,a.useRef)(null),n=(0,a.useRef)(null),i=(0,a.useRef)([]),c=(0,a.useRef)(1),o=(0,a.useRef)(0),u=(0,a.useRef)({x:0,y:0}),d=(0,a.useRef)({x:0,y:0}),x=(0,a.useRef)({x:0,y:0}),h=(0,a.useRef)(),[m,p]=(0,a.useState)([]),[g,f]=(0,a.useState)(!1),E={shia:{subpath:"cursor-gif",size:40},meme:{subpath:"meme-trail",size:14}}[e],v=(0,a.useMemo)(()=>({lerp:(A,e,t)=>(1-t)*A+t*e,distance:(A,e,t,s)=>Math.hypot(t-A,s-e)}),[]);return(0,a.useEffect)(()=>{p(Array(E.size).fill(null).map((A,e)=>"/images/".concat(E.subpath,"/").concat(e,".jpg")))},[E.size,E.subpath]),(0,a.useEffect)(()=>{if(m.length>0&&n.current){let A=Array.from(n.current.querySelectorAll("figure")).map(A=>A.querySelector("img"));i.current=A.map(A=>({el:A,defaultStyle:{scale:1,x:0,y:0,opacity:0},rect:A?A.getBoundingClientRect():null}))}},[m]),(0,a.useEffect)(()=>{let A=A=>{let{left:e,top:s}=t.current.getBoundingClientRect(),a=A.clientX-e,l=A.clientY-s;u.current={x:a,y:l}};return window.addEventListener("mousemove",A),()=>{window.removeEventListener("mousemove",A)}},[]),(0,a.useEffect)(()=>{let A=()=>{let{x:A,y:e}=u.current,{x:t,y:s}=x.current;return v.distance(A,e,t,s)},e=()=>{if(!g){h.current=requestAnimationFrame(e);return}let s=A(),{x:a,y:l}=u.current;d.current={x:v.lerp(d.current.x,a,.1),y:v.lerp(d.current.y,l,.1)},s>100&&(t(),c.current+=1,o.current=(o.current+1)%i.current.length,x.current={...u.current});let n=!0;for(let A of i.current)if(r.p8.isTweening(A.el)||"0"!==A.el.style.opacity){n=!1;break}n&&1!==c.current&&(c.current=1),h.current=requestAnimationFrame(e)},t=()=>{let A=i.current[o.current];r.p8.killTweensOf(A.el),r.p8.timeline().set(A.el,{startAt:{opacity:0,scale:1},opacity:1,scale:1,zIndex:c.current,x:d.current.x-A.rect.width/2,y:d.current.y-A.rect.height/2}).to(A.el,{duration:.9,ease:"expo.out",x:u.current.x-A.rect.width/2,y:u.current.y-A.rect.height/2}).to(A.el,{duration:1,ease:"power1.out",opacity:0},.4).to(A.el,{duration:1,ease:"quint.out",scale:.2},.4)};return h.current=requestAnimationFrame(e),()=>{h.current&&cancelAnimationFrame(h.current)}},[v,g]),(0,s.jsx)("section",{ref:t,className:"hidden w-full h-[60vw] left-0 relative lg:block xl:h-[52vw] xl:max-h-[700px] overflow-hidden",onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),children:(0,s.jsx)("div",{ref:n,className:"w-screen h-full relative pointer-events-none z-10 top-0 left-0",children:m.map((A,e)=>(0,s.jsx)("figure",{className:"absolute transition-opacity duration-200 ease-in-out rounded-xl w-1/4 pointer-events-none top-0 left-0",children:(0,s.jsx)(l.default,{className:"rounded-xl object-cover object-center absolute top-0 left-0 opacity-0",src:A,alt:"Cursor Gif",width:0,height:0,sizes:"100%",style:{width:"100%",height:"auto"}})},e))})})}},57758:function(A,e,t){"use strict";t.d(e,{DesignTemplatesPreview:function(){return d}});var s=t(57437),a=t(2265),l=t(56800),r=t.n(l),n=t(12451);let i=A=>{let{buttons:e,content:t,title:a,delay:l,visible:i,className:c,lightTheme:o}=A;return(0,s.jsx)(n.Jq,{delayMS:l,trigger:i,className:r()("",c),children:(0,s.jsxs)("section",{className:r()("rounded-lg border border-grey p-4 col-span-full flex flex-col transition h-full",o&&"bg-almost-white text-almost-black"),children:[(0,s.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,s.jsx)("h3",{className:"t-b3",children:a}),(0,s.jsx)("div",{className:"flex gap-2",children:e})]}),(0,s.jsxs)("div",{className:"flex-1",children:[" ",t]})]})})},c=A=>{let{activeSocialMedia:e,customSocialMedia:t}=A;return(0,s.jsx)("div",{className:"aspect-[0.68] md:aspect-[1.6] relative w-full h-full overflow-hidden xl:aspect-auto",children:(0,s.jsx)("div",{className:r()("absolute top-0 h-full flex transition-transform duration-300 w-[300%]",{"translate-x-[-33.3%]":2===e,"translate-x-[-66.6%]":3===e}),children:(t||[{src:"/images/slices/designTemplatesPreview/valet-social-01.png",alt:"Social Media COntent"},{src:"/images/slices/designTemplatesPreview/valet-social-02.png",alt:"Social Media COntent"},{src:"/images/slices/designTemplatesPreview/valet-social-03.png",alt:"Social Media COntent"}]).map((A,e)=>{let{src:t,alt:a}=A;return(0,s.jsx)("figure",{className:"w-full h-full flex align-center justify-center",children:(0,s.jsx)("img",{className:"h-full w-full object-contain md:w-auto",src:t,alt:a||"Social Media COntent"})},e)})})})},o=A=>{let{activeWebsiteTemplate:e,customWebsiteTemplates:t}=A;return(0,s.jsx)("div",{className:"aspect-[1.6] relative w-full h-full overflow-hidden",children:(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:r()("absolute top-0 flex transition-transform duration-300 w-[200%] h-full",{"translate-x-[-50%]":"mobile"===e}),children:(t||[{src:"/images/slices/designTemplatesPreview/valet-website-desktop.png",alt:"Website Content"},{src:"/images/slices/designTemplatesPreview/valet-website-mobile.png",alt:"Website Content"}]).map((A,e)=>{let{src:t,alt:a}=A;return(0,s.jsx)("figure",{className:"w-[50%] flex align-center justify-center",children:(0,s.jsx)("img",{className:r()({"w-full h-auto":0===e,"w-auto h-full":1===e}),src:t,alt:a||"Website Content"},e)},e)})})})})};var u=t(13473);let d=A=>{let{header:e}=A,[t,l]=(0,a.useState)("desktop"),[d,x]=(0,a.useState)(1),{ref:h,inView:m}=(0,u.YD)({triggerOnce:!0,rootMargin:"-100px"});return(0,s.jsxs)("section",{className:r()("bg-almost-black text-almost-white layout-px layout-py"),children:[(0,s.jsx)("h2",{className:"t-h2 mb-10",children:e}),(0,s.jsxs)("div",{ref:h,className:"layout-grid gap-y-4 xl:gap-y-6 grid-flow-dense",children:[(0,s.jsx)(i,{visible:m,delay:0,title:"Website",className:"col-span-full xl:col-start-1 xl:col-span-8",buttons:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.zx,{active:"desktop"===t,onClick:()=>l("desktop"),variant:"primary",children:"Desktop"}),(0,s.jsx)(n.zx,{active:"mobile"===t,onClick:()=>l("mobile"),variant:"primary",children:"Mobile"})]}),content:(0,s.jsx)(o,{activeWebsiteTemplate:t})}),(0,s.jsx)(i,{visible:m,delay:100,title:"Social Media",className:"col-span-full xl:col-start-9 xl:col-span-4",buttons:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.zx,{active:1===d,onClick:()=>x(1),variant:"primary",children:"1"}),(0,s.jsx)(n.zx,{active:2===d,onClick:()=>x(2),variant:"primary",children:"2"}),(0,s.jsx)(n.zx,{active:3===d,onClick:()=>x(3),variant:"primary",children:"3"})]}),content:(0,s.jsx)(c,{activeSocialMedia:d})})]})]})}},28086:function(A,e,t){"use strict";t.d(e,{Features:function(){return g}});var s=t(57437),a=t(56800),l=t.n(a),r=t(2265),n=t(12451),i=t(79467),c=t(66648);let o=A=>{let{features:e,activeID:t,setActiveID:a}=A;return(0,s.jsx)("div",{className:"md:hidden",children:e.map((A,e)=>(0,s.jsx)(u,{category:A,activeID:t,setActiveID:a},e))})},u=A=>{let{category:{features:e,title:t},activeID:a,setActiveID:l}=A;return(0,s.jsxs)("div",{className:"mb-8 last:mb-0",children:[(0,s.jsx)("h2",{className:"t-h3 mb-6 text-almost-white",children:t}),e.map((A,e)=>(0,s.jsx)(d,{feature:A,activeID:a,setActiveID:l},e))]})},d=A=>{let{feature:{description:e,id:t,title:a,image:o},activeID:u,setActiveID:d}=A,x=u===t,{containerHeight:h,contentRef:m,setIsExpanded:p}=(0,i.As)();return(0,r.useEffect)(()=>{p(x)},[x,p]),(0,s.jsxs)("div",{className:l()("transition-colors duration-500",x?"text-black-30":"text-black-50"),children:[(0,s.jsxs)("button",{onClick:()=>{d(t)},className:"t-button py-4 flex items-center justify-between w-full",children:[a,(0,s.jsx)(n.Wj,{svg:"plus",className:l()("text-black-50 w-3 h-3 transition-opacity duration-500",x&&"opacity-0")})]}),(0,s.jsx)("div",{className:"transition-height duration-500 overflow-hidden border-b border-grey",style:{height:h},children:(0,s.jsxs)("div",{ref:m,className:"pb-8",children:[(0,s.jsx)("p",{className:"t-b3 mb-4",children:e}),(0,s.jsx)(c.default,{src:o,sizes:"80vw",alt:"",className:"w-full rounded-lg border border-grey"})]})})]})},x=A=>{let{activeID:e,features:t,setActiveID:a}=A,[n,i]=(0,r.useState)(0),[c,o]=(0,r.useState)(0),u=(0,r.useRef)(null),d=(0,r.useMemo)(()=>[],[]),x=t.flatMap(A=>A.features);return(0,r.useEffect)(()=>{let A=()=>{u.current&&i(u.current.offsetWidth)};return A(),window.addEventListener("resize",A),()=>{window.removeEventListener("resize",A)}},[]),(0,r.useEffect)(()=>{let A=()=>{let A=0;d.forEach(e=>{e&&e.offsetHeight>A&&(A=e.offsetHeight)}),o(A)};return setTimeout(A,10),window.addEventListener("resize",A),()=>{window.removeEventListener("resize",A)}},[d]),(0,s.jsxs)("div",{className:"hidden md:layout-grid",children:[(0,s.jsx)("div",{className:"col-span-4 xl:col-span-3",children:t.map((A,t)=>(0,s.jsx)(h,{category:A,activeID:e,setActiveID:a},t))}),(0,s.jsx)("div",{className:"col-start-5 col-span-4 xl:col-start-4 xl:col-span-9 relative",ref:u,style:{height:c},children:x.map((A,t)=>{let a=e===A.id;return(0,s.jsx)("div",{ref:A=>{d[t]=A},style:{width:n},className:l()("transition-opacity absolute top-0",(!n||!c)&&"opacity-0"),children:(0,s.jsx)(p,{feature:A,className:l()("transition-all duration-500",!a&&"opacity-0 translate-y-6")})},t)})})]})},h=A=>{let{category:{features:e,title:t},activeID:a,setActiveID:l}=A;return(0,s.jsxs)("div",{className:"mb-10 last:mb-0",children:[(0,s.jsx)("h2",{className:"t-h3 text-almost-white mb-2",children:t}),e.map((A,e)=>(0,s.jsx)(m,{feature:A,activeID:a,setActiveID:l},e))]})},m=A=>{let{feature:{title:e,id:t},activeID:a,setActiveID:r}=A,i=a===t;return(0,s.jsxs)("button",{onClick:()=>{r(t)},className:l()("transition-colors relative block py-2 mb-[2px] last:mb-0 t-button hover:text-black-30",i?"text-black-30":"text-black-50"),children:[(0,s.jsx)(n.Wj,{svg:"arrowRight",className:l()("h-4 w-4 absolute left-0 top-1/2 -translate-y-1/2 transition-all duration-500",!i&&"opacity-0 scale-50")}),(0,s.jsx)("span",{className:l()("block transition-transform duration-500",i&&"translate-x-[24px]"),children:e})]})},p=A=>{let{feature:{description:e,title:t,image:a},className:r}=A;return(0,s.jsxs)("div",{className:l()(r),children:[(0,s.jsx)(c.default,{loading:"eager",src:a,sizes:"(max-width: 1280px) 100vw, 60vw",alt:t,className:"mb-4 aspect-3/2 object-cover rounded-lg"}),(0,s.jsx)("p",{className:"t-b3 text-black-30",children:e})]})},g=A=>{let e,{features:t,borderTop:a}=A,[n,i]=(0,r.useState)(0),c=(e=0,t.map(A=>({...A,features:A.features.map(A=>({...A,id:e++}))})));return(0,s.jsxs)("section",{className:l()("layout-px layout-py",{"border-t border-grey":a}),children:[(0,s.jsx)(o,{activeID:n,features:c,setActiveID:i}),(0,s.jsx)(x,{activeID:n,features:c,setActiveID:i})]})}},41257:function(A,e,t){"use strict";t.d(e,{GifTrail:function(){return n}});var s=t(57437),a=t(2265),l=t(66648),r=t(49582);let n=A=>{let{type:e="shia"}=A,[t,n]=(0,a.useState)([]),[i,c]=(0,a.useState)([]),[o,u]=(0,a.useState)(0),[d,x]=(0,a.useState)(null),[h,m]=(0,a.useState)(!1),[p,g]=(0,a.useState)(null),f=(0,a.useRef)(null),E=(0,a.useRef)({}),v={shia:{subpath:"cursor-gif",size:40},meme:{subpath:"meme-trail",size:14}}[e],j=0,w=()=>(j+=1,Date.now()+j);return(0,a.useEffect)(()=>{n(Array(v.size).fill(null).map((A,e)=>{let t=new window.Image;return t.src="/images/".concat(v.subpath,"/").concat(e,".jpg"),t.width=500,t.src}))},[]),(0,a.useEffect)(()=>{let A=A=>{if(f.current&&f.current.contains(A.target)){if(m(!0),d){let e=Math.sqrt(Math.pow(A.clientX-d.x,2)+Math.pow(A.clientY-d.y,2));if(g(A.clientX>d.x),e>150){let e=w();c(t=>[{id:e,x:A.clientX,y:A.clientY,imageIndex:o},...t.slice(0,4)]),u(A=>(A+1)%t.length),x({x:A.clientX,y:A.clientY}),setTimeout(()=>{E.current[e]&&r.p8.to(E.current[e],{opacity:0,duration:1,onComplete:()=>{c(A=>A.filter(A=>A.id!==e))}})},500)}}else x({x:A.clientX,y:A.clientY})}else m(!1)},e=()=>{m(!1),x(null)},s=f.current;return s&&(s.addEventListener("mousemove",A),s.addEventListener("mouseleave",e)),()=>{s&&(s.removeEventListener("mousemove",A),s.removeEventListener("mouseleave",e))}},[t,o,d]),(0,s.jsx)("section",{ref:f,className:"hidden w-full h-[60vw] left-0 relative lg:block xl:h-[55vh]",children:(0,s.jsxs)("div",{className:"w-screen h-screen fixed pointer-events-none z-10 top-0 left-0",children:[i.slice(0,5).reverse().map((A,e)=>(0,s.jsx)(l.default,{ref:e=>{E.current[A.id]=e},className:"rounded-xl",src:t[A.imageIndex],alt:"Cursor Gif",style:{position:"absolute",width:"300px",height:"300px",top:A.y-50,left:A.x-276,pointerEvents:"none",opacity:1,zIndex:p?i.length-e:e+1},width:300,height:300},A.id)),h&&t[o]&&(0,s.jsx)(l.default,{className:"rounded-xl",src:t[o],alt:"Cursor Gif",style:{position:"absolute",width:"300px",height:"300px",top:(null==d?void 0:d.y)?d.y-50:0,left:(null==d?void 0:d.x)?d.x-276:0,pointerEvents:"none",opacity:1,zIndex:40},width:300,height:300})]})})}},26748:function(A,e,t){"use strict";t.d(e,{HeroHeading:function(){return i}});var s=t(57437),a=t(12451),l=t(56800),r=t.n(l),n=t(79467);let i=A=>{let{compact:e,heading:t,button:l}=A,{width:i}=(0,n.dz)(),c=t.split(" ").join("\n");return(0,s.jsx)("section",{className:r()("relative"),children:(0,s.jsxs)("div",{className:r()("h-full layout-grid layout-px pb-16 md:pb-20 pt-10 relative z-hero-heading"),children:[(null==l?void 0:l.text)&&(null==l?void 0:l.url)&&(0,s.jsx)("header",{className:"col-span-full",children:(0,s.jsx)(a.zx,{href:l.url,variant:"secondary",iconLeft:"arrowLeft",children:null==l?void 0:l.text})}),(0,s.jsx)("div",{className:r()("col-span-full md:col-span-6 xl:col-span-10 text-almost-white",{"pt-40 md:pt-[184px] xl:pt-[200px]":!e&&!l,"pt-[80px] md:pt-[140px] xl:pt-[200px]":!e&&l}),children:(0,s.jsx)(a.Fp,{className:"t-d2 mb-4 xl:mb-8",element:"h1",text:i&&i<500?c:t,animation:"scramble"})})]})})}},50593:function(A,e,t){"use strict";t.d(e,{Markdown:function(){return r}});var s=t(57437),a=t(12451),l=t(2265);let r=A=>{let{file:e}=A,[t,r]=(0,l.useState)(null);return(0,l.useEffect)(()=>{(async()=>{try{let A=await fetch(e.asset.url);if(!A.ok)throw Error("Failed to fetch markdown file");let t=await A.text();r(t)}catch(A){console.error("Error fetching markdown:",A)}})()},[]),(0,s.jsx)("section",{className:"layout-px layout-py",children:(0,s.jsx)(a.$8,{content:t})})}},22108:function(A,e,t){"use strict";t.d(e,{MemeCursorText:function(){return i}});var s=t(57437),a=t(12451),l=t(56800),r=t.n(l),n=t(2265);let i=A=>{let{heading:e}=A,t=(0,n.useRef)(null);return(0,s.jsxs)("section",{ref:t,className:r()("relative xl:h-[70vh] min-h-[500px]",{}),children:[(0,s.jsx)(a.bb,{containerRef:t,className:"absolute inset"}),(0,s.jsx)("div",{className:r()("h-full layout-grid layout-px pb-16 md:pb-20 pt-10 relative z-hero-heading"),children:(0,s.jsx)("div",{className:r()("col-span-full  md:col-span-6  xl:col-span-10 pt-40 md:pt-[184px] xl:pt-[200px]"),children:(0,s.jsx)(a.Fp,{className:"t-d2 mb-4 xl:mb-8",element:"h1",text:e,animation:"scramble"})})})]})}},8813:function(A,e,t){"use strict";t.d(e,{TextCycleHeader:function(){return c}});var s=t(57437),a=t(12451),l=t(56800),r=t.n(l),n=t(2265),i=t(79467);let c=A=>{let{fixedText:e,cyclingText:t,mobileText:a,lightMode:l,borderTop:n=!1}=A;return(0,s.jsx)("section",{className:r()("layout-px pb-16 md:pb-20 pt-10 overflow-hidden",{"border-t border-grey":n}),children:(0,s.jsx)("div",{className:r()("w-[150%] pt-40 md:pt-[184px] xl:pt-[200px]",l?"text-almost-black":"text-almost-white"),children:(0,s.jsxs)("h1",{className:"t-d2 mb-4 xl:mb-8",children:[(0,s.jsx)(o,{cyclingText:t,fixedText:e,className:"hidden lg:block"}),(0,s.jsx)(u,{fixedText:e,mobileText:a,className:"block lg:hidden"})]})})})},o=A=>{let{cyclingText:e,fixedText:t,className:l}=A,[c,o]=(0,n.useState)(0);return(0,i.Yz)(()=>{o(A=>A===e.length-1?0:A+1)},4500),(0,s.jsxs)("span",{className:r()(l),children:[(0,s.jsx)(a.Fp,{element:"span",text:t,animation:"scramble"}),(0,s.jsx)(a.Fp,{element:"span",animation:"scramble",text:e[c]},c)]})},u=A=>{let{fixedText:e,mobileText:t,className:l}=A,[c,o]=(0,n.useState)(!1);return(0,i.Yz)(()=>{o(A=>!A)},6e3),(0,s.jsxs)("span",{className:r()(l),children:[(0,s.jsx)(a.Fp,{element:"span",text:e,animation:"scramble"}),(0,s.jsx)(a.Fp,{element:"span",animation:"scramble",text:t})]},"".concat(c))}},55854:function(A,e,t){"use strict";t.d(e,{TimeZones:function(){return u}});var s=t(57437),a=t(56800),l=t.n(a),r=t(12451),n=t(2265);let i={MEL:{name:"Australia/Melbourne",gmtOffset:"+11"},SYD:{name:"Australia/Sydney",gmtOffset:"+11"},NZL:{name:"Pacific/Auckland",gmtOffset:"+13"},LON:{name:"Europe/London",gmtOffset:"+0"},VAN:{name:"America/Vancouver",gmtOffset:"-7"}},c=A=>{let{contact:e,timeZone:t}=A,[a,c]=(0,n.useState)(null),{calendarURL:o,name:u}=e,{gmtOffset:d}=i[t],x=(()=>{if(!a)return"";let A=i[t].name;return a.toLocaleTimeString("en-US",{timeZone:A,hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1})})();return(0,n.useEffect)(()=>{c(new Date);let A=setInterval(()=>{c(new Date)},1e3);return()=>clearInterval(A)},[t]),(0,s.jsxs)("article",{className:l()("transition-opaicty duration-500",{"opacity-0":!a}),children:[(0,s.jsxs)("div",{className:"flex gap-3 items-center mb-3",children:[(0,s.jsx)(r.SU,{time:(()=>{let A=i[t].name,e=new Date().toLocaleDateString("en-US",{timeZone:A});return new Date("".concat(e," ").concat(x))})()}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"t-h2 mb-3",children:t}),(0,s.jsxs)("div",{className:"text-grey",children:[(0,s.jsx)("p",{children:x}),(0,s.jsxs)("p",{children:[d," GMT"]})]})]})]}),(0,s.jsx)(r.zi,{children:(0,s.jsxs)("a",{target:"_blank",rel:"noopener noreferrer",href:o,className:"border-black-80 hover:bg-black-80 transition-colors border rounded-[60px] p-2 inline-flex gap-2 items-center",children:[(0,s.jsx)(r.zZ,{status:(()=>{let A=parseInt(x.split(":")[0]),e=parseInt(x.split(":")[1]);return A>=18||A<8||8===A&&e<30?"offline":"online"})()}),(0,s.jsx)("p",{className:"t-label text-black-30",children:u})]})})]})};var o=t(79467);let u=A=>{let{header:e,lonContact:t,melContact:a,nzlContact:r,sydContact:n,text:i,vanContact:o,cta:u}=A;return(0,s.jsxs)("section",{className:l()("layout-px layout-py border-t border-grey",{}),children:[(0,s.jsxs)("div",{className:"layout-grid",children:[(0,s.jsx)("h2",{className:"t-h1 mb-10 col-span-full lg:col-span-4 xl:col-span-6",children:e}),(0,s.jsx)("p",{className:"t-h2 text-black-30 mb-10 col-span-full lg:col-span-4 xl:col-span-6",children:i})]}),(0,s.jsxs)("div",{className:"layout-grid",children:[(0,s.jsxs)("div",{className:"col-span-full grid grid-cols-2 gap-x-2 gap-y-10 md:grid-cols-3 md:gap-x-4 lg:grid-cols-4 xl:grid-cols-5 2xl:col-span-10",children:[(0,s.jsx)(c,{timeZone:"NZL",contact:r}),(0,s.jsx)(c,{timeZone:"SYD",contact:n}),(0,s.jsx)(c,{timeZone:"MEL",contact:a}),(0,s.jsx)(c,{timeZone:"LON",contact:t}),(0,s.jsx)(c,{timeZone:"VAN",contact:o})]}),u&&(0,s.jsx)("div",{className:"mt-10 col-span-full 2xl:col-span-2 2xl:mt-0",children:(0,s.jsx)(d,{link:u})})]})]})},d=A=>{let{link:e}=A,{fillContainerRef:t,fillData:a}=(0,o.Se)("bg-black");return(0,s.jsx)(r.zi,{children:(0,s.jsx)(r.bj,{link:e.link,children:(0,s.jsxs)("div",{ref:t,className:"t-h2 bg-lime text-black border border-lime hover:text-lime transition-colors rounded-[64px] px-4 py-3 flex-shrink-0 relative overflow-hidden inline-block",children:[(0,s.jsx)(r.e,{fillData:a}),(0,s.jsxs)("div",{className:"relative inline-flex gap-6 items-center",children:[(0,s.jsx)("span",{children:"Get in Touch"}),(0,s.jsx)(r.Wj,{svg:"arrowRightThin",className:"w-6 h-6"})]})]})})})}},84387:function(A,e,t){"use strict";t.d(e,{TwoColumnText:function(){return u}});var s=t(57437),a=t(12451),l=t(56800),r=t.n(l),n=t(13473),i=t(95431),c=t.n(i),o=t(92535);let u=A=>{let{heading:e,secondaryHeading:t,leftColumn:l,rightColumn:i,button:u}=A,{ref:d,inView:x}=(0,n.YD)({triggerOnce:!0,rootMargin:"-100px"});return(0,s.jsxs)("section",{ref:d,className:"layout-grid layout-px gap-y-16 pt-10 pb-20 xl:pb-[120px] border-t border-grey",children:[(0,s.jsxs)("div",{className:"col-span-full md:col-span-6 max-w-text-width",children:[e&&(0,s.jsx)(a.Fp,{text:e,element:"h2",className:"t-h1 whitespace-pre-line"}),t&&(0,s.jsx)(a.Fp,{text:t,element:"h3",className:"t-h1 text-grey whitespace-pre-line"})]}),(0,s.jsx)(a.Jq,{animation:"fadeIn",durationMS:1e3,delayMS:150,trigger:x,className:r()("col-span-full xl:col-start-7"),children:(0,s.jsxs)("div",{className:r()("text-black-30 flex flex-col gap-y-8 md:gap-y-6"),children:[(0,s.jsxs)("div",{className:r()(c().portableTextContainer,"t-b3 grid gap-8 grid-cols-1 md:grid-cols-2"),children:[(0,s.jsx)("div",{children:(0,s.jsx)(o.YI,{value:l})}),(0,s.jsx)("div",{children:(0,s.jsx)(o.YI,{value:i})})]}),u&&(0,s.jsx)(a.yE,{iconRight:"arrowRight",variant:"secondary",link:u.link})]})})]})}},96288:function(A,e,t){"use strict";t.d(e,{TwoVideoPreview:function(){return u}});var s=t(57437),a=t(12451),l=t(53141),r=t(56800),n=t.n(r),i=t(66648),c=t(2265),o=t(13473);let u=A=>{let{videos:[e,t]}=A,[a,l]=(0,c.useState)(null),{ref:r,inView:i}=(0,o.YD)({threshold:1}),{ref:u,inView:x}=(0,o.YD)({threshold:1});return(0,c.useEffect)(()=>{i&&l(1)},[i]),(0,c.useEffect)(()=>{x&&l(2)},[x]),(0,c.useEffect)(()=>{i||x||l(null)},[i,x]),(0,s.jsxs)("section",{className:n()("layout-px layout-py layout-grid gap-y-4"),children:[(0,s.jsx)("div",{ref:r,className:"col-span-full xl:col-span-6",children:(0,s.jsx)(d,{...e,previewActive:1===a})}),(0,s.jsx)("div",{ref:u,className:"col-span-full xl:col-span-6",children:(0,s.jsx)(d,{...t,previewActive:2===a})})]})},d=A=>{let{previewImage:e,previewVideoURL:t,videoURL:r,previewActive:o}=A,[u,d]=(0,c.useState)(!1),x=(0,c.useRef)(null),{setIsPlayIconActive:h}=(0,l.jr)(),m=()=>{u||h(!0)},p=()=>{d(!0),h(!1)};return(0,s.jsx)(a.Jq,{children:(0,s.jsxs)("div",{className:"block border border-grey rounded xl:rounded-lg overflow-hidden relative group focus-visible:ring-0 focus-visible:outline-0",onMouseEnter:m,onMouseLeave:()=>{h(!1)},onClick:p,onKeyDown:A=>{if("Enter"===A.key){var e;null===(e=x.current)||void 0===e||e.play(),p()}},tabIndex:0,onFocus:m,children:[(0,s.jsx)("video",{src:t,autoPlay:!0,muted:!0,playsInline:!0,loop:!0,tabIndex:-1,disablePictureInPicture:!0,className:n()("absolute inset",{"opacity-0 pointer-events-none":u})}),(0,s.jsx)("div",{className:n()("absolute inset bg-almost-black flex items-center justify-center group-hover:opacity-0 group-focus-visible:opacity-0 transition-opacity",{"opacity-0":o},{"md:opacity-100":!u},{"opacity-0 pointer-events-none":u}),children:(0,s.jsx)("div",{className:"w-1/2 h-3/4 relative invert",children:(0,s.jsx)(i.default,{alt:"",src:e.asset.url,fill:!0})})}),(0,s.jsx)("div",{className:n()("flex pointer-fine:hidden absolute inset items-center justify-center pointer-events-none transition-opacity",{"opacity-0":u}),children:(0,s.jsx)(a.Wj,{svg:"playButtonBig",className:"w-[100px] h-[100px] text-lime mix-blend-exclusion"})}),(0,s.jsx)("video",{ref:x,className:n()("transition-opacity",{"opacity-0":!u}),src:r,playsInline:!0,controls:!0,tabIndex:-1,disablePictureInPicture:!0})]})})}},86354:function(A,e,t){"use strict";t.d(e,{VideoCards:function(){return c}});var s=t(57437),a=t(2265),l=t(56800),r=t.n(l),n=t(79467),i=t(12451);let c=A=>{let{cards:e}=A,{width:t}=(0,n.dz)(),[l,c]=(0,a.useState)(null),u=t>=1280,d=A=>{c(A)};return(0,s.jsx)("section",{className:"layout-grid layout-px pb-4 pt-4 md:pb-6 md:pt-6 gap-y-4",children:e.map((A,e)=>{let{heading:t,subheading:a,text:n,videoURL:x}=A,h=e===l;return(0,s.jsx)(i.Jq,{className:r()("col-span-full rounded-lg border p-4 md:col-span-4 xl:col-span-4",{"text-grey border-grey":!h,"text-black-20 border-black-20":h}),children:(0,s.jsxs)("article",{className:r()("transition-[color] duration-200 ease-in-out flex flex-col gap-4",{"text-grey":!h,"text-black-20":h}),onMouseEnter:()=>d(e),onMouseLeave:()=>c(null),children:[(0,s.jsx)("h4",{className:"t-h2",children:t}),u&&(0,s.jsx)(o,{url:x,isPlaying:h}),!u&&(0,s.jsx)(i.nk,{url:x,autoPlay:!0}),(0,s.jsx)("h5",{className:"t-b2",children:a}),(0,s.jsx)("p",{className:"t-b2",children:n})]})},e)})})},o=A=>{let{url:e,isPlaying:t=!1}=A,l=(0,a.useRef)(null);return(0,a.useEffect)(()=>{(null==l?void 0:l.current)&&(t?l.current.play():l.current.pause())},[t]),(0,s.jsx)("video",{className:r()("transition-all",{grayscale:!t}),ref:l,src:e,playsInline:!0,muted:!0,loop:!0,disablePictureInPicture:!0})}},90948:function(A){A.exports={portableTextContainer:"styles_portableTextContainer__Ssubu"}},95431:function(A){A.exports={portableTextContainer:"styles_portableTextContainer__Luft_"}},69753:function(A,e,t){"use strict";t.r(e),e.default={src:"/_next/static/media/carousel_altr.1605f3aa.jpg",height:500,width:387,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAIAAYDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAb/xAAUAQEAAAAAAAAAAAAAAAAAAAAB/9oADAMBAAIQAxAAAAGWCf/EABYQAQEBAAAAAAAAAAAAAAAAAAIBEf/aAAgBAQABBQLDD//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Bf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Bf//EABcQAQADAAAAAAAAAAAAAAAAAAEAETH/2gAIAQEABj8CNtn/xAAXEAEBAQEAAAAAAAAAAAAAAAABEQAx/9oACAEBAAE/ISUZqk5v/9oADAMBAAIAAwAAABAH/8QAFREBAQAAAAAAAAAAAAAAAAAAABH/2gAIAQMBAT8Qr//EABURAQEAAAAAAAAAAAAAAAAAAAEA/9oACAECAQE/EAv/xAAXEAEBAQEAAAAAAAAAAAAAAAABEQBx/9oACAEBAAE/EGaCRQDZHm//2Q==",blurWidth:6,blurHeight:8}},51340:function(A,e,t){"use strict";t.r(e),e.default={src:"/_next/static/media/carousel_dirtt.fe9e887c.jpg",height:500,width:387,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAIAAYDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAb/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAGOB//EABUQAQEAAAAAAAAAAAAAAAAAABEh/9oACAEBAAEFAof/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oACAEDAQE/AX//xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oACAECAQE/AX//xAAUEAEAAAAAAAAAAAAAAAAAAAAA/9oACAEBAAY/An//xAAXEAADAQAAAAAAAAAAAAAAAAAAARFh/9oACAEBAAE/IdnT/9oADAMBAAIAAwAAABDz/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPxB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAgEBPxB//8QAGBABAQADAAAAAAAAAAAAAAAAAREAIVH/2gAIAQEAAT8QSWrgLn//2Q==",blurWidth:6,blurHeight:8}},29047:function(A,e,t){"use strict";t.r(e),e.default={src:"/_next/static/media/carousel_euphemia.b6fe7893.jpg",height:500,width:874,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAFAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAP/xAAVAQEBAAAAAAAAAAAAAAAAAAAAAf/aAAwDAQACEAMQAAABkI//xAAXEAEAAwAAAAAAAAAAAAAAAAACAQME/9oACAEBAAEFAtaNkf/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Bf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Bf//EABgQAAIDAAAAAAAAAAAAAAAAAAECABIi/9oACAEBAAY/AmIWuZ//xAAaEAAABwAAAAAAAAAAAAAAAAAAAREhMVFx/9oACAEBAAE/IZCoxJWD/9oADAMBAAIAAwAAABD7/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPxB//8QAFhEAAwAAAAAAAAAAAAAAAAAAABEh/9oACAECAQE/EFT/xAAYEAEAAwEAAAAAAAAAAAAAAAABABFBcf/aAAgBAQABPxADhKKxnB2f/9k=",blurWidth:8,blurHeight:5}},1061:function(A,e,t){"use strict";t.r(e),e.default={src:"/_next/static/media/carousel_fluff.7473d27b.jpg",height:500,width:874,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAFAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAP/xAAUAQEAAAAAAAAAAAAAAAAAAAAE/9oADAMBAAIQAxAAAAGIKz//xAAWEAEBAQAAAAAAAAAAAAAAAAADAhP/2gAIAQEAAQUCzhW//8QAFxEAAwEAAAAAAAAAAAAAAAAAAAECEf/aAAgBAwEBPwGFsn//xAAWEQEBAQAAAAAAAAAAAAAAAAABAAL/2gAIAQIBAT8B0o3/xAAcEAAABgMAAAAAAAAAAAAAAAAAAQIREhMhIkH/2gAIAQEABj8CLWNamx0f/8QAGBAAAgMAAAAAAAAAAAAAAAAAAREAQVH/2gAIAQEAAT8hT1BOwDZ//9oADAMBAAIAAwAAABAL/8QAFREBAQAAAAAAAAAAAAAAAAAAAQD/2gAIAQMBAT8QIFL/xAAVEQEBAAAAAAAAAAAAAAAAAAABAP/aAAgBAgEBPxBgDf/EABkQAQACAwAAAAAAAAAAAAAAAAEAMREhQf/aAAgBAQABPxBWHJNEFMu1c//Z",blurWidth:8,blurHeight:5}},57194:function(A,e,t){"use strict";t.r(e),e.default={src:"/_next/static/media/carousel_karst.0934accc.jpg",height:500,width:387,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAIAAYDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAVAQEBAAAAAAAAAAAAAAAAAAAAAf/aAAwDAQACEAMQAAABjBP/xAAWEAEBAQAAAAAAAAAAAAAAAAABAxP/2gAIAQEAAQUCSWX/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oACAEDAQE/AX//xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oACAECAQE/AX//xAAZEAEAAgMAAAAAAAAAAAAAAAABAAISMWH/2gAIAQEABj8CriDZ3yf/xAAXEAEAAwAAAAAAAAAAAAAAAAABACGx/9oACAEBAAE/IV31LxP/2gAMAwEAAgADAAAAEP8A/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPxB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAgEBPxB//8QAGhABAAEFAAAAAAAAAAAAAAAAAQARIUFRkf/aAAgBAQABPxALSBCqCwsb5P/Z",blurWidth:6,blurHeight:8}},96457:function(A,e,t){"use strict";t.r(e),e.default={src:"/_next/static/media/carousel_loungeface.b377ec8f.jpg",height:500,width:387,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAIAAYDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAL/xAAVAQEBAAAAAAAAAAAAAAAAAAADBP/aAAwDAQACEAMQAAABkDV//8QAFhABAQEAAAAAAAAAAAAAAAAAAgMU/9oACAEBAAEFAqI5v//EABURAQEAAAAAAAAAAAAAAAAAABEA/9oACAEDAQE/AUv/xAAVEQEBAAAAAAAAAAAAAAAAAAAAEf/aAAgBAgEBPwGP/8QAFxAAAwEAAAAAAAAAAAAAAAAAAAECEf/aAAgBAQAGPwKMZ//EABgQAAIDAAAAAAAAAAAAAAAAAAABITGx/9oACAEBAAE/IZ+OsP/aAAwDAQACAAMAAAAQA//EABURAQEAAAAAAAAAAAAAAAAAAAAR/9oACAEDAQE/EKP/xAAWEQADAAAAAAAAAAAAAAAAAAAAARH/2gAIAQIBAT8Qhn//xAAaEAACAgMAAAAAAAAAAAAAAAABEQAxIUFR/9oACAEBAAE/ED0A8rFubbn/2Q==",blurWidth:6,blurHeight:8}},89762:function(A,e,t){"use strict";t.r(e),e.default={src:"/_next/static/media/carousel_otto.c58f8319.jpg",height:500,width:874,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAFAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAVAQEBAAAAAAAAAAAAAAAAAAACA//aAAwDAQACEAMQAAABgCi//8QAFhABAQEAAAAAAAAAAAAAAAAAAgES/9oACAEBAAEFAk8X/8QAFREBAQAAAAAAAAAAAAAAAAAAAAH/2gAIAQMBAT8Br//EABURAQEAAAAAAAAAAAAAAAAAAAAB/9oACAECAQE/Aa//xAAXEAADAQAAAAAAAAAAAAAAAAAAARFR/9oACAEBAAY/AosP/8QAFxABAQEBAAAAAAAAAAAAAAAAAREhAP/aAAgBAQABPyG4cNsce//aAAwDAQACAAMAAAAQ/wD/xAAVEQEBAAAAAAAAAAAAAAAAAAABAP/aAAgBAwEBPxBI3//EABYRAQEBAAAAAAAAAAAAAAAAAAEAEf/aAAgBAgEBPxBo4X//xAAZEAABBQAAAAAAAAAAAAAAAAABABEhQXH/2gAIAQEAAT8QISYgyTKX/9k=",blurWidth:8,blurHeight:5}},60771:function(A,e,t){"use strict";t.r(e),e.default={src:"/_next/static/media/carousel_paire.39280f33.jpg",height:500,width:387,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAIAAYDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAVAQEBAAAAAAAAAAAAAAAAAAAEBv/aAAwDAQACEAMQAAABiAVJ/8QAFRABAQAAAAAAAAAAAAAAAAAAACH/2gAIAQEAAQUCj//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Bf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Bf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEABj8Cf//EABcQAAMBAAAAAAAAAAAAAAAAAAABIRH/2gAIAQEAAT8hczUz/9oADAMBAAIAAwAAABAP/8QAFREBAQAAAAAAAAAAAAAAAAAAABH/2gAIAQMBAT8Qj//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Qf//EABgQAQADAQAAAAAAAAAAAAAAAAEAESGh/9oACAEBAAE/EAyq5og9n//Z",blurWidth:6,blurHeight:8}},81807:function(A,e,t){"use strict";t.r(e),e.default={src:"/_next/static/media/carousel_polaroid.101b4888.jpg",height:500,width:387,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAIAAYDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAb/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAGOB//EABUQAQEAAAAAAAAAAAAAAAAAABEh/9oACAEBAAEFAof/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oACAEDAQE/AX//xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oACAECAQE/AX//xAAUEAEAAAAAAAAAAAAAAAAAAAAA/9oACAEBAAY/An//xAAYEAACAwAAAAAAAAAAAAAAAAAAEQEhQf/aAAgBAQABPyGak3p//9oADAMBAAIAAwAAABAD/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPxB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAgEBPxB//8QAFxABAAMAAAAAAAAAAAAAAAAAEQCBof/aAAgBAQABPxDa4Kn/2Q==",blurWidth:6,blurHeight:8}},70006:function(A,e,t){"use strict";t.r(e),t.d(e,{default:function(){return c}});var s=t(16463);t(74590);var a=(0,t(58064).$)("cf2ab194ff25ea1ae9bb919ff7d5ec17376b71ce"),l=t(2265);function r(A){let e=A.indexOf("#"),t=A.indexOf("?"),s=t>-1&&(e<0||t<e);return s||e>-1?{pathname:A.substring(0,s?t:e),query:s?A.substring(t,e>-1?e:void 0):"",hash:e>-1?A.slice(e):""}:{pathname:A,query:"",hash:""}}function n(A,e){if(!function(A,e){if("string"!=typeof A)return!1;let{pathname:t}=r(A);return t===e||t.startsWith("".concat(e,"/"))}(A,e))return A;let t=A.slice(e.length);return t.startsWith("/")?t:"/".concat(t)}let i=(A,e)=>{let{pathname:t,query:s,hash:a}=r(A);return e?t.endsWith("/")?"".concat(t).concat(s).concat(a):"".concat(t,"/").concat(s).concat(a):"".concat(t.replace(/\/$/,"")||"/").concat(s).concat(a)};function c(A){let{refresh:e,zIndex:c,basePath:o="",trailingSlash:u=!1}=A,d=(0,s.useRouter)(),x=(0,l.useRef)(d),[h,m]=(0,l.useState)();(0,l.useEffect)(()=>{x.current=d},[d]),(0,l.useEffect)(()=>{let A=function(A={}){let e=new AbortController;return Promise.all([t.e(1145),t.e(3065)]).then(t.bind(t,30386)).then(({renderVisualEditing:t})=>{let{signal:s}=e;s.aborted||t(s,A)}),()=>{e.abort()}}({zIndex:c,refresh:e||(A=>{switch(A.source){case"manual":return A.livePreviewEnabled?s():l();case"mutation":return A.livePreviewEnabled?r():i();default:throw Error("Unknown refresh source",{cause:A})}}),history:{subscribe:A=>(m(()=>A),()=>m(void 0)),update:A=>{switch(A.type){case"push":return x.current.push(n(A.url,o));case"pop":return x.current.back();case"replace":return x.current.replace(n(A.url,o));default:throw Error("Unknown update type: ".concat(A.type))}}}}),s=()=>(console.debug("Live preview is setup, calling router.refresh() to refresh the server components without refetching cached data"),x.current.refresh(),Promise.resolve()),l=()=>(console.debug("No loaders in live mode detected, or preview kit setup, revalidating root layout"),a()),r=()=>(console.debug("Live preview is setup, mutation is skipped assuming its handled by the live preview"),!1),i=()=>(console.debug("No loaders in live mode detected, or preview kit setup, revalidating root layout"),a());return()=>A()},[o,e,c]);let p=(0,s.usePathname)(),g=(0,s.useSearchParams)();return(0,l.useEffect)(()=>{h&&h({type:"push",url:i(function(A,e){if(!A.startsWith("/")||!e)return A;if("/"===A&&e)return e;let{pathname:t,query:s,hash:a}=r(A);return"".concat(e).concat(t).concat(s).concat(a)}("".concat(p).concat((null==g?void 0:g.size)?"?".concat(g):""),o),u)})},[o,h,p,g,u]),null}}}]);