1import{d as T,x as S,b as G,o as q,y as N,a3 as ne,f as y,g as v,h as M,F as B,r as O,t as $,l as U,i as p,n as P,v as A,A as R,a4 as oe,a as ae,a5 as re,H as ie,c as le,e as X,j as H,k as D,O as ce,a0 as ue,B as de,C as he,s as F,Z as fe,I as me,a6 as pe,L as ge,u as ye}from"./BNO0s2JY.js";import{r as W}from"./Bey_0ktA.js";import{u as _e}from"./EEesKCcZ.js";const be={class:"hero-logos"},ve=["src","alt"],Me={key:1,class:"--size-label-S --color-light-secondary"},Ee=["aria-hidden"],xe=["src","alt"],Se={key:1,class:"--size-label-S --color-light-secondary"},we=T({__name:"hero-logos",props:{logos:{},deferMarquee:{type:Boolean,default:!1}},setup(e){const t=e,s=S(null),a=S(null),o=S(0),r=S(!1),i=S(2),l=A(()=>t.logos.map(h=>`${x(h)}:${h.logo??""}`).join("|"));let f=0,d=null;const m=S(!t.deferMarquee),b=A(()=>m.value&&o.value>0&&r.value),g=A(()=>Array.from({length:i.value},(h,w)=>w)),E=A(()=>{if(o.value)return{"--hero-logos-scroll-distance":`${o.value}px`,"--hero-logos-scroll-duration":`${Math.max(18,o.value/72)}s`}});function x(h){return h._key||h.name}function n(h){return h.logo||""}function c(){const h=a.value?Array.from(a.value.querySelectorAll("img")):[],w=a.value?.getBoundingClientRect().width??0,k=s.value?.getBoundingClientRect().width??0;r.value=h.length===0||h.every(L=>L.complete),!(!w||!k)&&(o.value=w,i.value=Math.max(2,Math.ceil(k/w)+2))}function _(){f&&cancelAnimationFrame(f),f=requestAnimationFrame(()=>{f=0,c()})}function u(){if(!t.deferMarquee)return;const h=()=>{m.value=!0,_()},w=typeof window.requestIdleCallback=="function"?window.requestIdleCallback.bind(window):null;w?w(h,{timeout:2800}):window.setTimeout(h,2200)}return G(()=>t.deferMarquee,h=>{h||(m.value=!0)}),q(async()=>{await N(),t.deferMarquee?u():_(),d=new ResizeObserver(()=>_()),s.value&&d.observe(s.value),a.value&&d.observe(a.value),document.fonts?.ready.then(()=>_())}),ne(()=>{d?.disconnect(),f&&cancelAnimationFrame(f)}),G(l,async()=>{r.value=!1,await N(),_()}),(h,w)=>(y(),v("div",be,[w[0]||(w[0]=M("div",{class:"hero-logos__backdrop","aria-hidden":"true"},[M("div",{class:"hero-logos__backdrop-circle"})],-1)),M("div",{ref_key:"marqueeElement",ref:s,class:"hero-logos__marquee"},[M("ul",{ref_key:"measureListElement",ref:a,class:"hero-logos__list hero-logos__list--measure","aria-hidden":"true"},[(y(!0),v(B,null,O(e.logos,k=>(y(),v("li",{key:`measure-${x(k)}`,class:"hero-logos__item"},[k.logo?(y(),v("img",{key:0,src:n(k),alt:k.name,decoding:"async"},null,8,ve)):(y(),v("span",Me,$(k.name),1))]))),128))],512),M("div",{class:P(["hero-logos__track",{"is-ready":p(b)}]),style:U(p(E))},[(y(!0),v(B,null,O(p(g),k=>(y(),v("ul",{key:`sequence-${k}`,class:"hero-logos__list","aria-hidden":k>0?"true":void 0},[(y(!0),v(B,null,O(e.logos,L=>(y(),v("li",{key:`${k}-${x(L)}`,class:"hero-logos__item"},[L.logo?(y(),v("img",{key:0,src:n(L),alt:L.name,decoding:"async"},null,8,xe)):(y(),v("span",Se,$(L.name),1))]))),128))],8,Ee))),128))],6)],512)]))}}),ke=Object.assign(R(we,[["__scopeId","data-v-184cf14c"]]),{__name:"ContentHomeHeroLogos"}),Ae=["href","aria-label"],Le=["viewBox"],Ce=["cx","cy","r","pathLength"],V=1.5,Ie=44,$e=T({__name:"scroll-cue",props:{href:{},label:{default:"Scroll to the next section"}},setup(e){const t=e,s=S(null),{w:a}=oe(s),{getHomeAnchorIdFromHref:o,navigateToHomeAnchorHref:r}=ae(),i=A(()=>a.value||Ie),l=A(()=>Math.max(1,Math.round(Math.PI*(i.value-V)/re)));function f(d){d.defaultPrevented||d.button!==0||d.metaKey||d.ctrlKey||d.shiftKey||d.altKey||o(t.href)&&(d.preventDefault(),r(t.href))}return(d,m)=>(y(),v("a",{ref_key:"cueEl",ref:s,class:"scroll-cue",href:e.href,"aria-label":e.label,onClick:f},[(y(),v("svg",{class:"scroll-cue__ring",viewBox:`0 0 ${p(i)} ${p(i)}`,"aria-hidden":"true"},[M("circle",{cx:p(i)/2,cy:p(i)/2,r:p(i)/2-V/2,pathLength:p(l),"stroke-dasharray":"0.001 1","stroke-linecap":"round"},null,8,Ce)],8,Le)),m[0]||(m[0]=M("svg",{class:"scroll-cue__arrow",viewBox:"0 0 16 16","aria-hidden":"true"},[M("path",{d:"M8 2.75v10.5M3.75 9l4.25 4.25L12.25 9","vector-effect":"non-scaling-stroke"})],-1))],8,Ae))}}),Te=Object.assign(R($e,[["__scopeId","data-v-87a2ae62"]]),{__name:"ContentHomeScrollCue"}),it=!1;function Y(){const e=performance.getEntriesByName("first-contentful-paint")[0]??performance.getEntriesByType("paint")[0];return performance.now()-(e?.startTime??0)}const Z="fin-home-intro-skip",Re=7;function lt(){try{return Number(localStorage.getItem(Z))>Date.now()}catch{return!1}}function ct(){try{localStorage.setItem(Z,String(Date.now()+Re*864e5))}catch{}}const K=ie({});function ut(e){e in K||(K[e]=Math.round(Y()))}function He(e){return Math.max(0,e-Y())}const Be={class:"hero__content"},Oe={class:"--size-body --color-light-secondary"},De={class:"hero__ctas"},Ge=3900,qe=T({__name:"hero",props:{data:{},deferHeroLogos:{type:Boolean,default:!1},scrollCueTargetId:{default:null}},setup(e){const t=e,s=le("home-intro",()=>!1),a=S(!1),o=S(null),r=_e(o,A(()=>t.data.headline??""),{duration:900});let i=0;q(()=>{s.value&&(i=window.setTimeout(()=>{a.value=!0,r.play()},He(Ge)))}),X(()=>window.clearTimeout(i));const l=A(()=>t.scrollCueTargetId?`/#${t.scrollCueTargetId}`:null),f=A(()=>W(t.data.primaryCtaLink??null)),d=A(()=>W(t.data.secondaryCtaLink??null));return(m,b)=>{const g=ce,E=ke,x=Te;return y(),v("section",{class:P(["hero",{"hero--intro-started":p(a)}])},[M("div",Be,[M("h1",{ref_key:"headlineEl",ref:o,class:"--size-XXL --color-light-primary"},$(e.data.headline),513),M("p",Oe,$(e.data.description),1),M("div",De,[e.data.primaryCtaLabel&&(p(f).href||p(f).isDisabled)?(y(),H(g,{key:0,tag:"a",href:p(f).href??void 0,target:p(f).target,rel:p(f).rel,label:e.data.primaryCtaLabel,variant:"primary",color:"stone",disabled:p(f).isDisabled,"track-location":"home-hero-primary"},null,8,["href","target","rel","label","disabled"])):D("",!0),e.data.secondaryCtaLabel&&(p(d).href||p(d).isDisabled)?(y(),H(g,{key:1,tag:"a",href:p(d).href??void 0,target:p(d).target,rel:p(d).rel,label:e.data.secondaryCtaLabel,variant:"secondary",color:"stone",disabled:p(d).isDisabled,"track-location":"home-hero-secondary"},null,8,["href","target","rel","label","disabled"])):D("",!0)])]),e.data.customerLogos?.length?(y(),H(E,{key:0,logos:e.data.customerLogos,"defer-marquee":t.deferHeroLogos},null,8,["logos","defer-marquee"])):p(l)?(y(),H(x,{key:1,href:p(l)},null,8,["href"])):D("",!0)],2)}}}),dt=Object.assign(R(qe,[["__scopeId","data-v-31fe645b"]]),{__name:"ContentHomeHero"}),Pe={};function ze(e,t){return y(),v("span",null,[ue(e.$slots,"default",{},void 0,!0)])}const ht=Object.assign(R(Pe,[["render",ze],["__scopeId","data-v-be6cc535"]]),{__name:"ContentHomeTextReveal"});var Q=class C{element;options={};data;currentMeasures={};prevMeasures={};isInitialRender=!0;prefersReducedMotion=!1;mediaQuery;static styleEl;constructor(t){if(this.options={locale:"en",duration:400,scale:!0,ease:"cubic-bezier(0.19, 1, 0.22, 1)",respectReducedMotion:!0,...t},this.element=t.element,typeof window<"u"&&this.options.respectReducedMotion){this.mediaQuery=window.matchMedia("(prefers-reduced-motion: reduce)"),this.prefersReducedMotion=this.mediaQuery.matches;let s=a=>{this.prefersReducedMotion=a.matches};this.mediaQuery.addEventListener("change",s)}this.isDisabled()||(this.element.setAttribute("torph-root",""),this.element.style.transitionDuration=`${this.options.duration}ms`,this.element.style.transitionTimingFunction=this.options.ease,t.debug&&this.element.setAttribute("torph-debug","")),this.data=this.element.innerHTML,this.isDisabled()||this.addStyles()}destroy(){this.mediaQuery&&this.mediaQuery.removeEventListener("change",this.handleMediaQueryChange),this.element.getAnimations().forEac
1h(t=>t.cancel()),this.element.removeAttribute("torph-root"),this.element.removeAttribute("torph-debug"),this.removeStyles()}handleMediaQueryChange=t=>{this.prefersReducedMotion=t.matches};isDisabled(){return!!(this.options.disabled||this.options.respectReducedMotion&&this.prefersReducedMotion)}update(t){if(t!==this.data){if(this.data=t,this.isDisabled()){typeof t=="string"&&(this.element.textContent=t);return}if(this.data instanceof HTMLElement)throw new Error("HTMLElement not yet supported");this.options.onAnimationStart&&!this.isInitialRender&&this.options.onAnimationStart(),this.createTextGroup(this.data,this.element)}}createTextGroup(t,s){let a=s.offsetWidth,o=s.offsetHeight,r=t.includes(" "),i;if(typeof Intl.Segmenter<"u"){let n=new Intl.Segmenter(this.options.locale,{granularity:r?"word":"grapheme"}).segment(t)[Symbol.iterator]();i=this.blocks(n)}else i=this.blocksFallback(t,r);this.prevMeasures=this.measure();let l=Array.from(s.children),f=new Set(i.map(n=>n.id)),d=l.filter(n=>!f.has(n.getAttribute("torph-id"))&&!n.hasAttribute("torph-exiting")),m=new Set(d),b=new Map;for(let n=0;n<l.length;n++){let c=l[n];if(!m.has(c))continue;let _=null;for(let u=n+1;u<l.length;u++){let h=l[u].getAttribute("torph-id");if(f.has(h)&&!m.has(l[u])){_=h;break}}if(!_)for(let u=n-1;u>=0;u--){let h=l[u].getAttribute("torph-id");if(f.has(h)&&!m.has(l[u])){_=h;break}}b.set(c,_)}let g=s.getBoundingClientRect();if(d.forEach(n=>{let c=n.getBoundingClientRect();n.setAttribute("torph-exiting",""),n.style.position="absolute",n.style.pointerEvents="none",n.style.left=`${c.left-g.left}px`,n.style.top=`${c.top-g.top}px`,n.style.width=`${c.width}px`,n.style.height=`${c.height}px`}),l.forEach(n=>{let c=n.getAttribute("torph-id");f.has(c)&&n.remove()}
1),i.forEach(n=>{let c=document.createElement("span");c.setAttribute("torph-item",""),c.setAttribute("torph-id",n.id),c.textContent=n.string,s.appendChild(c)}),this.currentMeasures=this.measure(),this.updateStyles(i),d.forEach(n=>{if(this.isInitialRender){n.remove();return}let c=b.get(n),_=0,u=0;if(c&&this.prevMeasures[c]&&this.currentMeasures[c]){let w=this.prevMeasures[c],k=this.currentMeasures[c];_=k.x-w.x,u=k.y-w.y}n.getAnimations().forEach(w=>w.cancel()),n.animate({transform:this.options.scale?`translate(${_}px, ${u}px) scale(0.95)`:`translate(${_}px, ${u}px)`,offset:1},{duration:this.options.duration,easing:this.options.ease,fill:"both"});let h=n.animate({opacity:0,offset:1},{duration:this.options.duration*.25,easing:"linear",fill:"both"});h.onfinish=()=>n.remove()}),this.isInitialRender){this.isInitialRender=!1,s.style.width="auto",s.style.height="auto";return}if(a===0||o===0)return;s.style.width="auto",s.style.height="auto",s.offsetWidth;let E=s.offsetWidth,x=s.offsetHeight;s.style.width=`${a}px`,s.style.height=`${o}px`,s.offsetWidth,s.style.width=`${E}px`,s.style.height=`${x}px`,setTimeout(()=>{s.style.width="auto",s.style.height="auto",this.options.onAnimationComplete&&this.options.onAnimationComplete()},this.options.duration)}measure(){let t=Array.from(this.element.children),s={};return t.forEach((a,o)=>{if(a.hasAttribute("torph-exiting"))return;let r=a.getAttribute("torph-id")||`child-${o}`;s[r]={x:a.offsetLeft,y:a.offsetTop}}),s}updateStyles(t){if(this.isInitialRender)return;let s=Array.from(this.element.children),a=new Set(t.map(o=>o.id).filter(o=>this.prevMeasures[o]));s.forEach((o,r)=>{if(o.hasAttribute("torph-exiting"))return;let i=o.getAttribute("torph-id")||`child-${r}`,l=this.prevMeasures[i],f=this.currentMeasures[i],d=f?.x||0,m=f?.y||0,b=l?l.x-d:0,g=l?l.y-m:0,E=!l;if(E){let c=t.findIndex(u=>u.id===i),_=null;for(let u=c-1;u>=0;u--)if(a.has(t[u].id)){_=t[u].id;break}if(!_){for(let u=c+1;u<t.length;u++)if(a.has(t[u].id)){_=t[u].id;break}}if(_){let u=this.prevMeasures[_],h=this.currentMeasures[_];b=u.x-h.x,g=u.y-h.y}}o.getAnimations().forEach(c=>c.cancel()),o.animate({transform:`translate(${b}px, ${g}px) scale(${E?.95:1})`,offset:0},{duration:this.options.duration,easing:this.options.ease,fill:"both"});let x=E?this.options.duration*.25:0,n=E?this.options.duration*.25:0;o.animate({opacity:E?0:1,offset:0},{duration:x,delay:n,easing:"linear",fill:"both"})})}addStyles(){if(C.styleEl)return;let t=document.createElement("style");t.dataset.torph="true",t.innerHTML=` 2[torph-root] { 3 display: inline-flex; 4 position: relative; 5 will-change: width, height; 6 transition-property: width, height; 7 white-space: nowrap; 8} 9 10[torph-item] { 11 display: inline-block; 12 will-change: opacity, transform; 13 transform: none; 14 opacity: 1; 15} 16 17[torph-root][torph-debug] { 18 outline:2px solid magenta; 19 [torph-item] { 20 outline:2px solid cyan; 21 outline-offset: -4px; 22 } 23} 24 `,document.head.appendChild(t),C.styleEl=t}removeStyles(){C.styleEl&&(C.styleEl.remove(),C.styleEl=void 0)}blocks(t){return Array.from(t).reduce((s,a)=>a.segment===" "?[...s,{id:`space-${a.index}`,string:"Â "}]:s.find(o=>
24o.string===a.segment)?[...s,{id:`${a.segment}-${a.index}`,string:a.segment}]:[...s,{id:a.segment,string:a.segment}],[])}blocksFallback(t,s){let a=s?t.split(" "):t.split(""),o=[];return s?a.forEach((r,i)=>{i>0&&o.push({id:`space-${i}`,string:"Â "}),o.find(l=>l.string===r)?o.push({id:`${r}-${i}`,string:r}):o.push({id:r,string:r})}):a.forEach((r,i)=>{o.find(l=>l.string===r)?o.push({id:`${r}-${i}`,string:r}):o.push({id:r,string:r})}),o}log(...t){this.options.debug&&console.log("[TextMorph]",...t)}};const Ne={class:"stats"},Fe={class:"stats__inner"},We={class:"stats__label --size-label-XS"},Ve=T({__name:"stats-block",props:{stats:{},animated:{type:Boolean,default:!0},backdropOpacity:{default:1},highlightValues:{type:Boolean,default:!1}},setup(e){const t=e,s=[],a=[];let o=[],r=[];function i(){o.forEach(m=>m.destroy()),r.forEach(m=>m.destroy()),o=[],r=[]}function l(m){m.forEach((b,g)=>{s[g]&&(s[g].textContent=b.value),a[g]&&(a[g].textContent=b.description)})}function f(m){if(!o.length&&!r.length){m.forEach((b,g)=>{const E=s[g],x=a[g];if(!E||!x)return;E.textContent="",x.textContent="";const n=new Q({element:E}),c=new Q({element:x});o.push(n),r.push(c),n.update(b.value),c.update(b.description)});return}m.forEach((b,g)=>{o[g]?.update(b.value),r[g]?.update(b.description)})}function d(m){if(!t.animated){i(),l(m);return}f(m)}return q(()=>{d(t.stats)}),G(()=>[t.stats,t.animated],()=>{d(t.stats)},{deep:!0}),X(()=>{i()}),(m,b)=>{const g=he("dotted");return y(),v("div",Ne,[M("div",{class:"stats__backdrop",style:U({opacity:e.backdropOpacity}),"aria-hidden":"true"},[...b[0]||(b[0]=[M("div",{class:"stats__backdrop-circle"},null,-1)])],4),M("div",Fe,[(y(!0),v(B,null,O(e.stats,(E,x)=>de((y(),v("div",{key:x,class:"stats__item"},[M("p",We,$(E.label),1),M("p",{ref_for:!0,ref:n=>{n&&(s[x]=n)},class:P(["stats__value --size-M",{"stats__value--gold":e.highlightValues}])},null,2),M("p",{ref_for:!0,ref:n=>{n&&(a[x]=n)},class:"stats__description --size-body-XS"},null,512)])),[[g,["left"]]])),128))])])}}}),ft=Object.assign(R(Ve,[["__scopeId","data-v-caec1408"]]),{__name:"ContentHomeStatsBlock"});function Ke(e,t){return(s,a)=>T({inheritAttrs:!1,props:e,emits:["hydrated"],setup(o,r){const i=F({loader:a}),l=F({hydrate:t(o),loader:()=>Promise.resolve(i)}),f=()=>{r.emit("hydrated")};return()=>fe(l,me(r.attrs,{onVnodeMounted:f}),r.slots)}})}const mt=Ke({hydrateOnVisible:{type:[Object,Boolean],required:!1,default:!0}},e=>pe(e.hydrateOnVisible===!0?void 0:e.hydrateOnVisible)),Qe=ge(null),je=S(0),J=S(!1),Ue=S(!0),Xe=S(1),ee=S(!1),te=S(!1),Ye=A(()=>ee.value&&!J.value),pt=A(()=>Ye.value&&!te.value);function gt(e,t){const s=parseFloat(getComputedStyle(e).paddingTop)||0;return e.getBoundingClientRect().top+window.scrollY+s+t.offsetTop}function yt(){Qe.value=null,je.value=0,J.value=!1,ee.value=!1,te.value=!1,Ue.value=!0,Xe.value=1}const Ze=1024,j=900,Je=1400;function I(e){if(e==null)return!1;const t=Array.isArray(e)?e[0]:String(e);return t==="0"||t==="false"}function et(e){if(e==null)return!1;const t=Array.isArray(e)?e[0]:String(e);return t==="1"||t==="true"}function tt(e){return{globe:!I(e.homeGlobe),hashTick:et(e.homeHash)?!0:!I(e.homeHash),heroLogos:!I(e.homeHeroLogos),statsMorph:!I(e.homeStatsMorph),globePause:!I(e.homeGlobePause)}}function st(){if(typeof navigator>"u")return!1;const e=navigator;return e.connection?.saveData===!0||typeof e.deviceMemory=="number"&&e.deviceMemory<=4||typeof navigator.hardwareConcurrency=="number"&&navigator.hardwareConcurrency<=4}function _t(){if(typeof window>"u")return j;if(window.innerWidth>=Ze)return 0;const e=j;return st()?e+Je:e}function bt(){const e=ye();return A(()=>tt(e.query))}const vt=S(1),nt=S(0);let z=null,se={x:0,y:0,radius:0};function Mt(){return z!==null}function Et(e){z=e,e&&e(se)}function xt(e){se=e,z?.(e)}function St(e){nt.value=Math.min(1,Math.max(0,e))}export{xt as A,Ze as G,it as H,ht as _,_t as a,ft as b,J as c,dt as d,mt as e,je as f,vt as g,Qe as h,nt as i,lt as j,gt as k,ee as l,He as m,te as n,K as o,Ye as p,Xe as q,yt as r,Et as s,Ue as t,bt as u,ut as v,ct as w,St as x,pt as y,Mt as z};
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.