PageSourceSearch

https://www.offchain.io/_next/static/chunks/0f7iin_12hwp4.js?dpl=dpl_8qopxDhf5Jx31t64WBqDx74yfUxD

js offchain.io collected 2026-10-09 04:38:41 UTC 132,801 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,20208,e=>{"use strict";var t=e.i(86827),n=e.i(88522),r=e.i(18988),a=e.i(47163);function i({className:e}){return(0,t.jsxs)("svg",{width:"24",height:"18",viewBox:"0 0 24 18",fill:"none",strokeWidth:2,strokeLinejoin:"miter","aria-hidden":"true",className:(0,a.cn)("h-auto w-4 stroke-current group-hover:transition-transform group-hover:duration-300",e),children:[(0,t.jsx)("path",{d:"M2 9H21"}),(0,t.jsx)("path",{d:"M13 3L21 9L13 15"})]})}function o({children:e,variant:n="dark"}){return"transparent"===n?(0,t.jsxs)("span",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)("span",{className:"leading-[1.3] text-trim",children:e}),(0,t.jsxs)("span",{className:"grid-pile overflow-hidden",children:[(0,t.jsx)(i,{className:"-translate-x-full group-hover:translate-0"}),(0,t.jsx)(i,{className:"translate-x-0 group-hover:translate-x-full"})]})]}):(0,t.jsxs)("span",{className:(0,a.cn)("min-w-20 leading-none w-[calc(max-content-40px)] backdrop-blur uppercase font-display text-trim flex items-center justify-center gap-2 py-3.5 px-3 text-sm rounded-none group-hover:rounded-3xl transition-[width_border-radius] duration-300 group-hover:pr-10 ","dark"===n?"bg-[#2F2F2F] text-white group-hover:bg-black":"bg-grey-150 group-hover:bg-white text-black"),children:[(0,t.jsx)("span",{className:"text-trim",children:e}),(0,t.jsx)(r.ArrowRight,{className:"absolute right-3 top-1/2 opacity-0 translate-y-2 group-hover:-translate-y-1/2 transition-none group-hover:opacity-100 delay-200 group-hover:transition-all w-3"})]})}e.s(["Button",0,function({label:e,variant:r="dark",destination:i,slug:l,url:s,email:c,opensInNewTab:u,isGroup:d=!0,className:m}){let f=(0,a.cn)(d&&"group","cursor-pointer inline-block",m);switch(i){case"internal":{let a=(l??"").trim().replace(/^\/+/,"");return(0,t.jsx)(n.default,{href:`/${a}`,...u&&{target:"_blank",rel:"noopener noreferrer"},className:f,children:(0,t.jsx)(o,{variant:r,children:e})})}case"external":if(s)return(0,t.jsx)("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:f,children:(0,t.jsx)(o,{variant:r,children:e})});break;case"email":if(c)return(0,t.jsx)("a",{href:`mailto:${c}`,className:f,children:(0,t.jsx)(o,{variant:r,children:e})})}return(0,t.jsx)("div",{className:f,children:(0,t.jsx)(o,{variant:r,children:e})})}],20208)},33568,81010,e=>{"use strict";var t=e.i(86827);function n(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(void 0===e.marks||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function r(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function a(e){return r(e)&&"listItem"in e&&"string"==typeof e.listItem&&(void 0===e.level||"number"==typeof e.level)}function i(e){return"@list"===e._type}function o(e){return"@span"===e._type}function l(e){return"@text"===e._type}let s=["strong","em","code","underline","strike-through"];function c(e,t,r){if(!n(e)||!e.marks||!e.marks.length)return[];let a=e.marks.slice(),i={};return a.forEach(e=>{i[e]=1;for(let a=t+1;a<r.length;a++){let t=r[a];if(t&&n(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))i[e]++;else break}}),a.sort((e,t)=>(function(e,t,n){let r=e[t],a=e[n];if(r!==a)return a-r;let i=s.indexOf(t),o=s.indexOf(n);return i===o?t.localeCompare(n):i-o})(i,e,t))}function u(e,t,n){return{_type:"@list",_key:`${e._key||`${t}`}-parent`,mode:n,level:e.level||1,listItem:e.listItem,children:[e]}}function d(e,t){let r=t.level||1,a=t.listItem||"normal",o="string"==typeof t.listItem;if(i(e)&&(e.level||1)===r&&o&&(e.listItem||"normal")===a)return e;if(!("children"in e))return;let l=e.children[e.children.length-1];return l&&!n(l)?d(l,t):void 0}var m=e.i(19322);let f={textDecoration:"underline"},h=(e,t)=>`[@portabletext/react] Unknown ${e}, specify a component for it in the \`components.${t}\` prop`,p=e=>h(`block type "${e}"`,"types");function g(e){console.warn(e)}let v={display:"none"},x={types:{},block:{normal:({children:e})=>(0,t.jsx)("p",{children:e}),blockquote:({children:e})=>(0,t.jsx)("blockquote",{children:e}),h1:({children:e})=>(0,t.jsx)("h1",{children:e}),h2:({children:e})=>(0,t.jsx)("h2",{children:e}),h3:({children:e})=>(0,t.jsx)("h3",{children:e}),h4:({children:e})=>(0,t.jsx)("h4",{children:e}),h5:({children:e})=>(0,t.jsx)("h5",{children:e}),h6:({children:e})=>(0,t.jsx)("h6",{children:e})},marks:{em:({children:e})=>(0,t.jsx)("em",{children:e}),strong:({children:e})=>(0,t.jsx)("strong",{children:e}),code:({children:e})=>(0,t.jsx)("code",{children:e}),underline:({children:e})=>(0,t.jsx)("span",{style:f,children:e}),"strike-through":({children:e})=>(0,t.jsx)("del",{children:e}),link:({children:e,value:n})=>(0,t.jsx)("a",{href:n?.href,children:e})},list:{number:({children:e})=>(0,t.jsx)("ol",{children:e}),bullet:({children:e})=>(0,t.jsx)("ul",{children:e})},listItem:({children:e})=>(0,t.jsx)("li",{children:e}),hardBreak:()=>(0,t.jsx)("br",{}),unknownType:({value:e,isInline:n})=>{let r=p(e._type);
1return(0,t.jsx)(n?"span":"div",{style:v,children:r})},unknownMark:({markType:e,children:n})=>(0,t.jsx)("span",{className:`unknown__pt__mark__${e}`,children:n}),unknownList:({children:e})=>(0,t.jsx)("ul",{children:e}),unknownListItem:({children:e})=>(0,t.jsx)("li",{children:e}),unknownBlockStyle:({children:e})=>(0,t.jsx)("p",{children:e})};function y(e,t,n){let r=t[n],a=e[n];return"function"==typeof r||r&&"function"==typeof a?r:r?{...a,...r}:a}function b({value:e,components:n,listNestingMode:r,onMissingComponent:i=g}){let o=i||S,l=function(e,t){let n=[],r;for(let l=0;l<e.length;l++){let s=e[l];if(s){var i,o;if(!a(s)){n.push(s),r=void 0;continue}if(!r){r=u(s,l,t),n.push(r);continue}if(i=s,o=r,(i.level||1)===o.level&&i.listItem===o.listItem){r.children.push(s);continue}if((s.level||1)>r.level){let e=u(s,l,t);if("html"===t){let t=r.children[r.children.length-1],n={...t,children:[...t.children,e]};r.children[r.children.length-1]=n}else r.children.push(e);r=e;continue}if((s.level||1)<r.level){let e=n[n.length-1],a=e&&d(e,s);if(a){(r=a).children.push(s);continue}r=u(s,l,t),n.push(r);continue}if(s.listItem!==r.listItem){let e=n[n.length-1],a=e&&d(e,{level:s.level||1});if(a&&a.listItem===s.listItem){(r=a).children.push(s);continue}r=u(s,l,t),n.push(r);continue}console.warn("Unknown state encountered for block",s),n.push(s)}}return n}(Array.isArray(e)?e:null==e?[]:[e],r||"html"),s=(0,m.useMemo)(()=>n?function(e,t){let{block:n,list:r,listItem:a,marks:i,types:o,...l}=t;return{...e,block:y(e,t,"block"),list:y(e,t,"list"),listItem:y(e,t,"listItem"),marks:y(e,t,"marks"),types:y(e,t,"types"),...l}}(x,n):x,[n]),c=(0,m.useMemo)(()=>w(s,o),[s,o]);return(0,t.jsx)(t.Fragment,{children:l.map((e,t)=>c({node:e,index:t,isInline:!1,renderNode:c}))})}let w=(e,n)=>function s(c){var u,d,m,f,g,v,x,y;let b,w,{node:S,index:E,isInline:k}=c,N=S._key||`node-${E}`;return i(S)?function(r,a,i){let o=r.children.map((e,t)=>s({node:e._key?e:{...e,_key:`li-${a}-${t}`},index:t,isInline:!1,renderNode:s})),l=e.list,c=("function"==typeof l?l:l[r.listItem])||e.unknownList;if(c===e.unknownList){let e=r.listItem||"bullet";n(h(`list style "${e}"`,"list"),{nodeType:"listStyle",type:e})}return(0,t.jsx)(c,{value:r,index:a,isInline:!1,renderNode:s,children:o},i)}(S,E,N):a(S)?function(r,a,i){let o=j({node:r,index:a,isInline:!1,renderNode:s}),l=e.listItem,c=("function"==typeof l?l:l[r.listItem])||e.unknownListItem;if(c===e.unknownListItem){let e=r.listItem||"bullet";n(h(`list item style "${e}"`,"listItem"),{type:e,nodeType:"listItemStyle"})}let u=o.children;if(r.style&&"normal"!==r.style){let{listItem:e,...t}=r;u=s({node:t,index:a,isInline:!1,renderNode:s})}return(0,t.jsx)(c,{value:r,index:a,isInline:!1,renderNode:s,children:u},i)}(S,E,N):o(S)?function(r,a){let{markDef:i,markType:c,markKey:u}=r,d=e.marks[c]||e.unknownMark,m=r.children.map((e,t)=>s({node:e,index:t,isInline:!0,renderNode:s}));return d===e.unknownMark&&n(h(`mark type "${c}"`,"marks"),{nodeType:"mark",type:c}),(0,t.jsx)(d,{text:function e(t){let n="";return t.children.forEach(t=>{l(t)?n+=t.text:o(t)&&(n+=e(t))}),n}(r),value:i,markType:c,markKey:u,renderNode:s,children:m},a)}(S,N):S._type in e.types?(u=S,d=E,m=N,f=k,(b=e.types[u._type])?(0,t.jsx)(b,{value:u,isInline:f,index:d,renderNode:s},m):null):r(S)?function(r,a,i,o){let{_key:l,...c}=j({node:r,index:a,isInline:o,renderNode:s}),u=c.node.style||"normal",d=("function"==typeof e.block?e.block:e.block[u])||e.unknownBlockStyle;return d===e.unknownBlockStyle&&n(h(`block style "${u}"`,"block"),{nodeType:"blockStyle",type:u}),(0,t.jsx)(d,{...c,value:c.node,renderNode:s},i)}(S,E,N,k):l(S)?function(n,r){if("\n"===n.text){let n=e.hardBreak;return n?(0,t.jsx)(n,{},r):"\n"}return n.text}(S,N):(g=S,v=E,x=N,y=k,n(p(g._type),{nodeType:"block",type:g._type}),w=e.unknownType,(0,t.jsx)(w,{value:g,isInline:y,index:v,renderNode:s},x))};function j(e){let{node:t,index:r,isInline:a,renderNode:i}=e,o=(function(e){let{children:t}=e,r=e.markDefs??[];if(!t||!t.length)return[];let a=t.map(c),i={_type:"@span",children:[],markType:"<unknown>"},o=[i];for(let e=0;e<t.length;e++){let i=t[e];if(!i)continue;let l=a[e]||[],s=1;if(o.length>1)for(;s<o.length;s++){let e=o[s]?.markKey||"",t=l.indexOf(e);if(-1===t)break;l.splice(t,1)}let c=(o=o.slice(0,s))[o.length-1];if(c){for(let e of l){let t=r?.find(t=>t._key===e),n={_type:"@span",_key:i._key,children:[],markDef:t,markType:t?t._type:e,markKey:e};c.children.push(n),o.push(n),c=n}if(n(i)){let e=i.text.split("\n");for(let t=e.length;t-- >1;)e.splice(t,0,"\n");c.children=c.children.concat(e.map(e=>
1({_type:"@text",text:e})))}else c.children=c.children.concat(i)}}return i.children})(t).map((e,t)=>i({node:e,isInline:!0,index:t,renderNode:i}));return{_key:t._key||`block-${r}`,children:o,index:r,isInline:a,node:t}}function S(){}var E=e.i(97341);function k(e){switch(e?.destination){case"external":return e.url;case"internal":return`/${(e.slug??"").trim().replace(/^\/+/,"")}`;case"email":return e.email?`mailto:${e.email}`:void 0;default:return}}e.s(["resolveHref",0,k],81010);var N=e.i(47163);let R={"extra-small":"text-sm leading-[1.3] last:mb-0",small:"mb-2 text-base leading-[1.4] last:mb-0",medium:"mb-6 text-xl leading-[1.3] lg:text-2xl last:mb-0",large:"mb-6 text-2xl leading-[1.2] md:text-3xl lg:text-4xl last:mb-0","extra-large":"mb-6 max-w-260 text-[2.25rem] leading-extra-tight tracking-[-0.03em] text-balance md:text-5xl lg:text-[4.6875rem] last:mb-0"},C={list:{bullet:({children:e})=>(0,t.jsx)("ul",{className:"mb-2 list-disc space-y-1 pl-6",children:e}),number:({children:e})=>(0,t.jsx)("ol",{className:"mb-2 list-decimal space-y-1 pl-6",children:e})},listItem:{bullet:({children:e})=>(0,t.jsx)("li",{className:"leading-[1.4]",children:e}),number:({children:e})=>(0,t.jsx)("li",{className:"leading-[1.4]",children:e})},marks:{strong:({children:e})=>(0,t.jsx)("strong",{className:"font-bold",children:e}),em:({children:e})=>(0,t.jsx)("em",{className:"italic",children:e}),underline:({children:e})=>(0,t.jsx)("span",{className:"underline",children:e}),"strike-through":({children:e})=>(0,t.jsx)("span",{className:"line-through",children:e}),link:({children:e,value:n})=>(0,t.jsx)(E.ExternalLink,{href:k(n),noreferrer:!0,newTab:n?.opensInNewTab,className:"underline decoration-current/40 underline-offset-4 transition hover:decoration-current",children:e})}},T={normal:({children:e})=>(0,t.jsx)("p",{className:R.medium,children:e}),"extra-small":({children:e})=>(0,t.jsx)("p",{className:R["extra-small"],children:e}),small:({children:e})=>(0,t.jsx)("p",{className:R.small,children:e}),medium:({children:e})=>(0,t.jsx)("p",{className:R.medium,children:e}),large:({children:e})=>(0,t.jsx)("p",{className:R.large,children:e}),"extra-large":({children:e})=>(0,t.jsx)("p",{className:R["extra-large"],children:e})};e.s(["PortableText",0,function({value:e,className:n,size:r="small"}){return e?.length?(0,t.jsx)("div",{className:(0,N.cn)("text-pretty",n),children:(0,t.jsx)(b,{value:e,components:{...C,block:function(e){if("variable"===e)return T;let n="inherit"===e?"mb-6 last:mb-0":R[e],r=({children:e})=>(0,t.jsx)("p",{className:n,children:e});return{normal:r,"extra-small":r,small:r,medium:r,large:r,"extra-large":r}}(r)}})}):null}],33568)},98501,e=>{"use strict";var t=e.i(86827),n=e.i(33568),r=e.i(47163);function a({children:e,className:n}){return(0,t.jsx)("div",{className:(0,r.cn)("text-4xl leading-extra-tight w-full flex items-center justify-between",n),children:(0,t.jsx)("h3",{className:"lg:whitespace-pre-line tracking-[-0.03em] text-balance",children:e})})}var i=e.i(42412);function o({children:e,className:n}){return(0,t.jsxs)("h2",{className:(0,r.cn)("flex gap-4 items-center text-xs uppercase font-accent font-light text-balance leading-extra-tight",n),children:[(0,t.jsx)(i.Hex,{className:"w-2.5 fill-current translate-y-[0.05em]"}),(0,t.jsx)("span",{className:"text-trim",children:e})]})}e.s(["SectionHeader",0,function({title:e,subtitle:i,description:l,layout:s="stack",className:c,portableTextSize:u="medium",portableTextClassName:d,children:m}){return(0,t.jsxs)("div",{className:(0,r.cn)("flex flex-col gap-6 w-full items-start flex-1","stack"===s&&"lg:max-w-200",c),children:[e&&(0,t.jsx)(o,{children:e}),i&&(0,t.jsx)(a,{className:(0,r.cn)("split"===s&&"lg:max-w-125"),children:i}),(0,t.jsx)(n.PortableText,{value:l,size:"stack"===s?u:"small",className:(0,r.cn)("split"===s&&"lg:max-w-96 lg:ml-auto lg:-mt-10 opacity-80",d)}),m]})}],98501)},52775,e=>{"use strict";var t=e.i(86827),n=e.i(7136),r=e.i(58511),a=e.i(97341),i=e.i(42412),o=e.i(20208),l=e.i(98501),s=e.i(22471),c=e.i(15065),u=e.i(47163);function d({posts:e,theme:n,className:r}
1){return(0,t.jsx)("ul",{className:r,children:e?.slice(0,3).map(e=>e&&e.href&&e.location?(0,t.jsx)(m,{href:e.href,location:e.location,title:e.title,description:e.excerpt,image:e.card,theme:n},e._id):null)})}function m({href:e,location:n,title:o,description:l,image:s,theme:d}){return(0,t.jsx)("li",{className:(0,u.cn)("group basis-7/8 shrink-0 grow-0 cursor-pointer rounded-none hover:bg-white hover:rounded-2xl transition-[background-color_border-radius] duration-300","light"===d?"bg-grey-200":"bg-[#ABABAB]"),children:(0,t.jsxs)(a.ExternalLink,{href:e,"aria-label":o?`Read more: ${o}`:"Read more",className:"flex flex-col gap-4 justify-start p-4 size-full text-black",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between",children:[(0,t.jsx)(i.Hex,{className:"w-2 fill-transparent stroke-black group-hover:fill-black transition-colors duration-300"}),(0,t.jsx)(c.TextRevealButton,{align:"right",isExternal:"external"===n,children:"Read More"})]}),o&&(0,t.jsx)("p",{className:"sr-only",children:o}),l&&(0,t.jsx)("p",{className:"font-sans text-sm leading-extra-tight text-black",children:l}),s?.asset?.url&&s.width&&s.height&&(0,t.jsx)(r.default,{src:s.asset.url,alt:"",width:s.width,height:s.height,sizes:"33vw",placeholder:s.blurDataURL?"blur":"empty",blurDataURL:s.blurDataURL,className:"w-full relative mt-auto"})]})})}e.s(["ArticleCards",0,function({layout:e,theme:r="dark",sectionHeader:a,posts:i,button:c}){let[u]=(0,n.default)({align:"start",slidesToScroll:1});return(0,t.jsxs)(s.Section,{...e,children:[a&&(0,t.jsx)(l.SectionHeader,{...a}),i&&(0,t.jsxs)("div",{className:"w-[calc(100%+2*var(--spacing-gutter))] overflow-hidden md:overflow-visible md:w-full -mx-gutter md:mx-0",children:[(0,t.jsx)("div",{ref:u,role:"region","aria-label":"Articles carousel","aria-roledescription":"carousel",className:"cursor-grab md:hidden px-gutter",children:(0,t.jsx)(d,{posts:i,theme:r,className:"flex gap-6 py-1"})}),(0,t.jsx)(d,{posts:i,theme:r,className:"hidden md:grid grid-cols-2 lg:grid-cols-3 gap-6 py-1"})]}),c&&(0,t.jsx)(o.Button,{...c})]})}])},78770,e=>{"use strict";var t=e.i(86827),n=e.i(58511),r=e.i(21914),a=e.i(58105),i=e.i(69107),o=e.i(47163);e.s(["BrandHero",0,function({layout:e,title:l,titleColor:s,backgroundImage:c,foregroundImage:u,logo:d}){let m=(0,i.useAppStore)(e=>e.heroRef);return(0,t.jsxs)("section",{ref:m,className:(0,o.cn)("h-127 lg:h-155 xl:h-160 2xl:h-170 grid-pile items-end overflow-hidden relative -ml-gutter -mr-gutter lg:-mr-nav-width mb
1-10 lg:mb-20","white"===s&&"text-white","black"===s&&"text-black"),children:[c?.mobile?.src&&(0,t.jsx)(n.default,{priority:!0,src:c.mobile.src,alt:c.mobile.alt??"",fill:!0,sizes:"100vw",placeholder:c.mobile.blurDataURL?"blur":void 0,blurDataURL:c.mobile.blurDataURL,className:"absolute size-full object-cover object-center lg:hidden"}),c?.desktop?.src&&(0,t.jsx)(n.default,{priority:!0,src:c.desktop.src,alt:c.desktop.alt??"",fill:!0,sizes:"100vw",placeholder:c.desktop.blurDataURL?"blur":void 0,blurDataURL:c.desktop.blurDataURL,className:(0,o.cn)("absolute size-full object-cover object-center",c.mobile?.src&&"hidden lg:block")}),u?.mobile?.src&&(0,t.jsx)(n.default,{src:u.mobile.src,alt:u.mobile.alt??"",fill:!0,sizes:"100vw",priority:!0,placeholder:u.mobile.blurDataURL?"blur":void 0,blurDataURL:u.mobile.blurDataURL,className:"absolute inset-0 object-cover lg:hidden"}),u?.desktop?.src&&u.desktop.width&&u.desktop.height&&(0,t.jsx)("div",{className:"pl-gutter pr-gutter lg:pr-nav-width h-full hidden lg:block",children:(0,t.jsx)("div",{className:"max-w-page-max-width mx-auto relative h-full",children:(0,t.jsx)(n.default,{src:u.desktop.src,alt:u.desktop.alt??"",width:u.desktop.width,height:u.desktop.height,priority:!0,placeholder:u.desktop.blurDataURL?"blur":void 0,blurDataURL:u.desktop.blurDataURL,className:"absolute top-0 right-0 h-full object-cover"})})}),d?.image?.src&&d.image.width&&d.image.height&&(0,t.jsx)(n.default,{src:d.image.src,alt:d.image.alt??"",width:d.image.width,height:d.image.height,priority:!0,style:{height:`${d.height??50}%`,"--logo-y":`${d.yOffset??0}%`},className:"m-auto relative w-auto lg:translate-y-(--logo-y)"}),(0,t.jsx)("div",{className:"pl-gutter pr-gutter lg:pr-nav-width h-full",children:(0,t.jsxs)("div",{className:"max-w-page-max-width mx-auto relative h-full",children:[e?.hasDivider&&(0,t.jsx)(r.Divider,{className:"absolute z-10 top-header-height left-0 hidden lg:block"}),l&&(0,t.jsx)(a.PageTitle,{className:"pb-5 absolute z-10 mt-auto bottom-0 left-0 right-0 text-balance max-w-290",children:l})]})})]})}])},96957,e=>{"use strict";var t=e.i(86827),n=e.i(88522),r=e.i(47163),a=e.i(18988);function i({children:e,colorMode:n="dark-bg"}){return(0,t.jsxs)("span",{className:(0,r.cn)("min-w-20 leading-none w-[calc(max-content-40px)] backdrop-blur uppercase font-display text-trim flex items-center justify-center gap-2 py-3.5 px-3 text-sm rounded-none group-hover:rounded-3xl transition-[width_border-radius] duration-300 group-hover:pr-10 ","dark-bg"===n?"bg-[#2F2F2F] text-white group-hover:bg-black":"bg-grey-150 group-hover:bg-white text-black"),children:[(0,t.jsx)("span",{className:"text-trim",children:e}),(0,t.jsx)(a.ArrowRight,{className:"absolute right-3 top-1/2 opacity-0 translate-y-2 group-hover:-translate-y-1/2 transition-none group-hover:opacity-100 delay-200 group-hover:transition-all w-3"})]})}e.s(["Button",0,function({variant:e,href:a,label:o,noreferrer:l=!0,onClick:s,buttonType:c="button",form:u,isGroup:d=!0,disabled:m=!1,colorMode:f="dark-bg",className:h}){let p=(0,r.cn)(d&&"group",m?"opacity-50 cursor-not-allowed":"cursor-pointer",h);switch(e){case"internal":if(a&&a.startsWith("/"))return(0,t.jsx)(n.default,{href:a,onClick:s,className:p,"aria-disabled":m,tabIndex:m?-1:void 0,children:(0,t.jsx)(i,{colorMode:f,children:o})});break;case"external":if(a&&a.startsWith("https://"))return(0,t.jsx)("a",{href:a,target:"_blank",rel:"noopener"+(l?" noreferrer":""),onClick:s,className:p,"aria-disabled":m,tabIndex:m?-1:void 0,children:(0,t.jsx)(i,{colorMode:f,children:o})});break;case"button":if(null!=s||"button"!==c)return(0,t.jsx)("button",{type:c,form:u,onClick:s,className:p,disabled:m,children:(0,t.jsx)(i,{colorMode:f,children:o})})}return(0,t.jsx)("div",{className:(0,r.cn)("cursor-auto",h),children:(0,t.jsx)(i,{colorMode:f,children:o})})}],96957)},49445,e=>{"use strict";let t;var n=e.i(86827),r=e.i(19322),a=e.i(97341),i=e.i(47163);function o({className:e,...t}){return(0,n.jsx)("div",{"data-slot":"table-container",className:"relative w-full",children:(0,n.jsx)("table",{"data-slot":"table",className:(0,i.cn)("w-full caption-bottom text-sm",e),...t})})}function l({className:e,...t}){return(0,n.jsx)("thead",{"data-slot":"table-header",className:(0,i.cn)("[&_tr]:border-b",e),...t})}function s({className:e,...t}){return(0,n.jsx)("tbody",{"data-slot":"table-body",className:(0,i.cn)("[&_tr:first-child]:border-t",e),...t})}function c({className:e,...t}){return(0,n.jsx)("tr",{"data-slot":"table-row",className:(0,i.cn)("lg:table-row hover:bg-muted/50 data-[state=selected]:bg-muted border-b border-black transition-colors",e),...t})}function u({className:e,...t}){return(0,n.jsx)("th",{"data-slot":"table-head",className:(0,i.cn)("text-foreground h-10 px-2 text-left align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t})}function d({className:e,...t}){return(0,n.jsx)("td",{"data-slot":"table-cell",className:(0,i.cn)("lg:py-3 px-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t})}var m=e.i(36356),f=e.i(3739),h=e.i(21860),p=e.i(81613),g=e.i(58530),v=e.i(39576),x=e.i(22322),y=class extends p.Subscribable{constructor(e,t){super(),this.options=t,this.#e=e,this.#t=null,this.#n=(0,g.pendingThenable)(),this.bindMethods(),this.setOptions(t)}#e;#r=void 0;#a=void 0;#i=void 0;#o;#l;#n;#t;#s;#c;#u;#d;#m;#f;#h=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#r.addObserver(this),b(this.#r,this.options)?this.#p():this.updateResult(),this.#g())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return w(this.#r,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return w(this.#r,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#v(),this.#x(),this.#r.removeObserver(this)}setOptions(e){let t=this.options,n=this.#r;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,v.resolveEnabled)(this.options.enabled,this.#r))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#y(),this.#r.setOptions(this.options),t._defaulted&&!(0,v.shallowEqualObjects)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#r,observer:this});let r=this.hasListeners();r&&j(this.#r,n,this.options,t)&&this.#p(),this.updateResult(),r&&(this.#r!==n||(0,v.resolveEnabled)(this.options.enabled,this.#r)!==(0,v.resolveEnabled)(t.enabled,this.#r)||(0,v.resolveStaleTime)(this.options.staleTime,this.#r)!==(0,v.resolveStaleTime)(t.staleTime,this.#r))&&this.#b();let a=this.#w();r&&(this.#r!==n||(0,v.resolveEnabled)(this.options.enabled,this.#r)!==(0,v.resolveEnabled)(t.enabled,this.#r)||a!==this.#f)&&this.#j(a)}getOptimisticResult(e){var t,n;let r=this.#e.getQueryCache().build(this.#e,e),a=this.createResult(r,e);return t=this,n=a,(0,v.shallowEqualObjects)(t.getCurrentResult(),n)||(this.#i=a,this.#l=this.options,this.#o=this.#r.state),a}getCurrentResult(){return this.#i}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),"promise"===n&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#n.status||this.#n.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,n))})}trackProp(e){this.#h.add(e)}getCurrentQuery(){return this.#r}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#p({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#p(e){this.#y();let t=this.#r.fetch(this.options,e);return e?.throwOnError||(t=t.catch(v.noop)),t}#b(){this.#v();let e=(0,v.resolveStaleTime)(this.options.staleTime,this.#r);
1if(v.isServer||this.#i.isStale||!(0,v.isValidTimeout)(e))return;let t=(0,v.timeUntilStale)(this.#i.dataUpdatedAt,e);this.#d=x.timeoutManager.setTimeout(()=>{this.#i.isStale||this.updateResult()},t+1)}#w(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#r):this.options.refetchInterval)??!1}#j(e){this.#x(),this.#f=e,!v.isServer&&!1!==(0,v.resolveEnabled)(this.options.enabled,this.#r)&&(0,v.isValidTimeout)(this.#f)&&0!==this.#f&&(this.#m=x.timeoutManager.setInterval(()=>{(this.options.refetchIntervalInBackground||m.focusManager.isFocused())&&this.#p()},this.#f))}#g(){this.#b(),this.#j(this.#w())}#v(){this.#d&&(x.timeoutManager.clearTimeout(this.#d),this.#d=void 0)}#x(){this.#m&&(x.timeoutManager.clearInterval(this.#m),this.#m=void 0)}createResult(e,t){let n,r=this.#r,a=this.options,i=this.#i,o=this.#o,l=this.#l,s=e!==r?e.state:this.#a,{state:c}=e,u={...c},d=!1;if(t._optimisticResults){let n=this.hasListeners(),i=!n&&b(e,t),o=n&&j(e,r,t,a);(i||o)&&(u={...u,...(0,h.fetchState)(c.data,e.options)}),"isRestoring"===t._optimisticResults&&(u.fetchStatus="idle")}let{error:m,errorUpdatedAt:f,status:p}=u;n=u.data;let x=!1;if(void 0!==t.placeholderData&&void 0===n&&"pending"===p){let e;i?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(e=i.data,x=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,void 0!==e&&(p="success",n=(0,v.replaceData)(i?.data,e,t),d=!0)}if(t.select&&void 0!==n&&!x)if(i&&n===o?.data&&t.select===this.#s)n=this.#c;else try{this.#s=t.select,n=t.select(n),n=(0,v.replaceData)(i?.data,n,t),this.#c=n,this.#t=null}catch(e){this.#t=e}this.#t&&(m=this.#t,n=this.#c,f=Date.now(),p="error");let y="fetching"===u.fetchStatus,w="pending"===p,E="error"===p,k=w&&y,N=void 0!==n,R={status:p,fetchStatus:u.fetchStatus,isPending:w,isSuccess:"success"===p,isError:E,isInitialLoading:k,isLoading:k,data:n,dataUpdatedAt:u.dataUpdatedAt,error:m,errorUpdatedAt:f,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>s.dataUpdateCount||u.errorUpdateCount>s.errorUpdateCount,isFetching:y,isRefetching:y&&!w,isLoadingError:E&&!N,isPaused:"paused"===u.fetchStatus,isPlaceholderData:d,isRefetchError:E&&N,isStale:S(e,t),refetch:this.refetch,promise:this.#n,isEnabled:!1!==(0,v.resolveEnabled)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==R.data,n="error"===R.status&&!t,a=e=>{n?e.reject(R.error):t&&e.resolve(R.data)},i=()=>{a(this.#n=R.promise=(0,g.pendingThenable)())},o=this.#n;switch(o.status){case"pending":e.queryHash===r.queryHash&&a(o);break;case"fulfilled":(n||R.data!==o.value)&&i();break;case"rejected":n&&R.error===o.reason||i()}}return R}updateResult(){let e=this.#i,t=this.createResult(this.#r,this.options);if(this.#o=this.#r.state,this.#l=this.options,void 0!==this.#o.data&&(this.#u=this.#r),(0,v.shallowEqualObjects)(t,e))return;this.#i=t;let n=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#h.size)return!0;let r=new Set(n??this.#h);return this.options.throwOnError&&r.add("error"),Object.keys(this.#i).some(t=>this.#i[t]!==e[t]&&r.has(t))};this.#S({listeners:n()})}#y(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#r)return;let t=this.#r;this.#r=e,this.#a=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#g()}#S(e){f.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#i)}),this.#e.getQueryCache().notify({query:this.#r,type:"observerResultsUpdated"})})}};function b(e,t){return!1!==(0,v.resolveEnabled)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&w(e,t,t.refetchOnMount)}function w(e,t,n){if(!1!==(0,v.resolveEnabled)(t.enabled,e)&&"static"!==(0,v.resolveStaleTime)(t.staleTime,e)){let r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&S(e,t)}return!1}function j(e,t,n,r){return(e!==t||!1===(0,v.resolveEnabled)(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&S(e,n
1)}function S(e,t){return!1!==(0,v.resolveEnabled)(t.enabled,e)&&e.isStaleByTime((0,v.resolveStaleTime)(t.staleTime,e))}e.i(47439);var E=e.i(34815),k=r.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),N=r.createContext(!1);N.Provider;var R=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()}),C=e.i(96957);function T({category:e,onClick:t,selected:r}){return(0,n.jsx)("button",{onClick:t,className:(0,i.cn)("group px-1 py-0.5 bg-transparent border border-transparent hover:text-current transition-colors duration-300 uppercase cursor-pointer",r&&"bg-white border-current text-current"),children:(0,n.jsx)("span",{className:(0,i.cn)("opacity-50 group-hover:opacity-100 transition-opacity duration-300 text-trim leading-none text-sm",r&&"opacity-100"),children:e})})}var I=e.i(58511);function L({children:e,hexClassName:t,className:r}){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(I.default,{src:"/hex_outline.svg",width:8,height:10,alt:"Hex Outline",className:(0,i.cn)("invert absolute left-2 top-1/2 -translate-y-1/2 transition-all scale-0 group-hover:scale-100 opacity-0 group-hover:opacity-100 duration-300 hidden lg:block",t)}),(0,n.jsx)("span",{className:(0,i.cn)("block transition-transform lg:group-hover:translate-x-6 lg:translate-x-2 duration-300",r),children:e})]})}var P=e.i(15065);function A({posting:e,variant:t="default"}){return(0,n.jsxs)(c,{className:"py-4 lg:py-0 group grid grid-cols-4 lg:table-row relative",children:[(0,n.jsx)(d,{className:(0,i.cn)("font-medium lg:pl-4 row-start-1 row-end-2 col-span-3 lg:w-1/2 lg:px-1","compact"===t&&"px-0 lg:px-0"),children:(0,n.jsx)("div",{className:"relative",children:(0,n.jsx)(L,{hexClassName:"left-2",className:"text-base wrap-break-word whitespace-break-spaces",children:(0,n.jsx)(a.ExternalLink,{href:e.hostedUrl,"aria-label":`View job posting for ${e.text}`,children:e.text})})})}),"default"===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d,{className:"opacity-50 group-hover:opacity-100 transition-opacity duration-300 row-start-2 row-end-3 lg:w-[130px]",children:e.categories.team}),(0,n.jsx)(d,{className:"opacity-50 group-hover:opacity-100 transition-opacity duration-300 row-start-2 row-end-3 text-center lg:text-left lg:w-[130px]",children:e.categories.commitment})]}),(0,n.jsx)(d,{className:(0,i.cn)("opacity-50 group-hover:opacity-100 transition-opacity duration-300 row-start-2 row-end-3 lg:w-[130px]","compact"===t&&"px-0 lg:px-0"),children:e.categories.location}),(0,n.jsx)(d,{className:"lg:table-cell flex items-center justify-end row-start-1 row-end-3 col-start-4 col-end-5 text-right",children:(0,n.jsx)(a.ExternalLink,{href:e.applyUrl,"aria-label":`Apply for ${e.text}`,children:(0,n.jsx)(P.TextRevealButton,{align:"right",isExternal:!0,children:"default"===t?"Apply":null})})})]})}e.s(["JobTable",0,function({variant:e="default",className:t}){let{jobs:d,isLoading:m,error:h}=function(){let{isPending:e,error:t,data:n}=function(e,t,n){let a,i=r.useContext(N),o=r.useContext(k),l=(0,E.useQueryClient)(n),s=l.defaultQueryOptions(e);l.getDefaultOptions().queries?._experimental_beforeQuery?.(s);let c=l.getQueryCache().get(s.queryHash);if(s._optimisticResults=i?"isRestoring":"optimistic",s.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=s.staleTime;s.staleTime="function"==typeof t?(...n)=>e(t(...n)):e(t),"number"==typeof s.gcTime&&(s.gcTime=Math.max(s.gcTime,1e3))}a=c?.state.error&&"function"==typeof s.throwOnError?(0,v.shouldThrowError)(s.throwOnError,[c.state.error,c]):s.throwOnError,(s.suspense||s.experimental_prefetchInRender||a)&&!o.isReset()&&(s.retryOnMount=!1),r.useEffect(()=>{o.clearReset()},[o]);let u=!l.getQueryCache().get(s.queryHash),[d]=r.useState(()=>new t(l,s)),m=d.getOptimisticResult(s),h=!i&&!1!==e.subscribed;if(r.useSyncExternalStore(r.useCallback(e=>{let t=h?d.subscribe(f.notifyManager.batchCalls(e)):v.noop;return d.updateResult(),t},[d,h]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),r.useEffect(()=>{d.setOptions(s)},[s,d]),s?.suspense&&m.isPending)throw R(s,d,o);if((({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(a&&void 0===e.data||(0,v.shouldThrowError)(n,[e.error,r])))({result:m,errorResetBoundary:o,throwOnError:s.throwOnError,query:c,suspense:s.suspense}))throw m.error;if(l.getDefaultOptions().queries?._experimental_afterQuery?.(s,m),s.experimental_prefetchInRender&&!v.isServer&&m.isLoading&&m.isFetching&&!i){let e=u?R(s,d,o):c?.promise;e?.catch(v.noop).finally(()=>{d.updateResult()})}return s.notifyOnChangeProps?m:d.trackResult(m)}({queryKey:["jobs"],queryFn:()=>fetch("https://api.lever.co/v0/postings/offchainlabs?group=team&mode=json").then(e=>e.json())},y,void 0);return{jobs:n,isLoading:e,error:t}}(),[p,g]=(0,r.useState)("All"),x=(0,r.useCallback)(e=>{g(e)},[]);if(m||h)return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"text-center mt-6",children:"Loading jobs...."}),(0,n.jsx)("div",{className:"flex items-center justify-center pt-24",id:"jobs",children:(0,n.jsx)(C.Button,{variant:"external",href:"https://jobs.lever.co/offchainlabs",label:"Join us"})})]});let b=d.filter(e=>"All"===p||e.title===p).flatMap(e=>e.postings),w=("compact"===e?b.slice(0,3):b).map(t=>(0,n.jsx)(A,{posting:t,variant:e},t.id));return(0,n.jsxs)("div",{className:(0,i.cn)("w-full",t),children:["default"===e&&(0,n.jsxs)("div",{role:"group","aria-label":"Filter by category",className:"flex gap-2 lg:gap-8 mb-4 py-2 overflow-x-auto w-[calc(100%+2*var(--spacing-gutter))] -mx-gutter px-gutter",children:[(0,n.jsx)(T,{category:"All",onClick:()=>x("All"),selected:"All"===p}),d.map(e=>(0,n.jsx)(T,{category:e.title,onClick:()=>x(e.title),selected:p===e.title},e.title))]}),(0,n.jsxs)(o,{children:[(0,n.jsx)(l,{className:"sr-only",children:(0,n.jsxs)(c,{children:[(0,n.jsx)(u,{scope:"col",children:"Position"}),"default"===e&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u,{scope:"col",children:"Team"}),(0,n.jsx)(u,{scope:"col",children:"Commitment"})]}),(0,n.jsx)(u,{scope:"col",children:"Location"}),(0,n.jsx)(u,{scope:"col",children:"Apply"})]})}),(0,n.jsx)(s,{children:w})]}
1),"compact"===e&&(0,n.jsx)(a.ExternalLink,{href:"https://jobs.lever.co/offchainlabs",className:"group text-xs mr-auto mt-3 inline-block",children:(0,n.jsx)("span",{className:"opacity-50 group-hover:opacity-100 transition-opacity duration-300",children:"View more"})})]})}],49445)},34465,e=>{"use strict";var t=e.i(19322);let n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},r=(...e)=>e.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim();var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,t.forwardRef)(({color:e="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:l="",children:s,iconNode:c,...u},d)=>(0,t.createElement)("svg",{ref:d,...a,width:n,height:n,stroke:e,strokeWidth:o?24*Number(i)/Number(n):i,className:r("lucide",l),...!s&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(u)&&{"aria-hidden":"true"},...u},[...c.map(([e,n])=>(0,t.createElement)(e,n)),...Array.isArray(s)?s:[s]]));e.s(["default",0,(e,a)=>{let o=(0,t.forwardRef)(({className:o,...l},s)=>(0,t.createElement)(i,{ref:s,iconNode:a,className:r(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...l}));return o.displayName=n(e),o}],34465)},9303,e=>{"use strict";let t;var n,r,a,i,o,l,s,c,u=e.i(86827),d=e.i(83852),m=e.i(19322),f=e.i(44425),h=e.i(27166);let p=[{code:"US",name:"United States"},{code:"AF",name:"Afghanistan"},{code:"AX",name:"Aland Islands"},{code:"AL",name:"Albania"},{code:"DZ",name:"Algeria"},{code:"AS",name:"American Samoa"},{code:"AD",name:"Andorra"},{code:"AO",name:"Angola"},{code:"AI",name:"Anguilla"},{code:"AG",name:"Antigua and Barbuda"},{code:"AR",name:"Argentina"},{code:"AM",name:"Armenia"},{code:"AW",name:"Aruba"},{code:"AU",name:"Australia"},{code:"AT",name:"Austria"},{code:"AZ",name:"Azerbaijan"},{code:"BS",name:"Bahamas"},{code:"BH",name:"Bahrain"},{code:"BD",name:"Bangladesh"},{code:"BB",name:"Barbados"},{code:"BY",name:"Belarus"},{code:"BE",name:"Belgium"},{code:"BZ",name:"Belize"},{code:"BJ",name:"Benin"},{code:"BM",name:"Bermuda"},{code:"BT",name:"Bhutan"},{code:"BO",name:"Bolivia"},{code:"BQ",name:"Bonaire, Sint Eustatius and Saba"},{code:"BA",name:"Bosnia and Herzegovina"},{code:"BW",name:"Botswana"},{code:"BR",name:"Brazil"},{code:"IO",name:"British Indian Ocean Territory"},{code:"BN",name:"Brunei"},{code:"BG",name:"Bulgaria"},{code:"BF",name:"Burkina Faso"},{code:"BI",name:"Burundi"},{code:"CV",name:"Cabo Verde"},{code:"KH",name:"Cambodia"},{code:"CM",name:"Cameroon"},{code:"CA",name:"Canada"},{code:"KY",name:"Cayman Islands"},{code:"CF",name:"Central African Republic"},{code:"TD",name:"Chad"},{code:"CL",name:"Chile"},{code:"CN",name:"China"},{code:"CX",name:"Christmas Island"},{code:"CC",name:"Cocos (Keeling) Islands"},{code:"CO",name:"Colombia"},{code:"KM",name:"Comoros"},{code:"CG",name:"Congo"},{code:"CD",name:"Congo (DRC)"},{code:"CK",name:"Cook Islands"},{code:"CR",name:"Costa Rica"},{code:"CI",name:"Cote d'Ivoire"},{code:"HR",name:"Croatia"},{code:"CU",name:"Cuba"},{code:"CW",name:"Curacao"},{code:"CY",name:"Cyprus"},{code:"CZ",name:"Czech Republic"},{code:"DK",name:"Denmark"},{code:"DJ",name:"Djibouti"},{code:"DM",name:"Dominica"},{code:"DO",name:"Dominican Republic"},{code:"EC",name:"Ecuador"},{code:"EG",name:"Egypt"},{code:"SV",name:"El Salvador"},{code:"GQ",name:"Equatorial Guinea"},{code:"ER",name:"Eritrea"},{code:"EE",name:"Estonia"},{code:"SZ",name:"Eswatini"},{code:"ET",name:"Ethiopia"},{code:"FK",name:"Falkland Islands"},{code:"FO",name:"Faroe Islands"},{code:"FJ",name:"Fiji"},{code:"FI",name:"Finland"},{code:"FR",name:"France"},{code:"GF",name:"French Guiana"},{code:"PF",name:"French Polynesia"},{code:"GA",name:"Gabon"},{code:"GM",name:"Gambia"},{code:"GE",name:"Georgia"},{code:"DE",name:"Germany"},{code:"GH",name:"Ghana"},{code:"GI",name:"Gibraltar"},{code:"GR",name:"Greece"},{code:"GL",name:"Greenland"},{code:"GD",name:"Grenada"},{code:"GP",name:"Guadeloupe"},{code:"GU",name:"Guam"},{code:"GT",name:"Guatemala"}
1,{code:"GG",name:"Guernsey"},{code:"GN",name:"Guinea"},{code:"GW",name:"Guinea-Bissau"},{code:"GY",name:"Guyana"},{code:"HT",name:"Haiti"},{code:"VA",name:"Holy See (Vatican City)"},{code:"HN",name:"Honduras"},{code:"HK",name:"Hong Kong"},{code:"HU",name:"Hungary"},{code:"IS",name:"Iceland"},{code:"IN",name:"India"},{code:"ID",name:"Indonesia"},{code:"IR",name:"Iran"},{code:"IQ",name:"Iraq"},{code:"IE",name:"Ireland"},{code:"IM",name:"Isle of Man"},{code:"IL",name:"Israel"},{code:"IT",name:"Italy"},{code:"JM",name:"Jamaica"},{code:"JP",name:"Japan"},{code:"JE",name:"Jersey"},{code:"JO",name:"Jordan"},{code:"KZ",name:"Kazakhstan"},{code:"KE",name:"Kenya"},{code:"KI",name:"Kiribati"},{code:"XK",name:"Kosovo"},{code:"KW",name:"Kuwait"},{code:"KG",name:"Kyrgyzstan"},{code:"LA",name:"Laos"},{code:"LV",name:"Latvia"},{code:"LB",name:"Lebanon"},{code:"LS",name:"Lesotho"},{code:"LR",name:"Liberia"},{code:"LY",name:"Libya"},{code:"LI",name:"Liechtenstein"},{code:"LT",name:"Lithuania"},{code:"LU",name:"Luxembourg"},{code:"MO",name:"Macao"},{code:"MG",name:"Madagascar"},{code:"MW",name:"Malawi"},{code:"MY",name:"Malaysia"},{code:"MV",name:"Maldives"},{code:"ML",name:"Mali"},{code:"MT",name:"Malta"},{code:"MH",name:"Marshall Islands"},{code:"MQ",name:"Martinique"},{code:"MR",name:"Mauritania"},{code:"MU",name:"Mauritius"},{code:"YT",name:"Mayotte"},{code:"MX",name:"Mexico"},{code:"FM",name:"Micronesia"},{code:"MD",name:"Moldova"},{code:"MC",name:"Monaco"},{code:"MN",name:"Mongolia"},{code:"ME",name:"Montenegro"},{code:"MS",name:"Montserrat"},{code:"MA",name:"Morocco"},{code:"MZ",name:"Mozambique"},{code:"MM",name:"Myanmar"},{code:"NA",name:"Namibia"},{code:"NR",name:"Nauru"},{code:"NP",name:"Nepal"},{code:"NL",name:"Netherlands"},{code:"NC",name:"New Caledonia"},{code:"NZ",name:"New Zealand"},{code:"NI",name:"Nicaragua"},{code:"NE",name:"Niger"},{code:"NG",name:"Nigeria"},{code:"NU",name:"Niue"},{code:"NF",name:"Norfolk Island"},{code:"KP",name:"North Korea"},{code:"MK",name:"North Macedonia"},{code:"MP",name:"Northern Mariana Islands"},{code:"NO",name:"Norway"},{code:"OM",name:"Oman"},{code:"PK",name:"Pakistan"},{code:"PW",name:"Palau"},{code:"PS",name:"Palestine"},{code:"PA",name:"Panama"},{code:"PG",name:"Papua New Guinea"},{code:"PY",name:"Paraguay"},{code:"PE",name:"Peru"},{code:"PH",name:"Philippines"},{code:"PN",name:"Pitcairn Islands"},{code:"PL",name:"Poland"},{code:"PT",name:"Portugal"},{code:"PR",name:"Puerto Rico"},{code:"QA",name:"Qatar"},{code:"RE",name:"Reunion"},{code:"RO",name:"Romania"},{code:"RU",name:"Russia"},{code:"RW",name:"Rwanda"},{code:"BL",name:"Saint Barthelemy"},{code:"SH",name:"Saint Helena"},{code:"KN",name:"Saint Kitts and Nevis"},{code:"LC",name:"Saint Lucia"},{code:"MF",name:"Saint Martin"},{code:"PM",name:"Saint Pierre and Miquelon"},{code:"VC",name:"Saint Vincent and the Grenadines"},{code:"WS",name:"Samoa"},{code:"SM",name:"San Marino"},{code:"ST",name:"Sao Tome and Principe"},{code:"SA",name:"Saudi Arabia"},{code:"SN",name:"Senegal"},{code:"RS",name:"Serbia"},{code:"SC",name:"Seychelles"},{code:"SL",name:"Sierra Leone"},{code:"SG",name:"Singapore"},{code:"SX",name:"Sint Maarten"},{code:"SK",name:"Slovakia"},{code:"SI",name:"Slovenia"},{code:"SB",name:"Solomon Islands"},{code:"SO",name:"Somalia"},{code:"ZA",name:"South Africa"},{code:"GS",name:"South Georgia and the South Sandwich Islands"},{code:"KR",name:"South Korea"},{code:"SS",name:"South Sudan"},{code:"ES",name:"Spain"},{code:"LK",name:"Sri Lanka"},{code:"SD",name:"Sudan"},{code:"SR",name:"Suriname"},{code:"SJ",name:"Svalbard and Jan Mayen"},{code:"SE",name:"Sweden"},{code:"CH",name:"Switzerland"},{code:"SY",name:"Syria"},{code:"TW",name:"Taiwan"},{code:"TJ",name:"Tajikistan"},{code:"TZ",name:"Tanzania"},{code:"TH",name:"Thailand"},{code:"TL",name:"Timor-Leste"},{code:"TG",name:"Togo"},{code:"TK",name:"Tokelau"},{code:"TO",name:"Tonga"},{code:"TT",name:"Trinidad and Tobago"},{code:"TN",name:"Tunisia"},{code:"TR",name:"Turkey"},{code:"TM",name:"Turkmenistan"},{code:"TC",name:"Turks and Caicos Islands"},{code:"TV",name:"Tuvalu"},{code:"UG",name:"Uganda"},{code:"UA",name:"Ukraine"},{code:"AE",name:"United Arab Emirates"},{code:"GB",name:"United Kingdom"},{code:"UM",name:"United States Minor Outlying Islands"},{code:"UY",name:"Uruguay"},{code:"UZ",name:"Uzbekistan"},{code:"VU",name:"Vanuatu"},{code:"VE",name:"Venezuela"},{code:"VN",name:"Vietnam"},{code:"VG",name:"Virgin Islands (British)"},{code:"VI",name:"Virgin Islands (US)"},{code:"WF",name:"Wallis and Futuna"},{code:"EH",name:"Western Sahara"},{code:"YE",name:"Yemen"},{code:"ZM",name:"Zambia"},{code:"ZW",name:"Zimbabwe"}],g=["Enterprise Services","Arbitrum","ZeroDev","Prysm","Partnerships","Onchain Labs","Tandem","Other"];var v=e.i(7653);let x=/^\+?[0-9()\-\s]{7,25}$/,y=p.map(e=>e.code),b=[...g],w=v.z.object({firstName:v.z.string().trim().min(1,"Required field"),lastName:v.z.string().trim().min(1,"Required field"),email:v.z.string().trim().min(1,"Required field").pipe(v.z.email("Enter a valid email address")),phone:v.z.string().trim().min(1,"Required field").refine(e=>x.test(e),{message:"Enter a valid phone number"}).refine(e=>e.replace(/\D/g,"").length>=7,{message:"Enter at least 7 digits"}),jobTitle:v.z.string().trim().min(1,"Required field"),company:v.z.string().trim().min(1,"Required field"),country:v.z.enum(y,"Required field"),topicOfInterest:v.z.enum(b,"Required field"),message:v.z.string().trim().optional(),honeypot:v.z.string().optional()});var j=e.i(47547),S=e.i(8067);function E({isRequired:e=!0,children:t}){return(0,u.jsxs)("span",{className:"flex gap-1",children:[(0,u.jsx)("span",{className:"opacity-70",children:t}),e&&(0,u.jsx)("span",{className:"text-[red]",children:"*"})]})}var k=e.i(34465);let N=(0,k.default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),R=(0,k.default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),C=(0,k.default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);var T=e.i(9958);function I(e,[t,n]){return Math.min(n,Math.max(t,e))}var L=e.i(91967),P=e.i(81024),A=e.i(2390),M=e.i(76331),D=e.i(30088),F=e.i(61530);function O(e){let t=m.useRef(e);return m.useEffect(()=>{t.current=e}),m.useMemo(()=>(...e)=>t.current?.(...e),[])}var _="dismissableLayer.update",B=m.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),H=m.forwardRef((e,t)=>
1{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:o,onDismiss:l,...c}=e,d=m.useContext(B),[f,h]=m.useState(null),p=f?.ownerDocument??globalThis?.document,[,g]=m.useState({}),v=(0,A.useComposedRefs)(t,e=>h(e)),x=Array.from(d.layers),[y]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),b=x.indexOf(y),w=f?x.indexOf(f):-1,j=d.layersWithOutsidePointerEventsDisabled.size>0,S=w>=b,E=function(e,t=globalThis?.document){let n=O(e),r=m.useRef(!1),a=m.useRef(()=>{});return m.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){U("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",a.current),a.current=r,t.addEventListener("click",a.current,{once:!0})):r()}else t.removeEventListener("click",a.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...d.branches].some(e=>e.contains(t));S&&!n&&(a?.(e),o?.(e),e.defaultPrevented||l?.())},p),k=function(e,t=globalThis?.document){let n=O(e),r=m.useRef(!1);return m.useEffect(()=>{let e=e=>{e.target&&!r.current&&U("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;![...d.branches].some(e=>e.contains(t))&&(i?.(e),o?.(e),e.defaultPrevented||l?.())},p);return!function(e,t=globalThis?.document){let n=O(e);m.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{w===d.layers.size-1&&(r?.(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))},p),m.useEffect(()=>{if(f)return n&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(s=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),z(),()=>{n&&1===d.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=s)}},[f,p,n,d]),m.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),z())},[f,d]),m.useEffect(()=>{let e=()=>g({});return document.addEventListener(_,e),()=>document.removeEventListener(_,e)},[]),(0,u.jsx)(F.Primitive.div,{...c,ref:v,style:{pointerEvents:j?S?"auto":"none":void 0,...e.style}
1,onFocusCapture:(0,L.composeEventHandlers)(e.onFocusCapture,k.onFocusCapture),onBlurCapture:(0,L.composeEventHandlers)(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:(0,L.composeEventHandlers)(e.onPointerDownCapture,E.onPointerDownCapture)})});function z(){let e=new CustomEvent(_);document.dispatchEvent(e)}function U(e,t,n,{discrete:r}){let a=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?(0,F.dispatchDiscreteCustomEvent)(a,i):a.dispatchEvent(i)}H.displayName="DismissableLayer",m.forwardRef((e,t)=>{let n=m.useContext(B),r=m.useRef(null),a=(0,A.useComposedRefs)(t,r);return m.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(F.Primitive.div,{...e,ref:a})}).displayName="DismissableLayerBranch";var G=0;function W(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Q="focusScope.autoFocusOnMount",K="focusScope.autoFocusOnUnmount",V={bubbles:!1,cancelable:!0},$=m.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:i,...o}=e,[l,s]=m.useState(null),c=O(a),d=O(i),f=m.useRef(null),h=(0,A.useComposedRefs)(t,e=>s(e)),p=m.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;m.useEffect(()=>{if(r){let e=function(e){if(p.paused||!l)return;let t=e.target;l.contains(t)?f.current=t:Z(f.current,{select:!0})},t=function(e){if(p.paused||!l)return;let t=e.relatedTarget;null!==t&&(l.contains(t)||Z(f.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&Z(l)});return l&&n.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,l,p.paused]),m.useEffect(()=>{if(l){J.add(p);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(Q,V);l.addEventListener(Q,c),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(Z(r,{select:t}),document.activeElement!==n)return}(q(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&Z(l))}return()=>{l.removeEventListener(Q,c),setTimeout(()=>{let t=new CustomEvent(K,V);l.addEventListener(K,d),l.dispatchEvent(t),t.defaultPrevented||Z(e??document.body,{select:!0}),l.removeEventListener(K,d),J.remove(p)},0)}}},[l,c,d,p]);let g=m.useCallback(e=>{if(!n&&!r||p.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,a=document.activeElement;if(t&&a){var i;let t,r=e.currentTarget,[o,l]=[Y(t=q(i=r),i),Y(t.reverse(),i)];o&&l?e.shiftKey||a!==l?e.shiftKey&&a===o&&(e.preventDefault(),n&&Z(l,{select:!0})):(e.preventDefault(),n&&Z(o,{select:!0})):a===r&&e.preventDefault()}},[n,r,p.paused]);return(0,u.jsx)(F.Primitive.div,{tabIndex:-1,...o,ref:h,onKeyDown:g})});function q(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Y(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function Z(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}$.displayName="FocusScope";var J=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=X(t,e)).unshift(e)},remove(e){t=X(t,e),t[0]?.resume()}});function X(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var ee=e.i(61031);let et=["top","right","bottom","left"],en=Math.min,er=Math.max,ea=Math.round,ei=Math.floor,eo=e=>({x:e,y:e}
1),el={left:"right",right:"left",bottom:"top",top:"bottom"},es={start:"end",end:"start"};function ec(e,t){return"function"==typeof e?e(t):e}function eu(e){return e.split("-")[0]}function ed(e){return e.split("-")[1]}function em(e){return"x"===e?"y":"x"}function ef(e){return"y"===e?"height":"width"}let eh=new Set(["top","bottom"]);function ep(e){return eh.has(eu(e))?"y":"x"}function eg(e){return e.replace(/start|end/g,e=>es[e])}let ev=["left","right"],ex=["right","left"],ey=["top","bottom"],eb=["bottom","top"];function ew(e){return e.replace(/left|right|bottom|top/g,e=>el[e])}function ej(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function eS(e){let{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function eE(e,t,n){let r,{reference:a,floating:i}=e,o=ep(t),l=em(ep(t)),s=ef(l),c=eu(t),u="y"===o,d=a.x+a.width/2-i.width/2,m=a.y+a.height/2-i.height/2,f=a[s]/2-i[s]/2;switch(c){case"top":r={x:d,y:a.y-i.height};break;case"bottom":r={x:d,y:a.y+a.height};break;case"right":r={x:a.x+a.width,y:m};break;case"left":r={x:a.x-i.width,y:m};break;default:r={x:a.x,y:a.y}}switch(ed(t)){case"start":r[l]-=f*(n&&u?-1:1);break;case"end":r[l]+=f*(n&&u?-1:1)}return r}async function ek(e,t){var n;void 0===t&&(t={});let{x:r,y:a,platform:i,rects:o,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:m=!1,padding:f=0}=ec(t,e),h=ej(f),p=l[m?"floating"===d?"reference":"floating":d],g=eS(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(p)))||n?p:p.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),v="floating"===d?{x:r,y:a,width:o.floating.width,height:o.floating.height}:o.reference,x=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),y=await (null==i.isElement?void 0:i.isElement(x))&&await (null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},b=eS(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:x,strategy:s}):v);return{top:(g.top-b.top+h.top)/y.y,bottom:(b.bottom-g.bottom+h.bottom)/y.y,left:(g.left-b.left+h.left)/y.x,right:(b.right-g.right+h.right)/y.x}}let eN=async(e,t,n)=>{let{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:o}=n,l=i.filter(Boolean),s=await (null==o.isRTL?void 0:o.isRTL(t)),c=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:d}=eE(c,r,s),m=r,f={},h=0;for(let n=0;n<l.length;n++){var p;let{name:i,fn:g}=l[n],{x:v,y:x,data:y,reset:b}=await g({x:u,y:d,initialPlacement:r,placement:m,strategy:a,middlewareData:f,re
1cts:c,platform:{...o,detectOverflow:null!=(p=o.detectOverflow)?p:ek},elements:{reference:e,floating:t}});u=null!=v?v:u,d=null!=x?x:d,f={...f,[i]:{...f[i],...y}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(m=b.placement),b.rects&&(c=!0===b.rects?await o.getElementRects({reference:e,floating:t,strategy:a}):b.rects),{x:u,y:d}=eE(c,m,s)),n=-1)}return{x:u,y:d,placement:m,strategy:a,middlewareData:f}};function eR(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function eC(e){return et.some(t=>e[t]>=0)}let eT=new Set(["left","top"]);async function eI(e,t){let{placement:n,platform:r,elements:a}=e,i=await (null==r.isRTL?void 0:r.isRTL(a.floating)),o=eu(n),l=ed(n),s="y"===ep(n),c=eT.has(o)?-1:1,u=i&&s?-1:1,d=ec(t,e),{mainAxis:m,crossAxis:f,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof h&&(f="end"===l?-1*h:h),s?{x:f*u,y:m*c}:{x:m*c,y:f*u}}function eL(){return"u">typeof window}function eP(e){return eD(e)?(e.nodeName||"").toLowerCase():"#document"}function eA(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function eM(e){var t;return null==(t=(eD(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function eD(e){return!!eL()&&(e instanceof Node||e instanceof eA(e).Node)}function eF(e){return!!eL()&&(e instanceof Element||e instanceof eA(e).Element)}function eO(e){return!!eL()&&(e instanceof HTMLElement||e instanceof eA(e).HTMLElement)}function e_(e){return!(!eL()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof eA(e).ShadowRoot)}let eB=new Set(["inline","contents"]);function eH(e){let{overflow:t,overflowX:n,overflowY:r,display:a}=eZ(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!eB.has(a)}let ez=new Set(["table","td","th"]),eU=[":popover-open",":modal"];function eG(e){return eU.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let eW=["transform","translate","scale","rotate","perspective"],eQ=["transform","translate","scale","rotate","perspective","filter"],eK=["paint","layout","strict","content"];function eV(e){let t=e$(),n=eF(e)?eZ(e):e;return eW.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||eQ.some(e=>(n.willChange||"").includes(e))||eK.some(e=>(n.contain||"").includes(e))}function e$(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let eq=new Set(["html","body","#document"]);function eY(e){return eq.has(eP(e))}function eZ(e){return eA(e).getComputedStyle(e)}function eJ(e){return eF(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eX(e){if("html"===eP(e))return e;let t=e.assignedSlot||e.parentNode||e_(e)&&e.host||eM(e);return e_(t)?t.host:t}function e0(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let a=function e(t){let n=eX(t);return eY(n)?t.ownerDocument?t.ownerDocument.body:t.body:eO(n)&&eH(n)?n:e(n)}(e),i=a===(null==(r=e.ownerDocument)?void 0:r.body),o=eA(a);if(i){let e=e1(o);return t.concat(o,o.visualViewport||[],eH(a)?a:[],e&&n?e0(e):[])}return t.concat(a,e0(a,[],n))}function e1(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function e2(e){let t=eZ(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,a=eO(e),i=a?e.offsetWidth:n,o=a?e.offsetHeight:r,l=ea(n)!==i||ea(r)!==o;return l&&(n=i,r=o),{width:n,height:r,$:l}}function e5(e){return eF(e)?e:e.contextElement}function e3(e){let t=e5(e);if(!eO(t))return eo(1);let n=t.getBoundingClientRect(),{width:r,height:a,$:i}=e2(t),o=(i?ea(n.width):n.width)/r,l=(i?ea(n.height):n.height)/a;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}let e6=eo(0);function e4(e){let t=eA(e);return e$()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:e6}function e8(e,t,n,r){var a;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),o=e5(e),l=eo(1);t&&(r?eF(r)&&(l=e3(r)):l=e3(e));let s=(void 0===(a=n)&&(a=!1),r&&(!a||r===eA(o))&&a)?e4(o):eo(0),c=(i.left+s.x)/l.x,u=(i.top+s.y)/l.y,d=i.width/l.x,m=i.height/l.y;if(o){let e=eA(o),t=r&&eF(r)?eA(r):r,n=e,a=e1(n);for(;a&&r&&t!==n;){let e=e3(a),t=a.getBoundingClientRect(),r=eZ(a),i=t.left+(a.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.to
1p+(a.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,m*=e.y,c+=i,u+=o,a=e1(n=eA(a))}}return eS({width:d,height:m,x:c,y:u})}function e7(e,t){let n=eJ(e).scrollLeft;return t?t.left+n:e8(eM(e)).left+n}function e9(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-e7(e,n),y:n.top+t.scrollTop}}let te=new Set(["absolute","fixed"]);function tt(e,t,n){var r;let a;if("viewport"===t)a=function(e,t){let n=eA(e),r=eM(e),a=n.visualViewport,i=r.clientWidth,o=r.clientHeight,l=0,s=0;if(a){i=a.width,o=a.height;let e=e$();(!e||e&&"fixed"===t)&&(l=a.offsetLeft,s=a.offsetTop)}let c=e7(r);if(c<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),a="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-a);o<=25&&(i-=o)}else c<=25&&(i+=c);return{width:i,height:o,x:l,y:s}}(e,n);else if("document"===t){let t,n,i,o,l,s,c;r=eM(e),t=eM(r),n=eJ(r),i=r.ownerDocument.body,o=er(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),l=er(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-n.scrollLeft+e7(r),c=-n.scrollTop,"rtl"===eZ(i).direction&&(s+=er(t.clientWidth,i.clientWidth)-o),a={width:o,height:l,x:s,y:c}}else if(eF(t)){let e,r,i,o,l,s;r=(e=e8(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,o=eO(t)?e3(t):eo(1),l=t.clientWidth*o.x,s=t.clientHeight*o.y,a={width:l,height:s,x:i*o.x,y:r*o.y}}else{let n=e4(e);a={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return eS(a)}function tn(e){return"static"===eZ(e).position}function tr(e,t){if(!eO(e)||"fixed"===eZ(e).position)return null;if(t)return t(e);let n=e.offsetParent;return eM(e)===n&&(n=n.ownerDocument.body),n}function ta(e,t){var n;let r=eA(e);if(eG(e))return r;if(!eO(e)){let t=eX(e);for(;t&&!eY(t);){if(eF(t)&&!tn(t))return t;t=eX(t)}return r}let a=tr(e,t);for(;a&&(n=a,ez.has(eP(n)))&&tn(a);)a=tr(a,t);return a&&eY(a)&&tn(a)&&!eV(a)?r:a||function(e){let t=eX(e);for(;eO(t)&&!eY(t);){if(eV(t))return t;if(eG(t))break;t=eX(t)}return null}(e)||r}let ti=async function(e){let t=this.getOffsetParent||ta,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=eO(t),a=eM(t),i="fixed"===n,o=e8(e,!0,i,t),l={scrollLeft:0,scrollTop:0},s=eo(0);if(r||!r&&!i)if(("body"!==eP(t)||eH(a))&&(l=eJ(t)),r){let e=e8(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else a&&(s.x=e7(a));i&&!r&&a&&(s.x=e7(a));let c=!a||r||i?eo(0):e9(a,l);return{x:o.left+l.scrollLeft-s.x-c.x,y:o.top+l.scrollTop-s.y-c.y,width:o.width,height:o.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},to={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e,i="fixed"===a,o=eM(r),l=!!t&&eG(t.floating);if(r===o||l&&i)return n;let s={scrollLeft:0,scrollTop:0},c=eo(1),u=eo(0),d=eO(r);if((d||!d&&!i)&&(("body"!==eP(r)||eH(o))&&(s=eJ(r)),eO(r))){let e=e8(r);c=e3(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let m=!o||d||i?eo(0):e9(o,s);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+m.x,y:n.y*c.y-s.scrollTop*c.y+u.y+m.y}},getDocumentElement:eM,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e,i=[..."clippingAncestors"===n?eG(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=e0(e,[],!1).filter(e=>eF(e)&&"body"!==eP(e)),a=null,i="fixed"===eZ(e).position,o=i?eX(e):e;for(;eF(o)&&!eY(o);){let t=eZ(o),n=eV(o);n||"fixed"!==t.position||(a=null),(i?!n&&!a:!n&&"static"===t.position&&!!a&&te.has(a.position)||eH(o)&&!n&&function e(t,n){let r=eX(t);return!(r===n||!eF(r)||eY(r))&&("fixed"===eZ(r).position||e(r,n))}(e,o))?r=r.filter(e=>e!==o):a=t,o=eX(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],o=i[0],l=i.reduce((e,n)=>{let r=tt(t,n,a);return e.top=er(r.top,e.top),e.right=en(r.right,e.right),e.bottom=en(r.bottom,e.bottom),e.left=er(r.left,e.left),e},tt(t,o,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:ta,getElementRects:ti,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=e2(e);return{width:t,height:n}},getScale:e3,isElement:eF,isRTL:function(e){return"rtl"===eZ(e).direction}};function tl(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ts=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:a,rects:i,platform:o,elements:l,middlewareData:s}=t,{element:c,padding:u=0}=ec(e,t)||{};if(null==c)return{};let d=ej(u),m={x:n,y:r},f=em(ep(a)),h=ef(f),p=await o.getDimensions(c),g="y"===f,v=g?"clientHeight":"clientWidth",x=i.reference[h]+i.reference[f]-m[f]-i.floating[h],y=m[f]-i.reference[f],b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(c)),w=b?b[v]:0;w&&await (null==o.isElement?void 0:o.isElement(b))||(w=l.floating[v]||i.floating[h]);let j=w/2-p[h]/2-1,S=en(d[g?"top":"left"],j),E=en(d[g?"bottom":"right"],j),k=w-p[h]-E,N=w/2-p[h]/2+(x/2-y/2),R=er(S,en(N,k)),C=!s.arrow&&null!=ed(a)&&N!==R&&i.reference[h]/2-(N<S?S:E)-p[h]/2<0,T=C?N<S?N-S:N-k:0;return{[f]:m[f]+T,data:{[f]:R,centerOffset:N-R-T,...C&&{alignmentOffset:T}},reset:C}}});var tc="u">typeof document?m.useLayoutEffect:function(){};function tu(e,t){let n,r,a;if(e===t)return!0;
1if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!tu(e[r],t[r]))return!1;return!0}if((n=(a=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,a[r]))return!1;for(r=n;0!=r--;){let n=a[r];if(("_owner"!==n||!e.$$typeof)&&!tu(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function td(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function tm(e,t){let n=td(e);return Math.round(t*n)/n}function tf(e){let t=m.useRef(e);return tc(()=>{t.current=e}),t}var th=m.forwardRef((e,t)=>{let{children:n,width:r=10,height:a=5,...i}=e;return(0,u.jsx)(F.Primitive.svg,{...i,ref:t,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,u.jsx)("polygon",{points:"0,0 30,0 15,10"})})});th.displayName="Arrow";var tp=e.i(85766),tg=e.i(8352),tv="Popper",[tx,ty]=(0,M.createContextScope)(tv),[tb,tw]=tx(tv),tj=e=>{let{__scopePopper:t,children:n}=e,[r,a]=m.useState(null);return(0,u.jsx)(tb,{scope:t,anchor:r,onAnchorChange:a,children:n})};tj.displayName=tv;var tS="PopperAnchor",tE=m.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...a}=e,i=tw(tS,n),o=m.useRef(null),l=(0,A.useComposedRefs)(t,o),s=m.useRef(null);return m.useEffect(()=>{let e=s.current;s.current=r?.current||o.current,e!==s.current&&i.onAnchorChange(s.current)}),r?null:(0,u.jsx)(F.Primitive.div,{...a,ref:l})});tE.displayName=tS;var tk="PopperContent",[tN,tR]=tx(tk),tC=m.forwardRef((e,t)=>{var n,r,a,i,o,l,s,c,d,f,h,p,g;let{__scopePopper:v,side:x="bottom",sideOffset:y=0,align:b="center",alignOffset:w=0,arrowPadding:j=0,avoidCollisions:S=!0,collisionBoundary:E=[],collisionPadding:k=0,sticky:N="partial",hideWhenDetached:R=!1,updatePositionStrategy:C="optimized",onPlaced:I,...L}=e,P=tw(tk,v),[M,D]=m.useState(null),_=(0,A.useComposedRefs)(t,e=>D(e)),[B,H]=m.useState(null),z=(0,tg.useSize)(B),U=z?.width??0,G=z?.height??0,W="number"==typeof k?k:{top:0,right:0,bottom:0,left:0,...k},Q=Array.isArray(E)?E:[E],K=Q.length>0,V={padding:W,boundary:Q.filter(tP),altBoundary:K},{refs:$,floatingStyles:q,placement:Y,isPositioned:Z,middlewareData:J}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:i,floating:o}={},transform:l=!0,whileElementsMounted:s,open:c}=e,[u,d]=m.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=m.useState(r);tu(f,r)||h(r);let[p,g]=m.useState(null),[v,x]=m.useState(null),y=m.useCallback(e=>{e!==S.current&&(S.current=e,g(e))},[]),b=m.useCallback(e=>{e!==E.current&&(E.current=e,x(e))},[]),w=i||p,j=o||v,S=m.useRef(null),E=m.useRef(null),k=m.useRef(u),N=null!=s,R=tf(s),C=tf(a),I=tf(c),L=m.useCallback(()=>{var e,r;let a,i,o;if(!S.current||!E.current)return;let l={placement:t,strategy:n,middleware:f};C.current&&(l.platform=C.current),(e=S.current,r=E.current,a=new Map,o={...(i={platform:to,...l}).platform,_c:a},eN(e,r,{...i,platform:o})).then(e=>{let t={...e,isPositioned:!1!==I.current};P.current&&!tu(k.current,t)&&(k.current=t,T.flushSync(()=>{d(t)}))})},[f,t,n,C,I]);tc(()=>{!1===c&&k.current.isPositioned&&(k.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let P=m.useRef(!1);tc(()=>(P.current=!0,()=>{P.current=!1}),[]),tc(()=>{if(w&&(S.current=w),j&&(E.current=j),w&&j){if(R.current)return R.current(w,j,L);L()}},[w,j,L,R,N]);let A=m.useMemo(()=>({reference:S,floating:E,setReference:y,setFloating:b}),[y,b]),M=m.useMemo(()=>({reference:w,floating:j}),[w,j]),D=m.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=tm(M.floating,u.x),r=tm(M.floating,u.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...td(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,M.floating,u.x,u.y]);return m.useMemo(()=>({...u,update:L,refs:A,elements:M,floatingStyles:D}),[u,L,A,M,D])}({strategy:"fixed",placement:x+("center"!==b?"-"+b:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let a;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,u=e5(e),d=i||o?[...u?e0(u):[],...e0(t)]:[];
1d.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});let m=u&&s?function(e,t){let n,r=null,a=eM(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function o(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();let c=e.getBoundingClientRect(),{left:u,top:d,width:m,height:f}=c;if(l||t(),!m||!f)return;let h={rootMargin:-ei(d)+"px "+-ei(a.clientWidth-(u+m))+"px "+-ei(a.clientHeight-(d+f))+"px "+-ei(u)+"px",threshold:er(0,en(1,s))||1},p=!0;function g(t){let r=t[0].intersectionRatio;if(r!==s){if(!p)return o();r?o(!1,r):n=setTimeout(()=>{o(!1,1e-7)},1e3)}1!==r||tl(c,e.getBoundingClientRect())||o(),p=!1}try{r=new IntersectionObserver(g,{...h,root:a.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),i}(u,n):null,f=-1,h=null;l&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),u&&!c&&h.observe(u),h.observe(t));let p=c?e8(e):null;return c&&function t(){let r=e8(e);p&&!tl(p,r)&&n(),p=r,a=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=h)||e.disconnect(),h=null,c&&cancelAnimationFrame(a)}})(...e,{animationFrame:"always"===C}),elements:{reference:P.anchor},middleware:[{...{name:"offset",options:r=n={mainAxis:y+G,alignmentAxis:w},async fn(e){var t,n;let{x:a,y:i,placement:o,middlewareData:l}=e,s=await eI(e,r);return o===(null==(t=l.offset)?void 0:t.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:a+s.x,y:i+s.y,data:{...s,placement:o}}}},options:[n,void 0]},S&&{...{name:"shift",options:o=i={mainAxis:!0,crossAxis:!1,limiter:"partial"===N?{...(a=void 0,{options:a={},fn(e){let{x:t,y:n,placement:r,rects:i,middlewareData:o}=e,{offset:l=0,mainAxis:s=!0,crossAxis:c=!0}=ec(a,e),u={x:t,y:n},d=ep(r),m=em(d),f=u[m],h=u[d],p=ec(l,e),g="number"==typeof p?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(s){let e="y"===m?"height":"width",t=i.reference[m]-i.floating[e]+g.mainAxis,n=i.reference[m]+i.reference[e]-g.mainAxis;f<t?f=t:f>n&&(f=n)}if(c){var v,x;let e="y"===m?"width":"height",t=eT.has(eu(r)),n=i.reference[d]-i.floating[e]+(t&&(null==(v=o.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),a=i.reference[d]+i.reference[e]+(t?0:(null==(x=o.offset)?void 0:x[d])||0)-(t?g.crossAxis:0);h<n?h=n:h>a&&(h=a)}return{[m]:f,[d]:h}}}),options:[void 0,void 0]}:void 0,...V},async fn(e){let{x:t,y:n,placement:r,platform:a}=e,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=ec(o,e),u={x:t,y:n},d=await a.detectOverflow(e,c),m=ep(eu(r)),f=em(m),h=u[f],p=u[m];if(i){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=h+d[e],r=h-d[t];h=er(n,en(h,r))}if(l){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",n=p+d[e],r=p-d[t];p=er(n,en(p,r))}let g=s.fn({...e,[f]:h,[m]:p});return{...g,data:{x:g.x-t,y:g.y-n,enabled:{[f]:i,[m]:l}}}}},options:[i,void 0]},S&&{...{name:"flip",options:s=l={...V},async fn(e){var t,n,r,a,i,o,l,c;let u,d,m,{placement:f,middlewareData:h,rects:p,initialPlacement:g,platform:v,elements:x}=e,{mainAxis:y=!0,crossAxis:b=!0,fallbackPlacements:w,fallbackStrategy:j="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:E=!0,...k}=ec(s,e);if(null!=(t=h.arrow)&&t.alignmentOffset)return{};let N=eu(f),R=ep(g),C=eu(g)===g,T=await (null==v.isRTL?void 0:v.isRTL(x.floating)),I=w||(C||!E?[ew(g)]:(u=ew(g),[eg(g),u,eg(u)])),L="none"!==S;!w&&L&&I.push(...(d=ed(g),m=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?ex:ev;return t?ev:ex;case"left":case"right":return t?ey:eb;default:return[]}}(eu(g),"start"===S,T),d&&(m=m.map(e=>e+"-"+d),E&&(m=m.concat(m.map(eg)))),m));let P=[g,...I],A=await v.detectOverflow(e,k),M=[],D=(null==(n=h.flip)?void 0:n.overflows)||[];if(y&&M.push(A[N]),b){let e,t,n,r,a=(o=f,l=p,void 0===(c=T)&&(c=!1),e=ed(o),n=ef(t=em(ep(o))),r="x"===t?e===(c?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[n]>l.floating[n]&&(r=ew(r)),[r,ew(r)]);M.push(A[a[0]],A[a[1]])}if(D=[...D,{placement:f,overflows:M}],!M.every(e=>e<=0)){let e=((null==(r=h.flip)?void 0:r.index)||0)+1,t=P[e];if(t&&("alignment"!==b||R===ep(t)||D.every(e=>ep(e.placement)!==R||e.overflows[0]>0)))return{data:{index:e,overflows:D},reset:{placement:t}};let n=null==(a=D.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!n)switch(j){case"bestFit":{let e=null==(i=D.filter(e=>{if(L){let t=ep(e.placement);return t===R||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(n=e);break}case"initialPlacement":n=g}if(f!==n)return{reset:{placement:n}}}return{}}},options:[l,void 0]},{...{name:"size",options:d=c={...V,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:a,height:i}=t.reference,o=e.floating.style;o.setProperty("--radix-popper-available-width",`${n}px`),o.setProperty("--radix-popper-available-height",`${r}px`),o.setProperty("--radix-popper-anchor-width",`${a}px`),o.setProperty("--radix-popper-anchor-height",`${i}px`)}},async fn(e){var t,n;let r,a,{placement:i,rects:o,platform:l,elements:s}=e,{apply:c=()=>{},...u}=ec(d,e),m=await l.detectOverflow(e,u),f=eu(i),h=ed(i),p="y"===ep(i),{width:g,height:v}=o.floating;"top"===f||"bottom"===f?(r=f,a=h===(await (null==l.isRTL?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(a=f,r="end"===h?"top":"bottom");let x=v-m.top-m.bottom,y=g-m.left-m.right,b=en(v-m[r],x),w=en(g-m[a],y),j=!e.middlewareData.shift,S=b,E=w;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(E=y),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(S=x),j&&!h){let e=er(m.left,0),t=er(m.right,0),n=er(m.top,0),r=er(m.bottom,0);p?E=g-2*(0!==e||0!==t?e+t:er(m.left,m.right)):S=v-2*(0!==n||0!==r?n+r:er(m.top,m.bottom))}await c({...e,availableWidth:E,availableHeight:S});let k=await l.getDimensions(s.floating);return g!==k.width||v!==k.height?{reset:{rects:!0}}:{}}},options:[c,void 0]},B&&{...{name:"arrow",options:h=f={element:B,padding:j},fn(e){let{element:t,padding:n}="function"==typeof h?h(e):h;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?ts({element:t.current,padding:n}).fn(e):{}:t?ts({element:t,padding:n}).fn(e):{}}},options:[f,void 0]},tA({arrowWidth:U,arrowHeight:G}),R&&{...{name:"hide",options:g=p={strategy:"referenceHidden",...V},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...a}=ec(g,e);switch(r){case"referenceHidden":{let r=eR(await n.detectOverflow(e,{...a,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:eC(r)}}}case"escaped":{let r=eR(await n.detectOverflow(e,{...a,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:eC(r)}}}default:return{}}}},options:[p,void 0]}]}),[X,ee]=tM(Y),et=O(I);(0,tp.useLayoutEffect)(()=>{Z&&et?.()},[Z,et]);let ea=J.arrow?.x,eo=J.arrow?.y,el=J.arrow?.centerOffset!==0,[es,eh]=m.useState();return(0,tp.useLayoutEffect)(()=>{M&&eh(window.getComputedStyle(M).zIndex)},[M]),(0,u.jsx)("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{...q,transform:Z?q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:es,"--radix-popper-transform-origin":[J.transformOrigin?.x,J.transformOrigin?.y].join(" "),...J.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,u.jsx)(tN,{scope:v,placedSide:X,onArrowChange:H,arrowX:ea,arrowY:eo,shouldHideArrow:el,children:(0,u.jsx)(F.Primitive.div,{"data-side":X,"data-align":ee,...L,ref:_,style:{...L.style,animation:Z?void 0:"none"}})})})});tC.displayName=tk;var tT="PopperArrow",tI={top:"bottom",right:"left",bottom:"top",left:"right"},tL=m.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,a=tR(tT,n),i=tI[a.placedSide];return(0,u.jsx)("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:(0,u.jsx)(th,{...r,ref:t,style:{...r.style,display:"block"}})})});function tP(e){return null!==e}tL.displayName=tT;var tA=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:a}=t,i=a.arrow?.centerOffset!==0,o=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[s,c]=tM(n),u={start:"0%",center:"50%",end:"100%"}[c],d=(a.arrow?.x??0)+o/2,m=(a.arrow?.y??0)+l/2,f="",h="";return"bottom"===s?(f=i?u:`${d}px`,h=`${-l}px`):"top"===s?(f=i?u:`${d}px`,h=`${r.floating.height+l}px`):"right"===s?(f=`${-l}px`,h=i?u:`${m}px`):"left"===s&&(f=`${r.floating.width+l}px`,h=i?u:`${m}px`),{data:{x:f,y:h}}}});function tM(e){let[t,n="center"]=e.split("-");return[t,n]}var tD=m.forwardRef((e,t)=>
1{let{container:n,...r}=e,[a,i]=m.useState(!1);(0,tp.useLayoutEffect)(()=>i(!0),[]);let o=n||a&&globalThis?.document?.body;return o?T.default.createPortal((0,u.jsx)(F.Primitive.div,{...r,ref:t}),o):null});tD.displayName="Portal";var tF=e.i(85708),tO=e.i(56944),t_=e.i(9259),tB=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"});m.forwardRef((e,t)=>(0,u.jsx)(F.Primitive.span,{...e,ref:t,style:{...tB,...e.style}})).displayName="VisuallyHidden";var tH=new WeakMap,tz=new WeakMap,tU={},tG=0,tW=function(e){return e&&(e.host||tW(e.parentNode))},tQ=function(e,t,n,r){var a=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=tW(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});tU[n]||(tU[n]=new WeakMap);var i=tU[n],o=[],l=new Set,s=new Set(a),c=function(e){!e||l.has(e)||(l.add(e),c(e.parentNode))};a.forEach(c);var u=function(e){!e||s.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))u(e);else try{var t=e.getAttribute(r),a=null!==t&&"false"!==t,s=(tH.get(e)||0)+1,c=(i.get(e)||0)+1;tH.set(e,s),i.set(e,c),o.push(e),1===s&&a&&tz.set(e,!0),1===c&&e.setAttribute(n,"true"),a||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),l.clear(),tG++,function(){o.forEach(function(e){var t=tH.get(e)-1,a=i.get(e)-1;tH.set(e,t),i.set(e,a),t||(tz.has(e)||e.removeAttribute(r),tz.delete(e)),a||e.removeAttribute(n)}),--tG||(tH=new WeakMap,tH=new WeakMap,tz=new WeakMap,tU={})}},tK=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),a=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live], script"))),tQ(r,a,n,"aria-hidden")):function(){return null}},tV=e.i(24627),t$="right-scroll-bar-position",tq="width-before-scroll-bar";function tY(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var tZ="u">typeof window?m.useLayoutEffect:m.useEffect,tJ=new WeakMap,tX=(void 0===n&&(n={}),(void 0===r&&(r=function(e){return e}),a=[],i=!1,o={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=r(e,i);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){i=!0;var t=[];if(a.length){var n=a;a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),a={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),a}}}}).options=(0,tV.__assign)({async:!0,ssr:!1},n),o),t0=function(){},t1=m.forwardRef(function(e,t){var n,r,a,i,o=m.useRef(null),l=m.useState({onScrollCapture:t0,onWheelCapture:t0,onTouchMoveCapture:t0}),s=l[0],c=l[1],u=e.forwardProps,d=e.children,f=e.className,h=e.removeScrollBar,p=e.enabled,g=e.shards,v=e.sideCar,x=e.noRelative,y=e.noIsolation,b=e.inert,w=e.allowPinchZoom,j=e.as,S=e.gapMode,E=(0,tV.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=(n=[o,t],r=function(e){return n.forEach(function(t){return tY(t,e)})},(a=(0,m.useState)(function(){return{value:null,callback:r,facade:{get current(){return a.value},set current(value){var e=a.value;e!==value&&(a.value=value,a.callback(value,e))}}}})[0]).callback=r,i=a.facade,tZ(function(){var e=tJ.get(i);if(e){var t=new Set(e),r=new Set(n),a=i.current;t.forEach(function(e){r.has(e)||tY(e,null)}),r.forEach(function(e){t.has(e)||tY(e,a)})}tJ.set(i,n)},[n]),i),N=(0,tV.__assign)((0,tV.__assign)({},E),s);return m.createElement(m.Fragment,null,p&&m.createElement(v,{sideCar:tX,removeScrollBar:h,shards:g,noRelative:x,noIsolation:y,inert:b,setCallbacks:c,allowPinchZoom:!!w,lockRef:o,gapMode:S}),u?m.cloneElement(m.Children.only(d),(0,tV.__assign)((0,tV.__assign)({},N),{ref:k})):m.createElement(void 0===j?"div":j,(0,tV.__assign)({},N,{className:f,ref:k}),d))});t1.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},t1.classNames={fullWidth:tq,zeroRight:t$};var t2=function(e){var t=e.sideCar,n=(0,tV.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return m.createElement(r,(0,tV.__assign)({},n))};
1t2.isSideCarExport=!0;var t5=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,a;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},t3=function(){var e=t5();return function(t,n){m.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},t6=function(){var e=t3();return function(t){return e(t.styles,t.dynamic),null}},t4={left:0,top:0,right:0,gap:0},t8=function(e){return parseInt(e||"",10)||0},t7=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],a=t["padding"===e?"paddingRight":"marginRight"];return[t8(n),t8(r),t8(a)]},t9=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return t4;var t=t7(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ne=t6(),nt="data-scroll-locked",nn=function(e,t,n,r){var a=e.left,i=e.top,o=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(l,"px ").concat(r,";\n  }\n  body[").concat(nt,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(a,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(o,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(l,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(t$," {\n    right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(tq," {\n    margin-right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(t$," .").concat(t$," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(tq," .").concat(tq," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(nt,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n  }\n")},nr=function(){var e=parseInt(document.body.getAttribute(nt)||"0",10);return isFinite(e)?e:0},na=function(){m.useEffect(function(){return document.body.setAttribute(nt,(nr()+1).toString()),function(){var e=nr()-1;e<=0?document.body.removeAttribute(nt):document.body.setAttribute(nt,e.toString())}},[])},ni=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,a=void 0===r?"margin":r;na();var i=m.useMemo(function(){return t9(a)},[a]);return m.createElement(ne,{styles:nn(i,!t,a,n?"":"!important")})},no=!1;if("u">typeof window)try{var nl=Object.defineProperty({},"passive",{get:function(){return no=!0,!0}});window.addEventListener("test",nl,nl),window.removeEventListener("test",nl,nl)}catch(e){no=!1}var ns=!!no&&{passive:!1},nc=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},nu=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),nd(e,r)){var a=nm(e,r);if(a[1]>a[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},nd=function(e,t){return"v"===e?nc(t,"overflowY"):nc(t,"overflowX")},nm=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},nf=function(e,t,n,r,a){var i,o=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=o*r,s=n.target,c=t.contains(s),u=!1,d=l>0,m=0,f=0;do{if(!s)break;var h=nm(e,s),p=h[0],g=h[1]-h[2]-o*p;(p||g)&&nd(e,s)&&(m+=g,f+=p);var v=s.parentNode;s=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!c&&s!==document.body||c&&(t.contains(s)||t===s))return d&&(a&&1>Math.abs(m)||!a&&l>m)?u=!0:!d&&(a&&1>Math.abs(f)||!a&&-l>f)&&(u=!0),u},nh=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},np=function(e){return[e.deltaX,e.deltaY]},ng=function(e){return e&&"current"in e?e.current:e},nv=0,nx=[];let ny=(l=function(e){var t=m.useRef([]),n=m.useRef([0,0]),r=m.useRef(),a=m.useState(nv++)[0],i=m.useState(t6)[0],o=m.useRef(e);m.useEffect(function(){o.current=e},[e]),m.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(0,tV.__spreadArray)([e.lockRef.current],(e.shards||[]).map(ng),!0).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var l=m.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!o.current.allowPinchZoom;var a,i=nh(e),l=n.current,s="deltaX"in e?e.deltaX:l[0]-i[0],c="deltaY"in e?e.deltaY:l[1]-i[1],u=e.target,d=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var m=window.getSelection(),f=m&&m.anchorNode;if(f&&(f===u||f.contains(u)))return!1;var h=nu(d,u);if(!h)return!0;if(h?a=d:(a="v"===d?"h":"v",h=nu(d,u)),!h)return!1;if(!r.current&&"changedTouches"in e&&(s||c)&&(r.current=a),!a)return!0;var p=r.current||a;return nf(p,t,e,"h"===p?s:c,!0)},[]),s=m.useCallback(function(e){if(nx.length&&nx[nx.length-1]===i){var n="deltaY"in e?np(e):nh(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var a=(o.current.shards||[]).map(ng).filter(Boolean).filter(function(t){return t.contains(e.target)});(a.length>0?l(e,a[0]):!o.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=m.useCallback(function(e,n,r,a){var i={name:e,delta:n,target:r,should:a,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),u=m.useCallback(function(e){n.current=nh(e),r.current=void 0},[]),d=m.useCallback(function(t){c(t.type,np(t),t.target,l(t,e.lockRef.current))},[]),f=m.useCallback(function(t){c(t.type,nh(t),t.target,l(t,e.lockRef.current))},[]);m.useEffect(function(){return nx.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",s,ns),document.addEventListener("touchmove",s,ns),document.addEventListener("touchstart",u,ns),function(){nx=nx.filter(function(e){return e!==i}),document.removeEventListener("wheel",s,ns),document.removeEventListener("touchmove",s,ns),document.removeEventListener("touchstart",u,ns)}},[]);var h=e.removeScrollBar,p=e.inert;return m.createElement(m.Fragment,null,p?m.createElement(i,{styles:"\n  .block-interactivity-".concat(a," {pointer-events: none;}\n  .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,h?m.createElement(ni,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},tX.useMedium(l),t2);var nb=m.forwardRef(function(e,t){return m.createElement(t1,(0,tV.__assign)({},e,{ref:t,sideCar:ny}))});nb.classNames=t1.classNames;var nw=[" ","Enter","ArrowUp","ArrowDown"],nj=[" ","Enter"],nS="Select",[nE,nk,nN]=(0,P.createCollection)(nS),[nR,nC]=(0,M.createContextScope)(nS,[nN,ty]),nT=ty(),[nI,nL]=nR(nS),[nP,nA]=nR(nS),nM=e=>{let{__scopeSelect:t,children:n,open:r,defaultOpen:a,onOpenChange:i,value:o,defaultValue:l,onValueChange:s,dir:c,name:d,autoComplete:f,disabled:h,required:p,form:g}=e,v=nT(t),[x,y]=m.useState(null),[b,w]=m.useState(null),[j,S]=m.useState(!1),E=(0,D.useDirection)(c),[k,N]=(0,tO.useControllableState)({prop:r,defaultProp:a??!1,onChange:i,caller:nS}),[R,C]=(0,tO.useControllableState)({prop:o,defaultProp:l,onChange:s,caller:nS}),T=m.useRef(null),I=!x||g||!!x.closest("form"),[L,P]=m.useState(new Set),A=Array.from(L).map(e=>e.props.value).join(";");return(0,u.jsx)(tj,{...v,children:(0,u.jsxs)(nI,{required:p,scope:t,trigger:x,onTriggerChange:y,valueNode:b,onValueNodeChange:w,valueNodeHasChildren:j,onValueNodeHasChildrenChange:S,contentId:(0,ee.useId)(),value:R,onValueChange:C,open:k,onOpenChange:N,dir:E,triggerPointerDownPosRef:T,disabled:h,children:[(0,u.jsx)(nE.Provider,{scope:t,children:(0,u.jsx)(nP,{scope:e.__scopeSelect,onNativeOptionAdd:m.useCallback(e=>{P(t=>new Set(t).add(e))},[]),onNativeOptionRemove:m.useCallback(e=>{P(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),I?(0,u.jsxs)(rd,{"aria-hidden":!0,required:p,tabIndex:-1,name:d,autoComplete:f,value:R,onChange:e=>C(e.target.value),disabled:h,form:g,children:[void 0===R?(0,u.jsx)("option",{value:""}):null,Array.from(L)]},A):null]})})};nM.displayName=nS;var nD="SelectTrigger",nF=m.forwardRef((e,t)=>
1{let{__scopeSelect:n,disabled:r=!1,...a}=e,i=nT(n),o=nL(nD,n),l=o.disabled||r,s=(0,A.useComposedRefs)(t,o.onTriggerChange),c=nk(n),d=m.useRef("touch"),[f,h,p]=rf(e=>{let t=c().filter(e=>!e.disabled),n=t.find(e=>e.value===o.value),r=rh(t,e,n);void 0!==r&&o.onValueChange(r.value)}),g=e=>{l||(o.onOpenChange(!0),p()),e&&(o.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,u.jsx)(tE,{asChild:!0,...i,children:(0,u.jsx)(F.Primitive.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":rm(o.value)?"":void 0,...a,ref:s,onClick:(0,L.composeEventHandlers)(a.onClick,e=>{e.currentTarget.focus(),"mouse"!==d.current&&g(e)}),onPointerDown:(0,L.composeEventHandlers)(a.onPointerDown,e=>{d.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(g(e),e.preventDefault())}),onKeyDown:(0,L.composeEventHandlers)(a.onKeyDown,e=>{let t=""!==f.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||h(e.key),(!t||" "!==e.key)&&nw.includes(e.key)&&(g(),e.preventDefault())})})})});nF.displayName=nD;var nO="SelectValue",n_=m.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:a,children:i,placeholder:o="",...l}=e,s=nL(nO,n),{onValueNodeHasChildrenChange:c}=s,d=void 0!==i,m=(0,A.useComposedRefs)(t,s.onValueNodeChange);return(0,tp.useLayoutEffect)(()=>{c(d)},[c,d]),(0,u.jsx)(F.Primitive.span,{...l,ref:m,style:{pointerEvents:"none"},children:rm(s.value)?(0,u.jsx)(u.Fragment,{children:o}):i})});n_.displayName=nO;var nB=m.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...a}=e;return(0,u.jsx)(F.Primitive.span,{"aria-hidden":!0,...a,ref:t,children:r||"▼"})});nB.displayName="SelectIcon";var nH=e=>(0,u.jsx)(tD,{asChild:!0,...e});nH.displayName="SelectPortal";var nz="SelectContent",nU=m.forwardRef((e,t)=>{let n=nL(nz,e.__scopeSelect),[r,a]=m.useState();return((0,tp.useLayoutEffect)(()=>{a(new DocumentFragment)},[]),n.open)?(0,u.jsx)(nK,{...e,ref:t}):r?T.createPortal((0,u.jsx)(nG,{scope:e.__scopeSelect,children:(0,u.jsx)(nE.Slot,{scope:e.__scopeSelect,children:(0,u.jsx)("div",{children:e.children})})}),r):null});nU.displayName=nz;var[nG,nW]=nR(nz),nQ=(0,tF.createSlot)("SelectContent.RemoveScroll"),nK=m.forwardRef((e,t)=>{let{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:i,onPointerDownOutside:o,side:l,sideOffset:s,align:c,alignOffset:d,arrowPadding:f,collisionBoundary:h,collisionPadding:p,sticky:g,hideWhenDetached:v,avoidCollisions:x,...y}=e,b=nL(nz,n),[w,j]=m.useState(null),[S,E]=m.useState(null),k=(0,A.useComposedRefs)(t,e=>j(e)),[N,R]=m.useState(null),[C,T]=m.useState(null),I=nk(n),[P,M]=m.useState(!1),D=m.useRef(!1);m.useEffect(()=>{if(w)return tK(w)},[w]),m.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??W()),document.body.insertAdjacentElement("beforeend",e[1]??W()),G++,()=>{1===G&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),G--}},[]);let F=m.useCallback(e=>{let[t,...n]=I().map(e=>e.ref.current),[r]=n.slice(-1),a=document.activeElement;for(let n of e)if(n===a||(n?.scrollIntoView({block:"nearest"}),n===t&&S&&(S.scrollTop=0),n===r&&S&&(S.scrollTop=S.scrollHeight),n?.focus(),document.activeElement!==a))return},[I,S]),O=m.useCallback(()=>F([N,w]),[F,N,w]);m.useEffect(()=>{P&&O()},[P,O]);let{onOpenChange:_,triggerPointerDownPosRef:B}=b;m.useEffect(()=>{if(w){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(B.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(B.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():w.contains(n.target)||_(!1),document.removeEventListener("pointermove",t),B.current=null};return null!==B.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[w,_,B]),m.useEffect(()=>{let e=()=>_(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[_]);let[z,U]=rf(e=>{let t=I().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=rh(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),Q=m.useCallback((e,t,n)=>{let r=!D.current&&!n;(void 0!==b.value&&b.value===t||r)&&(R(e),r&&(D.current=!0))},[b.value]),K=m.useCallback(()=>w?.focus(),[w]),V=m.useCallback((e,t,n)=>{let r=!D.current&&!n;(void 0!==b.value&&b.value===t||r)&&T(e)},[b.value]),q="popper"===r?n$:nV,Y=q===n$?{side:l,sideOffset:s,align:c,alignOffset:d,arrowPadding:f,collisionBoundary:h,collisionPadding:p,sticky:g,hideWhenDetached:v,avoidCollisions:x}:{};return(0,u.jsx)(nG,{scope:n,content:w,viewport:S,onViewportChange:E,itemRefCallback:Q,selectedItem:N,onItemLeave:K,itemTextRefCallback:V,focusSelectedItem:O,selectedItemText:C,position:r,isPositioned:P,searchRef:z,children:(0,u.jsx)(nb,{as:nQ,allowPinchZoom:!0,children:(0,u.jsx)($,{asChild:!0,trapped:b.o
1pen,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,L.composeEventHandlers)(a,e=>{b.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,u.jsx)(H,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>b.onOpenChange(!1),children:(0,u.jsx)(q,{role:"listbox",id:b.contentId,"data-state":b.open?"open":"closed",dir:b.dir,onContextMenu:e=>e.preventDefault(),...y,...Y,onPlaced:()=>M(!0),ref:k,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:(0,L.composeEventHandlers)(y.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||U(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=I().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>F(t)),e.preventDefault()}})})})})})})});nK.displayName="SelectContentImpl";var nV=m.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:r,...a}=e,i=nL(nz,n),o=nW(nz,n),[l,s]=m.useState(null),[c,d]=m.useState(null),f=(0,A.useComposedRefs)(t,e=>d(e)),h=nk(n),p=m.useRef(!1),g=m.useRef(!0),{viewport:v,selectedItem:x,selectedItemText:y,focusSelectedItem:b}=o,w=m.useCallback(()=>{if(i.trigger&&i.valueNode&&l&&c&&v&&x&&y){let e=i.trigger.getBoundingClientRect(),t=c.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),a=y.getBoundingClientRect();if("rtl"!==i.dir){let r=a.left-t.left,i=n.left-r,o=e.left-i,s=e.width+o,c=Math.max(s,t.width),u=I(i,[10,Math.max(10,window.innerWidth-10-c)]);l.style.minWidth=s+"px",l.style.left=u+"px"}else{let r=t.right-a.right,i=window.innerWidth-n.right-r,o=window.innerWidth-e.right-i,s=e.width+o,c=Math.max(s,t.width),u=I(i,[10,Math.max(10,window.innerWidth-10-c)]);l.style.minWidth=s+"px",l.style.right=u+"px"}let o=h(),s=window.innerHeight-20,u=v.scrollHeight,d=window.getComputedStyle(c),m=parseInt(d.borderTopWidth,10),f=parseInt(d.paddingTop,10),g=parseInt(d.borderBottomWidth,10),b=m+f+u+parseInt(d.paddingBottom,10)+g,w=Math.min(5*x.offsetHeight,b),j=window.getComputedStyle(v),S=parseInt(j.paddingTop,10),E=parseInt(j.paddingBottom,10),k=e.top+e.height/2-10,N=x.offsetHeight/2,R=m+f+(x.offsetTop+N);if(R<=k){let e=o.length>0&&x===o[o.length-1].ref.current;l.style.bottom="0px";let t=Math.max(s-k,N+(e?E:0)+(c.clientHeight-v.offsetTop-v.offsetHeight)+g);l.style.height=R+t+"px"}else{let e=o.length>0&&x===o[0].ref.current;l.style.top="0px";let t=Math.max(k,m+v.offsetTop+(e?S:0)+N);l.style.height=t+(b-R)+"px",v.scrollTop=R-k+v.offsetTop}l.style.margin="10px 0",l.style.minHeight=w+"px",l.style.maxHeight=s+"px",r?.(),requestAnimationFrame(()=>p.current=!0)}},[h,i.trigger,i.valueNode,l,c,v,x,y,i.dir,r]);(0,tp.useLayoutEffect)(()=>w(),[w]);let[j,S]=m.useState();(0,tp.useLayoutEffect)(()=>{c&&S(window.getComputedStyle(c).zIndex)},[c]);let E=m.useCallback(e=>{e&&!0===g.current&&(w(),b?.(),g.current=!1)},[w,b]);return(0,u.jsx)(nq,{scope:n,contentWrapper:l,shouldExpandOnScrollRef:p,onScrollButtonChange:E,children:(0,u.jsx)("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:j},children:(0,u.jsx)(F.Primitive.div,{...a,ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});nV.displayName="SelectItemAlignedPosition";var n$=m.forwardRef((e,t)=>{let{__scopeSelect:n,align:r="start",collisionPadding:a=10,...i}=e,o=nT(n);return(0,u.jsx)(tC,{...o,...i,ref:t,align:r,collisionPadding:a,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)"}})});n$.displayName="SelectPopperPosition";var[nq,nY]=nR(nz,{}),nZ="SelectViewport",nJ=m.forwardRef((e,t)=>
1{let{__scopeSelect:n,nonce:r,...a}=e,i=nW(nZ,n),o=nY(nZ,n),l=(0,A.useComposedRefs)(t,i.onViewportChange),s=m.useRef(0);return(0,u.jsxs)(u.Fragment,{children:[(0,u.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:r}),(0,u.jsx)(nE.Slot,{scope:n,children:(0,u.jsx)(F.Primitive.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:(0,L.composeEventHandlers)(a.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=o;if(r?.current&&n){let e=Math.abs(s.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,a=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(a<r){let i=a+e,o=Math.min(r,i),l=i-o;n.style.height=o+"px","0px"===n.style.bottom&&(t.scrollTop=l>0?l:0,n.style.justifyContent="flex-end")}}}s.current=t.scrollTop})})})]})});nJ.displayName=nZ;var nX="SelectGroup",[n0,n1]=nR(nX),n2=m.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,a=(0,ee.useId)();return(0,u.jsx)(n0,{scope:n,id:a,children:(0,u.jsx)(F.Primitive.div,{role:"group","aria-labelledby":a,...r,ref:t})})});n2.displayName=nX;var n5="SelectLabel",n3=m.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,a=n1(n5,n);return(0,u.jsx)(F.Primitive.div,{id:a.id,...r,ref:t})});n3.displayName=n5;var n6="SelectItem",[n4,n8]=nR(n6),n7=m.forwardRef((e,t)=>{let{__scopeSelect:n,value:r,disabled:a=!1,textValue:i,...o}=e,l=nL(n6,n),s=nW(n6,n),c=l.value===r,[d,f]=m.useState(i??""),[h,p]=m.useState(!1),g=(0,A.useComposedRefs)(t,e=>s.itemRefCallback?.(e,r,a)),v=(0,ee.useId)(),x=m.useRef("touch"),y=()=>{a||(l.onValueChange(r),l.onOpenChange(!1))};if(""===r)throw 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(0,u.jsx)(n4,{scope:n,value:r,disabled:a,textId:v,isSelected:c,onItemTextChange:m.useCallback(e=>{f(t=>t||(e?.textContent??"").trim())},[]),children:(0,u.jsx)(nE.ItemSlot,{scope:n,value:r,disabled:a,textValue:d,children:(0,u.jsx)(F.Primitive.div,{role:"option","aria-labelledby":v,"data-highlighted":h?"":void 0,"aria-selected":c&&h,"data-state":c?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...o,ref:g,onFocus:(0,L.composeEventHandlers)(o.onFocus,()=>p(!0)),onBlur:(0,L.composeEventHandlers)(o.onBlur,()=>p(!1)),onClick:(0,L.composeEventHandlers)(o.onClick,()=>{"mouse"!==x.current&&y()}),onPointerUp:(0,L.composeEventHandlers)(o.onPointerUp,()=>{"mouse"===x.current&&y()}),onPointerDown:(0,L.composeEventHandlers)(o.onPointerDown,e=>{x.current=e.pointerType}),onPointerMove:(0,L.composeEventHandlers)(o.onPointerMove,e=>{x.current=e.pointerType,a?s.onItemLeave?.():"mouse"===x.current&&e.currentTarget.focus({preventScroll:!0})}
1),onPointerLeave:(0,L.composeEventHandlers)(o.onPointerLeave,e=>{e.currentTarget===document.activeElement&&s.onItemLeave?.()}),onKeyDown:(0,L.composeEventHandlers)(o.onKeyDown,e=>{(s.searchRef?.current===""||" "!==e.key)&&(nj.includes(e.key)&&y()," "===e.key&&e.preventDefault())})})})})});n7.displayName=n6;var n9="SelectItemText",re=m.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:a,...i}=e,o=nL(n9,n),l=nW(n9,n),s=n8(n9,n),c=nA(n9,n),[d,f]=m.useState(null),h=(0,A.useComposedRefs)(t,e=>f(e),s.onItemTextChange,e=>l.itemTextRefCallback?.(e,s.value,s.disabled)),p=d?.textContent,g=m.useMemo(()=>(0,u.jsx)("option",{value:s.value,disabled:s.disabled,children:p},s.value),[s.disabled,s.value,p]),{onNativeOptionAdd:v,onNativeOptionRemove:x}=c;return(0,tp.useLayoutEffect)(()=>(v(g),()=>x(g)),[v,x,g]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(F.Primitive.span,{id:s.textId,...i,ref:h}),s.isSelected&&o.valueNode&&!o.valueNodeHasChildren?T.createPortal(i.children,o.valueNode):null]})});re.displayName=n9;var rt="SelectItemIndicator",rn=m.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return n8(rt,n).isSelected?(0,u.jsx)(F.Primitive.span,{"aria-hidden":!0,...r,ref:t}):null});rn.displayName=rt;var rr="SelectScrollUpButton",ra=m.forwardRef((e,t)=>{let n=nW(rr,e.__scopeSelect),r=nY(rr,e.__scopeSelect),[a,i]=m.useState(!1),o=(0,A.useComposedRefs)(t,r.onScrollButtonChange);return(0,tp.useLayoutEffect)(()=>{if(n.viewport&&n.isPositioned){let e=function(){i(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),a?(0,u.jsx)(rl,{...e,ref:o,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});ra.displayName=rr;var ri="SelectScrollDownButton",ro=m.forwardRef((e,t)=>{let n=nW(ri,e.__scopeSelect),r=nY(ri,e.__scopeSelect),[a,i]=m.useState(!1),o=(0,A.useComposedRefs)(t,r.onScrollButtonChange);return(0,tp.useLayoutEffect)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;i(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),a?(0,u.jsx)(rl,{...e,ref:o,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});ro.displayName=ri;var rl=m.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:r,...a}=e,i=nW("SelectScrollButton",n),o=m.useRef(null),l=nk(n),s=m.useCallback(()=>{null!==o.current&&(window.clearInterval(o.current),o.current=null)},[]);return m.useEffect(()=>()=>s(),[s]),(0,tp.useLayoutEffect)(()=>{let e=l().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[l]),(0,u.jsx)(F.Primitive.div,{"aria-hidden":!0,...a,ref:t,style:{flexShrink:0,...a.style},onPointerDown:(0,L.composeEventHandlers)(a.onPointerDown,()=>{null===o.current&&(o.current=window.setInterval(r,50))}),onPointerMove:(0,L.composeEventHandlers)(a.onPointerMove,()=>{i.onItemLeave?.(),null===o.current&&(o.current=window.setInterval(r,50))}
1),onPointerLeave:(0,L.composeEventHandlers)(a.onPointerLeave,()=>{s()})})}),rs=m.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,u.jsx)(F.Primitive.div,{"aria-hidden":!0,...r,ref:t})});rs.displayName="SelectSeparator";var rc="SelectArrow",ru=m.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,a=nT(n),i=nL(rc,n),o=nW(rc,n);return i.open&&"popper"===o.position?(0,u.jsx)(tL,{...a,...r,ref:t}):null});ru.displayName=rc;var rd=m.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{let a=m.useRef(null),i=(0,A.useComposedRefs)(r,a),o=(0,t_.usePrevious)(t);return m.useEffect(()=>{let e=a.current;if(!e)return;let n=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(o!==t&&n){let r=new Event("change",{bubbles:!0});n.call(e,t),e.dispatchEvent(r)}},[o,t]),(0,u.jsx)(F.Primitive.select,{...n,style:{...tB,...n.style},ref:i,defaultValue:t})});function rm(e){return""===e||void 0===e}function rf(e){let t=O(e),n=m.useRef(""),r=m.useRef(0),a=m.useCallback(e=>{let a=n.current+e;t(a),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout(()=>e(""),1e3))}(a)},[t]),i=m.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return m.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,a,i]}function rh(e,t,n){var r,a;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1,l=(r=e,a=Math.max(o,0),r.map((e,t)=>r[(a+t)%r.length]));1===i.length&&(l=l.filter(e=>e!==n));let s=l.find(e=>e.textValue.toLowerCase().startsWith(i.toLowerCase()));return s!==n?s:void 0}rd.displayName="SelectBubbleInput",e.s(["Arrow",0,ru,"Content",0,nU,"Group",0,n2,"Icon",0,nB,"Item",0,n7,"ItemIndicator",0,rn,"ItemText",0,re,"Label",0,n3,"Portal",0,nH,"Root",0,nM,"ScrollDownButton",0,ro,"ScrollUpButton",0,ra,"Select",0,nM,"SelectArrow",0,ru,"SelectContent",0,nU,"SelectGroup",0,n2,"SelectIcon",0,nB,"SelectItem",0,n7,"SelectItemIndicator",0,rn,"SelectItemText",0,re,"SelectLabel",0,n3,"SelectPortal",0,nH,"SelectScrollDownButton",0,ro,"SelectScrollUpButton",0,ra,"SelectSeparator",0,rs,"SelectTrigger",0,nF,"SelectValue",0,n_,"SelectViewport",0,nJ,"Separator",0,rs,"Trigger",0,nF,"Value",0,n_,"Viewport",0,nJ,"createSelectScope",0,nC],32710);var rp=e.i(32710),rp=rp,rg=e.i(47163);function rv({...e}){return(0,u.jsx)(rp.Root,{"data-slot":"select",...e})}function rx({...e}){return(0,u.jsx)(rp.Value,{"data-slot":"select-value",...e})}function ry({className:e,size:t="default",children:n,...r}){return(0,u.jsxs)(rp.Trigger,{"data-slot":"select-trigger","data-size":t,className:(0,rg.cn)("flex h-auto w-full cursor-pointer items-center justify-between gap-1.5 rounded-none border-0 bg-transparent px-2 py-2 whitespace-nowrap shadow-none transition-colors outline-none select-none focus-visible:ring-2 focus-visible:ring-ring/50 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-2 aria-invalid:ring-destructive/20 data-[state=open]:rounded-none data-[state=open]:bg-black data-placeholder:text-muted-foreground *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r,children:[n,(0,u.jsx)(rp.Icon,{asChild:!0,children:(0,u.jsx)(R,{className:"pointer-events-none size-4 text-muted-foreground"})})]})}function rb({className:e,children:t,position:n="popper",align:r="center",...a}){return(0,u.jsx)(rp.Portal,{children:(0,u.jsxs)(rp.Content,{"data-slot":"select-content","data-align-trigger":"item-aligned"===n,className:(0,rg.cn)("relative z-50 max-h-60 w-(--radix-select-trigger-width) max-w-[80vw] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-none bg-black text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 sm:max-w-none","popper"===n&&"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,align:r,...a,children:[(0,u.jsx)(rj,{}),(0,u.jsx)(rp.Viewport,{"data-position":n,className:(0,rg.cn)("bg-black data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)","popper"===n&&""),children:t}),(0,u.jsx)(rS,{})]})})}function rw({className:e,children:t,...n}){return(0,u.jsxs)(rp.Item,{"data-slot":"select-item",className:(0,rg.cn)("relative flex w-full cursor-default items-center gap-1.5 rounded-none py-1 pr-8 pl-1.5 outline-hidden select-none data-highlighted:bg-white data-highlighted:text-black not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...n,children:[(0,u.jsx)("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center",children:(0,u.jsx)(rp.ItemIndicator,{children:(0,u.jsx)(N,{className:"pointer-events-none"})})}),(0,u.jsx)(rp.ItemText,{children:t})]})}function rj({className:e,...t}){return(0,u.jsx)(rp.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:(0,rg.cn)("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",e),...t,children:(0,u.jsx)(C,{})})}function rS({className:e,...t}){return(0,u.jsx)(rp.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:(0,rg.cn)("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",e),...t,children:(0,u.jsx)(R,{})})}var rE=e.i(96957);e.s(["ContactForm",0,function({button:e}){let[t,n]=(0,m.useState)(null),{control:r,handleSubmit:a,reset:i,formState:{isSubmitting:o}}=(0,f.useForm)({resolver:(0,d.zodResolver)(w),defaultValues:{firstName:"",lastName:"",email:"",ph
1one:"",jobTitle:"",company:"",country:"",topicOfInterest:"",message:"",honeypot:""}}),l=()=>{n(e=>null!==e?e:Date.now())},s=async e=>{try{if(!(await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,formStartTime:t,pageName:window.location.href})})).ok)return void h.toast.error("Something went wrong. Please try again.");i({firstName:"",lastName:"",email:"",phone:"",jobTitle:"",company:"",country:"",topicOfInterest:"",message:"",honeypot:""}),h.toast.success("Thanks, your message has been sent.")}catch{h.toast.error("Something went wrong. Please try again.")}};return(0,u.jsx)("form",{id:"contact-form",onSubmit:a(s),onFocusCapture:l,onInputCapture:l,className:"w-full border border-current p-6 lg:p-10 mt-5",children:(0,u.jsxs)(j.FieldGroup,{children:[(0,u.jsx)(f.Controller,{name:"firstName",control:r,render:({field:e,fieldState:t})=>(0,u.jsxs)(j.Field,{"data-invalid":t.invalid,className:"lg:col-span-1",children:[(0,u.jsx)(j.FieldLabel,{htmlFor:"contact-first-name",children:(0,u.jsx)(E,{children:"First Name"})}),(0,u.jsx)(S.InputGroup,{children:(0,u.jsx)(S.InputGroupInput,{...e,id:"contact-first-name","aria-invalid":t.invalid,autoComplete:"given-name",maxLength:100})}),t.invalid&&(0,u.jsx)(j.FieldError,{errors:[t.error]})]})}),(0,u.jsx)(f.Controller,{name:"lastName",control:r,render:({field:e,fieldState:t})=>(0,u.jsxs)(j.Field,{"data-invalid":t.invalid,className:"lg:col-span-1",children:[(0,u.jsx)(j.FieldLabel,{htmlFor:"contact-last-name",children:(0,u.jsx)(E,{children:"Last Name"})}),(0,u.jsx)(S.InputGroup,{children:(0,u.jsx)(S.InputGroupInput,{...e,id:"contact-last-name","aria-invalid":t.invalid,autoComplete:"family-name",maxLength:100})}),t.invalid&&(0,u.jsx)(j.FieldError,{errors:[t.error]})]})}),(0,u.jsx)(f.Controller,{name:"email",control:r,render:({field:e,fieldState:t})=>(0,u.jsxs)(j.Field,{"data-invalid":t.invalid,className:"lg:col-span-1",children:[(0,u.jsx)(j.FieldLabel,{htmlFor:"contact-email",children:(0,u.jsx)(E,{children:"Business Email Address"})}),(0,u.jsx)(S.InputGroup,{children:(0,u.jsx)(S.InputGroupInput,{...e,id:"contact-email",type:"email","aria-invalid":t.invalid,autoComplete:"email",maxLength:254})}),t.invalid&&(0,u.jsx)(j.FieldError,{errors:[t.error]})]})}),(0,u.jsx)(f.Controller,{name:"phone",control:r,render:({field:e,fieldState:t})=>(0,u.jsxs)(j.Field,{"data-invalid":t.invalid,className:"lg:col-span-1",children:[(0,u.jsx)(j.FieldLabel,{htmlFor:"contact-phone",children:(0,u.jsx)(E,{children:"Phone Number"})}),(0,u.jsx)(S.InputGroup,{children:(0,u.jsx)(S.InputGroupInput,{...e,id:"contact-phone",type:"tel",inputMode:"tel",pattern:"^\\+?[0-9()\\-\\s]{7,25}$",title:"Enter a valid phone number",maxLength:25,"aria-invalid":t.invalid,autoComplete:"tel"})}),t.invalid&&(0,u.jsx)(j.FieldError,{errors:[t.error]})]})}),(0,u.jsx)(f.Controller,{name:"jobTitle",control:r,render:({field:e,fieldState:t})=>(0,u.jsxs)(j.Field,{"data-invalid":t.invalid,children:[(0,u.jsx)(j.FieldLabel,{htmlFor:"contact-job-title",children:(0,u.jsx)(E,{children:"Job Title"})}),(0,u.jsx)(S.InputGroup,{children:(0,u.jsx)(S.InputGroupInput,{...e,id:"contact-job-title","aria-invalid":t.invalid,autoComplete:"organization-title",maxLength:120})}),t.invalid&&(0,u.jsx)(j.FieldError,{errors:[t.error]})]})}),(0,u.jsx)(f.Controller,{name:"company",control:r,render:({field:e,fieldState:t})=>(0,u.jsxs)(j.Field,{"data-invalid":t.invalid,children:[(0,u.jsx)(j.FieldLabel,{htmlFor:"contact-company",children:(0,u.jsx)(E,{children:"Company / Institution"})}),(0,u.jsx)(S.InputGroup,{children:(0,u.jsx)(S.InputGroupInput,{...e,id:"contact-company","aria-invalid":t.invalid,autoComplete:"organization",maxLength:120})}),t.invalid&&(0,u.jsx)(j.FieldError,{errors:[t.error]})]})}),(0,u.jsx)(f.Controller,{name:"country",control:r,render:({field:e,fieldState:t})=>(0,u.jsxs)(j.Field,{"data-invalid":t.invalid,children:[(0,u.jsx)(j.FieldLabel,{htmlFor:"contact-country",children:(0,u.jsx)(E,{children:"Country"})}),(0,u.jsx)(S.InputGroup,{children:(0,u.jsxs)(rv,{value:e.value,onValueChange:e.onChange,children:[(0,u.jsx)(ry,{id:"contact-country","aria-invalid":t.invali
1d,children:(0,u.jsx)(rx,{})}),(0,u.jsx)(rb,{children:p.map(e=>(0,u.jsx)(rw,{value:e.code,children:e.name},e.code))})]})}),t.invalid&&(0,u.jsx)(j.FieldError,{errors:[t.error]})]})}),(0,u.jsx)(f.Controller,{name:"topicOfInterest",control:r,render:({field:e,fieldState:t})=>(0,u.jsxs)(j.Field,{"data-invalid":t.invalid,children:[(0,u.jsx)(j.FieldLabel,{htmlFor:"contact-topic",children:(0,u.jsx)(E,{children:"Topic of Interest"})}),(0,u.jsx)(S.InputGroup,{children:(0,u.jsxs)(rv,{value:e.value,onValueChange:e.onChange,children:[(0,u.jsx)(ry,{id:"contact-topic","aria-invalid":t.invalid,children:(0,u.jsx)(rx,{})}),(0,u.jsx)(rb,{children:g.map(e=>(0,u.jsx)(rw,{value:e,children:e},e))})]})}),t.invalid&&(0,u.jsx)(j.FieldError,{errors:[t.error]})]})}),(0,u.jsx)(f.Controller,{name:"message",control:r,render:({field:e,fieldState:t})=>(0,u.jsxs)(j.Field,{"data-invalid":t.invalid,children:[(0,u.jsx)(j.FieldLabel,{htmlFor:"contact-message",children:(0,u.jsx)(E,{isRequired:!1,children:"Tell us about your project, a bit of context will allow us to connect you to the right team faster:"})}),(0,u.jsx)(S.InputGroup,{children:(0,u.jsx)(S.InputGroupTextarea,{...e,id:"contact-message",rows:6,"aria-invalid":t.invalid,maxLength:2e3})}),t.invalid&&(0,u.jsx)(j.FieldError,{errors:[t.error]})]})}),(0,u.jsx)(f.Controller,{name:"honeypot",control:r,render:({field:e})=>(0,u.jsx)("input",{...e,type:"text",tabIndex:-1,autoComplete:"off","aria-hidden":"true",className:"hidden"})}),(0,u.jsx)(rE.Button,{variant:"button",colorMode:"light-bg",buttonType:"submit",form:"contact-form",disabled:o,label:e.label,className:"mr-auto"})]})})}],9303)},82270,e=>{"use strict";var t=e.i(86827),n=e.i(7136),r=e.i(58511),a=e.i(19322),i=e.i(18988),o=e.i(42412),l=e.i(20208),s=e.i(33568),c=e.i(98501),u=e.i(22471),d=e.i(47163);function m({items:e}){let[r,o]=(0,n.default)({align:"start",slidesToScroll:1}),[l,s]=(0,a.useState)(!1),[c,u]=(0,a.useState)(!0),h=(0,a.useCallback)(e=>{s(e.canScrollPrev()),u(e.canScrollNext())},[]);return(0,a.useEffect)(()=>{if(o)return o.on("select",h).on("reInit",h),()=>{o.off("select",h).off("reInit",h)}},[o,h]),(0,t.jsxs)("div",{className:"flex w-full flex-col gap-6",children:[(0,t.jsxs)("div",{className:"hidden items-center justify-end gap-8 lg:flex",children:[(0,t.jsx)("button",{type:"button","aria-label":"Previous features",onClick:()=>o?.scrollPrev(),disabled:!l,className:"cursor-pointer transition-opacity duration-300 disabled:cursor-default disabled:opacity-30",children:(0,t.jsx)(i.ArrowRight,{className:"w-4 rotate-180"})}),(0,t.jsx)("button",{type:"button","aria-label":"Next features",onClick:()=>o?.scrollNext(),disabled:!c,className:"cursor-pointer transition-opacity duration-300 disabled:cursor-default disabled:opacity-30",children:(0,t.jsx)(i.ArrowRight,{className:"w-4"})})]}),(0,t.jsx)("ul",{className:"grid w-full grid-cols-1 lg:hidden",children:e.map((n,r)=>(0,t.jsx)(f,{...n,index:r,total:e.length,gridLayout:"singleRow"},n._key))}),(0,t.jsx)("div",{className:"hidden w-[calc(100%+2*var(--spacing-gutter))] flex-col gap-8 -mx-gutter lg:flex",children:(0,t.jsx)("div",{ref:r,role:"region","aria-label":"Feature carousel","aria-roledescription":"carousel",className:(0,d.cn)("cursor-grab overflow-hidden px-gutter",c&&"mask-r-from-90% mask-r-to-[calc(100%-var(--spacing-gutter))]"),children:(0,t.jsx)("ul",{className:"flex h-full",children:e.map((n,r)=>(0,t.jsx)(f,{...n,index:r,total:e.length,gridLayout:"singleRow",className:"basis-[calc(2/7*100%)] shrink-0 grow-0"},n._key))})})})]})}function f({title:e,description:n,tags:a,link:i,icon:c,invertIcon:u,index:m,total:h,gridLayout:p,className:g}){let v=!!i?.label;return(0,t.jsxs)("li",{className:(0,d.cn)("flex flex-col gap-6 p-8","max-lg:border-l-[0.5px] max-lg:border-r-[0.5px] max-lg:border-t-[0.5px] max-lg:border-current/50 max-lg:last:border-b-[0.5px]","multiRow"===p&&"lg:border-b-[0.5px] lg:border-r-[0.5px] lg:border-current/50","singleRow"===p&&"lg:border-t-[0.5px] lg:border-b-[0.5px] lg:border-l-[0.5px] lg:border-current/50 lg:last:border-r-[0.5px]",v&&"select-none group text-current transition-colors duration-300 hover:bg-current/7",g),children:[c?.src&&c.width&&c.height&&(0,t.jsx)(r.default,{src:c.src,alt:c.alt??"",width:c.width,height:c.height,className:(0,d.cn)("h-auto w-[4.65rem] mb-6 opacity-30",u&&"invert")}),(0,t.jsxs)("div",{className:"flex h-10 items-center gap-4 font-accent text-xs uppercase",children:[(0,t.jsx)(o.Hex,{pathClassName:"group-hover:fill-current fill-transparent"}),(0,t.jsxs)("span",{className:"font-light",children:[(0,d.padNumber)(m+1)," / ",(0,d.padNumber)(h)]})]}),e&&(0,t.jsx)("p",{className:(0,d.cn)("font-display leading-extra-tight text-balance max-w-100",c?.src?"text-[1.75rem]":"text-4xl"),children:e}),n&&(0,t.jsx)(s.PortableText,{value:n,size:"inherit",className:"text-sm leading-[1.3]"}),a&&(0,t.jsx)("div",{className:"flex flex-wrap gap-4 font-accent text-xs uppercase font-bold",children:a.map(e=>(0,t.jsx)("span",{children:e},e))}),i?.label&&(0,t.jsx)(l.Button,{label:i.label,destination:i.destination,slug:i.slug,url:i.url,email:i.email,opensInNewTab:i.opensInNewTab,variant:"transparent",isGroup:!1,className:"mt-auto"})]})}e.s(["FeatureGrid",0,function({layout:e,gridLayout:n="multiRow",sectionHeader:r,items:a}){let i="singleRow"===n&&!!a&&a.length>4;return(0,t.jsxs)(u.Section,{...e,children:[r&&(0,t.jsx)(c.SectionHeader,{...r,layout:"split"}),a&&(i?(0,t.jsx)(m,{items:a}):(0,t.jsx)("ul",{className:(0,d.cn)("grid w-full grid-cols-1","multiRow"===n&&"lg:grid-cols-2 lg:border-l-[0.5px] lg:border-t-[0.5px] lg:border-current/50","singleRow"===n&&"lg:grid-flow-col lg:auto-cols-fr"),children:a.map((e,r)=>(0,t.jsx)(f,{...e,index:r,total:a.length,gridLayout:n},e._key))}))]})}])},2925,e=>{"use strict";var t=e.i(86827),n=e.i(33568),r=e.i(98501),a=e.i(58105),i=e.i(22471),o=e.i(69107);e.s(["Hero",0,function({layout:e,title:l,description:s}){let c=(0,o.useAppStore)(e=>e.heroRef);return(0,t.jsx)(i.Section,{ref:c,...e,className:"pt-header-height",children:(0,t.jsxs)(r.SectionHeader,{className:"lg:max-w-none",children:[l&&(0,t.jsx)(a.PageTitle,{children:l}),s&&(0,t.jsx)(n.PortableText,{value:s,size:"large",className:"max-w-290"})]})})}])},22353,e=>{"use strict";var t=e.i(86827),n=e.i(7136),r=e.i(58511),a=e.i(97341),i=e.i(42412),o=e.i(98501),l=e.i(22471),s=e.i(15065),c=e.i(81010),u=e.i(47163);function d({items:e,className:n}){return(0,t.jsx)("ul",{className:(0,u.cn)(n),children:e?.map(e=>(0,t.jsx)(m,{...e},e._key))})}function m({image:e,label:n,link:o}){let l=(0,c.resolveHref)(o);return(0,t.jsx)("li",{className:"basis-5/6 shrink-0 grow-0 md:basis-auto",children:(0,t.jsx)(a.Exter
1nalLink,{href:l||void 0,newTab:o?.opensInNewTab,className:"group relative flex h-full border border-current/50 rounded-none hover:border-current hover:rounded-2xl transition-[border-color_border-radius] duration-300",children:(0,t.jsxs)("div",{className:"grid-pile size-full h-68 lg:h-56",children:[e?.src&&e.width&&e.height&&(0,t.jsx)(r.default,{src:e.src,alt:e.alt??"",width:e.width,height:e.height,placeholder:e.blurDataURL?"blur":"empty",blurDataURL:e.blurDataURL,className:"h-15 lg:h-18 w-auto m-auto max-w-65 opacity-50 group-hover:opacity-100 transition-opacity duration-300"}),(0,t.jsxs)("div",{className:"flex flex-col gap-4 size-full justify-between lg:justify-end items-start p-4",children:[(0,t.jsx)(i.Hex,{className:"w-2 stroke-current fill-transparent group-hover:fill-current transition-colors duration-300"}),(0,t.jsx)(s.TextRevealButton,{theme:"bg-light",isExternal:o?.destination==="external",children:n})]})]})})})}e.s(["Showcase",0,function({layout:e,sectionHeader:r,items:a}){let[i]=(0,n.default)({align:"start",slidesToScroll:1});return(0,t.jsxs)(l.Section,{...e,children:[r&&(0,t.jsx)(o.SectionHeader,{...r}),a&&(0,t.jsxs)("div",{className:"w-[calc(100%+2*var(--spacing-gutter))] overflow-hidden md:overflow-visible md:w-full -mx-gutter md:mx-0",children:[(0,t.jsx)("div",{ref:i,role:"region","aria-label":"Showcase carousel","aria-roledescription":"carousel",className:"cursor-grab md:hidden px-gutter",children:(0,t.jsx)(d,{items:a,className:"flex gap-6"})}),(0,t.jsx)(d,{items:a,className:"hidden md:grid grid-cols-2 gap-6"})]})]})}])},58583,e=>{"use strict";var t=e.i(86827);function n(e,t,n){return Math.min(Math.max(e,t),n)}function r(e){return"number"==typeof e&&!isNaN(e)}function a(e={}){let t,i,o,l,s=[],c=0,u=0,d=0,m=!1;function f(){v(t.selectedScrollSnap(),1)}function h(){m=!1}function p(){m=!1,c=0,u=0}function g(){let e=t.internalEngine().scrollBody.duration();u=+!e,m=!0,e||f()}function v(e,r){t.scrollSnapList().forEach((a,i)=>{let o=Math.abs(r),l=s[i],u=i===e,f=n(u?l+o:l-o,0,1);s[i]=f;let h=u&&m,p=t.previousScrollSnap();h&&(s[p]=1-f),u&&function(e,n){let{index:r,dragHandler:a,scrollSnaps:i}=t.internalEngine(),o=a.pointerDown(),l=1/(i.length-1),s=e,u=o?t.selectedScrollSnap():t.previousScrollSnap();if(o&&s===u){let e=-1*Math.sign(c);s=u,u=r.clone().set(u).add(e).get()}d=u*l+(s-u)*l*n}(e,f),function(e){let n=t.internalEngine().slideRegistry[e],{scrollSnaps:r,containerRect:a}=t.internalEngine(),i=s[e];n.forEach(n=>{let o=t.slideNodes()[n].style,l=parseFloat(i.toFixed(2)),s=l>0,c=function(e){let{axis:n}=t.internalEngine(),r=n.scroll.toUpperCase();return`translate${r}(${n.direction(e)}px)`}(s?r[e]:a.width+2);s&&(o.transform=c),o.opacity=l.toString(),o.pointerEvents=i>.5?"auto":"none",s||(o.transform=c)})}(i)})}function x(){let{dragHandler:e,index:n,scrollBody:r}=t.internalEngine(),a=t.selectedScrollSnap();if(!e.pointerDown())return a;let i=Math.sign(r.velocity()),o=Math.sign(c),l=n.clone().set(a).add(-1*i).get();return i&&o?o===i?l:a:null}function y(){let{target:e,location:n}=t.internalEngine(),a=Math.abs(e.get()-n.get())>=1,o=x(),l=!r(o);return!function(e){let{dragHandler:n,scrollBody:a}=e.internalEngine(),o=n.pointerDown(),l=a.velocity(),d=a.duration(),m=x(),f=!r(m);if(o){if(!l)return;c+=l,u=Math.abs(l/i),function(e){let{scrollSnaps:n,location:a,target:i}=t.internalEngine();r(e)&&!(s[e]<.5)&&(a.set(n[e]),i.set(a))}(m)}if(!o){if(!d||f)return;u+=(1-s[m])/d,u*=.68}f||v(m,u)}(t),!l&&!a&&s[o]>.999}function b(){return d}return{name:"fade",options:e,init:function(e){let r=(t=e).selectedScrollSnap(),{scrollBody:a,containerRect:c,axis:u}=t.internalEngine();i=n(.75*u.measureSize(c),200,500),m=!1,s=t.scrollSnapList().map((e,t)=>+(t===r)),o=a.settled,l=t.scrollProgress,a.settled=y,t.scrollProgress=b,t.on("select",g).on("slideFocus",f).on("pointerDown",p).on("pointerUp",h),function(){let{translate:e,slideLooper:n}=t.internalEngine();e.clear(),e.toggleActive(!1),n.loopPoints.forEach(({translate:e})=>{e.clear(),e.toggleActive(!1)})}(),f()},destroy:function(){let{scrollBody:e}=t.internalEngine();e.settled=o,t.scrollProgress=l,t.off("select",g).off("slideFocus",f).off("pointerDown",p).off("pointerUp",h),t.slideNodes().forEac
1h(e=>{let t=e.style;t.opacity="",t.transform="",t.pointerEvents="",e.getAttribute("style")||e.removeAttribute("style")})}}}a.globalOptions=void 0;var i=e.i(7136);let o=(0,e.i(34465).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var l=e.i(19322),s=e.i(42412),c=e.i(98501),u=e.i(22471);e.s(["Testimonials",0,function({layout:e,sectionHeader:n,items:r}){let[d,m]=(0,l.useState)(0),[f,h]=(0,i.default)({align:"start",slidesToScroll:1,loop:!0},[a()]);return((0,l.useEffect)(()=>{if(!h)return;let e=()=>{m(h.selectedScrollSnap())};return h.on("select",e),()=>{h.off("select",e)}},[h]),r?.length)?(0,t.jsxs)(u.Section,{...e,children:[n&&(0,t.jsx)(c.SectionHeader,{...n}),r&&(0,t.jsxs)("div",{role:"region","aria-label":"Testimonials","aria-roledescription":"carousel","aria-live":"polite",className:"w-full overflow-hidden relative",children:[(0,t.jsx)("div",{ref:f,children:(0,t.jsx)("ul",{className:"flex",children:r.map(({_key:e,quote:n,name:r})=>(0,t.jsx)("li",{className:"border flex flex-col gap-8 p-6 lg:p-16 border-current flex-[100%] shrink-0 grow-0",children:(0,t.jsxs)("blockquote",{className:"text-2xl md:text-4xl leading-tight text-balance max-w-290",children:[n&&(0,t.jsxs)("p",{children:[(0,t.jsx)("span",{children:"“"}),n,(0,t.jsx)("span",{children:"”"})]}),r&&(0,t.jsxs)("p",{className:"text-base mb-16 lg:mb-20 leading-extra-tight mt-8",children:["— ",(0,t.jsx)("cite",{className:"not-italic",children:r})]})]})},e))})}),(0,t.jsxs)("div",{className:"absolute bottom-8 lg:bottom-16 left-8 right-8 lg:right-16 lg:left-16 flex justify-between",children:[(0,t.jsx)("div",{role:"group","aria-label":"Testimonial navigation",className:"flex gap-2",children:r.map(({_key:e},n)=>(0,t.jsx)("button",{type:"button","aria-label":`Select testimonial ${n+1}`,onClick:()=>{m(n),h?.scrollTo(n)},className:"cursor-pointer",children:(0,t.jsx)(s.Hex,{className:n===d?"fill-current":"fill-transparent"})},e))}),(0,t.jsx)("button",{type:"button","aria-label":"Next testimonial",onClick:()=>h?.scrollNext(),className:"cursor-pointer border-current flex items-center justify-center",children:(0,t.jsx)(o,{className:"w-6 h-auto"})})]})]})]}):null}],58583)},85093,e=>{"use strict";var t=e.i(86827),n=e.i(58511),r=e.i(19322),a=e.i(42412),i=e.i(16293),o=e.i(33568),l=e.i(98501),s=e.i(22471),c=e.i(47163);function u({title:e,description:l,image:s}){let[d,m]=(0,r.useState)(!1);return(0,t.jsx)("li",{className:(0,c.cn)("bg-[#2D2D2D] hover:bg-black min-h-70 lg:min-h-100 group rounded-none hover:rounded-2xl transition-all duration-300 relative",d&&"bg-black rounded-2xl"),children:(0,t.jsxs)("button",{type:"button","aria-expanded":d,onClick:()=>m(!d),className:"size-full relative flex items-start cursor-pointer",children:[(0,t.jsxs)("div",{className:"p-6 h-full flex flex-col justify-between gap-6 text-white",children:[(0,t.jsxs)("div",{className:"flex gap-4 w-full",children:[(0,t.jsx)(a.Hex,{className:(0,c.cn)("w-2 stroke-current fill-transparent group-hover:fill-current",d&&"fill-current")}),e&&(0,t.jsx)("p",{className:"text-xl lg:text-2xl text-white text-left leading-none",children:e}),(0,t.jsx)("span",{className:(0,c.cn)("ml-auto shrink-0 size-[1.6rem] opacity-40 rounded-full border border-current items-center justify-center flex transition-all duration-300",d?"opacity-100 rotate-45":"opacity-40 rotate-0"),children:(0,t.jsx)(i.Plus,{})})]}),l&&(0,t.jsx)(o.PortableText,{value:l,size:"inherit",className:(0,c.cn)("leading-tight text-sm lg:text-base transition-opacity duration-400 text-left",d?"opacity-100 pointer-events-auto":"opacity-0 pointer-events-none")})]}),s?.src&&s.width&&s.height&&(0,t.jsx)("div",{className:"inset-0 absolute flex items-center justify-center pointer-events-none px-6 pt-12",children:(0,t.jsx)(n.default,{src:s.src,alt:s.alt??"",width:s.width,height:s.height,className:(0,c.cn)("w-auto h-2/3 m-auto transition-opacity duration-400",d?"opacity-0":"opacity-100")})})]})})}e.s(["ToggleCards",0,function({layout:e,sectionHeader:n,items:r}){return(0,t.jsxs)(s.Section,{...e,children:[n&&(0,t.jsx)(l.SectionHeader,{...n}),r&&(0,t.jsx)("ul",{className:"grid gap-6 lg:grid-cols-2 w-full",children:r.map(e=>(0,t.jsx)(u,{...e},e._key))})]})}])}]);

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.