1import{c as $e,j as a,r as u,a as ct}from"./app-_lXdxTZ-.js";import{h as ae,P as z,g as Q,c as Ft,f as Z,j as Vt,d as U,k as eo,l as to,R as no,m as oo,n as ro,b as dt,o as so,p as io,u as bt,C as Wt,B as St,i as ao,S as lo,N as co,F as uo}from"./SEOHead-DrIdU5eQ.js";import{H as fo}from"./HeroSphereMedia-DAD3rSWF.js";import{c as po,u as mo}from"./index-Dlyfbr7b.js";import{C as $t}from"./check-CoHYsPDH.js";import{R as Ct,T as Nt}from"./hubspotFormOptions-CxK7Q2AE.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const ho=$e("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** 7 * @license lucide-react v0.462.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const go=$e("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 12 * @license lucide-react v0.462.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const xo=$e("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/** 17 * @license lucide-react v0.462.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */const wo=$e("MailX",[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h9",key:"1j9vog"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m17 17 4 4",key:"1b3523"}],["path",{d:"m21 17-4 4",key:"uinynz"}]]),vo=()=>a.jsxs("section",{className:"relative overflow-hidden bg-impact-hero pt-0 pb-16 lg:min-h-[55vh]",children:[a.jsx(fo,{}),a.jsxs("div",{className:"pointer-events-none absolute inset-0",children:[a.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.15) 65%, transparent 100%)"}}),a.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 25%)"}}),a.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"linear-gradient(to left, rgba(0,0,0,0.5) 0%, transparent 15%)"}}),a.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 20%)"}})]}),a.jsx("div",{className:"relative z-10 w-full max-w-7xl 2xl:max-w-[1600px] px-6 pt-28 md:px-12 lg:px-16 lg:pt-40",children:a.jsxs("div",{className:"max-w-xl",children:[a.jsx("p",{className:"mb-4 text-xs font-semibold uppercase tracking-[0.2em] text-white/70 sm:text-[0.8125rem]",children:"CONTACT US"}),a.jsxs("h1",{className:"mb-5 text-balance text-4xl md:text-5xl lg:text-[70px]",children:[a.jsx("span",{className:"block text-white lg:font-normal",style:{lineHeight:"1.1"},children:"Tell us what you need."}),a.jsx("span",{className:"block text-[hsl(var(--impact-emphasis))]",style:{lineHeight:"1.1",fontWeight:700},children:"A real person will reply."})]}),a.jsx("p",{className:"max-w-xl text-white/80",style:{fontSize:"1.25rem",fontWeight:300,lineHeight:"1.5"},children:"Weekdays, we usually reply within a few hours."})]})})]}),Se=u.forwardRef(({className:e,type:t,...n},o)=>a.jsx("input",{type:t,className:ae("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:o,...n}));Se.displayName="Input";const Ut=u.forwardRef(({className:e,...t},n)=>a.jsx("textarea",{className:ae("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...t}));Ut.displayName="Textarea";function Rt(e,[t,n]){return Math.min(n,Math.max(t,e))}const yo=["top","right","bottom","left"],he=Math.min,G=Math.max,He=Math.round,De=Math.floor,ie=e=>({x:e,y:e}
vendor: 11,905 bytes, line 21
21),bo={left:"right",right:"left",bottom:"top",top:"bottom"},So={start:"end",end:"start"};function Je(e,t,n){return G(e,he(t,n))}function ue(e,t){return typeof e=="function"?e(t):e}function fe(e){return e.split("-")[0]}function Re(e){return e.split("-")[1]}function ut(e){return e==="x"?"y":"x"}function ft(e){return e==="y"?"height":"width"}const Co=new Set(["top","bottom"]);function se(e){return Co.has(fe(e))?"y":"x"}function pt(e){return ut(se(e))}function No(e,t,n){n===void 0&&(n=!1);const o=Re(e),r=pt(e),i=ft(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Be(s)),[s,Be(s)]}function Ro(e){const t=Be(e);return[Qe(e),t,Qe(t)]}function Qe(e){return e.replace(/start|end/g,t=>So[t])}const Pt=["left","right"],At=["right","left"],Po=["top","bottom"],Ao=["bottom","top"];function To(e,t,n){switch(e){case"top":case"bottom":return n?t?At:Pt:t?Pt:At;case"left":case"right":return t?Po:Ao;default:return[]}}function jo(e,t,n,o){const r=Re(e);let i=To(fe(e),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),t&&(i=i.concat(i.map(Qe)))),i}function Be(e){return e.replace(/left|right|bottom|top/g,t=>bo[t])}function Oo(e){return{top:0,right:0,bottom:0,left:0,...e}}function zt(e){return typeof e!="number"?Oo(e):{top:e,right:e,bottom:e,left:e}}function Fe(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function Tt(e,t,n){let{reference:o,floating:r}=e;const i=se(t),s=pt(t),l=ft(s),c=fe(t),d=i==="y",f=o.x+o.width/2-r.width/2,m=o.y+o.height/2-r.height/2,v=o[l]/2-r[l]/2;let h;switch(c){case"top":h={x:f,y:o.y-r.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:m};break;case"left":h={x:o.x-r.width,y:m};break;default:h={x:o.x,y:o.y}}switch(Re(t)){case"start":h[s]-=v*(n&&d?-1:1);break;case"end":h[s]+=v*(n&&d?-1:1);break}return h}const Eo=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:m}=Tt(d,o,c),v=o,h={},x=0;for(let p=0;p<l.length;p++){const{name:w,fn:b}=l[p],{x:g,y,data:C,reset:N}=await b({x:f,y:m,initialPlacement:o,placement:v,strategy:r,middlewareData:h,rects:d,platform:s,elements:{reference:e,floating:t}});f=g??f,m=y??m,h={...h,[w]:{...h[w],...C}},N&&x<=50&&(x++,typeof N=="object"&&(N.placement&&(v=N.placement),N.rects&&(d=N.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:r}):N.rects),{x:f,y:m}=Tt(d,v,c)),p=-1)}return{x:f,y:m,placement:v,strategy:r,middlewareData:h}};async function Ie(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:s,elements:l,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:m="floating",altBoundary:v=!1,padding:h=0}=ue(t,e),x=zt(h),w=l[v?m==="floating"?"reference":"floating":m],b=Fe(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:d,rootBoundary:f,strategy:c})),g=m==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),C=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},N=Fe(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:y,strategy:c}):g);return{top:(b.top-N.top+x.top)/C.y,bottom:(N.bottom-b.bottom+x.bottom)/C.y,left:(b.left-N.left+x.left)/C.x,right:(N.right-b.right+x.right)/C.x}}const Io=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:s,elements:l,middlewareData:c}=t,{element:d,padding:f=0}=ue(e,t)||{};if(d==null)return{};const m=zt(f),v={x:n,y:o},h=pt(r),x=ft(h),p=await s.getDimensions(d),w=h==="y",b=w?"top":"left",g=w?"bottom":"right",y=w?"clientHeight":"clientWidth",C=i.reference[x]+i.reference[h]-v[h]-i.floating[x],N=v[h]-i.reference[h],T=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let A=T?T[y]:0;(!A||!await(s.isElement==null?void 0:s.isElement(T)))&&(A=l.floating[y]||i.floating[x]);const k=C/2-N/2,B=A/2-p[x]/2-1,E=he(m[b],B),L=he(m[g],B),H=E,I=A-p[x]-L,O=A/2-p[x]/2+k,F=Je(H,O,I),j=!c.arrow&&Re(r)!=null&&O!==F&&i.reference[x]/2-(O<H?E:L)-p[x]/2<0,_=j?O<H?O-H:O-I:0;return{[h]:v[h]+_,data:{[h]:F,centerOffset:O-F-_,...j&&{alignmentOffset:_}},reset:j}}}),_o=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:l,platform:c,elements:d}=t,{mainAxis:f=!0,crossAxis:m=!0,fallbackPlacements:v,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:p=!0,...w}=ue(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const b=fe(r),g=se(l),y=fe(l)===l,C=await(c.isRTL==null?void 0:c.isRTL(d.floating)),N=v||(y||!p?[Be(l)]:Ro(l)),T=x!=="none";!v&&T&&N.push(...jo(l,p,x,C));const A=[l,...N],k=await Ie(t,w),B=[];let E=((o=i.flip)==null?void 0:o.overflows)||[];if(f&&B.push(k[b]),m){const O=No(r,s,C);B.push(k[O[0]],k[O[1]])}if(E=[...E,{placement:r,overflows:B}],!B.every(O=>O<=0)){var L,H;const O=(((L=i.flip)==null?void 0:L.index)||0)+1,F=A[O];if(F&&(!(m==="alignment"?g!==se(F):!1)||E.every(S=>S.overflows[0]>0&&se(S.placement)===g)))return{data:{index:O,overflows:E},reset:{placement:F}};let j=(H=E.filter(_=>_.overflows[0]<=0).sort((_,S)=>_.overflows[1]-S.overflows[1])[0])==null?void 0:H.placement;if(!j)switch(h){case"bestFit":{var I;const _=(I=E.filter(S=>{if(T){const R=se(S.placement);return R===g||R==="y"}return!0}).map(S=>[S.placement,S.overflows.filter(R=>R>0).reduce((R,$)=>R+$,0)]).sort((S,R)=>S[1]-R[1])[0])==null?void 0:I[0];_&&(j=_);break}case"initialPlacement":j=l;break}if(r!==j)return{reset:{placement:j}}}return{}}}};function jt(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ot(e){return yo.some(t=>e[t]>=0)}const ko=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=ue(e,t);switch(o){case"referenceHidden":{const i=await Ie(t,{...r,elementContext:"reference"}),s=jt(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Ot(s)}}}case"escaped":{const i=await Ie(t,{...r,altBoundary:!0}),s=jt(i,n.floating);return{data:{escapedOffsets:s,escaped:Ot(s)}}}default:return{}}}}},Yt=new Set(["left","top"]);async function Mo(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=fe(n),l=Re(n),c=se(n)==="y",d=Yt.has(s)?-1:1,f=i&&c?-1:1,m=ue(t,e);let{mainAxis:v,crossAxis:h,alignmentAxis:x}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&typeof x=="number"&&(h=l==="end"?x*-1:x),c?{x:h*f,y:v*d}:{x:v*d,y:h*f}}const Do=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:s,middlewareData:l}=t,c=await Mo(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:r+c.x,y:i+c.y,data:{...c,placement:s}}}}},Lo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:w=>{let{x:b,y:g}=w;return{x:b,y:g}}},...c}=ue(e,t),d={x:n,y:o},f=await Ie(t,c),m=se(fe(r)),v=ut(m);let h=d[v],x=d[m];if(i){const w=v==="y"?"top":"left",b=v==="y"?"bottom":"right",g=h+f[w],y=h-f[b];h=Je(g,h,y)}if(s){const w=m==="y"?"top":"left",b=m==="y"?"bottom":"right",g=x+f[w],y=x-f[b];x=Je(g,x,y)}const p=l.fn({...t,[v]:h,[m]:x});return{...p,data:{x:p.x-n,y:p.y-o,enabled:{[v]:i,[m]:s}}}}}},Ho=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=t,{offset:l=0,mainAxis:c=!0,crossAxis:d=!0}=ue(e,t),f={x:n,y:o},m=se(r),v=ut(m);let h=f[v],x=f[m];const p=ue(l,t),w=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(c){const y=v==="y"?"height":"width",C=i.reference[v]-i.floating[y]+w.mainAxis,N=i.reference[v]+i.reference[y]-w.mainAxis;h<C?h=C:h>N&&(h=N)}if(d){var b,g;const y=v==="y"?"width":"height",C=Yt.has(fe(r)),N=i.reference[m]-i.floating[y]+(C&&((b=s.offset)==null?void 0:b[m])||0)+(C?0:w.crossAxis),T=i.reference[m]+i.reference[y]+(C?0:((g=s.offset)==null?void 0:g[m])||0)-(C?w.crossAxis:0);x<N?x=N:x>T&&(x=T)}return{[v]:h,[m]:x}}}},Bo=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:i,platform:s,elements:l}=t,{apply:c=()=>{},...d}=ue(e,t),f=await Ie(t,d),m=fe(r),v=Re(r),h=se(r)==="y",{width:x,height:p}=i.floating;let w,b;m==="top"||m==="bottom"?(w=m,b=v===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(b=m,w=v==="end"?"top":"bottom");const g=p-f.top-f.bottom,y=x-f.left-f.right,C=he(p-f[w],g),N=he(x-f[b],y),T=!t.middlewareData.shift;let A=C,k=N;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(k=y),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(A=g),T&&!v){const E=G(f.left,0),L=G(f.right,0),H=G(f.top,0),I=G(f.bottom,0);h?k=x-2*(E!==0||L!==0?E+L:G(f.left,f.right)):A=p-2*(H!==0||I!==0?H+I:G(f.top,f.bottom))}await c({...t,availableWidth:k,availableHeight:A});const B=await s.getDimensions(l.floating);return x!==B.width||p!==B.height?{reset:{rects:!0}}:{}}}};function Ue(){return typeof window<"u"}function Pe(e){return Kt(e)?(e.nodeName||"").toLowerCase():"#document"}function X(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ce(e){var t;return(t=(Kt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Kt(e){return Ue()?e instanceof Node||e instanceof X(e).Node:!1}function ee(e){return Ue()?e instanceof Element||e instanceof X(e).Element:!1}function le(e){return Ue()?e instanceof HTMLElement||e instanceof X(e).HTMLElement:!1}function Et(e){return!Ue()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof X(e).ShadowRoot}const Fo=new Set(["inline","contents"]);function ke(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=te(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!Fo.has(r)}const Vo=new Set(["table","td","th"]);function Wo(e){return Vo.has(Pe(e))}const $o=[":popover-open",":modal"];function ze(e){return $o.some(t=>{try{return e.matches(t)}catch{return!1}})}const Uo=["transform","translate","scale","rotate","perspective"],zo=["transform","translate","scale","rotate","perspective","filter"],Yo=["paint","layout","strict","content"];function mt(e){const t=ht(),n=ee(e)?te(e):e;return Uo.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||zo.some(o=>(n.willChange||"").includes(o))||Yo.some(o=>(n.contain||"").includes(o))}function Ko(e){let t=ge(e);for(;le(t)&&!Ne(t);){if(mt(t))return t;if(ze(t))return null;t=ge(t)}return null}function ht(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const qo=new Set(["html","body","#document"]);function Ne(e){return qo.has(Pe(e))}function te(e){return X(e).getComputedStyle(e)}function Ye(e){return ee(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ge(e){if(Pe(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Et(e)&&e.host||ce(e);return Et(t)?t.host:t}function qt(e){const t=ge(e);return Ne(t)?e.ownerDocument?e.ownerDocument.body:e.body:le(t)&&ke(t)?t:qt(t)}function _e(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=qt(e),i=r===((o=e.ownerDocument)==null?void 0:o.body),s=X(r);if(i){const l=et(s);
vendor: 6,588 bytes, line 21
21return t.concat(s,s.visualViewport||[],ke(r)?r:[],l&&n?_e(l):[])}return t.concat(r,_e(r,[],n))}function et(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Gt(e){const t=te(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=le(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,l=He(n)!==i||He(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function gt(e){return ee(e)?e:e.contextElement}function Ce(e){const t=gt(e);if(!le(t))return ie(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=Gt(t);let s=(i?He(n.width):n.width)/o,l=(i?He(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Go=ie(0);function Xt(e){const t=X(e);return!ht()||!t.visualViewport?Go:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Xo(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==X(e)?!1:t}function ve(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=gt(e);let s=ie(1);t&&(o?ee(o)&&(s=Ce(o)):s=Ce(e));const l=Xo(i,n,o)?Xt(i):ie(0);let c=(r.left+l.x)/s.x,d=(r.top+l.y)/s.y,f=r.width/s.x,m=r.height/s.y;if(i){const v=X(i),h=o&&ee(o)?X(o):o;let x=v,p=et(x);for(;p&&o&&h!==x;){const w=Ce(p),b=p.getBoundingClientRect(),g=te(p),y=b.left+(p.clientLeft+parseFloat(g.paddingLeft))*w.x,C=b.top+(p.clientTop+parseFloat(g.paddingTop))*w.y;c*=w.x,d*=w.y,f*=w.x,m*=w.y,c+=y,d+=C,x=X(p),p=et(x)}}return Fe({width:f,height:m,x:c,y:d})}function xt(e,t){const n=Ye(e).scrollLeft;return t?t.left+n:ve(ce(e)).left+n}function Zt(e,t,n){n===void 0&&(n=!1);const o=e.getBoundingClientRect(),r=o.left+t.scrollLeft-(n?0:xt(e,o)),i=o.top+t.scrollTop;return{x:r,y:i}}function Zo(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i=r==="fixed",s=ce(o),l=t?ze(t.floating):!1;if(o===s||l&&i)return n;let c={scrollLeft:0,scrollTop:0},d=ie(1);const f=ie(0),m=le(o);if((m||!m&&!i)&&((Pe(o)!=="body"||ke(s))&&(c=Ye(o)),le(o))){const h=ve(o);d=Ce(o),f.x=h.x+o.clientLeft,f.y=h.y+o.clientTop}const v=s&&!m&&!i?Zt(s,c,!0):ie(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-c.scrollLeft*d.x+f.x+v.x,y:n.y*d.y-c.scrollTop*d.y+f.y+v.y}}function Jo(e){return Array.from(e.getClientRects())}function Qo(e){const t=ce(e),n=Ye(e),o=e.ownerDocument.body,r=G(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=G(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+xt(e);const l=-n.scrollTop;return te(o).direction==="rtl"&&(s+=G(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:l}}function er(e,t){const n=X(e),o=ce(e),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,l=0,c=0;if(r){i=r.width,s=r.height;const d=ht();(!d||d&&t==="fixed")&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:s,x:l,y:c}}const tr=new Set(["absolute","fixed"]);function nr(e,t){const n=ve(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=le(e)?Ce(e):ie(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,c=r*i.x,d=o*i.y;return{width:s,height:l,x:c,y:d}}function It(e,t,n){let o;if(t==="viewport")o=er(e,n);else if(t==="document")o=Qo(ce(e));else if(ee(t))o=nr(t,n);else{const r=Xt(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Fe(o)}function Jt(e,t){const n=ge(e);return n===t||!ee(n)||Ne(n)?!1:te(n).position==="fixed"||Jt(n,t)}function or(e,t){const n=t.get(e);if(n)return n;let o=_e(e,[],!1).filter(l=>ee(l)&&Pe(l)!=="body"),r=null;const i=te(e).position==="fixed";let s=i?ge(e):e;for(;ee(s)&&!Ne(s);){const l=te(s),c=mt(s);!c&&l.position==="fixed"&&(r=null),(i?!c&&!r:!c&&l.position==="static"&&!!r&&tr.has(r.position)||ke(s)&&!c&&Jt(e,s))?o=o.filter(f=>f!==s):r=l,s=ge(s)}return t.set(e,o),o}function rr(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const s=[...n==="clippingAncestors"?ze(t)?[]:or(t,this._c):[].concat(n),o],l=s[0],c=s.reduce((d,f)=>{const m=It(t,f,r);return d.top=G(m.top,d.top),d.right=he(m.right,d.right),d.bottom=he(m.bottom,d.bottom),d.left=G(m.left,d.left),d},It(t,l,r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function sr(e){const{width:t,height:n}=Gt(e);return{width:t,height:n}}function ir(e,t,n){const o=le(t),r=ce(t),i=n==="fixed",s=ve(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=ie(0);function d(){c.x=xt(r)}if(o||!o&&!i)if((Pe(t)!=="body"||ke(r))&&(l=Ye(t)),o){const h=ve(t,!0,i,t);c.x=h.x+t.clientLeft,c.y=h.y+t.clientTop}else r&&d();i&&!o&&r&&d();const f=r&&!o&&!i?Zt(r,l):ie(0),m=s.left+l.scrollLeft-c.x-f.x,v=s.top+l.scrollTop-c.y-f.y;return{x:m,y:v,width:s.width,height:s.height}}function Xe(e){return te(e).position==="static"}function _t(e,t){if(!le(e)||te(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ce(e)===n&&(n=n.ownerDocument.body),n}function Qt(e,t){const n=X(e);if(ze(e))return n;if(!le(e)){let r=ge(e);for(;r&&!Ne(r);){if(ee(r)&&!Xe(r))return r;r=ge(r)}return n}let o=_t(e,t);for(;o&&Wo(o)&&Xe(o);)o=_t(o,t);return o&&Ne(o)&&Xe(o)&&!mt(o)?n:o||Ko(e)||n}const ar=async function(e){const t=this.getOffsetParent||Qt,n=this.getDimensions,o=await n(e.floating);return{reference:ir(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function lr(e){return te(e).direction==="rtl"}const cr={convertOffsetParentRelativeRectToViewportRelativeRect:Zo,getDocumentElement:ce,getClippingRect:rr,getOffsetParent:Qt,getElementRects:ar,getClientRects:Jo,getDimensions:sr,getScale:Ce,isElement:ee,isRTL:lr};function en(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function dr(e,t){let n=null,o;const r=ce(e);function i(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const d=e.getBoundingClientRect(),{left:f,top:m,width:v,height:h}=d;if(l||t(),!v||!h)return;const x=De(m),p=De(r.clientWidth-(f+v)),w=De(r.clientHeight-(m+h)),b=De(f),y={rootMargin:-x+"px "+-p+"px "+-w+"px "+-b+"px",threshold:G(0,he(1,c))||1};let C=!0;function N(T){const A=T[0].intersectionRatio;if(A!==c){if(!C)return s();A?s(!1,A):o=setTimeout(()=>{s(!1,1e-7)},1e3)}A===1&&!en(d,e.getBoundingClientRect())&&s(),C=!1}try{n=new IntersectionObserver(N,{...y,root:r.ownerDocument})}catch{n=new IntersectionObserver(N,y)}n.observe(e)}return s(!0),i}function ur(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,d=gt(e),f=r||i?[...d?_e(d):[],..._e(t)]:[];f.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),i&&b.addEventListener("resize",n)});
vendor: 27,134 bytes, line 21
21const m=d&&l?dr(d,n):null;let v=-1,h=null;s&&(h=new ResizeObserver(b=>{let[g]=b;g&&g.target===d&&h&&(h.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var y;(y=h)==null||y.observe(t)})),n()}),d&&!c&&h.observe(d),h.observe(t));let x,p=c?ve(e):null;c&&w();function w(){const b=ve(e);p&&!en(p,b)&&n(),p=b,x=requestAnimationFrame(w)}return n(),()=>{var b;f.forEach(g=>{r&&g.removeEventListener("scroll",n),i&&g.removeEventListener("resize",n)}),m==null||m(),(b=h)==null||b.disconnect(),h=null,c&&cancelAnimationFrame(x)}}const fr=Do,pr=Lo,mr=_o,hr=Bo,gr=ko,kt=Io,xr=Ho,wr=(e,t,n)=>{const o=new Map,r={platform:cr,...n},i={...r.platform,_c:o};return Eo(e,t,{...r,platform:i})};var vr=typeof document<"u",yr=function(){},Le=vr?u.useLayoutEffect:yr;function Ve(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!Ve(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const i=r[o];if(!(i==="_owner"&&e.$$typeof)&&!Ve(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function tn(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Mt(e,t){const n=tn(e);return Math.round(t*n)/n}function Ze(e){const t=u.useRef(e);return Le(()=>{t.current=e}),t}function br(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:c,open:d}=e,[f,m]=u.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,h]=u.useState(o);Ve(v,o)||h(o);const[x,p]=u.useState(null),[w,b]=u.useState(null),g=u.useCallback(S=>{S!==T.current&&(T.current=S,p(S))},[]),y=u.useCallback(S=>{S!==A.current&&(A.current=S,b(S))},[]),C=i||x,N=s||w,T=u.useRef(null),A=u.useRef(null),k=u.useRef(f),B=c!=null,E=Ze(c),L=Ze(r),H=Ze(d),I=u.useCallback(()=>{if(!T.current||!A.current)return;const S={placement:t,strategy:n,middleware:v};L.current&&(S.platform=L.current),wr(T.current,A.current,S).then(R=>{const $={...R,isPositioned:H.current!==!1};O.current&&!Ve(k.current,$)&&(k.current=$,ct.flushSync(()=>{m($)}))})},[v,t,n,L,H]);Le(()=>{d===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,m(S=>({...S,isPositioned:!1})))},[d]);const O=u.useRef(!1);Le(()=>(O.current=!0,()=>{O.current=!1}),[]),Le(()=>{if(C&&(T.current=C),N&&(A.current=N),C&&N){if(E.current)return E.current(C,N,I);I()}},[C,N,I,E,B]);const F=u.useMemo(()=>({reference:T,floating:A,setReference:g,setFloating:y}),[g,y]),j=u.useMemo(()=>({reference:C,floating:N}),[C,N]),_=u.useMemo(()=>{const S={position:n,left:0,top:0};if(!j.floating)return S;const R=Mt(j.floating,f.x),$=Mt(j.floating,f.y);return l?{...S,transform:"translate("+R+"px, "+$+"px)",...tn(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:$}},[n,l,j.floating,f.x,f.y]);return u.useMemo(()=>({...f,update:I,refs:F,elements:j,floatingStyles:_}),[f,I,F,j,_])}const Sr=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:r}=typeof e=="function"?e(n):e;return o&&t(o)?o.current!=null?kt({element:o.current,padding:r}).fn(n):{}:o?kt({element:o,padding:r}).fn(n):{}}}},Cr=(e,t)=>({...fr(e),options:[e,t]}),Nr=(e,t)=>({...pr(e),options:[e,t]}),Rr=(e,t)=>({...xr(e),options:[e,t]}),Pr=(e,t)=>({...mr(e),options:[e,t]}),Ar=(e,t)=>({...hr(e),options:[e,t]}),Tr=(e,t)=>({...gr(e),options:[e,t]}),jr=(e,t)=>({...Sr(e),options:[e,t]});var Or="Arrow",nn=u.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...i}=e;return a.jsx(z.svg,{...i,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});nn.displayName=Or;var Er=nn;function Ir(e){const[t,n]=u.useState(void 0);return Q(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const i=r[0];let s,l;if("borderBoxSize"in i){const c=i.borderBoxSize,d=Array.isArray(c)?c[0]:c;s=d.inlineSize,l=d.blockSize}else s=e.offsetWidth,l=e.offsetHeight;n({width:s,height:l})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}var wt="Popper",[on,rn]=Ft(wt),[_r,sn]=on(wt),an=e=>{const{__scopePopper:t,children:n}=e,[o,r]=u.useState(null);return a.jsx(_r,{scope:t,anchor:o,onAnchorChange:r,children:n})};an.displayName=wt;var ln="PopperAnchor",cn=u.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,i=sn(ln,n),s=u.useRef(null),l=Z(t,s);return u.useEffect(()=>{i.onAnchorChange((o==null?void 0:o.current)||s.current)}),o?null:a.jsx(z.div,{...r,ref:l})});cn.displayName=ln;var vt="PopperContent",[kr,Mr]=on(vt),dn=u.forwardRef((e,t)=>{var P,W,Y,V,M,D;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:i="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:d=[],collisionPadding:f=0,sticky:m="partial",hideWhenDetached:v=!1,updatePositionStrategy:h="optimized",onPlaced:x,...p}=e,w=sn(vt,n),[b,g]=u.useState(null),y=Z(t,q=>g(q)),[C,N]=u.useState(null),T=Ir(C),A=(T==null?void 0:T.width)??0,k=(T==null?void 0:T.height)??0,B=o+(i!=="center"?"-"+i:""),E=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},L=Array.isArray(d)?d:[d],H=L.length>0,I={padding:E,boundary:L.filter(Lr),altBoundary:H},{refs:O,floatingStyles:F,placement:j,isPositioned:_,middlewareData:S}=br({strategy:"fixed",placement:B,whileElementsMounted:(...q)=>ur(...q,{animationFrame:h==="always"}),elements:{reference:w.anchor},middleware:[Cr({mainAxis:r+k,alignmentAxis:s}),c&&Nr({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?Rr():void 0,...I}),c&&Pr({...I}),Ar({...I,apply:({elements:q,rects:re,availableWidth:Te,availableHeight:je})=>{const{width:Oe,height:Qn}=re.reference,Me=q.floating.style;Me.setProperty("--radix-popper-available-width",`${Te}px`),Me.setProperty("--radix-popper-available-height",`${je}px`),Me.setProperty("--radix-popper-anchor-width",`${Oe}px`),Me.setProperty("--radix-popper-anchor-height",`${Qn}px`)}}),C&&jr({element:C,padding:l}),Hr({arrowWidth:A,arrowHeight:k}),v&&Tr({strategy:"referenceHidden",...I})]}),[R,$]=pn(j),K=Vt(x);Q(()=>{_&&(K==null||K())},[_,K]);const pe=(P=S.arrow)==null?void 0:P.x,ne=(W=S.arrow)==null?void 0:W.y,de=((Y=S.arrow)==null?void 0:Y.centerOffset)!==0,[me,oe]=u.useState();return Q(()=>{b&&oe(window.getComputedStyle(b).zIndex)},[b]),a.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...F,transform:_?F.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:me,"--radix-popper-transform-origin":[(V=S.transformOrigin)==null?void 0:V.x,(M=S.transformOrigin)==null?void 0:M.y].join(" "),...((D=S.hide)==null?void 0:D.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:a.jsx(kr,{scope:n,placedSide:R,onArrowChange:N,arrowX:pe,arrowY:ne,shouldHideArrow:de,children:a.jsx(z.div,{"data-side":R,"data-align":$,...p,ref:y,style:{...p.style,animation:_?void 0:"none"}})})})});dn.displayName=vt;var un="PopperArrow",Dr={top:"bottom",right:"left",bottom:"top",left:"right"},fn=u.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,i=Mr(un,o),s=Dr[i.placedSide];return a.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:a.jsx(Er,{...r,ref:n,style:{...r.style,display:"block"}})})});fn.displayName=un;function Lr(e){return e!==null}var Hr=e=>({name:"transformOrigin",options:e,fn(t){var w,b,g;const{placement:n,rects:o,middlewareData:r}=t,s=((w=r.arrow)==null?void 0:w.centerOffset)!==0,l=s?0:e.arrowWidth,c=s?0:e.arrowHeight,[d,f]=pn(n),m={start:"0%",center:"50%",end:"100%"}[f],v=(((b=r.arrow)==null?void 0:b.x)??0)+l/2,h=(((g=r.arrow)==null?void 0:g.y)??0)+c/2;let x="",p="";return d==="bottom"?(x=s?m:`${v}px`,p=`${-c}px`):d==="top"?(x=s?m:`${v}px`,p=`${o.floating.height+c}px`):d==="right"?(x=`${-c}px`,p=s?m:`${h}px`):d==="left"&&(x=`${o.floating.width+c}px`,p=s?m:`${h}px`),{data:{x,y:p}}}});function pn(e){const[t,n="center"]=e.split("-");return[t,n]}var Br=an,Fr=cn,Vr=dn,Wr=fn;function $r(e){const t=u.useRef({value:e,previous:e});return u.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var mn=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Ur="VisuallyHidden",zr=u.forwardRef((e,t)=>a.jsx(z.span,{...e,ref:t,style:{...mn,...e.style}}));zr.displayName=Ur;var Yr=[" ","Enter","ArrowUp","ArrowDown"],Kr=[" ","Enter"],ye="Select",[Ke,qe,qr]=po(ye),[Ae,Hs]=Ft(ye,[qr,rn]),Ge=rn(),[Gr,xe]=Ae(ye),[Xr,Zr]=Ae(ye),hn=e=>{const{__scopeSelect:t,children:n,open:o,defaultOpen:r,onOpenChange:i,value:s,defaultValue:l,onValueChange:c,dir:d,name:f,autoComplete:m,disabled:v,required:h,form:x}=e,p=Ge(t),[w,b]=u.useState(null),[g,y]=u.useState(null),[C,N]=u.useState(!1),T=mo(d),[A,k]=bt({prop:o,defaultProp:r??!1,onChange:i,caller:ye}),[B,E]=bt({prop:s,defaultProp:l,onChange:c,caller:ye}),L=u.useRef(null),H=w?x||!!w.closest("form"):!0,[I,O]=u.useState(new Set),F=Array.from(I).map(j=>j.props.value).join(";");return a.jsx(Br,{...p,children:a.jsxs(Gr,{required:h,scope:t,trigger:w,onTriggerChange:b,valueNode:g,onValueNodeChange:y,valueNodeHasChildren:C,onValueNodeHasChildrenChange:N,contentId:dt(),value:B,onValueChange:E,open:A,onOpenChange:k,dir:T,triggerPointerDownPosRef:L,disabled:v,children:[a.jsx(Ke.Provider,{scope:t,children:a.jsx(Xr,{scope:e.__scopeSelect,onNativeOptionAdd:u.useCallback(j=>{O(_=>new Set(_).add(j))},[]),onNativeOptionRemove:u.useCallback(j=>{O(_=>{const S=new Set(_);return S.delete(j),S})},[]),children:n})}),H?a.jsxs(Bn,{"aria-hidden":!0,required:h,tabIndex:-1,name:f,autoComplete:m,value:B,onChange:j=>E(j.target.value),disabled:v,form:x,children:[B===void 0?a.jsx("option",{value:""}):null,Array.from(I)]},F):null]})})};hn.displayName=ye;var gn="SelectTrigger",xn=u.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:o=!1,...r}=e,i=Ge(n),s=xe(gn,n),l=s.disabled||o,c=Z(t,s.onTriggerChange),d=qe(n),f=u.useRef("touch"),[m,v,h]=Vn(p=>{const w=d().filter(y=>!y.disabled),b=w.find(y=>y.value===s.value),g=Wn(w,p,b);g!==void 0&&s.onValueChange(g.value)}),x=p=>{l||(s.onOpenChange(!0),h()),p&&(s.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return a.jsx(Fr,{asChild:!0,...i,children:a.jsx(z.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":Fn(s.value)?"":void 0,...r,ref:c,onClick:U(r.onClick,p=>{p.currentTarget.focus(),f.current!=="mouse"&&x(p)}),onPointerDown:U(r.onPointerDown,p=>{f.current=p.pointerType;const w=p.target;w.hasPointerCapture(p.pointerId)&&w.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(x(p),p.preventDefault())}),onKeyDown:U(r.onKeyDown,p=>{const w=m.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&v(p.key),!(w&&p.key===" ")&&Yr.includes(p.key)&&(x(),p.preventDefault())})})})});xn.displayName=gn;var wn="SelectValue",vn=u.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:r,children:i,placeholder:s="",...l}=e,c=xe(wn,n),{onValueNodeHasChildrenChange:d}=c,f=i!==void 0,m=Z(t,c.onValueNodeChange);return Q(()=>{d(f)},[d,f]),a.jsx(z.span,{...l,ref:m,style:{pointerEvents:"none"},children:Fn(c.value)?a.jsx(a.Fragment,{children:s}):i})});vn.displayName=wn;var Jr="SelectIcon",yn=u.forwardRef((e,t)=>{const{__scopeSelect:n,children:o,...r}=e;return a.jsx(z.span,{"aria-hidden":!0,...r,ref:t,children:o||"â¼"})});yn.displayName=Jr;var Qr="SelectPortal",bn=e=>a.jsx(so,{asChild:!0,...e});bn.displayName=Qr;var be="SelectContent",Sn=u.forwardRef((e,t)=>{const n=xe(be,e.__scopeSelect),[o,r]=u.useState();if(Q(()=>{r(new DocumentFragment)},[]),!n.open){const i=o;return i?ct.createPortal(a.jsx(Cn,{scope:e.__scopeSelect,children:a.jsx(Ke.Slot,{scope:e.__scopeSelect,children:a.jsx("div",{children:e.children})})}),i):null}return a.jsx(Nn,{...e,ref:t})});Sn.displayName=be;var J=10,[Cn,we]=Ae(be),es="SelectContentImpl",ts=io("SelectContent.RemoveScroll"),Nn=u.forwardRef((e,t)=>{const{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:r,onEscapeKeyDown:i,onPointerDownOutside:s,side:l,sideOffset:c,align:d,alignOffset:f,arrowPadding:m,collisionBoundary:v,collisionPadding:h,sticky:x,hideWhenDetached:p,avoidCollisions:w,...b}=e,g=xe(be,n),[y,C]=u.useState(null),[N,T]=u.useState(null),A=Z(t,P=>C(P)),[k,B]=u.useState(null),[E,L]=u.useState(null),H=qe(n),[I,O]=u.useState(!1),F=u.useRef(!1);u.useEffect(()=>{if(y)return eo(y)},[y]),to();const j=u.useCallback(P=>{const[W,...Y]=H().map(D=>D.ref.current),[V]=Y.slice(-1),M=document.activeElement;for(const D of P)if(D===M||(D==null||D.scrollIntoView({block:"nearest"}),D===W&&N&&(N.scrollTop=0),D===V&&N&&(N.scrollTop=N.scrollHeight),D==null||D.focus(),document.activeElement!==M))return},[H,N]),_=u.useCallback(()=>j([k,y]),[j,k,y]);u.useEffect(()=>{I&&_()},[I,_]);const{onOpenChange:S,triggerPointerDownPosRef:R}=g;u.useEffect(()=>{if(y){let P={x:0,y:0};const W=V=>{var M,D;P={x:Math.abs(Math.round(V.pageX)-(((M=R.current)==null?void 0:M.x)??0)),y:Math.abs(Math.round(V.pageY)-(((D=R.current)==null?void 0:D.y)??0))}},Y=V=>{P.x<=10&&P.y<=10?V.preventDefault():y.contains(V.target)||S(!1),document.removeEventListener("pointermove",W),R.current=null};return R.current!==null&&(document.addEventListener("pointermove",W),document.addEventListener("pointerup",Y,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",W),document.removeEventListener("pointerup",Y,{capture:!0})}}},[y,S,R]),u.useEffect(()=>{const P=()=>S(!1);return window.addEventListener("blur",P),window.addEventListener("resize",P),()=>{window.removeEventListener("blur",P),window.removeEventListener("resize",P)}},[S]);const[$,K]=Vn(P=>{const W=H().filter(M=>!M.disabled),Y=W.find(M=>M.ref.current===document.activeElement),V=Wn(W,P,Y);V&&setTimeout(()=>V.ref.current.focus())}),pe=u.useCallback((P,W,Y)=>{const V=!F.current&&!Y;(g.value!==void 0&&g.value===W||V)&&(B(P),V&&(F.current=!0))},[g.value]),ne=u.useCallback(()=>y==null?void 0:y.focus(),[y]),de=u.useCallback((P,W,Y)=>{const V=!F.current&&!Y;(g.value!==void 0&&g.value===W||V)&&L(P)},[g.value]),me=o==="popper"?tt:Rn,oe=me===tt?{side:l,sideOffset:c,align:d,alignOffset:f,arrowPadding:m,collisionBoundary:v,collisionPadding:h,sticky:x,hideWhenDetached:p,avoidCollisions:w}:{};return a.jsx(Cn,{scope:n,content:y,viewport:N,onViewportChange:T,itemRefCallback:pe,selectedItem:k,onItemLeave:ne,itemTextRefCallback:de,focusSelectedItem:_,selectedItemText:E,position:o,isPositioned:I,searchRef:$,children:a.jsx(no,{as:ts,allowPinchZoom:!0,children:a.jsx(oo,{asChild:!0,trapped:g.open,onMountAutoFocus:P=>{P.preventDefault()},onUnmountAutoFocus:U(r,P=>{var W;(W=g.trigger)==null||W.focus({preventScroll:!0}),P.preventDefault()}),children:a.jsx(ro,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:P=>P.preventDefault(),onDismiss:()=>g.onOpenChange(!1),children:a.jsx(me,{role:"listbox",id:g.contentId,"data-state":g.open?"open":"closed",dir:g.dir,onContextMenu:P=>P.preventDefault(),...b,...oe,onPlaced:()=>O(!0),ref:A,style:{display:"flex",flexDirection:"column",outline:"none",...b.style},onKeyDown:U(b.onKeyDown,P=>{const W=P.ctrlKey||P.altKey||P.metaKey;if(P.key==="Tab"&&P.preventDefault(),!W&&P.key.length===1&&K(P.key),["ArrowUp","ArrowDown","Home","End"].includes(P.key)){let V=H().filter(M=>!M.disabled).map(M=>M.ref.current);if(["ArrowUp","End"].includes(P.key)&&(V=V.slice().reverse()),["ArrowUp","ArrowDown"].includes(P.key)){const M=P.target,D=V.indexOf(M);V=V.slice(D+1)}setTimeout(()=>j(V)),P.preventDefault()}})})})})})})});Nn.displayName=es;var ns="SelectItemAlignedPosition",Rn=u.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:o,...r}=e,i=xe(be,n),s=we(be,n),[l,c]=u.useState(null),[d,f]=u.useState(null),m=Z(t,A=>f(A)),v=qe(n),h=u.useRef(!1),x=u.useRef(!0),{viewport:p,selectedItem:w,selectedItemText:b,focusSelectedItem:g}=s,y=u.useCallback(()=>{if(i.trigger&&i.valueNode&&l&&d&&p&&w&&b){const A=i.trigger.getBoundingClientRect(),k=d.getBoundingClientRect(),B=i.valueNode.getBoundingClientRect(),E=b.getBoundingClientRect();if(i.dir!=="rtl"){const M=E.left-k.left,D=B.left-M,q=A.left-D,re=A.width+q,Te=Math.max(re,k.width),je=window.innerWidth-J,Oe=Rt(D,[J,Math.max(J,je-Te)]);l.style.minWidth=re+"px",l.style.left=Oe+"px"}else{const M=k.right-E.right,D=window.innerWidth-B.right-M,q=window.innerWidth-A.right-D,re=A.width+q,Te=Math.max(re,k.width),je=window.innerWidth-J,Oe=Rt(D,[J,Math.max(J,je-Te)]);l.style.minWidth=re+"px",l.style.right=Oe+"px"}const L=v(),H=window.innerHeight-J*2,I=p.scrollHeight,O=window.getComputedStyle(d),F=parseInt(O.borderTopWidth,10),j=parseInt(O.paddingTop,10),_=parseInt(O.borderBottomWidth,10),S=parseInt(O.paddingBottom,10),R=F+j+I+S+_,$=Math.min(w.offsetHeight*5,R),K=window.getComputedStyle(p),pe=parseInt(K.paddingTop,10),ne=parseInt(K.paddingBottom,10),de=A.top+A.height/2-J,me=H-de,oe=w.offsetHeight/2,P=w.offsetTop+oe,W=F+j+P,Y=R-W;if(W<=de){const M=L.length>0&&w===L[L.length-1].ref.current;l.style.bottom="0px";const D=d.clientHeight-p.offsetTop-p.offsetHeight,q=Math.max(me,oe+(M?ne:0)+D+_),re=W+q;l.style.height=re+"px"}else{const M=L.length>0&&w===L[0].ref.current;l.style.top="0px";const q=Math.max(de,F+p.offsetTop+(M?pe:0)+oe)+Y;l.style.height=q+"px",p.scrollTop=W-de+p.offsetTop}l.style.margin=`${J}px 0`,l.style.minHeight=$+"px",l.style.maxHeight=H+"px",o==null||o(),requestAnimationFrame(()=>h.current=!0)}},[v,i.trigger,i.valueNode,l,d,p,w,b,i.dir,o]);Q(()=>y(),[y]);const[C,N]=u.useState();Q(()=>{d&&N(window.getComputedStyle(d).zIndex)},[d]);const T=u.useCallback(A=>{A&&x.current===!0&&(y(),g==null||g(),x.current=!1)},[y,g]);return a.jsx(rs,{scope:n,contentWrapper:l,shouldExpandOnScrollRef:h,onScrollButtonChange:T,children:a.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:a.jsx(z.div,{...r,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...r.style}})})})});Rn.displayName=ns;var os="SelectPopperPosition",tt=u.forwardRef((e,t)=>{const{__scopeSelect:n,align:o="start",collisionPadding:r=J,...i}=e,s=Ge(n);return a.jsx(Vr,{...s,...i,ref:t,align:o,collisionPadding:r,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});tt.displayName=os;var[rs,yt]=Ae(be,{}),nt="SelectViewport",Pn=u.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:o,...r}=e,i=we(nt,n),s=yt(nt,n),l=Z(t,i.onViewportChange),c=u.useRef(0);return a.jsxs(a.Fragment,{children:[a.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),a.jsx(Ke.Slot,{scope:n,children:a.jsx(z.div,{"data-radix-select-viewport":"",role:"presentation",...r,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...r.style},onScroll:U(r.onScroll,d=>{const f=d.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:v}=s;if(v!=null&&v.current&&m){const h=Math.abs(c.current-f.scrollTop);if(h>0){const x=window.innerHeight-J*2,p=parseFloat(m.style.minHeight),w=parseFloat(m.style.height),b=Math.max(p,w);if(b<x){const g=b+h,y=Math.min(x,g),C=g-y;m.style.height=y+"px",m.style.bottom==="0px"&&(f.scrollTop=C>0?C:0,m.style.justifyContent="flex-end")}}}c.current=f.scrollTop})})})]})});Pn.displayName=nt;var An="SelectGroup",[ss,is]=Ae(An),as=u.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=dt();return a.jsx(ss,{scope:n,id:r,children:a.jsx(z.div,{role:"group","aria-labelledby":r,...o,ref:t})})});as.displayName=An;var Tn="SelectLabel",jn=u.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=is(Tn,n);return a.jsx(z.div,{id:r.id,...o,ref:t})});jn.displayName=Tn;var We="SelectItem",[ls,On]=Ae(We),En=u.forwardRef((e,t)=>{const{__scopeSelect:n,value:o,disabled:r=!1,textValue:i,...s}=e,l=xe(We,n),c=we(We,n),d=l.value===o,[f,m]=u.useState(i??""),[v,h]=u.useState(!1),x=Z(t,g=>{var y;return(y=c.itemRefCallback)==null?void 0:y.call(c,g,o,r)}),p=dt(),w=u.useRef("touch"),b=()=>{r||(l.onValueChange(o),l.onOpenChange(!1))};if(o==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return a.jsx(ls,{scope:n,value:o,disabled:r,textId:p,isSelected:d,onItemTextChange:u.useCallback(g=>{m(y=>y||((g==null?void 0:g.textContent)??"").trim())},[]),children:a.jsx(Ke.ItemSlot,{scope:n,value:o,disabled:r,textValue:f,children:a.jsx(z.div,{role:"option","aria-labelledby":p,"data-highlighted":v?"":void 0,"aria-selected":d&&v,"data-state":d?"checked":"unchecked","aria-disabled":r||void 0,"data-disabled":r?"":void 0,tabIndex:r?void 0:-1,...s,ref:x,onFocus:U(s.onFocus,()=>h(!0)),onBlur:U(s.onBlur,()=>h(!1)),onClick:U(s.onClick,()=>{w.current!=="mouse"&&b()}),onPointerUp:U(s.onPointerUp,()=>{w.current==="mouse"&&b()}),onPointerDown:U(s.onPointerDown,g=>{w.current=g.pointerType}),onPointerMove:U(s.onPointerMove,g=>{var y;w.current=g.pointerType,r?(y=c.onItemLeave)==null||y.call(c):w.current==="mouse"&&g.currentTarget.focus({preventScroll:!0})}),onPointerLeave:U(s.onPointerLeave,g=>{var y;g.currentTarget===document.activeElement&&((y=c.onItemLeave)==null||y.call(c))}),onKeyDown:U(s.onKeyDown,g=>{var C;((C=c.searchRef)==null?void 0:C.current)!==""&&g.key===" "||(Kr.includes(g.key)&&b(),g.key===" "&&g.preventDefault())})})})})});En.displayName=We;var Ee="SelectItemText",In=u.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:r,...i}=e,s=xe(Ee,n),l=we(Ee,n),c=On(Ee,n),d=Zr(Ee,n),[f,m]=u.useState(null),v=Z(t,b=>m(b),c.onItemTextChange,b=>{var g;return(g=l.itemTextRefCallback)==null?void 0:g.call(l,b,c.value,c.disabled)}),h=f==null?void 0:f.textContent,x=u.useMemo(()=>a.jsx("option",{value:c.value,disabled:c.disabled,children:h},c.value),[c.disabled,c.value,h]),{onNativeOptionAdd:p,onNativeOptionRemove:w}=d;return Q(()=>(p(x),()=>w(x)),[p,w,x]),a.jsxs(a.Fragment,{children:[a.jsx(z.span,{id:c.textId,...i,ref:v}),c.isSelected&&s.valueNode&&!s.valueNodeHasChildren?ct.createPortal(i.children,s.valueNode):null]})});In.displayName=Ee;var _n="SelectItemIndicator",kn=u.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e;return On(_n,n).isSelected?a.jsx(z.span,{"aria-hidden":!0,...o,ref:t}):null});kn.displayName=_n;var ot="SelectScrollUpButton",Mn=u.forwardRef((e,t)=>{const n=we(ot,e.__scopeSelect),o=yt(ot,e.__scopeSelect),[r,i]=u.useState(!1),s=Z(t,o.onScrollButtonChange);return Q(()=>{if(n.viewport&&n.isPositioned){let l=function(){const d=c.scrollTop>0;i(d)};const c=n.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[n.viewport,n.isPositioned]),r?a.jsx(Ln,{...e,ref:s,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=n;l&&c&&(l.scrollTop=l.scrollTop-c.offsetHeight)}}):null});Mn.displayName=ot;var rt="SelectScrollDownButton",Dn=u.forwardRef((e,t)=>{const n=we(rt,e.__scopeSelect),o=yt(rt,e.__scopeSelect),[r,i]=u.useState(!1),s=Z(t,o.onScrollButtonChange);return Q(()=>{if(n.viewport&&n.isPositioned){let l=function(){const d=c.scrollHeight-c.clientHeight,f=Math.ceil(c.scrollTop)<d;i(f)};const c=n.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[n.viewport,n.isPositioned]),r?a.jsx(Ln,{...e,ref:s,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=n;l&&c&&(l.scrollTop=l.scrollTop+c.offsetHeight)}}):null});Dn.displayName=rt;var Ln=u.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:o,...r}=e,i=we("SelectScrollButton",n),s=u.useRef(null),l=qe(n),c=u.useCallback(()=>{s.current!==null&&(window.clearInterval(s.current),s.current=null)},[]);return u.useEffect(()=>()=>c(),[c]),Q(()=>{var f;const d=l().find(m=>m.ref.current===document.activeElement);(f=d==null?void 0:d.ref.current)==null||f.scrollIntoView({block:"nearest"})},[l]),a.jsx(z.div,{"aria-hidden":!0,...r,ref:t,style:{flexShrink:0,...r.style},onPointerDown:U(r.onPointerDown,()=>{s.current===null&&(s.current=window.setInterval(o,50))}),onPointerMove:U(r.onPointerMove,()=>{var d;(d=i.onItemLeave)==null||d.call(i),s.current===null&&(s.current=window.setInterval(o,50))}),onPointerLeave:U(r.onPointerLeave,()=>{c()})})}),cs="SelectSeparator",Hn=u.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e;return a.jsx(z.div,{"aria-hidden":!0,...o,ref:t})});Hn.displayName=cs;var st="SelectArrow",ds=u.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=Ge(n),i=xe(st,n),s=we(st,n);return i.open&&s.position==="popper"?a.jsx(Wr,{...r,...o,ref:t}):null});ds.displayName=st;var us="SelectBubbleInput",Bn=u.forwardRef(({__scopeSelect:e,value:t,...n},o)=>{const r=u.useRef(null),i=Z(o,r),s=$r(t);return u.useEffect(()=>{const l=r.current;if(!l)return;const c=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(c,"value").set;if(s!==t&&f){const m=new Event("change",{bubbles:!0});f.call(l,t),l.dispatchEvent(m)}},[s,t]),a.jsx(z.select,{...n,style:{...mn,...n.style},ref:i,defaultValue:t})});Bn.displayName=us;function Fn(e){return e===""||e===void 0}function Vn(e){const t=Vt(e),n=u.useRef(""),o=u.useRef(0),r=u.useCallback(s=>{const l=n.current+s;t(l),function c(d){n.current=d,window.clearTimeout(o.current),d!==""&&(o.current=window.setTimeout(()=>c(""),1e3))}(l)},[t]),i=u.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return u.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,r,i]}function Wn(e,t,n){const r=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let s=fs(e,Math.max(i,0));r.length===1&&(s=s.filter(d=>d!==n));const c=s.find(d=>d.textValue.toLowerCase().startsWith(r.toLowerCase()));return c!==n?c:void 0}function fs(e,t){return e.map((n,o)=>e[(t+o)%e.length])}var ps=hn,$n=xn,ms=vn,hs=yn,gs=bn,Un=Sn,xs=Pn,zn=jn,Yn=En,ws=In,vs=kn,Kn=Mn,qn=Dn,Gn=Hn;const Dt=ps,Lt=ms,it=u.forwardRef(({className:e,children:t,...n},o)=>a.jsxs($n,{ref:o,className:ae("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
21ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,a.jsx(hs,{asChild:!0,children:a.jsx(Wt,{className:"h-4 w-4 opacity-50"})})]}));it.displayName=$n.displayName;const Xn=u.forwardRef(({className:e,...t},n)=>a.jsx(Kn,{ref:n,className:ae("flex cursor-default items-center justify-center py-1",e),...t,children:a.jsx(ho,{className:"h-4 w-4"})}));Xn.displayName=Kn.displayName;const Zn=u.forwardRef(({className:e,...t},n)=>a.jsx(qn,{ref:n,className:ae("flex cursor-default items-center justify-center py-1",e),...t,children:a.jsx(Wt,{className:"h-4 w-4"})}));Zn.displayName=qn.displayName;const at=u.forwardRef(({className:e,children:t,position:n="popper",...o},r)=>a.jsx(gs,{children:a.jsxs(Un,{ref:r,className:ae("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...o,children:[a.jsx(Xn,{}),a.jsx(xs,{className:ae("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),a.jsx(Zn,{})]})}));at.displayName=Un.displayName;const ys=u.forwardRef(({className:e,...t},n)=>a.jsx(zn,{ref:n,className:ae("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));ys.displayName=zn.displayName;const lt=u.forwardRef(({className:e,children:t,...n},o)=>a.jsxs(Yn,{ref:o,className:ae("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",e),...n,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(vs,{children:a.jsx($t,{className:"h-4 w-4"})})}),a.jsx(ws,{children:t})]}));lt.displayName=Yn.displayName;const bs=u.forwardRef(({className:e,...t},n)=>a.jsx(Gn,{ref:n,className:ae("-mx-1 my-1 h-px bg-muted",e),...t}));bs.displayName=Gn.displayName;const Ss="6882809",Cs="e70ba6b2-ea5a-4978-b789-2517f2ce1202",Ns=`https://api.hsforms.com/submissions/v3/integration/submit/${Ss}/${Cs}`,Ht="impact_lead_attribution",Rs=["gclid","gbraid","wbraid","utm_source","utm_medium","utm_campaign","utm_term","utm_content"];function Bt(){if(typeof window>"u")return{};try{const o=window.sessionStorage.getItem(Ht);if(o){const r=JSON.parse(o);if(r&&typeof r=="object")return r}}catch{}const e=new URLSearchParams(window.location.search),t={};for(const o of Rs){const r=(e.get(o)||"").trim();r&&(t[o]=r)}const n=window.location.pathname;n&&(t.landing_page=n);try{window.sessionStorage.setItem(Ht,JSON.stringify(t))}catch{}return t}function Ps(e){return Object.entries(e).filter(([,t])=>typeof t=="string"&&t.trim()!=="").map(([t,n])=>({name:t,value:n}))}async function As(e){const t=typeof window>"u"?"":window.location.href,n=typeof document>"u"?"":document.title;try{const o=await fetch(Ns,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fields:e,context:{pageUri:t,pageName:n}})});let r;try{const i=await o.json();i&&typeof i.redirectUri=="string"&&i.redirectUri&&(r=i.redirectUri)}catch{}if(!o.ok)return{ok:!1};if(typeof window<"u"){const i=window;Array.isArray(i.dataLayer)||(i.dataLayer=[]),i.dataLayer.push({event:"lead_form_submit",form_location:window.location.pathname})}return{ok:!0,redirectUri:r}}catch{return{ok:!1}}}const Ts=3e3;function js(e){const t=[];for(const n of e){const o=t[t.length-1];o&&o.group===n.group?o.items.push(n):t.push({group:n.group,items:[n]})}return t}const Os=({source:e,idPrefix:t="lead"})=>{const[n,o]=u.useState(""),[r,i]=u.useState(""),[s,l]=u.useState(""),[c,d]=u.useState(""),[f,m]=u.useState(""),[v,h]=u.useState(""),[x,p]=u.useState(""),[w,b]=u.useState(""),[g,y]=u.useState(""),[C,N]=u.useState(!1),[T,A]=u.useState(!1),[k,B]=u.useState(!1),[E,L]=u.useState(void 0),[H,I]=u.useState(!1),O=u.useRef(Date.now()),F=u.useRef(!1);u.useEffect(()=>{O.current=Date.now(),Bt()},[]),u.useEffect(()=>{T&&E&&!F.current&&(F.current=!0,I(!0))},[T,E]);const j=async R=>{if(R.preventDefault(),C)return;const $=g.trim()!=="",K=Date.now()-O.current<Ts;if($||K){A(!0);return}N(!0),B(!1);const pe=Ct.find(P=>P.value===v),ne=Nt.find(P=>P.value===x),me=[{name:"firstname",value:n},{name:"lastname",value:r},{name:"email",value:s},{name:"phone",value:c},{name:"company",value:f},{name:"message",value:w},{name:"inquiry_role",value:pe?pe.hsValue:""},{name:"inquiry_topic",value:ne?ne.hsValue:""},{name:"inquiry_detail",value:ne?ne.hsValue:""},{name:"form_source",value:e},...Ps(Bt())].filter(P=>P.value&&P.value.trim()!==""),oe=await As(me);N(!1),oe.ok?(L(oe.redirectUri),A(!0)):B(!0)},_=E?a.jsx(ao,{open:H,onOpenChange:I,url:E,description:"Book a 30 minute or one hour demo with the Impact.app Team."}):null;if(T)return a.jsxs("div",{children:[a.jsx("div",{className:"mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-accent/10",children:a.jsx($t,{className:"h-6 w-6 text-accent",strokeWidth:2.5})}),a.jsx("h2",{className:"mb-2 font-heading text-2xl font-bold text-foreground",children:"Thank y
21ou."}),a.jsx("p",{className:"text-base text-muted-foreground",children:"We received your message. Weekdays, we usually reply within a few hours."}),E&&a.jsxs("div",{className:"mt-8 rounded-xl border border-border p-5",children:[a.jsx("p",{className:"mb-4 font-medium text-foreground",children:"Prefer to talk it through?"}),a.jsx(St,{type:"button",variant:"default",className:"w-full",onClick:()=>I(!0),children:"Pick a time that suits you"}),a.jsxs("p",{className:"mt-3 text-sm text-muted-foreground",children:["Calendar not loading?"," ",a.jsx("a",{href:E,target:"_blank",rel:"noopener noreferrer",className:"text-primary underline underline-offset-2 hover:opacity-80",children:"Open the scheduler in a new tab."})]})]}),_]});const S=R=>`${t}-${R}`;return a.jsxs("div",{children:[a.jsxs("div",{className:"mb-6 flex flex-wrap items-center gap-x-5 gap-y-2 text-sm text-muted-foreground",children:[a.jsxs("span",{className:"inline-flex items-center gap-2",children:[a.jsx(xo,{className:"h-4 w-4 text-[hsl(var(--impact-purple-light))]"}),"Confidential"]}),a.jsxs("span",{className:"inline-flex items-center gap-2",children:[a.jsx(go,{className:"h-4 w-4 text-[hsl(var(--impact-connect))]"}),"Usually a reply within hours"]}),a.jsxs("span",{className:"inline-flex items-center gap-2",children:[a.jsx(wo,{className:"h-4 w-4 text-[hsl(var(--impact-understand))]"}),"No newsletters, no spam"]})]}),a.jsxs("form",{onSubmit:j,className:"space-y-5",noValidate:!1,children:[a.jsxs("div",{className:"grid gap-5 sm:grid-cols-2",children:[a.jsxs("div",{children:[a.jsx("label",{htmlFor:S("firstname"),className:"mb-1.5 block text-sm font-medium text-foreground",children:"First name"}),a.jsx(Se,{id:S("firstname"),name:"firstname",required:!0,placeholder:"Your first name",value:n,onChange:R=>o(R.target.value)})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:S("lastname"),className:"mb-1.5 block text-sm font-medium text-foreground",children:"Last name"}),a.jsx(Se,{id:S("lastname"),name:"lastname",required:!0,placeholder:"Your last name",value:r,onChange:R=>i(R.target.value)})]})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:S("email"),className:"mb-1.5 block text-sm font-medium text-foreground",children:"Email"}),a.jsx(Se,{id:S("email"),name:"email",type:"email",required:!0,placeholder:"[email protected]",value:s,onChange:R=>l(R.target.value)})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:S("phone"),className:"mb-1.5 block text-sm font-medium text-foreground",children:"Phone number"}),a.jsx(Se,{id:S("phone"),name:"phone",type:"tel",placeholder:"+1 (555) 123-4567",value:c,onChange:R=>d(R.target.value)}),a.jsx("p",{className:"mt-1.5 text-sm text-muted-foreground",children:"Include country code if outside the USA."})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:S("company"),className:"mb-1.5 block text-sm font-medium text-foreground",children:"Organization"}),a.jsx(Se,{id:S("company"),name:"company",required:!0,placeholder:"Your church, ministry, nonprofit, or company",value:f,onChange:R=>m(R.target.value)})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:S("role"),className:"mb-1.5 block text-sm font-medium text-foreground",children:"I am a..."}),a.jsxs(Dt,{value:v,onValueChange:h,name:"role",children:[a.jsx(it,{id:S("role"),children:a.jsx(Lt,{placeholder:"Select your role"})}),a.jsx(at,{children:Ct.map(R=>a.jsx(lt,{value:R.value,children:R.label},R.value))})]})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:S("topic"),className:"mb-1.5 block text-sm font-medium text-foreground",children:"How can we help?"}),a.jsxs(Dt,{value:x,onValueChange:p,name:"topic",children:[a.jsx(it,{id:S("topic"),children:a.jsx(Lt,{placeholder:"Select a topic"})}),a.jsx(at,{children:js(Nt).map((R,$)=>a.jsxs("div",{className:R.group?"":"mt-1 border-t border-border pt-1",children:[R.group&&a.jsx("div",{className:"px-2 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:R.group}),R.items.map(K=>a.jsx(lt,{value:K.value,children:K.label},K.value))]},R.group??`ungrouped-${$}`))})]})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:S("message"),className:"mb-1.5 block text-sm font-medium text-foreground",children:"Your message"}),a.jsx(Ut,{id:S("message"),name:"message",required:!0,rows:5,placeholder:"Share what you are trying to do and any helpful context.",value:w,onChange:R=>b(R.target.value)})]}),a.jsx("input",{type:"text",name:"website",tabIndex:-1,"aria-hidden":"true",autoComplete:"off",value:g,onChange:R=>y(R.target.value),style:{position:"absolute",left:"-9999px"}}),a.jsxs("div",{className:"pt-1",children:[a.jsxs("p",{className:"mb-4 text-sm text-muted-foreground",children:["We use the details you share only to respond to your message. They are stored securely and never sold. See our"," ",a.jsx("a",{href:"/privacy-policy/",className:"font-semibold text-[hsl(var(--impact-emphasis))] underline underline-offset-4 transition-opacity hover:opacity-80",children:"Privacy Policy"}),"."]}),a.jsx(St,{type:"submit",size:"lg",disabled:C,children:"Send Message"}),a.jsx("p",{className:"mt-3 text-sm text-muted-foreground",children:"Booking a demo? After you send, you can pick a time on the spot."})]}),k&&a.jsxs("p",{className:"text-sm text-destructive",children:["Something went wrong sending your message. Please try again, or email"," ",a.jsx("a",{href:"mailto:[email protected]
21pp",className:"underline underline-offset-2 hover:opacity-80",children:"[email protected]"}),"."]})]})]})},Jn="Questions about growth tracks, pricing, or your Impact.app account? Send us a message. Weekdays, a real person usually replies within a few hours.",Es={"@context":"https://schema.org","@graph":[{"@type":"ContactPage","@id":"https://www.impact.app/contact-us/#contactpage",url:"https://www.impact.app/contact-us/",name:"Contact Us | Impact.app",description:Jn,isPartOf:{"@id":"https://www.impact.app/#website"}},{"@type":"Organization","@id":"https://www.impact.app/#organization",name:"Impact.app",url:"https://www.impact.app/",contactPoint:{"@type":"ContactPoint",contactType:"customer support",email:"[email protected]",url:"https://www.impact.app/contact-us/"}}]},Bs=()=>(u.useEffect(()=>{typeof window<"u"&&window.scrollTo(0,0)},[]),a.jsxs("div",{className:"min-h-screen bg-background",children:[a.jsx(lo,{title:"Contact Us | Impact.app",description:Jn,canonical:"https://www.impact.app/contact-us/",breadcrumbs:[{name:"Home",url:"/"},{name:"Contact",url:"/contact-us/"}],schema:Es}),a.jsx(co,{transparent:!0}),a.jsxs("main",{id:"main-content",children:[a.jsx(vo,{}),a.jsx("section",{className:"bg-background py-20 md:py-28",children:a.jsxs("div",{className:"w-full max-w-7xl 2xl:max-w-[1600px] px-6 md:px-12 lg:px-16",children:[a.jsx("h2",{className:"mb-8 text-3xl font-bold text-foreground md:text-4xl",children:"Send us a message"}),a.jsx("div",{className:"max-w-3xl rounded-2xl border border-border bg-white p-6 md:p-8 shadow-sm",children:a.jsx(Os,{source:"contact-us",idPrefix:"contact"})})]})})]}),a.jsx(uo,{})]}));export{Bs as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.