one-north-cla 0.0.13 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1,11 +1,11 @@
1
- "use strict";var yl=Object.defineProperty;var wl=(e,t,n)=>t in e?yl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var rn=(e,t,n)=>wl(e,typeof t!="symbol"?t+"":t,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),R=require("react"),Wt=require("react-dom");function di(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const p=di(R),Wn=di(Wt);function Cl(e){return e==null?[]:Array.isArray(e)?e:[e]}var Sl=e=>e[0],El=e=>e[e.length-1],Pl=(e,...t)=>e.concat(t),Nl=(e,...t)=>e.filter(n=>!t.includes(n)),Al=e=>e!=null&&typeof e=="object",Cn=e=>typeof e=="string",gt=e=>typeof e=="function",fi=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Rl=e=>Object.prototype.toString.call(e),pi=Function.prototype.toString,Tl=pi.call(Object),jl=e=>{if(!Al(e)||Rl(e)!="[object Object]"||Ol(e))return!1;const t=Object.getPrototypeOf(e);if(t===null)return!0;const n=fi(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&pi.call(n)==Tl},kl=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,Il=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,Ol=e=>kl(e)||Il(e),Ml=e=>e(),Ll=(...e)=>(...t)=>{e.forEach(function(n){n==null||n(...t)})},Ve=e=>typeof e=="number"?`${e}px`:e;function mi(e){if(!jl(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(const r of t){const o=e[r];o!==void 0&&(n[r]=mi(o))}return n}function Zr(...e){const t=e.length===1?e[0]:e[1];(e.length===2?e[0]:!0)&&process.env.NODE_ENV!=="production"&&console.warn(t)}function _l(e,t){if(e==null)throw new Error(t())}function Dl(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function ot(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:s,defaultValue:i}=e,a=R.createContext(i);a.displayName=t;function c(){const l=R.useContext(a);if(!l&&n){const d=new Error(s??Dl(r,o));throw d.name="ContextError",fi(Error,"captureStackTrace")&&gt(Error.captureStackTrace)&&Error.captureStackTrace(d,c),d}return l}return[a.Provider,c,a]}const[Vl,po]=ot({name:"AccordionContext",hookName:"useAccordionContext",providerName:"<AccordionProvider />"});var Fl=(...e)=>e.map(t=>{var n;return(n=t==null?void 0:t.trim)==null?void 0:n.call(t)}).filter(Boolean).join(" "),Bl=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,ns=e=>{const t={};let n;for(;n=Bl.exec(e);)t[n[1]]=n[2];return t},$l=(e,t)=>{if(Cn(e)){if(Cn(t))return`${e};${t}`;e=ns(e)}else Cn(t)&&(t=ns(t));return Object.assign({},e??{},t??{})};function st(...e){let t={};for(let n of e){if(!n)continue;for(let o in t){if(o.startsWith("on")&&typeof t[o]=="function"&&typeof n[o]=="function"){t[o]=Ll(n[o],t[o]);continue}if(o==="className"||o==="class"){t[o]=Fl(t[o],n[o]);continue}if(o==="style"){t[o]=$l(t[o],n[o]);continue}t[o]=n[o]!==void 0?n[o]:t[o]}for(let o in n)t[o]===void 0&&(t[o]=n[o]);const r=Object.getOwnPropertySymbols(n);for(let o of r)t[o]=n[o]}return t}var it=".",hi="#",rs=new WeakMap,gi=new WeakMap;function Yr(e){return e.join(it)}function Hl(e){return e.includes(it)}function vi(e){return e.startsWith(hi)}function zl(e){return vi(e)?e.slice(hi.length):e}function bi(e,t){return e?`${e}${it}${t}`:t}function Wl(e){const t=new Map,n=new Map,r=(o,s)=>{t.set(o,s);const i=s.id;if(i){if(n.has(i))throw new Error(`Duplicate state id: ${i}`);n.set(i,o)}const a=s.states;if(a)for(const[c,l]of Object.entries(a)){if(!l)continue;const d=bi(o,c);r(d,l)}};for(const[o,s]of Object.entries(e.states))s&&r(o,s);return{index:t,idIndex:n}}function Ut(e){const t=rs.get(e);if(t)return t;const{index:n,idIndex:r}=Wl(e);return rs.set(e,n),gi.set(e,r),n}function Ul(e,t){var n;return Ut(e),(n=gi.get(e))==null?void 0:n.get(t)}function mo(e){return e?String(e).split(it).filter(Boolean):[]}function An(e,t){if(!t)return[];const n=Ut(e),r=mo(t),o=[],s=[];for(const i of r){s.push(i);const a=Yr(s),c=n.get(a);if(!c)break;o.push({path:a,state:c})}return o}function Sr(e,t){const n=Ut(e),r=mo(t);if(!r.length)return t;const o=[];for(const a of r){o.push(a);const c=Yr(o);if(!n.has(c))return t}let s=Yr(o),i=n.get(s);for(;i!=null&&i.initial;){const a=`${s}${it}${i.initial}`,c=n.get(a);if(!c)break;s=a,i=c}return s}function ql(e,t){return Ut(e).has(t)}function os(e,t,n){const r=String(t);if(vi(r)){const o=zl(r),s=Ul(e,o);if(!s)throw new Error(`Unknown state id: ${o}`);return Sr(e,s)}if(!Hl(r)&&n){const o=mo(n);for(let s=o.length;s>=1;s--){const i=o.slice(0,s).join(it),a=bi(i,r);if(ql(e,a))return Sr(e,a)}}return Sr(e,r)}function Gl(e,t,n){var s,i;const r=An(e,t);for(let a=r.length-1;a>=0;a--){const c=(s=r[a])==null?void 0:s.state.on,l=c==null?void 0:c[n];if(l)return{transitions:l,source:(i=r[a])==null?void 0:i.path}}const o=e.on;return{transitions:o==null?void 0:o[n],source:void 0}}function Zl(e,t,n,r){var d,f,m,h;const o=t?An(e,t):[],s=An(e,n);let i=0;for(;i<o.length&&i<s.length&&((d=o[i])==null?void 0:d.path)===((f=s[i])==null?void 0:f.path);)i+=1;let a=o.slice(i).reverse(),c=s.slice(i);const l=((m=o.at(-1))==null?void 0:m.path)===((h=s.at(-1))==null?void 0:h.path);return r&&l&&(a=o.slice().reverse(),c=s),{exiting:a,entering:c}}function Yl(e,t){return e?e===t||e.startsWith(`${t}${it}`):!1}function Xl(e,t,n){return An(e,t).some(r=>{var o;return(o=r.state.tags)==null?void 0:o.includes(n)})}function Kl(){return{and:(...e)=>function(n){return e.every(r=>n.guard(r))},or:(...e)=>function(n){return e.some(r=>n.guard(r))},not:e=>function(n){return!n.guard(e)}}}function xi(e){return Ut(e),e}var ht=(e=>(e.NotStarted="Not Started",e.Started="Started",e.Stopped="Stopped",e))(ht||{}),Er="__init__",Ql=Object.defineProperty,Jl=(e,t,n)=>t in e?Ql(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pr=(e,t,n)=>Jl(e,typeof t!="symbol"?t+"":t,n),Xr=()=>{},Un=e=>typeof e=="object"&&e!==null,Se=e=>e?"":void 0,eu=1,tu=9,nu=11,qt=e=>Un(e)&&e.nodeType===eu&&typeof e.nodeName=="string",yi=e=>Un(e)&&e.nodeType===tu,ru=e=>Un(e)&&e===e.window,ou=e=>Un(e)&&e.nodeType!==void 0,su=e=>ou(e)&&e.nodeType===nu&&"host"in e,iu=e=>qt(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1;function au(e){if(!e)return!1;const t=e.getRootNode();return Ci(t)===e}function cu(e){return yi(e)?e:ru(e)?e.document:(e==null?void 0:e.ownerDocument)??document}function wi(e){var t;return su(e)?wi(e.host):yi(e)?e.defaultView??window:qt(e)?((t=e.ownerDocument)==null?void 0:t.defaultView)??window:window}function Ci(e){let t=e.activeElement;for(;t!=null&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(!n||n===t)break;t=n}return t}var Nr=new WeakMap;function ss(e){return Nr.has(e)||Nr.set(e,wi(e).getComputedStyle(e)),Nr.get(e)}var Si=()=>typeof document<"u";function lu(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}var ho=e=>Si()&&e.test(lu()),uu=e=>Si()&&e.test(navigator.vendor),du=()=>ho(/^iPhone/i),fu=()=>ho(/^iPad/i)||Ei()&&navigator.maxTouchPoints>1,pu=()=>du()||fu(),mu=()=>Ei()||pu(),Ei=()=>ho(/^Mac/i),hu=()=>mu()&&uu(/apple/i);function gu(e){var t,n,r;return((t=e.composedPath)==null?void 0:t.call(e))??((r=(n=e.nativeEvent)==null?void 0:n.composedPath)==null?void 0:r.call(n))}function is(e){const t=gu(e);return(t==null?void 0:t[0])??e.target}var vu={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},as={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function bu(e,t={}){const{dir:n="ltr",orientation:r="horizontal"}=t;let o=e.key;return o=vu[o]??o,n==="rtl"&&r==="horizontal"&&o in as&&(o=as[o]),o}var xu=e=>qt(e)&&e.tagName==="IFRAME";function yu(e){const t=e.getAttribute("tabindex");return t?parseInt(t,10):NaN}var wu=e=>yu(e)<0;function Cu(e,t){if(!t)return null;if(t===!0)return e.shadowRoot||null;const n=t(e);return(n===!0?e.shadowRoot:n)||null}function Su(e,t,n){const r=[...e],o=[...e],s=new Set,i=new Map;e.forEach((c,l)=>i.set(c,l));let a=0;for(;a<o.length;){const c=o[a++];if(!c||s.has(c))continue;s.add(c);const l=Cu(c,t);if(l){const d=Array.from(l.querySelectorAll(go)).filter(n),f=i.get(c);if(f!==void 0){const m=f+1;r.splice(m,0,...d),d.forEach((h,b)=>{i.set(h,m+b)});for(let h=m+d.length;h<r.length;h++)i.set(r[h],h)}else{const m=r.length;r.push(...d),d.forEach((h,b)=>{i.set(h,m+b)})}o.push(...d)}}return r}var go="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type";function Eu(e){return!qt(e)||e.closest("[inert]")?!1:e.matches(go)&&iu(e)}function Pi(e,t={}){if(!e)return[];const{includeContainer:n,getShadowRoot:r}=t,o=Array.from(e.querySelectorAll(go));n&&Ar(e)&&o.unshift(e);const s=[];for(const i of o)if(Ar(i)){if(xu(i)&&i.contentDocument){const a=i.contentDocument.body;s.push(...Pi(a,{getShadowRoot:r}));continue}s.push(i)}if(r){const i=Su(s,r,Ar);return!i.length&&n?o:i}return!s.length&&n?o:s}function Ar(e){return qt(e)&&e.tabIndex>0?!0:Eu(e)&&!wu(e)}var Pu=class Ni{constructor(){Pr(this,"id",null),Pr(this,"fn_cleanup"),Pr(this,"cleanup",()=>{this.cancel()})}static create(){return new Ni}request(t){this.cancel(),this.id=globalThis.requestAnimationFrame(()=>{this.id=null,this.fn_cleanup=t==null?void 0:t()})}cancel(){var t;this.id!==null&&(globalThis.cancelAnimationFrame(this.id),this.id=null),(t=this.fn_cleanup)==null||t.call(this),this.fn_cleanup=void 0}isActive(){return this.id!==null}};function Sn(e){const t=Pu.create();return t.request(e),t.cleanup}function Nu(e){const t=new Set;function n(r){const o=globalThis.requestAnimationFrame(r);t.add(()=>globalThis.cancelAnimationFrame(o))}return n(()=>n(e)),function(){t.forEach(o=>o())}}function Au(e,t){const{callback:n}=t;if(!e)return;const r=e.ownerDocument.defaultView||window,o=new r.MutationObserver(n);return o.observe(e,{childList:!0,subtree:!0}),()=>o.disconnect()}function Ru(e,t){const{defer:n}=t,r=n?Sn:s=>s(),o=[];return o.push(r(()=>{const s=typeof e=="function"?e():e;o.push(Au(s,t))})),()=>{o.forEach(s=>s==null?void 0:s())}}function Tu(e,t){return Array.from((e==null?void 0:e.querySelectorAll(t))??[])}var Ai=e=>e.id;function ju(e,t,n=Ai){return e.find(r=>n(r)===t)}function Ri(e,t,n=Ai){const r=ju(e,t,n);return r?e.indexOf(r):-1}function ku(e,t,n=!0){let r=Ri(e,t);return r=n?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function Iu(e,t,n=!0){let r=Ri(e,t);return r===-1?n?e[e.length-1]:null:(r=n?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}function Ou(e,t,n){const r=e.getAttribute(t),o=r!=null;return r===n?Xr:(e.setAttribute(t,n),()=>{o?e.setAttribute(t,r):e.removeAttribute(t)})}function Mu(e,t){if(!e)return Xr;const n=Object.keys(t).reduce((r,o)=>(r[o]=e.style.getPropertyValue(o),r),{});return Lu(n,t)?Xr:(Object.assign(e.style,t),()=>{Object.assign(e.style,n),e.style.length===0&&e.removeAttribute("style")})}function Lu(e,t){return Object.keys(e).every(n=>e[n]===t[n])}function _u(e){const t=()=>{var i;return((i=e.getRootNode)==null?void 0:i.call(e))??document},n=()=>cu(t());return{...e,getRootNode:t,getDoc:n,getWin:()=>n().defaultView??window,getActiveElement:()=>Ci(t()),isActiveElement:au,getById:i=>t().getElementById(i)}}var Ti=typeof globalThis.document<"u"?R.useLayoutEffect:R.useEffect;function Rn(e){const t=e().value??e().defaultValue,n=e().isEqual??Object.is,[r]=R.useState(t),[o,s]=R.useState(r),i=e().value!==void 0,a=R.useRef(o);a.current=i?e().value:o;const c=R.useRef(a.current);Ti(()=>{c.current=a.current},[o,e().value]);const l=f=>{var b,g;const m=c.current,h=gt(f)?f(m):f;e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:h,prev:m}),i||s(h),n(h,m)||(g=(b=e()).onChange)==null||g.call(b,h,m)};function d(){return i?e().value:o}return{initial:r,ref:a,get:d,set(f){(e().sync?Wt.flushSync:Ml)(()=>l(f))},invoke(f,m){var h,b;(b=(h=e()).onChange)==null||b.call(h,f,m)},hash(f){var m,h;return((h=(m=e()).hash)==null?void 0:h.call(m,f))??String(f)}}}Rn.cleanup=e=>{R.useEffect(()=>e,[])};Rn.ref=e=>{const t=R.useRef(e);return{get:()=>t.current,set:n=>{t.current=n}}};function Du(e){const t=R.useRef(e);return{get(n){return t.current[n]},set(n,r){t.current[n]=r}}}var Vu=(e,t)=>{const n=R.useRef(!1),r=R.useRef(!1);R.useEffect(()=>{if(n.current&&r.current)return t();r.current=!0},[...(e??[]).map(o=>typeof o=="function"?o():o)]),R.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])};function ji(e,t={}){var D,B,W,H;const n=R.useMemo(()=>{const{id:I,ids:T,getRootNode:O}=t;return _u({id:I,ids:T,getRootNode:O})},[t]),r=(...I)=>{e.debug&&console.log(...I)},o=((D=e.props)==null?void 0:D.call(e,{props:mi(t),scope:n}))??t,s=Fu(o),i=(B=e.context)==null?void 0:B.call(e,{prop:s,bindable:Rn,scope:n,flush:cs,getContext(){return c},getComputed(){return E},getRefs(){return g},getEvent(){return h()}}),a=ki(i),c={get(I){var T;return(T=a.current)==null?void 0:T[I].ref.current},set(I,T){var O;(O=a.current)==null||O[I].set(T)},initial(I){var T;return(T=a.current)==null?void 0:T[I].initial},hash(I){var O,A;const T=(O=a.current)==null?void 0:O[I].get();return(A=a.current)==null?void 0:A[I].hash(T)}},l=R.useRef(new Map),d=R.useRef(null),f=R.useRef(null),m=R.useRef({type:""}),h=()=>({...m.current,current(){return m.current},previous(){return f.current}}),b=()=>({...S,matches(...I){return I.some(T=>Yl(S.ref.current,T))},hasTag(I){return Xl(e,S.ref.current,I)}}),g=Du(((W=e.refs)==null?void 0:W.call(e,{prop:s,context:c}))??{}),x=()=>({state:b(),context:c,event:h(),prop:s,send:_,action:w,guard:v,track:Vu,refs:g,computed:E,flush:cs,scope:n,choose:C}),w=I=>{const T=gt(I)?I(x()):I;if(!T)return;const O=T.map(A=>{var U,z;const M=(z=(U=e.implementations)==null?void 0:U.actions)==null?void 0:z[A];return M||Zr(`[zag-js] No implementation found for action "${JSON.stringify(A)}"`),M});for(const A of O)A==null||A(x())},v=I=>{var T,O;return gt(I)?I(x()):(O=(T=e.implementations)==null?void 0:T.guards)==null?void 0:O[I](x())},y=I=>{const T=gt(I)?I(x()):I;if(!T)return;const O=T.map(M=>{var z,K;const U=(K=(z=e.implementations)==null?void 0:z.effects)==null?void 0:K[M];return U||Zr(`[zag-js] No implementation found for effect "${JSON.stringify(M)}"`),U}),A=[];for(const M of O){const U=M==null?void 0:M(x());U&&A.push(U)}return()=>A.forEach(M=>M==null?void 0:M())},C=I=>Cl(I).find(T=>{let O=!T.guard;return Cn(T.guard)?O=!!v(T.guard):gt(T.guard)&&(O=T.guard(x())),O}),E=I=>{_l(e.computed,()=>"[zag-js] No computed object found on machine");const T=e.computed[I];return T({context:c,event:h(),prop:s,refs:g,scope:n,computed:E})},S=Rn(()=>({defaultValue:os(e,e.initialState({prop:s})),onChange(I,T){var M,U;const{exiting:O,entering:A}=Zl(e,T,I,(M=d.current)==null?void 0:M.reenter);if(O.forEach(z=>{const K=l.current.get(z.path);K==null||K(),l.current.delete(z.path)}),O.forEach(z=>{var K;w((K=z.state)==null?void 0:K.exit)}),w((U=d.current)==null?void 0:U.actions),A.forEach(z=>{var J;const K=y((J=z.state)==null?void 0:J.effects);K&&l.current.set(z.path,K)}),T===Er){w(e.entry);const z=y(e.effects);z&&l.current.set(Er,z)}A.forEach(z=>{var K;w((K=z.state)==null?void 0:K.entry)})}})),P=R.useRef(void 0),N=R.useRef(ht.NotStarted);Ti(()=>{queueMicrotask(()=>{const O=N.current===ht.Started;N.current=ht.Started,r(O?"rehydrating...":"initializing...");const A=P.current??S.initial;S.invoke(A,O?S.get():Er)});const I=l.current,T=S.ref.current;return()=>{r("unmounting..."),P.current=T,N.current=ht.Stopped,I.forEach(O=>O==null?void 0:O()),l.current=new Map,d.current=null,queueMicrotask(()=>{w(e.exit)})}},[]);const j=()=>"ref"in S?S.ref.current:S.get(),_=I=>{queueMicrotask(()=>{if(N.current!==ht.Started)return;f.current=m.current,m.current=I;let T=j();const{transitions:O,source:A}=Gl(e,T,I.type),M=C(O);if(!M)return;d.current=M;const U=os(e,M.target??T,A);r("transition",I.type,M.target||T,`(${M.actions})`),U!==T?Wt.flushSync(()=>S.set(U)):M.reenter?S.invoke(T,T):w(M.actions??[])})};return(H=e.watch)==null||H.call(e,x()),{state:b(),send:_,context:c,prop:s,scope:n,refs:g,computed:E,event:h(),getStatus:()=>N.current}}function ki(e){const t=R.useRef(e);return t.current=e,t}function Fu(e){const t=ki(e);return function(r){return t.current[r]}}function cs(e){queueMicrotask(()=>{Wt.flushSync(()=>e())})}function Bu(e){return new Proxy({},{get(t,n){return n==="style"?r=>e({style:r}).style:e}})}var Ii=Bu(e=>e);const[$u]=ot({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItemProvider />"});function Hu(...e){return t=>{const n=[];for(const r of e)if(typeof r=="function"){const o=r(t);typeof o=="function"&&n.push(o)}else r&&(r.current=t);if(n.length)return()=>{for(const r of n)r()}}}function zu(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const Rr=e=>{const t=R.memo(R.forwardRef((n,r)=>{const{asChild:o,children:s,...i}=n;if(!o)return R.createElement(e,{...i,ref:r},s);if(!R.isValidElement(s))return null;const a=R.Children.only(s),c=zu(a);return R.cloneElement(a,{...st(i,a.props),ref:r?Hu(r,c):c})}));return t.displayName=e.displayName||e.name,t},Wu=()=>{const e=new Map;return new Proxy(Rr,{apply(t,n,r){return Rr(r[0])},get(t,n){const r=n;return e.has(r)||e.set(r,Rr(r)),e.get(r)}})},qn=Wu(),Gt=()=>(e,t)=>t.reduce((n,r)=>{const[o,s]=n,i=r;return s[i]!==void 0&&(o[i]=s[i]),delete s[i],[o,s]},[{},{...e}]),Uu=e=>Gt()(e,["collapsedHeight","collapsedWidth","defaultOpen","disabled","id","ids","lazyMount","onExitComplete","onOpenChange","open","unmountOnExit"]);var vt=(e,t=[])=>({parts:(...n)=>{if(qu(t))return vt(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>vt(e,[...t,...n]),omit:(...n)=>vt(e,t.filter(r=>!n.includes(r))),rename:n=>vt(n,t),keys:()=>t,build:()=>[...new Set(t)].reduce((n,r)=>Object.assign(n,{[r]:{selector:[`&[data-scope="${lt(e)}"][data-part="${lt(r)}"]`,`& [data-scope="${lt(e)}"][data-part="${lt(r)}"]`].join(", "),attrs:{"data-scope":lt(e),"data-part":lt(r)}}}),{})}),lt=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),qu=e=>e.length===0,Gu=vt("collapsible").parts("root","trigger","content","indicator"),on=Gu.build(),Zu=e=>{var t;return((t=e.ids)==null?void 0:t.root)??`collapsible:${e.id}`},Kr=e=>{var t;return((t=e.ids)==null?void 0:t.content)??`collapsible:${e.id}:content`},Yu=e=>{var t;return((t=e.ids)==null?void 0:t.trigger)??`collapsible:${e.id}:trigger`},kt=e=>e.getById(Kr(e));function Xu(e,t){const{state:n,send:r,context:o,scope:s,prop:i}=e,a=n.matches("open")||n.matches("closing"),c=n.matches("open"),l=n.matches("closed"),{width:d,height:f}=o.get("size"),m=!!i("disabled"),h=i("collapsedHeight"),b=i("collapsedWidth"),g=h!=null,x=b!=null,w=g||x,v=!o.get("initial")&&c;return{disabled:m,visible:a,open:c,measureSize(){r({type:"size.measure"})},setOpen(y){n.matches("open")!==y&&r({type:y?"open":"close"})},getRootProps(){return t.element({...on.root.attrs,"data-state":c?"open":"closed",dir:i("dir"),id:Zu(s)})},getContentProps(){return t.element({...on.content.attrs,id:Kr(s),"data-collapsible":"","data-state":v?void 0:c?"open":"closed","data-disabled":Se(m),"data-has-collapsed-size":Se(w),hidden:!a&&!w,dir:i("dir"),style:{"--height":Ve(f),"--width":Ve(d),"--collapsed-height":Ve(h),"--collapsed-width":Ve(b),...l&&g&&{overflow:"hidden",minHeight:Ve(h),maxHeight:Ve(h)},...l&&x&&{overflow:"hidden",minWidth:Ve(b),maxWidth:Ve(b)}}})},getTriggerProps(){return t.element({...on.trigger.attrs,id:Yu(s),dir:i("dir"),type:"button","data-state":c?"open":"closed","data-disabled":Se(m),"aria-controls":Kr(s),"aria-expanded":a||!1,onClick(y){y.defaultPrevented||m||r({type:c?"close":"open"})}})},getIndicatorProps(){return t.element({...on.indicator.attrs,dir:i("dir"),"data-state":c?"open":"closed","data-disabled":Se(m)})}}}var Ku=xi({initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"closed"},context({bindable:e}){return{size:e(()=>({defaultValue:{height:0,width:0},sync:!0})),initial:e(()=>({defaultValue:!1}))}},refs(){return{cleanup:void 0,stylesRef:void 0}},watch({track:e,prop:t,action:n}){e([()=>t("open")],()=>{n(["setInitial","computeSize","toggleVisibility"])})},exit:["cleanupNode"],states:{closed:{effects:["trackTabbableElements"],on:{"controlled.open":{target:"open"},open:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitial","computeSize","invokeOnOpen"]}]}},closing:{effects:["trackExitAnimation"],on:{"controlled.close":{target:"closed"},"controlled.open":{target:"open"},open:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitial","invokeOnOpen"]}],close:[{guard:"isOpenControlled",actions:["invokeOnExitComplete"]},{target:"closed",actions:["setInitial","computeSize","invokeOnExitComplete"]}],"animation.end":{target:"closed",actions:["invokeOnExitComplete","clearInitial"]}}},open:{effects:["trackEnterAnimation"],on:{"controlled.close":{target:"closing"},close:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closing",actions:["setInitial","computeSize","invokeOnClose"]}],"size.measure":{actions:["measureSize"]},"animation.end":{actions:["clearInitial"]}}}},implementations:{guards:{isOpenControlled:({prop:e})=>e("open")!=null},effects:{trackEnterAnimation:({send:e,scope:t})=>{let n;const r=Sn(()=>{const o=kt(t);if(!o)return;const s=ss(o).animationName;if(!s||s==="none"){e({type:"animation.end"});return}const a=c=>{is(c)===o&&e({type:"animation.end"})};o.addEventListener("animationend",a),n=()=>{o.removeEventListener("animationend",a)}});return()=>{r(),n==null||n()}},trackExitAnimation:({send:e,scope:t})=>{let n;const r=Sn(()=>{const o=kt(t);if(!o)return;const s=ss(o).animationName;if(!s||s==="none"){e({type:"animation.end"});return}const a=l=>{is(l)===o&&e({type:"animation.end"})};o.addEventListener("animationend",a);const c=Mu(o,{animationFillMode:"forwards"});n=()=>{o.removeEventListener("animationend",a),Nu(()=>c())}});return()=>{r(),n==null||n()}},trackTabbableElements:({scope:e,prop:t})=>{if(!t("collapsedHeight")&&!t("collapsedWidth"))return;const n=kt(e);if(!n)return;const r=()=>{const a=Pi(n).map(c=>Ou(c,"inert",""));return()=>{a.forEach(c=>c())}};let o=r();const s=Ru(n,{callback(){o(),o=r()}});return()=>{o(),s()}}},actions:{setInitial:({context:e,flush:t})=>{t(()=>{e.set("initial",!0)})},clearInitial:({context:e})=>{e.set("initial",!1)},cleanupNode:({refs:e})=>{e.set("stylesRef",null)},measureSize:({context:e,scope:t})=>{const n=kt(t);if(!n)return;const{height:r,width:o}=n.getBoundingClientRect();e.set("size",{height:r,width:o})},computeSize:({refs:e,scope:t,context:n})=>{var o;(o=e.get("cleanup"))==null||o();const r=Sn(()=>{const s=kt(t);if(!s)return;const i=s.hidden;s.style.animationName="none",s.style.animationDuration="0s",s.hidden=!1;const a=s.getBoundingClientRect();n.set("size",{height:a.height,width:a.width}),n.get("initial")&&(s.style.animationName="",s.style.animationDuration=""),s.hidden=i});e.set("cleanup",r)},invokeOnOpen:({prop:e})=>{var t;(t=e("onOpenChange"))==null||t({open:!0})},invokeOnClose:({prop:e})=>{var t;(t=e("onOpenChange"))==null||t({open:!1})},invokeOnExitComplete:({prop:e})=>{var t;(t=e("onExitComplete"))==null||t()},toggleVisibility:({prop:e,send:t})=>{t({type:e("open")?"controlled.open":"controlled.close"})}}}});const[zv,Oi]=ot({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}}),[Wv,Mi]=ot({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}}),Qu=(e={})=>{const{lazyMount:t,unmountOnExit:n,...r}=e,o=R.useId(),s=R.useRef(!1),{dir:i}=Mi(),{getRootNode:a}=Oi(),c={id:o,dir:i,getRootNode:a,...r},l=ji(Ku,c),d=Xu(l,Ii);d.visible&&(s.current=!0);const f=!d.visible&&!s.current&&t||n&&!d.visible&&s.current;return{...d,isUnmounted:f}},[Ju,Li]=ot({name:"CollapsibleContext",hookName:"useCollapsibleContext",providerName:"<CollapsibleProvider />"}),_i=R.forwardRef((e,t)=>{const[n,r]=Uu(e),o=Qu(n),s=st(o.getRootProps(),r);return u.jsx(Ju,{value:o,children:u.jsx(qn.div,{...s,ref:t})})});_i.displayName="CollapsibleRoot";const ed=["top","right","bottom","left"],He=Math.min,he=Math.max,Tn=Math.round,sn=Math.floor,Ae=e=>({x:e,y:e}),td={left:"right",right:"left",bottom:"top",top:"bottom"},nd={start:"end",end:"start"};function Qr(e,t,n){return he(e,He(t,n))}function Le(e,t){return typeof e=="function"?e(t):e}function _e(e){return e.split("-")[0]}function St(e){return e.split("-")[1]}function vo(e){return e==="x"?"y":"x"}function bo(e){return e==="y"?"height":"width"}const rd=new Set(["top","bottom"]);function Pe(e){return rd.has(_e(e))?"y":"x"}function xo(e){return vo(Pe(e))}function od(e,t,n){n===void 0&&(n=!1);const r=St(e),o=xo(e),s=bo(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=jn(i)),[i,jn(i)]}function sd(e){const t=jn(e);return[Jr(e),t,Jr(t)]}function Jr(e){return e.replace(/start|end/g,t=>nd[t])}const ls=["left","right"],us=["right","left"],id=["top","bottom"],ad=["bottom","top"];function cd(e,t,n){switch(e){case"top":case"bottom":return n?t?us:ls:t?ls:us;case"left":case"right":return t?id:ad;default:return[]}}function ld(e,t,n,r){const o=St(e);let s=cd(_e(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Jr)))),s}function jn(e){return e.replace(/left|right|bottom|top/g,t=>td[t])}function ud(e){return{top:0,right:0,bottom:0,left:0,...e}}function Di(e){return typeof e!="number"?ud(e):{top:e,right:e,bottom:e,left:e}}function kn(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ds(e,t,n){let{reference:r,floating:o}=e;const s=Pe(t),i=xo(t),a=bo(i),c=_e(t),l=s==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,m=r[a]/2-o[a]/2;let h;switch(c){case"top":h={x:d,y:r.y-o.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch(St(t)){case"start":h[i]-=m*(n&&l?-1:1);break;case"end":h[i]+=m*(n&&l?-1:1);break}return h}async function dd(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:m=!1,padding:h=0}=Le(t,e),b=Di(h),x=a[m?f==="floating"?"reference":"floating":f],w=kn(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(x)))==null||n?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:l,rootBoundary:d,strategy:c})),v=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),C=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},E=kn(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:c}):v);return{top:(w.top-E.top+b.top)/C.y,bottom:(E.bottom-w.bottom+b.bottom)/C.y,left:(w.left-E.left+b.left)/C.x,right:(E.right-w.right+b.right)/C.x}}const fd=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let l=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=ds(l,r,c),m=r,h={},b=0;for(let x=0;x<a.length;x++){var g;const{name:w,fn:v}=a[x],{x:y,y:C,data:E,reset:S}=await v({x:d,y:f,initialPlacement:r,placement:m,strategy:o,middlewareData:h,rects:l,platform:{...i,detectOverflow:(g=i.detectOverflow)!=null?g:dd},elements:{reference:e,floating:t}});d=y??d,f=C??f,h={...h,[w]:{...h[w],...E}},S&&b<=50&&(b++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(l=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:d,y:f}=ds(l,m,c)),x=-1)}return{x:d,y:f,placement:m,strategy:o,middlewareData:h}},pd=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:c}=t,{element:l,padding:d=0}=Le(e,t)||{};if(l==null)return{};const f=Di(d),m={x:n,y:r},h=xo(o),b=bo(h),g=await i.getDimensions(l),x=h==="y",w=x?"top":"left",v=x?"bottom":"right",y=x?"clientHeight":"clientWidth",C=s.reference[b]+s.reference[h]-m[h]-s.floating[b],E=m[h]-s.reference[h],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let P=S?S[y]:0;(!P||!await(i.isElement==null?void 0:i.isElement(S)))&&(P=a.floating[y]||s.floating[b]);const N=C/2-E/2,j=P/2-g[b]/2-1,_=He(f[w],j),D=He(f[v],j),B=_,W=P-g[b]-D,H=P/2-g[b]/2+N,I=Qr(B,H,W),T=!c.arrow&&St(o)!=null&&H!==I&&s.reference[b]/2-(H<B?_:D)-g[b]/2<0,O=T?H<B?H-B:H-W:0;return{[h]:m[h]+O,data:{[h]:I,centerOffset:H-I-O,...T&&{alignmentOffset:O}},reset:T}}}),md=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:c,elements:l}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:g=!0,...x}=Le(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const w=_e(o),v=Pe(a),y=_e(a)===a,C=await(c.isRTL==null?void 0:c.isRTL(l.floating)),E=m||(y||!g?[jn(a)]:sd(a)),S=b!=="none";!m&&S&&E.push(...ld(a,g,b,C));const P=[a,...E],N=await c.detectOverflow(t,x),j=[];let _=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&j.push(N[w]),f){const H=od(o,i,C);j.push(N[H[0]],N[H[1]])}if(_=[..._,{placement:o,overflows:j}],!j.every(H=>H<=0)){var D,B;const H=(((D=s.flip)==null?void 0:D.index)||0)+1,I=P[H];if(I&&(!(f==="alignment"?v!==Pe(I):!1)||_.every(A=>Pe(A.placement)===v?A.overflows[0]>0:!0)))return{data:{index:H,overflows:_},reset:{placement:I}};let T=(B=_.filter(O=>O.overflows[0]<=0).sort((O,A)=>O.overflows[1]-A.overflows[1])[0])==null?void 0:B.placement;if(!T)switch(h){case"bestFit":{var W;const O=(W=_.filter(A=>{if(S){const M=Pe(A.placement);return M===v||M==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(M=>M>0).reduce((M,U)=>M+U,0)]).sort((A,M)=>A[1]-M[1])[0])==null?void 0:W[0];O&&(T=O);break}case"initialPlacement":T=a;break}if(o!==T)return{reset:{placement:T}}}return{}}}};function fs(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ps(e){return ed.some(t=>e[t]>=0)}const hd=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...s}=Le(e,t);switch(o){case"referenceHidden":{const i=await r.detectOverflow(t,{...s,elementContext:"reference"}),a=fs(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:ps(a)}}}case"escaped":{const i=await r.detectOverflow(t,{...s,altBoundary:!0}),a=fs(i,n.floating);return{data:{escapedOffsets:a,escaped:ps(a)}}}default:return{}}}}},Vi=new Set(["left","top"]);async function gd(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=_e(n),a=St(n),c=Pe(n)==="y",l=Vi.has(i)?-1:1,d=s&&c?-1:1,f=Le(t,e);let{mainAxis:m,crossAxis:h,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof b=="number"&&(h=a==="end"?b*-1:b),c?{x:h*d,y:m*l}:{x:m*l,y:h*d}}const vd=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,c=await gd(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:i}}}}},bd=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:w=>{let{x:v,y}=w;return{x:v,y}}},...l}=Le(e,t),d={x:n,y:r},f=await s.detectOverflow(t,l),m=Pe(_e(o)),h=vo(m);let b=d[h],g=d[m];if(i){const w=h==="y"?"top":"left",v=h==="y"?"bottom":"right",y=b+f[w],C=b-f[v];b=Qr(y,b,C)}if(a){const w=m==="y"?"top":"left",v=m==="y"?"bottom":"right",y=g+f[w],C=g-f[v];g=Qr(y,g,C)}const x=c.fn({...t,[h]:b,[m]:g});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[h]:i,[m]:a}}}}}},xd=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:c=!0,crossAxis:l=!0}=Le(e,t),d={x:n,y:r},f=Pe(o),m=vo(f);let h=d[m],b=d[f];const g=Le(a,t),x=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const y=m==="y"?"height":"width",C=s.reference[m]-s.floating[y]+x.mainAxis,E=s.reference[m]+s.reference[y]-x.mainAxis;h<C?h=C:h>E&&(h=E)}if(l){var w,v;const y=m==="y"?"width":"height",C=Vi.has(_e(o)),E=s.reference[f]-s.floating[y]+(C&&((w=i.offset)==null?void 0:w[f])||0)+(C?0:x.crossAxis),S=s.reference[f]+s.reference[y]+(C?0:((v=i.offset)==null?void 0:v[f])||0)-(C?x.crossAxis:0);b<E?b=E:b>S&&(b=S)}return{[m]:h,[f]:b}}}},yd=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:c=()=>{},...l}=Le(e,t),d=await i.detectOverflow(t,l),f=_e(o),m=St(o),h=Pe(o)==="y",{width:b,height:g}=s.floating;let x,w;f==="top"||f==="bottom"?(x=f,w=m===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(w=f,x=m==="end"?"top":"bottom");const v=g-d.top-d.bottom,y=b-d.left-d.right,C=He(g-d[x],v),E=He(b-d[w],y),S=!t.middlewareData.shift;let P=C,N=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=v),S&&!m){const _=he(d.left,0),D=he(d.right,0),B=he(d.top,0),W=he(d.bottom,0);h?N=b-2*(_!==0||D!==0?_+D:he(d.left,d.right)):P=g-2*(B!==0||W!==0?B+W:he(d.top,d.bottom))}await c({...t,availableWidth:N,availableHeight:P});const j=await i.getDimensions(a.floating);return b!==j.width||g!==j.height?{reset:{rects:!0}}:{}}}};function Gn(){return typeof window<"u"}function Et(e){return Fi(e)?(e.nodeName||"").toLowerCase():"#document"}function ge(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Te(e){var t;return(t=(Fi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fi(e){return Gn()?e instanceof Node||e instanceof ge(e).Node:!1}function ye(e){return Gn()?e instanceof Element||e instanceof ge(e).Element:!1}function Re(e){return Gn()?e instanceof HTMLElement||e instanceof ge(e).HTMLElement:!1}function ms(e){return!Gn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ge(e).ShadowRoot}const wd=new Set(["inline","contents"]);function Zt(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=we(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!wd.has(o)}const Cd=new Set(["table","td","th"]);function Sd(e){return Cd.has(Et(e))}const Ed=[":popover-open",":modal"];function Zn(e){return Ed.some(t=>{try{return e.matches(t)}catch{return!1}})}const Pd=["transform","translate","scale","rotate","perspective"],Nd=["transform","translate","scale","rotate","perspective","filter"],Ad=["paint","layout","strict","content"];function yo(e){const t=wo(),n=ye(e)?we(e):e;return Pd.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Nd.some(r=>(n.willChange||"").includes(r))||Ad.some(r=>(n.contain||"").includes(r))}function Rd(e){let t=ze(e);for(;Re(t)&&!wt(t);){if(yo(t))return t;if(Zn(t))return null;t=ze(t)}return null}function wo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Td=new Set(["html","body","#document"]);function wt(e){return Td.has(Et(e))}function we(e){return ge(e).getComputedStyle(e)}function Yn(e){return ye(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ze(e){if(Et(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ms(e)&&e.host||Te(e);return ms(t)?t.host:t}function Bi(e){const t=ze(e);return wt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Re(t)&&Zt(t)?t:Bi(t)}function Ft(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Bi(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=ge(o);if(s){const a=eo(i);return t.concat(i,i.visualViewport||[],Zt(o)?o:[],a&&n?Ft(a):[])}return t.concat(o,Ft(o,[],n))}function eo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function $i(e){const t=we(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Re(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=Tn(n)!==s||Tn(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function Co(e){return ye(e)?e:e.contextElement}function bt(e){const t=Co(e);if(!Re(t))return Ae(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=$i(t);let i=(s?Tn(n.width):n.width)/r,a=(s?Tn(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const jd=Ae(0);function Hi(e){const t=ge(e);return!wo()||!t.visualViewport?jd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function kd(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ge(e)?!1:t}function Qe(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Co(e);let i=Ae(1);t&&(r?ye(r)&&(i=bt(r)):i=bt(e));const a=kd(s,n,r)?Hi(s):Ae(0);let c=(o.left+a.x)/i.x,l=(o.top+a.y)/i.y,d=o.width/i.x,f=o.height/i.y;if(s){const m=ge(s),h=r&&ye(r)?ge(r):r;let b=m,g=eo(b);for(;g&&r&&h!==b;){const x=bt(g),w=g.getBoundingClientRect(),v=we(g),y=w.left+(g.clientLeft+parseFloat(v.paddingLeft))*x.x,C=w.top+(g.clientTop+parseFloat(v.paddingTop))*x.y;c*=x.x,l*=x.y,d*=x.x,f*=x.y,c+=y,l+=C,b=ge(g),g=eo(b)}}return kn({width:d,height:f,x:c,y:l})}function Xn(e,t){const n=Yn(e).scrollLeft;return t?t.left+n:Qe(Te(e)).left+n}function zi(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Xn(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Id(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=Te(r),a=t?Zn(t.floating):!1;if(r===i||a&&s)return n;let c={scrollLeft:0,scrollTop:0},l=Ae(1);const d=Ae(0),f=Re(r);if((f||!f&&!s)&&((Et(r)!=="body"||Zt(i))&&(c=Yn(r)),Re(r))){const h=Qe(r);l=bt(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}const m=i&&!f&&!s?zi(i,c):Ae(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+d.x+m.x,y:n.y*l.y-c.scrollTop*l.y+d.y+m.y}}function Od(e){return Array.from(e.getClientRects())}function Md(e){const t=Te(e),n=Yn(e),r=e.ownerDocument.body,o=he(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=he(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Xn(e);const a=-n.scrollTop;return we(r).direction==="rtl"&&(i+=he(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}const hs=25;function Ld(e,t){const n=ge(e),r=Te(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,c=0;if(o){s=o.width,i=o.height;const d=wo();(!d||d&&t==="fixed")&&(a=o.offsetLeft,c=o.offsetTop)}const l=Xn(r);if(l<=0){const d=r.ownerDocument,f=d.body,m=getComputedStyle(f),h=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,b=Math.abs(r.clientWidth-f.clientWidth-h);b<=hs&&(s-=b)}else l<=hs&&(s+=l);return{width:s,height:i,x:a,y:c}}const _d=new Set(["absolute","fixed"]);function Dd(e,t){const n=Qe(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Re(e)?bt(e):Ae(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,c=o*s.x,l=r*s.y;return{width:i,height:a,x:c,y:l}}function gs(e,t,n){let r;if(t==="viewport")r=Ld(e,n);else if(t==="document")r=Md(Te(e));else if(ye(t))r=Dd(t,n);else{const o=Hi(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return kn(r)}function Wi(e,t){const n=ze(e);return n===t||!ye(n)||wt(n)?!1:we(n).position==="fixed"||Wi(n,t)}function Vd(e,t){const n=t.get(e);if(n)return n;let r=Ft(e,[],!1).filter(a=>ye(a)&&Et(a)!=="body"),o=null;const s=we(e).position==="fixed";let i=s?ze(e):e;for(;ye(i)&&!wt(i);){const a=we(i),c=yo(i);!c&&a.position==="fixed"&&(o=null),(s?!c&&!o:!c&&a.position==="static"&&!!o&&_d.has(o.position)||Zt(i)&&!c&&Wi(e,i))?r=r.filter(d=>d!==i):o=a,i=ze(i)}return t.set(e,r),r}function Fd(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Zn(t)?[]:Vd(t,this._c):[].concat(n),r],a=i[0],c=i.reduce((l,d)=>{const f=gs(t,d,o);return l.top=he(f.top,l.top),l.right=He(f.right,l.right),l.bottom=He(f.bottom,l.bottom),l.left=he(f.left,l.left),l},gs(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Bd(e){const{width:t,height:n}=$i(e);return{width:t,height:n}}function $d(e,t,n){const r=Re(t),o=Te(t),s=n==="fixed",i=Qe(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const c=Ae(0);function l(){c.x=Xn(o)}if(r||!r&&!s)if((Et(t)!=="body"||Zt(o))&&(a=Yn(t)),r){const h=Qe(t,!0,s,t);c.x=h.x+t.clientLeft,c.y=h.y+t.clientTop}else o&&l();s&&!r&&o&&l();const d=o&&!r&&!s?zi(o,a):Ae(0),f=i.left+a.scrollLeft-c.x-d.x,m=i.top+a.scrollTop-c.y-d.y;return{x:f,y:m,width:i.width,height:i.height}}function Tr(e){return we(e).position==="static"}function vs(e,t){if(!Re(e)||we(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Te(e)===n&&(n=n.ownerDocument.body),n}function Ui(e,t){const n=ge(e);if(Zn(e))return n;if(!Re(e)){let o=ze(e);for(;o&&!wt(o);){if(ye(o)&&!Tr(o))return o;o=ze(o)}return n}let r=vs(e,t);for(;r&&Sd(r)&&Tr(r);)r=vs(r,t);return r&&wt(r)&&Tr(r)&&!yo(r)?n:r||Rd(e)||n}const Hd=async function(e){const t=this.getOffsetParent||Ui,n=this.getDimensions,r=await n(e.floating);return{reference:$d(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function zd(e){return we(e).direction==="rtl"}const Wd={convertOffsetParentRelativeRectToViewportRelativeRect:Id,getDocumentElement:Te,getClippingRect:Fd,getOffsetParent:Ui,getElementRects:Hd,getClientRects:Od,getDimensions:Bd,getScale:bt,isElement:ye,isRTL:zd};function qi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ud(e,t){let n=null,r;const o=Te(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),s();const l=e.getBoundingClientRect(),{left:d,top:f,width:m,height:h}=l;if(a||t(),!m||!h)return;const b=sn(f),g=sn(o.clientWidth-(d+m)),x=sn(o.clientHeight-(f+h)),w=sn(d),y={rootMargin:-b+"px "+-g+"px "+-x+"px "+-w+"px",threshold:he(0,He(1,c))||1};let C=!0;function E(S){const P=S[0].intersectionRatio;if(P!==c){if(!C)return i();P?i(!1,P):r=setTimeout(()=>{i(!1,1e-7)},1e3)}P===1&&!qi(l,e.getBoundingClientRect())&&i(),C=!1}try{n=new IntersectionObserver(E,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,y)}n.observe(e)}return i(!0),s}function qd(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,l=Co(e),d=o||s?[...l?Ft(l):[],...Ft(t)]:[];d.forEach(w=>{o&&w.addEventListener("scroll",n,{passive:!0}),s&&w.addEventListener("resize",n)});const f=l&&a?Ud(l,n):null;let m=-1,h=null;i&&(h=new ResizeObserver(w=>{let[v]=w;v&&v.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var y;(y=h)==null||y.observe(t)})),n()}),l&&!c&&h.observe(l),h.observe(t));let b,g=c?Qe(e):null;c&&x();function x(){const w=Qe(e);g&&!qi(g,w)&&n(),g=w,b=requestAnimationFrame(x)}return n(),()=>{var w;d.forEach(v=>{o&&v.removeEventListener("scroll",n),s&&v.removeEventListener("resize",n)}),f==null||f(),(w=h)==null||w.disconnect(),h=null,c&&cancelAnimationFrame(b)}}const Gd=vd,Zd=bd,Yd=md,Xd=yd,Kd=hd,bs=pd,Qd=xd,Jd=(e,t,n)=>{const r=new Map,o={platform:Wd,...n},s={...o.platform,_c:r};return fd(e,t,{...o,platform:s})},[ef,tf]=ot({name:"RenderStrategyContext",hookName:"useRenderStrategyContext",providerName:"<RenderStrategyPropsProvider />"}),nf=e=>Gt()(e,["lazyMount","unmountOnExit"]),[rf,Gi]=ot({name:"AccordionItemPropsContext",hookName:"useAccordionItemPropsContext",providerName:"<AccordionItemPropsProvider />"}),of=Gt(),Zi=R.forwardRef((e,t)=>{const[n,r]=of(e,["value","disabled"]),o=po(),s=tf(),i=st(o.getItemProps(n),r),a=o.getItemState(n),c=o.getItemContentProps(n);return u.jsx(rf,{value:n,children:u.jsx($u,{value:a,children:u.jsx(_i,{ref:t,open:a.expanded,ids:{content:c.id},...s,...i})})})});Zi.displayName="AccordionItem";const Yi=R.forwardRef((e,t)=>{const n=Li();if(n.isUnmounted)return null;const r=st(n.getContentProps(),e);return u.jsx(qn.div,{...r,ref:t})});Yi.displayName="CollapsibleContent";const sf=Gt(),Xi=R.forwardRef((e,t)=>{const n=po(),r=Gi(),o=n.getItemContentProps(r),[,s]=sf(o,["hidden","data-state"]),i=st(s,e);return u.jsx(Yi,{ref:t,...i})});Xi.displayName="AccordionItemContent";const Ki=R.forwardRef((e,t)=>{const n=po(),r=Gi(),o=Li(),s=n.getItemTriggerProps(r),i=st({...s,"aria-controls":o.isUnmounted?void 0:s["aria-controls"]},e);return u.jsx(qn.button,{...i,ref:t})});Ki.displayName="AccordionItemTrigger";var af=vt("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator"),It=af.build(),In=e=>{var t;return((t=e.ids)==null?void 0:t.root)??`accordion:${e.id}`},cf=(e,t)=>{var n,r;return((r=(n=e.ids)==null?void 0:n.item)==null?void 0:r.call(n,t))??`accordion:${e.id}:item:${t}`},jr=(e,t)=>{var n,r;return((r=(n=e.ids)==null?void 0:n.itemContent)==null?void 0:r.call(n,t))??`accordion:${e.id}:content:${t}`},On=(e,t)=>{var n,r;return((r=(n=e.ids)==null?void 0:n.itemTrigger)==null?void 0:r.call(n,t))??`accordion:${e.id}:trigger:${t}`},lf=e=>e.getById(In(e)),Kn=e=>{const n=`[data-controls][data-ownedby='${CSS.escape(In(e))}']:not([disabled])`;return Tu(lf(e),n)},uf=e=>Sl(Kn(e)),df=e=>El(Kn(e)),ff=(e,t)=>ku(Kn(e),On(e,t)),pf=(e,t)=>Iu(Kn(e),On(e,t));function mf(e,t){const{send:n,context:r,prop:o,scope:s,computed:i}=e,a=r.get("focusedValue"),c=r.get("value"),l=o("multiple");function d(m){let h=m;!l&&h.length>1&&(h=[h[0]]),n({type:"VALUE.SET",value:h})}function f(m){return{expanded:c.includes(m.value),focused:a===m.value,disabled:!!(m.disabled??o("disabled"))}}return{focusedValue:a,value:c,setValue:d,getItemState:f,getRootProps(){return t.element({...It.root.attrs,dir:o("dir"),id:In(s),"data-orientation":o("orientation")})},getItemProps(m){const h=f(m);return t.element({...It.item.attrs,dir:o("dir"),id:cf(s,m.value),"data-state":h.expanded?"open":"closed","data-focus":Se(h.focused),"data-disabled":Se(h.disabled),"data-orientation":o("orientation")})},getItemContentProps(m){const h=f(m);return t.element({...It.itemContent.attrs,dir:o("dir"),role:"region",id:jr(s,m.value),"aria-labelledby":On(s,m.value),hidden:!h.expanded,"data-state":h.expanded?"open":"closed","data-disabled":Se(h.disabled),"data-focus":Se(h.focused),"data-orientation":o("orientation")})},getItemIndicatorProps(m){const h=f(m);return t.element({...It.itemIndicator.attrs,dir:o("dir"),"aria-hidden":!0,"data-state":h.expanded?"open":"closed","data-disabled":Se(h.disabled),"data-focus":Se(h.focused),"data-orientation":o("orientation")})},getItemTriggerProps(m){const{value:h}=m,b=f(m);return t.button({...It.itemTrigger.attrs,type:"button",dir:o("dir"),id:On(s,h),"aria-controls":jr(s,h),"data-controls":jr(s,h),"aria-expanded":b.expanded,disabled:b.disabled,"data-orientation":o("orientation"),"aria-disabled":b.disabled,"data-state":b.expanded?"open":"closed","data-ownedby":In(s),onFocus(){b.disabled||n({type:"TRIGGER.FOCUS",value:h})},onBlur(){b.disabled||n({type:"TRIGGER.BLUR"})},onClick(g){b.disabled||(hu()&&g.currentTarget.focus(),n({type:"TRIGGER.CLICK",value:h}))},onKeyDown(g){if(g.defaultPrevented||b.disabled)return;const x={ArrowDown(){i("isHorizontal")||n({type:"GOTO.NEXT",value:h})},ArrowUp(){i("isHorizontal")||n({type:"GOTO.PREV",value:h})},ArrowRight(){i("isHorizontal")&&n({type:"GOTO.NEXT",value:h})},ArrowLeft(){i("isHorizontal")&&n({type:"GOTO.PREV",value:h})},Home(){n({type:"GOTO.FIRST",value:h})},End(){n({type:"GOTO.LAST",value:h})}},w=bu(g,{dir:o("dir"),orientation:o("orientation")}),v=x[w];v&&(v(g),g.preventDefault())}})}}}var{and:hf,not:gf}=Kl(),vf=xi({props({props:e}){return{collapsible:!1,multiple:!1,orientation:"vertical",defaultValue:[],...e}},initialState(){return"idle"},context({prop:e,bindable:t}){return{focusedValue:t(()=>({defaultValue:null,sync:!0,onChange(n){var r;(r=e("onFocusChange"))==null||r({value:n})}})),value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(n){var r;(r=e("onValueChange"))==null||r({value:n})}}))}},computed:{isHorizontal:({prop:e})=>e("orientation")==="horizontal"},on:{"VALUE.SET":{actions:["setValue"]}},states:{idle:{on:{"TRIGGER.FOCUS":{target:"focused",actions:["setFocusedValue"]}}},focused:{on:{"GOTO.NEXT":{actions:["focusNextTrigger"]},"GOTO.PREV":{actions:["focusPrevTrigger"]},"TRIGGER.CLICK":[{guard:hf("isExpanded","canToggle"),actions:["collapse"]},{guard:gf("isExpanded"),actions:["expand"]}],"GOTO.FIRST":{actions:["focusFirstTrigger"]},"GOTO.LAST":{actions:["focusLastTrigger"]},"TRIGGER.BLUR":{target:"idle",actions:["clearFocusedValue"]}}}},implementations:{guards:{canToggle:({prop:e})=>!!e("collapsible")||!!e("multiple"),isExpanded:({context:e,event:t})=>e.get("value").includes(t.value)},actions:{collapse({context:e,prop:t,event:n}){const r=t("multiple")?Nl(e.get("value"),n.value):[];e.set("value",r)},expand({context:e,prop:t,event:n}){const r=t("multiple")?Pl(e.get("value"),n.value):[n.value];e.set("value",r)},focusFirstTrigger({scope:e}){var t;(t=uf(e))==null||t.focus()},focusLastTrigger({scope:e}){var t;(t=df(e))==null||t.focus()},focusNextTrigger({context:e,scope:t}){const n=e.get("focusedValue");if(!n)return;const r=ff(t,n);r==null||r.focus()},focusPrevTrigger({context:e,scope:t}){const n=e.get("focusedValue");if(!n)return;const r=pf(t,n);r==null||r.focus()},setFocusedValue({context:e,event:t}){e.set("focusedValue",t.value)},clearFocusedValue({context:e}){e.set("focusedValue",null)},setValue({context:e,event:t}){e.set("value",t.value)},coarseValue({context:e,prop:t}){!t("multiple")&&e.get("value").length>1&&(Zr("The value of accordion should be a single value when multiple is false."),e.set("value",[e.get("value")[0]]))}}}});const bf=e=>{const t=R.useId(),{getRootNode:n}=Oi(),{dir:r}=Mi(),o={id:t,dir:r,getRootNode:n,...e},s=ji(vf,o);return mf(s,Ii)},xf=Gt(),Qi=R.forwardRef((e,t)=>{const[n,r]=nf(e),[o,s]=xf(r,["collapsible","defaultValue","disabled","id","ids","multiple","onFocusChange","onValueChange","orientation","value"]),i=bf(o),a=st(i.getRootProps(),s);return u.jsx(Vl,{value:i,children:u.jsx(ef,{value:n,children:u.jsx(qn.div,{...a,ref:t})})})});Qi.displayName="AccordionRoot";const Ji={cloud:"bg-cloud",navy:"bg-navy-1000",white:"bg-white"};function So(e){return e==="connect"?"white":"cloud"}function ea(e,t,n){if(t==="connect"&&e==="navy")return{resolvedBackground:n,hasSideColPadding:n!=="white"};const r=e??n;return{resolvedBackground:r,hasSideColPadding:t==="connect"&&r!=="white"||t==="digital"&&r!=="cloud"}}function ta(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=ta(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function yf(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=ta(e))&&(r&&(r+=" "),r+=t);return r}const wf=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Cf=(e,t)=>({classGroupId:e,validator:t}),na=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Mn="-",xs=[],Sf="arbitrary..",Ef=e=>{const t=Nf(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Pf(i);const a=i.split(Mn),c=a[0]===""&&a.length>1?1:0;return ra(a,c,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const c=r[i],l=n[i];return c?l?wf(l,c):c:l||xs}return n[i]||xs}}},ra=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],s=n.nextPart.get(o);if(s){const l=ra(e,t+1,s);if(l)return l}const i=n.validators;if(i===null)return;const a=t===0?e.join(Mn):e.slice(t).join(Mn),c=i.length;for(let l=0;l<c;l++){const d=i[l];if(d.validator(a))return d.classGroupId}},Pf=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?Sf+r:void 0})(),Nf=e=>{const{theme:t,classGroups:n}=e;return Af(n,t)},Af=(e,t)=>{const n=na();for(const r in e){const o=e[r];Eo(o,n,r,t)}return n},Eo=(e,t,n,r)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];Rf(i,t,n,r)}},Rf=(e,t,n,r)=>{if(typeof e=="string"){Tf(e,t,n);return}if(typeof e=="function"){jf(e,t,n,r);return}kf(e,t,n,r)},Tf=(e,t,n)=>{const r=e===""?t:oa(t,e);r.classGroupId=n},jf=(e,t,n,r)=>{if(If(e)){Eo(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Cf(n,e))},kf=(e,t,n,r)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,c]=o[i];Eo(c,oa(t,a),n,r)}},oa=(e,t)=>{let n=e;const r=t.split(Mn),o=r.length;for(let s=0;s<o;s++){const i=r[s];let a=n.nextPart.get(i);a||(a=na(),n.nextPart.set(i,a)),n=a}return n},If=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Of=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(s,i)=>{n[s]=i,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(s){let i=n[s];if(i!==void 0)return i;if((i=r[s])!==void 0)return o(s,i),i},set(s,i){s in n?n[s]=i:o(s,i)}}},to="!",ys=":",Mf=[],ws=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),Lf=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const s=[];let i=0,a=0,c=0,l;const d=o.length;for(let g=0;g<d;g++){const x=o[g];if(i===0&&a===0){if(x===ys){s.push(o.slice(c,g)),c=g+1;continue}if(x==="/"){l=g;continue}}x==="["?i++:x==="]"?i--:x==="("?a++:x===")"&&a--}const f=s.length===0?o:o.slice(c);let m=f,h=!1;f.endsWith(to)?(m=f.slice(0,-1),h=!0):f.startsWith(to)&&(m=f.slice(1),h=!0);const b=l&&l>c?l-c:void 0;return ws(s,h,m,b)};if(t){const o=t+ys,s=r;r=i=>i.startsWith(o)?s(i.slice(o.length)):ws(Mf,!1,i,void 0,!0)}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},_f=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let s=0;s<n.length;s++){const i=n[s],a=i[0]==="[",c=t.has(i);a||c?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(i)):o.push(i)}return o.length>0&&(o.sort(),r.push(...o)),r}},Df=e=>({cache:Of(e.cacheSize),parseClassName:Lf(e),sortModifiers:_f(e),...Ef(e)}),Vf=/\s+/,Ff=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(Vf);let c="";for(let l=a.length-1;l>=0;l-=1){const d=a[l],{isExternal:f,modifiers:m,hasImportantModifier:h,baseClassName:b,maybePostfixModifierPosition:g}=n(d);if(f){c=d+(c.length>0?" "+c:c);continue}let x=!!g,w=r(x?b.substring(0,g):b);if(!w){if(!x){c=d+(c.length>0?" "+c:c);continue}if(w=r(b),!w){c=d+(c.length>0?" "+c:c);continue}x=!1}const v=m.length===0?"":m.length===1?m[0]:s(m).join(":"),y=h?v+to:v,C=y+w;if(i.indexOf(C)>-1)continue;i.push(C);const E=o(w,x);for(let S=0;S<E.length;++S){const P=E[S];i.push(y+P)}c=d+(c.length>0?" "+c:c)}return c},Bf=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=sa(n))&&(o&&(o+=" "),o+=r);return o},sa=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=sa(e[r]))&&(n&&(n+=" "),n+=t);return n},$f=(e,...t)=>{let n,r,o,s;const i=c=>{const l=t.reduce((d,f)=>f(d),e());return n=Df(l),r=n.cache.get,o=n.cache.set,s=a,a(c)},a=c=>{const l=r(c);if(l)return l;const d=Ff(c,n);return o(c,d),d};return s=i,(...c)=>s(Bf(...c))},Hf=[],ae=e=>{const t=n=>n[e]||Hf;return t.isThemeGetter=!0,t},ia=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,aa=/^\((?:(\w[\w-]*):)?(.+)\)$/i,zf=/^\d+\/\d+$/,Wf=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Uf=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,qf=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Gf=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Zf=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ut=e=>zf.test(e),Y=e=>!!e&&!Number.isNaN(Number(e)),Fe=e=>!!e&&Number.isInteger(Number(e)),kr=e=>e.endsWith("%")&&Y(e.slice(0,-1)),ke=e=>Wf.test(e),Yf=()=>!0,Xf=e=>Uf.test(e)&&!qf.test(e),ca=()=>!1,Kf=e=>Gf.test(e),Qf=e=>Zf.test(e),Jf=e=>!V(e)&&!F(e),ep=e=>Pt(e,da,ca),V=e=>ia.test(e),Ye=e=>Pt(e,fa,Xf),Ir=e=>Pt(e,sp,Y),Cs=e=>Pt(e,la,ca),tp=e=>Pt(e,ua,Qf),an=e=>Pt(e,pa,Kf),F=e=>aa.test(e),Ot=e=>Nt(e,fa),np=e=>Nt(e,ip),Ss=e=>Nt(e,la),rp=e=>Nt(e,da),op=e=>Nt(e,ua),cn=e=>Nt(e,pa,!0),Pt=(e,t,n)=>{const r=ia.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Nt=(e,t,n=!1)=>{const r=aa.exec(e);return r?r[1]?t(r[1]):n:!1},la=e=>e==="position"||e==="percentage",ua=e=>e==="image"||e==="url",da=e=>e==="length"||e==="size"||e==="bg-size",fa=e=>e==="length",sp=e=>e==="number",ip=e=>e==="family-name",pa=e=>e==="shadow",ap=()=>{const e=ae("color"),t=ae("font"),n=ae("text"),r=ae("font-weight"),o=ae("tracking"),s=ae("leading"),i=ae("breakpoint"),a=ae("container"),c=ae("spacing"),l=ae("radius"),d=ae("shadow"),f=ae("inset-shadow"),m=ae("text-shadow"),h=ae("drop-shadow"),b=ae("blur"),g=ae("perspective"),x=ae("aspect"),w=ae("ease"),v=ae("animate"),y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...C(),F,V],S=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],N=()=>[F,V,c],j=()=>[ut,"full","auto",...N()],_=()=>[Fe,"none","subgrid",F,V],D=()=>["auto",{span:["full",Fe,F,V]},Fe,F,V],B=()=>[Fe,"auto",F,V],W=()=>["auto","min","max","fr",F,V],H=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],I=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...N()],O=()=>[ut,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],A=()=>[e,F,V],M=()=>[...C(),Ss,Cs,{position:[F,V]}],U=()=>["no-repeat",{repeat:["","x","y","space","round"]}],z=()=>["auto","cover","contain",rp,ep,{size:[F,V]}],K=()=>[kr,Ot,Ye],J=()=>["","none","full",l,F,V],Q=()=>["",Y,Ot,Ye],ce=()=>["solid","dashed","dotted","double"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],L=()=>[Y,kr,Ss,Cs],q=()=>["","none",b,F,V],ee=()=>["none",Y,F,V],G=()=>["none",Y,F,V],$=()=>[Y,F,V],k=()=>[ut,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ke],breakpoint:[ke],color:[Yf],container:[ke],"drop-shadow":[ke],ease:["in","out","in-out"],font:[Jf],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ke],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ke],shadow:[ke],spacing:["px",Y],text:[ke],"text-shadow":[ke],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ut,V,F,x]}],container:["container"],columns:[{columns:[Y,V,F,a]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:j()}],"inset-x":[{"inset-x":j()}],"inset-y":[{"inset-y":j()}],start:[{start:j()}],end:[{end:j()}],top:[{top:j()}],right:[{right:j()}],bottom:[{bottom:j()}],left:[{left:j()}],visibility:["visible","invisible","collapse"],z:[{z:[Fe,"auto",F,V]}],basis:[{basis:[ut,"full","auto",a,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Y,ut,"auto","initial","none",V]}],grow:[{grow:["",Y,F,V]}],shrink:[{shrink:["",Y,F,V]}],order:[{order:[Fe,"first","last","none",F,V]}],"grid-cols":[{"grid-cols":_()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":_()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":W()}],"auto-rows":[{"auto-rows":W()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...H(),"normal"]}],"justify-items":[{"justify-items":[...I(),"normal"]}],"justify-self":[{"justify-self":["auto",...I()]}],"align-content":[{content:["normal",...H()]}],"align-items":[{items:[...I(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...I(),{baseline:["","last"]}]}],"place-content":[{"place-content":H()}],"place-items":[{"place-items":[...I(),"baseline"]}],"place-self":[{"place-self":["auto",...I()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[a,"screen",...O()]}],"min-w":[{"min-w":[a,"screen","none",...O()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",n,Ot,Ye]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,F,Ir]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",kr,V]}],"font-family":[{font:[np,V,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,F,V]}],"line-clamp":[{"line-clamp":[Y,"none",F,Ir]}],leading:[{leading:[s,...N()]}],"list-image":[{"list-image":["none",F,V]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",F,V]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:A()}],"text-color":[{text:A()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[Y,"from-font","auto",F,Ye]}],"text-decoration-color":[{decoration:A()}],"underline-offset":[{"underline-offset":[Y,"auto",F,V]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F,V]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",F,V]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:M()}],"bg-repeat":[{bg:U()}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Fe,F,V],radial:["",F,V],conic:[Fe,F,V]},op,tp]}],"bg-color":[{bg:A()}],"gradient-from-pos":[{from:K()}],"gradient-via-pos":[{via:K()}],"gradient-to-pos":[{to:K()}],"gradient-from":[{from:A()}],"gradient-via":[{via:A()}],"gradient-to":[{to:A()}],rounded:[{rounded:J()}],"rounded-s":[{"rounded-s":J()}],"rounded-e":[{"rounded-e":J()}],"rounded-t":[{"rounded-t":J()}],"rounded-r":[{"rounded-r":J()}],"rounded-b":[{"rounded-b":J()}],"rounded-l":[{"rounded-l":J()}],"rounded-ss":[{"rounded-ss":J()}],"rounded-se":[{"rounded-se":J()}],"rounded-ee":[{"rounded-ee":J()}],"rounded-es":[{"rounded-es":J()}],"rounded-tl":[{"rounded-tl":J()}],"rounded-tr":[{"rounded-tr":J()}],"rounded-br":[{"rounded-br":J()}],"rounded-bl":[{"rounded-bl":J()}],"border-w":[{border:Q()}],"border-w-x":[{"border-x":Q()}],"border-w-y":[{"border-y":Q()}],"border-w-s":[{"border-s":Q()}],"border-w-e":[{"border-e":Q()}],"border-w-t":[{"border-t":Q()}],"border-w-r":[{"border-r":Q()}],"border-w-b":[{"border-b":Q()}],"border-w-l":[{"border-l":Q()}],"divide-x":[{"divide-x":Q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ce(),"hidden","none"]}],"divide-style":[{divide:[...ce(),"hidden","none"]}],"border-color":[{border:A()}],"border-color-x":[{"border-x":A()}],"border-color-y":[{"border-y":A()}],"border-color-s":[{"border-s":A()}],"border-color-e":[{"border-e":A()}],"border-color-t":[{"border-t":A()}],"border-color-r":[{"border-r":A()}],"border-color-b":[{"border-b":A()}],"border-color-l":[{"border-l":A()}],"divide-color":[{divide:A()}],"outline-style":[{outline:[...ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Y,F,V]}],"outline-w":[{outline:["",Y,Ot,Ye]}],"outline-color":[{outline:A()}],shadow:[{shadow:["","none",d,cn,an]}],"shadow-color":[{shadow:A()}],"inset-shadow":[{"inset-shadow":["none",f,cn,an]}],"inset-shadow-color":[{"inset-shadow":A()}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:A()}],"ring-offset-w":[{"ring-offset":[Y,Ye]}],"ring-offset-color":[{"ring-offset":A()}],"inset-ring-w":[{"inset-ring":Q()}],"inset-ring-color":[{"inset-ring":A()}],"text-shadow":[{"text-shadow":["none",m,cn,an]}],"text-shadow-color":[{"text-shadow":A()}],opacity:[{opacity:[Y,F,V]}],"mix-blend":[{"mix-blend":[...le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":le()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Y]}],"mask-image-linear-from-pos":[{"mask-linear-from":L()}],"mask-image-linear-to-pos":[{"mask-linear-to":L()}],"mask-image-linear-from-color":[{"mask-linear-from":A()}],"mask-image-linear-to-color":[{"mask-linear-to":A()}],"mask-image-t-from-pos":[{"mask-t-from":L()}],"mask-image-t-to-pos":[{"mask-t-to":L()}],"mask-image-t-from-color":[{"mask-t-from":A()}],"mask-image-t-to-color":[{"mask-t-to":A()}],"mask-image-r-from-pos":[{"mask-r-from":L()}],"mask-image-r-to-pos":[{"mask-r-to":L()}],"mask-image-r-from-color":[{"mask-r-from":A()}],"mask-image-r-to-color":[{"mask-r-to":A()}],"mask-image-b-from-pos":[{"mask-b-from":L()}],"mask-image-b-to-pos":[{"mask-b-to":L()}],"mask-image-b-from-color":[{"mask-b-from":A()}],"mask-image-b-to-color":[{"mask-b-to":A()}],"mask-image-l-from-pos":[{"mask-l-from":L()}],"mask-image-l-to-pos":[{"mask-l-to":L()}],"mask-image-l-from-color":[{"mask-l-from":A()}],"mask-image-l-to-color":[{"mask-l-to":A()}],"mask-image-x-from-pos":[{"mask-x-from":L()}],"mask-image-x-to-pos":[{"mask-x-to":L()}],"mask-image-x-from-color":[{"mask-x-from":A()}],"mask-image-x-to-color":[{"mask-x-to":A()}],"mask-image-y-from-pos":[{"mask-y-from":L()}],"mask-image-y-to-pos":[{"mask-y-to":L()}],"mask-image-y-from-color":[{"mask-y-from":A()}],"mask-image-y-to-color":[{"mask-y-to":A()}],"mask-image-radial":[{"mask-radial":[F,V]}],"mask-image-radial-from-pos":[{"mask-radial-from":L()}],"mask-image-radial-to-pos":[{"mask-radial-to":L()}],"mask-image-radial-from-color":[{"mask-radial-from":A()}],"mask-image-radial-to-color":[{"mask-radial-to":A()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":C()}],"mask-image-conic-pos":[{"mask-conic":[Y]}],"mask-image-conic-from-pos":[{"mask-conic-from":L()}],"mask-image-conic-to-pos":[{"mask-conic-to":L()}],"mask-image-conic-from-color":[{"mask-conic-from":A()}],"mask-image-conic-to-color":[{"mask-conic-to":A()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:M()}],"mask-repeat":[{mask:U()}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",F,V]}],filter:[{filter:["","none",F,V]}],blur:[{blur:q()}],brightness:[{brightness:[Y,F,V]}],contrast:[{contrast:[Y,F,V]}],"drop-shadow":[{"drop-shadow":["","none",h,cn,an]}],"drop-shadow-color":[{"drop-shadow":A()}],grayscale:[{grayscale:["",Y,F,V]}],"hue-rotate":[{"hue-rotate":[Y,F,V]}],invert:[{invert:["",Y,F,V]}],saturate:[{saturate:[Y,F,V]}],sepia:[{sepia:["",Y,F,V]}],"backdrop-filter":[{"backdrop-filter":["","none",F,V]}],"backdrop-blur":[{"backdrop-blur":q()}],"backdrop-brightness":[{"backdrop-brightness":[Y,F,V]}],"backdrop-contrast":[{"backdrop-contrast":[Y,F,V]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Y,F,V]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Y,F,V]}],"backdrop-invert":[{"backdrop-invert":["",Y,F,V]}],"backdrop-opacity":[{"backdrop-opacity":[Y,F,V]}],"backdrop-saturate":[{"backdrop-saturate":[Y,F,V]}],"backdrop-sepia":[{"backdrop-sepia":["",Y,F,V]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",F,V]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Y,"initial",F,V]}],ease:[{ease:["linear","initial",w,F,V]}],delay:[{delay:[Y,F,V]}],animate:[{animate:["none",v,F,V]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,F,V]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:ee()}],"rotate-x":[{"rotate-x":ee()}],"rotate-y":[{"rotate-y":ee()}],"rotate-z":[{"rotate-z":ee()}],scale:[{scale:G()}],"scale-x":[{"scale-x":G()}],"scale-y":[{"scale-y":G()}],"scale-z":[{"scale-z":G()}],"scale-3d":["scale-3d"],skew:[{skew:$()}],"skew-x":[{"skew-x":$()}],"skew-y":[{"skew-y":$()}],transform:[{transform:[F,V,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:k()}],"translate-x":[{"translate-x":k()}],"translate-y":[{"translate-y":k()}],"translate-z":[{"translate-z":k()}],"translate-none":["translate-none"],accent:[{accent:A()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:A()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",F,V]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",F,V]}],fill:[{fill:["none",...A()]}],"stroke-w":[{stroke:[Y,Ot,Ye,Ir]}],stroke:[{stroke:["none",...A()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},cp=$f(ap);function X(...e){return cp(yf(e))}const lp={"bg-cloud":"rgb(247, 247, 246)","bg-navy-1000":"rgb(23, 25, 39)","bg-white":"rgb(255, 255, 255)","text-black":"rgb(0, 0, 0)","text-smoke":"rgb(171, 174, 171)","text-white":"rgb(255, 255, 255)"};function Es(e){const{className:t,type:n}=e,r=lp[t];if(r)return r;if(typeof document>"u"||!document.body)throw new Error(`Cannot resolve color class without DOM support: ${t}`);const o=document.createElement("div");o.className=t,o.style.display="none",document.body.appendChild(o);const s=getComputedStyle(o);let i=s.backgroundColor;return n==="text"&&(i=s.color),document.body.removeChild(o),i}function Ps(e){const t=e.match(/\d+/g);if(!t||t.length<3)throw new Error(`Unsupported color format: ${e}`);return[parseInt(t[0],10),parseInt(t[1],10),parseInt(t[2],10)]}function Ns([e,t,n]){const r=a=>{const c=a/255;return c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)},o=r(e),s=r(t),i=r(n);return .2126*o+.7152*s+.0722*i}function up(e,t,n=4.5){const r=Es(e),o=Es(t),s=Ps(r),i=Ps(o),a=Ns(s),c=Ns(i),l=Math.max(a,c),d=Math.min(a,c);return(l+.05)/(d+.05)>=n}const dp={className:"text-smoke",type:"text"};function Yt(e,t,n,r){const o={containerStrokeClasses:"",detailPageStrokeClasses:""};if(!t||n==="connect")return o;const c=`border-b-2 print:border-transparent ${up({className:e,type:"background"},dp)?"border-white/30":"border-smoke"}`;return{containerStrokeClasses:r?"":c,detailPageStrokeClasses:r?c:""}}const Or="pt-15 lg:pt-20";function Po(e,t,n){return n==="digital"&&e==="navy"||n==="connect"&&e==="cloud"||n==="digital"&&t?Or:""}function ma(e){const t=e.type,n=e.props.ref??null;if(typeof t=="function")try{return t(e.props)}catch{return null}if(typeof t=="object"&&t!==null){if("render"in t&&typeof t.render=="function")try{return t.render(e.props,n)}catch{return null}if("type"in t&&typeof t.type=="function")try{return t.type(e.props)}catch{return null}}return null}function fp(e){var t;return e?"text"in e&&typeof e.text=="string"?e.text:"value"in e&&typeof((t=e.value)==null?void 0:t.text)=="string"?e.value.text:"":""}function Dt(e){if(e==null||typeof e=="boolean")return"";if(typeof e=="string"||typeof e=="number")return String(e);if(Array.isArray(e))return e.map(Dt).join("");if(R.isValidElement(e)){const t=e,n=Dt(t.props.children);if(n)return n;const r=fp(t.props.field);if(r)return r;const o=ma(t);return o?Dt(o):""}return""}function pp(e){return e?"href"in e&&typeof e.href=="string"?e:"value"in e?e.value??null:null:null}function mp(e){if(!e.href)return null;const t=e.querystring?e.querystring.replace(/^\?/,""):"",n=e.anchor?e.anchor.replace(/^#/,""):"",[r,o=""]=e.href.split("#",2),[s,i=""]=r.split("?",2),a=[i,t].filter(Boolean).join("&"),c=n||o;return[s,a?`?${a}`:"",c?`#${c}`:""].join("")}function Ie(e){if(!e||typeof e=="boolean")return null;if(Array.isArray(e)){for(const t of e){const n=Ie(t);if(n)return n}return null}if(R.isValidElement(e)){const t=e;if(typeof t.props.href=="string")return{href:t.props.href,target:t.props.target??""};const n=pp(t.props.field);if(n){const s=mp(n);if(s)return{href:s,target:n.target??""}}const r=Ie(t.props.children);if(r)return r;const o=ma(t);if(o){const s=Ie(o);if(s)return s}return null}return null}function hp(){const e=window.location.href;return navigator.clipboard.writeText(e)}function gp(e,t){const n=document.title;let r="";const o=document.querySelector('meta[name="description"]');o&&(r=o.getAttribute("content")||""),window.location.href=`mailto:?subject=${encodeURIComponent(n)}&body=`+encodeURIComponent(`${r}
1
+ "use strict";var Nl=Object.defineProperty;var Al=(e,t,n)=>t in e?Nl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var rn=(e,t,n)=>Al(e,typeof t!="symbol"?t+"":t,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),R=require("react"),Wt=require("react-dom");function fi(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const p=fi(R),Wn=fi(Wt);function Rl(e){return e==null?[]:Array.isArray(e)?e:[e]}var Tl=e=>e[0],jl=e=>e[e.length-1],kl=(e,...t)=>e.concat(t),Il=(e,...t)=>e.filter(n=>!t.includes(n)),Ol=e=>e!=null&&typeof e=="object",Cn=e=>typeof e=="string",gt=e=>typeof e=="function",pi=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Ml=e=>Object.prototype.toString.call(e),mi=Function.prototype.toString,Ll=mi.call(Object),_l=e=>{if(!Ol(e)||Ml(e)!="[object Object]"||Fl(e))return!1;const t=Object.getPrototypeOf(e);if(t===null)return!0;const n=pi(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&mi.call(n)==Ll},Dl=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,Vl=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,Fl=e=>Dl(e)||Vl(e),Bl=e=>e(),$l=(...e)=>(...t)=>{e.forEach(function(n){n==null||n(...t)})},Ve=e=>typeof e=="number"?`${e}px`:e;function hi(e){if(!_l(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(const r of t){const o=e[r];o!==void 0&&(n[r]=hi(o))}return n}function Zr(...e){const t=e.length===1?e[0]:e[1];(e.length===2?e[0]:!0)&&process.env.NODE_ENV!=="production"&&console.warn(t)}function Hl(e,t){if(e==null)throw new Error(t())}function zl(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function ot(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:s,defaultValue:i}=e,a=R.createContext(i);a.displayName=t;function c(){const l=R.useContext(a);if(!l&&n){const d=new Error(s??zl(r,o));throw d.name="ContextError",pi(Error,"captureStackTrace")&&gt(Error.captureStackTrace)&&Error.captureStackTrace(d,c),d}return l}return[a.Provider,c,a]}const[Wl,po]=ot({name:"AccordionContext",hookName:"useAccordionContext",providerName:"<AccordionProvider />"});var Ul=(...e)=>e.map(t=>{var n;return(n=t==null?void 0:t.trim)==null?void 0:n.call(t)}).filter(Boolean).join(" "),ql=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,ns=e=>{const t={};let n;for(;n=ql.exec(e);)t[n[1]]=n[2];return t},Gl=(e,t)=>{if(Cn(e)){if(Cn(t))return`${e};${t}`;e=ns(e)}else Cn(t)&&(t=ns(t));return Object.assign({},e??{},t??{})};function st(...e){let t={};for(let n of e){if(!n)continue;for(let o in t){if(o.startsWith("on")&&typeof t[o]=="function"&&typeof n[o]=="function"){t[o]=$l(n[o],t[o]);continue}if(o==="className"||o==="class"){t[o]=Ul(t[o],n[o]);continue}if(o==="style"){t[o]=Gl(t[o],n[o]);continue}t[o]=n[o]!==void 0?n[o]:t[o]}for(let o in n)t[o]===void 0&&(t[o]=n[o]);const r=Object.getOwnPropertySymbols(n);for(let o of r)t[o]=n[o]}return t}var it=".",gi="#",rs=new WeakMap,vi=new WeakMap;function Yr(e){return e.join(it)}function Zl(e){return e.includes(it)}function bi(e){return e.startsWith(gi)}function Yl(e){return bi(e)?e.slice(gi.length):e}function yi(e,t){return e?`${e}${it}${t}`:t}function Kl(e){const t=new Map,n=new Map,r=(o,s)=>{t.set(o,s);const i=s.id;if(i){if(n.has(i))throw new Error(`Duplicate state id: ${i}`);n.set(i,o)}const a=s.states;if(a)for(const[c,l]of Object.entries(a)){if(!l)continue;const d=yi(o,c);r(d,l)}};for(const[o,s]of Object.entries(e.states))s&&r(o,s);return{index:t,idIndex:n}}function Ut(e){const t=rs.get(e);if(t)return t;const{index:n,idIndex:r}=Kl(e);return rs.set(e,n),vi.set(e,r),n}function Xl(e,t){var n;return Ut(e),(n=vi.get(e))==null?void 0:n.get(t)}function mo(e){return e?String(e).split(it).filter(Boolean):[]}function An(e,t){if(!t)return[];const n=Ut(e),r=mo(t),o=[],s=[];for(const i of r){s.push(i);const a=Yr(s),c=n.get(a);if(!c)break;o.push({path:a,state:c})}return o}function Sr(e,t){const n=Ut(e),r=mo(t);if(!r.length)return t;const o=[];for(const a of r){o.push(a);const c=Yr(o);if(!n.has(c))return t}let s=Yr(o),i=n.get(s);for(;i!=null&&i.initial;){const a=`${s}${it}${i.initial}`,c=n.get(a);if(!c)break;s=a,i=c}return s}function Ql(e,t){return Ut(e).has(t)}function os(e,t,n){const r=String(t);if(bi(r)){const o=Yl(r),s=Xl(e,o);if(!s)throw new Error(`Unknown state id: ${o}`);return Sr(e,s)}if(!Zl(r)&&n){const o=mo(n);for(let s=o.length;s>=1;s--){const i=o.slice(0,s).join(it),a=yi(i,r);if(Ql(e,a))return Sr(e,a)}}return Sr(e,r)}function Jl(e,t,n){var s,i;const r=An(e,t);for(let a=r.length-1;a>=0;a--){const c=(s=r[a])==null?void 0:s.state.on,l=c==null?void 0:c[n];if(l)return{transitions:l,source:(i=r[a])==null?void 0:i.path}}const o=e.on;return{transitions:o==null?void 0:o[n],source:void 0}}function eu(e,t,n,r){var d,f,m,h;const o=t?An(e,t):[],s=An(e,n);let i=0;for(;i<o.length&&i<s.length&&((d=o[i])==null?void 0:d.path)===((f=s[i])==null?void 0:f.path);)i+=1;let a=o.slice(i).reverse(),c=s.slice(i);const l=((m=o.at(-1))==null?void 0:m.path)===((h=s.at(-1))==null?void 0:h.path);return r&&l&&(a=o.slice().reverse(),c=s),{exiting:a,entering:c}}function tu(e,t){return e?e===t||e.startsWith(`${t}${it}`):!1}function nu(e,t,n){return An(e,t).some(r=>{var o;return(o=r.state.tags)==null?void 0:o.includes(n)})}function ru(){return{and:(...e)=>function(n){return e.every(r=>n.guard(r))},or:(...e)=>function(n){return e.some(r=>n.guard(r))},not:e=>function(n){return!n.guard(e)}}}function xi(e){return Ut(e),e}var ht=(e=>(e.NotStarted="Not Started",e.Started="Started",e.Stopped="Stopped",e))(ht||{}),Er="__init__",ou=Object.defineProperty,su=(e,t,n)=>t in e?ou(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pr=(e,t,n)=>su(e,typeof t!="symbol"?t+"":t,n),Kr=()=>{},Un=e=>typeof e=="object"&&e!==null,Se=e=>e?"":void 0,iu=1,au=9,cu=11,qt=e=>Un(e)&&e.nodeType===iu&&typeof e.nodeName=="string",wi=e=>Un(e)&&e.nodeType===au,lu=e=>Un(e)&&e===e.window,uu=e=>Un(e)&&e.nodeType!==void 0,du=e=>uu(e)&&e.nodeType===cu&&"host"in e,fu=e=>qt(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1;function pu(e){if(!e)return!1;const t=e.getRootNode();return Si(t)===e}function mu(e){return wi(e)?e:lu(e)?e.document:(e==null?void 0:e.ownerDocument)??document}function Ci(e){var t;return du(e)?Ci(e.host):wi(e)?e.defaultView??window:qt(e)?((t=e.ownerDocument)==null?void 0:t.defaultView)??window:window}function Si(e){let t=e.activeElement;for(;t!=null&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(!n||n===t)break;t=n}return t}var Nr=new WeakMap;function ss(e){return Nr.has(e)||Nr.set(e,Ci(e).getComputedStyle(e)),Nr.get(e)}var Ei=()=>typeof document<"u";function hu(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}var ho=e=>Ei()&&e.test(hu()),gu=e=>Ei()&&e.test(navigator.vendor),vu=()=>ho(/^iPhone/i),bu=()=>ho(/^iPad/i)||Pi()&&navigator.maxTouchPoints>1,yu=()=>vu()||bu(),xu=()=>Pi()||yu(),Pi=()=>ho(/^Mac/i),wu=()=>xu()&&gu(/apple/i);function Cu(e){var t,n,r;return((t=e.composedPath)==null?void 0:t.call(e))??((r=(n=e.nativeEvent)==null?void 0:n.composedPath)==null?void 0:r.call(n))}function is(e){const t=Cu(e);return(t==null?void 0:t[0])??e.target}var Su={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},as={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function Eu(e,t={}){const{dir:n="ltr",orientation:r="horizontal"}=t;let o=e.key;return o=Su[o]??o,n==="rtl"&&r==="horizontal"&&o in as&&(o=as[o]),o}var Pu=e=>qt(e)&&e.tagName==="IFRAME";function Nu(e){const t=e.getAttribute("tabindex");return t?parseInt(t,10):NaN}var Au=e=>Nu(e)<0;function Ru(e,t){if(!t)return null;if(t===!0)return e.shadowRoot||null;const n=t(e);return(n===!0?e.shadowRoot:n)||null}function Tu(e,t,n){const r=[...e],o=[...e],s=new Set,i=new Map;e.forEach((c,l)=>i.set(c,l));let a=0;for(;a<o.length;){const c=o[a++];if(!c||s.has(c))continue;s.add(c);const l=Ru(c,t);if(l){const d=Array.from(l.querySelectorAll(go)).filter(n),f=i.get(c);if(f!==void 0){const m=f+1;r.splice(m,0,...d),d.forEach((h,y)=>{i.set(h,m+y)});for(let h=m+d.length;h<r.length;h++)i.set(r[h],h)}else{const m=r.length;r.push(...d),d.forEach((h,y)=>{i.set(h,m+y)})}o.push(...d)}}return r}var go="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type";function ju(e){return!qt(e)||e.closest("[inert]")?!1:e.matches(go)&&fu(e)}function Ni(e,t={}){if(!e)return[];const{includeContainer:n,getShadowRoot:r}=t,o=Array.from(e.querySelectorAll(go));n&&Ar(e)&&o.unshift(e);const s=[];for(const i of o)if(Ar(i)){if(Pu(i)&&i.contentDocument){const a=i.contentDocument.body;s.push(...Ni(a,{getShadowRoot:r}));continue}s.push(i)}if(r){const i=Tu(s,r,Ar);return!i.length&&n?o:i}return!s.length&&n?o:s}function Ar(e){return qt(e)&&e.tabIndex>0?!0:ju(e)&&!Au(e)}var ku=class Ai{constructor(){Pr(this,"id",null),Pr(this,"fn_cleanup"),Pr(this,"cleanup",()=>{this.cancel()})}static create(){return new Ai}request(t){this.cancel(),this.id=globalThis.requestAnimationFrame(()=>{this.id=null,this.fn_cleanup=t==null?void 0:t()})}cancel(){var t;this.id!==null&&(globalThis.cancelAnimationFrame(this.id),this.id=null),(t=this.fn_cleanup)==null||t.call(this),this.fn_cleanup=void 0}isActive(){return this.id!==null}};function Sn(e){const t=ku.create();return t.request(e),t.cleanup}function Iu(e){const t=new Set;function n(r){const o=globalThis.requestAnimationFrame(r);t.add(()=>globalThis.cancelAnimationFrame(o))}return n(()=>n(e)),function(){t.forEach(o=>o())}}function Ou(e,t){const{callback:n}=t;if(!e)return;const r=e.ownerDocument.defaultView||window,o=new r.MutationObserver(n);return o.observe(e,{childList:!0,subtree:!0}),()=>o.disconnect()}function Mu(e,t){const{defer:n}=t,r=n?Sn:s=>s(),o=[];return o.push(r(()=>{const s=typeof e=="function"?e():e;o.push(Ou(s,t))})),()=>{o.forEach(s=>s==null?void 0:s())}}function Lu(e,t){return Array.from((e==null?void 0:e.querySelectorAll(t))??[])}var Ri=e=>e.id;function _u(e,t,n=Ri){return e.find(r=>n(r)===t)}function Ti(e,t,n=Ri){const r=_u(e,t,n);return r?e.indexOf(r):-1}function Du(e,t,n=!0){let r=Ti(e,t);return r=n?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function Vu(e,t,n=!0){let r=Ti(e,t);return r===-1?n?e[e.length-1]:null:(r=n?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}function Fu(e,t,n){const r=e.getAttribute(t),o=r!=null;return r===n?Kr:(e.setAttribute(t,n),()=>{o?e.setAttribute(t,r):e.removeAttribute(t)})}function Bu(e,t){if(!e)return Kr;const n=Object.keys(t).reduce((r,o)=>(r[o]=e.style.getPropertyValue(o),r),{});return $u(n,t)?Kr:(Object.assign(e.style,t),()=>{Object.assign(e.style,n),e.style.length===0&&e.removeAttribute("style")})}function $u(e,t){return Object.keys(e).every(n=>e[n]===t[n])}function Hu(e){const t=()=>{var i;return((i=e.getRootNode)==null?void 0:i.call(e))??document},n=()=>mu(t());return{...e,getRootNode:t,getDoc:n,getWin:()=>n().defaultView??window,getActiveElement:()=>Si(t()),isActiveElement:pu,getById:i=>t().getElementById(i)}}var ji=typeof globalThis.document<"u"?R.useLayoutEffect:R.useEffect;function Rn(e){const t=e().value??e().defaultValue,n=e().isEqual??Object.is,[r]=R.useState(t),[o,s]=R.useState(r),i=e().value!==void 0,a=R.useRef(o);a.current=i?e().value:o;const c=R.useRef(a.current);ji(()=>{c.current=a.current},[o,e().value]);const l=f=>{var y,g;const m=c.current,h=gt(f)?f(m):f;e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:h,prev:m}),i||s(h),n(h,m)||(g=(y=e()).onChange)==null||g.call(y,h,m)};function d(){return i?e().value:o}return{initial:r,ref:a,get:d,set(f){(e().sync?Wt.flushSync:Bl)(()=>l(f))},invoke(f,m){var h,y;(y=(h=e()).onChange)==null||y.call(h,f,m)},hash(f){var m,h;return((h=(m=e()).hash)==null?void 0:h.call(m,f))??String(f)}}}Rn.cleanup=e=>{R.useEffect(()=>e,[])};Rn.ref=e=>{const t=R.useRef(e);return{get:()=>t.current,set:n=>{t.current=n}}};function zu(e){const t=R.useRef(e);return{get(n){return t.current[n]},set(n,r){t.current[n]=r}}}var Wu=(e,t)=>{const n=R.useRef(!1),r=R.useRef(!1);R.useEffect(()=>{if(n.current&&r.current)return t();r.current=!0},[...(e??[]).map(o=>typeof o=="function"?o():o)]),R.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])};function ki(e,t={}){var D,B,W,H;const n=R.useMemo(()=>{const{id:I,ids:T,getRootNode:O}=t;return Hu({id:I,ids:T,getRootNode:O})},[t]),r=(...I)=>{e.debug&&console.log(...I)},o=((D=e.props)==null?void 0:D.call(e,{props:hi(t),scope:n}))??t,s=Uu(o),i=(B=e.context)==null?void 0:B.call(e,{prop:s,bindable:Rn,scope:n,flush:cs,getContext(){return c},getComputed(){return E},getRefs(){return g},getEvent(){return h()}}),a=Ii(i),c={get(I){var T;return(T=a.current)==null?void 0:T[I].ref.current},set(I,T){var O;(O=a.current)==null||O[I].set(T)},initial(I){var T;return(T=a.current)==null?void 0:T[I].initial},hash(I){var O,A;const T=(O=a.current)==null?void 0:O[I].get();return(A=a.current)==null?void 0:A[I].hash(T)}},l=R.useRef(new Map),d=R.useRef(null),f=R.useRef(null),m=R.useRef({type:""}),h=()=>({...m.current,current(){return m.current},previous(){return f.current}}),y=()=>({...S,matches(...I){return I.some(T=>tu(S.ref.current,T))},hasTag(I){return nu(e,S.ref.current,I)}}),g=zu(((W=e.refs)==null?void 0:W.call(e,{prop:s,context:c}))??{}),b=()=>({state:y(),context:c,event:h(),prop:s,send:_,action:w,guard:v,track:Wu,refs:g,computed:E,flush:cs,scope:n,choose:C}),w=I=>{const T=gt(I)?I(b()):I;if(!T)return;const O=T.map(A=>{var U,z;const M=(z=(U=e.implementations)==null?void 0:U.actions)==null?void 0:z[A];return M||Zr(`[zag-js] No implementation found for action "${JSON.stringify(A)}"`),M});for(const A of O)A==null||A(b())},v=I=>{var T,O;return gt(I)?I(b()):(O=(T=e.implementations)==null?void 0:T.guards)==null?void 0:O[I](b())},x=I=>{const T=gt(I)?I(b()):I;if(!T)return;const O=T.map(M=>{var z,X;const U=(X=(z=e.implementations)==null?void 0:z.effects)==null?void 0:X[M];return U||Zr(`[zag-js] No implementation found for effect "${JSON.stringify(M)}"`),U}),A=[];for(const M of O){const U=M==null?void 0:M(b());U&&A.push(U)}return()=>A.forEach(M=>M==null?void 0:M())},C=I=>Rl(I).find(T=>{let O=!T.guard;return Cn(T.guard)?O=!!v(T.guard):gt(T.guard)&&(O=T.guard(b())),O}),E=I=>{Hl(e.computed,()=>"[zag-js] No computed object found on machine");const T=e.computed[I];return T({context:c,event:h(),prop:s,refs:g,scope:n,computed:E})},S=Rn(()=>({defaultValue:os(e,e.initialState({prop:s})),onChange(I,T){var M,U;const{exiting:O,entering:A}=eu(e,T,I,(M=d.current)==null?void 0:M.reenter);if(O.forEach(z=>{const X=l.current.get(z.path);X==null||X(),l.current.delete(z.path)}),O.forEach(z=>{var X;w((X=z.state)==null?void 0:X.exit)}),w((U=d.current)==null?void 0:U.actions),A.forEach(z=>{var J;const X=x((J=z.state)==null?void 0:J.effects);X&&l.current.set(z.path,X)}),T===Er){w(e.entry);const z=x(e.effects);z&&l.current.set(Er,z)}A.forEach(z=>{var X;w((X=z.state)==null?void 0:X.entry)})}})),P=R.useRef(void 0),N=R.useRef(ht.NotStarted);ji(()=>{queueMicrotask(()=>{const O=N.current===ht.Started;N.current=ht.Started,r(O?"rehydrating...":"initializing...");const A=P.current??S.initial;S.invoke(A,O?S.get():Er)});const I=l.current,T=S.ref.current;return()=>{r("unmounting..."),P.current=T,N.current=ht.Stopped,I.forEach(O=>O==null?void 0:O()),l.current=new Map,d.current=null,queueMicrotask(()=>{w(e.exit)})}},[]);const j=()=>"ref"in S?S.ref.current:S.get(),_=I=>{queueMicrotask(()=>{if(N.current!==ht.Started)return;f.current=m.current,m.current=I;let T=j();const{transitions:O,source:A}=Jl(e,T,I.type),M=C(O);if(!M)return;d.current=M;const U=os(e,M.target??T,A);r("transition",I.type,M.target||T,`(${M.actions})`),U!==T?Wt.flushSync(()=>S.set(U)):M.reenter?S.invoke(T,T):w(M.actions??[])})};return(H=e.watch)==null||H.call(e,b()),{state:y(),send:_,context:c,prop:s,scope:n,refs:g,computed:E,event:h(),getStatus:()=>N.current}}function Ii(e){const t=R.useRef(e);return t.current=e,t}function Uu(e){const t=Ii(e);return function(r){return t.current[r]}}function cs(e){queueMicrotask(()=>{Wt.flushSync(()=>e())})}function qu(e){return new Proxy({},{get(t,n){return n==="style"?r=>e({style:r}).style:e}})}var Oi=qu(e=>e);const[Gu]=ot({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItemProvider />"});function Zu(...e){return t=>{const n=[];for(const r of e)if(typeof r=="function"){const o=r(t);typeof o=="function"&&n.push(o)}else r&&(r.current=t);if(n.length)return()=>{for(const r of n)r()}}}function Yu(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const Rr=e=>{const t=R.memo(R.forwardRef((n,r)=>{const{asChild:o,children:s,...i}=n;if(!o)return R.createElement(e,{...i,ref:r},s);if(!R.isValidElement(s))return null;const a=R.Children.only(s),c=Yu(a);return R.cloneElement(a,{...st(i,a.props),ref:r?Zu(r,c):c})}));return t.displayName=e.displayName||e.name,t},Ku=()=>{const e=new Map;return new Proxy(Rr,{apply(t,n,r){return Rr(r[0])},get(t,n){const r=n;return e.has(r)||e.set(r,Rr(r)),e.get(r)}})},qn=Ku(),Gt=()=>(e,t)=>t.reduce((n,r)=>{const[o,s]=n,i=r;return s[i]!==void 0&&(o[i]=s[i]),delete s[i],[o,s]},[{},{...e}]),Xu=e=>Gt()(e,["collapsedHeight","collapsedWidth","defaultOpen","disabled","id","ids","lazyMount","onExitComplete","onOpenChange","open","unmountOnExit"]);var vt=(e,t=[])=>({parts:(...n)=>{if(Qu(t))return vt(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>vt(e,[...t,...n]),omit:(...n)=>vt(e,t.filter(r=>!n.includes(r))),rename:n=>vt(n,t),keys:()=>t,build:()=>[...new Set(t)].reduce((n,r)=>Object.assign(n,{[r]:{selector:[`&[data-scope="${lt(e)}"][data-part="${lt(r)}"]`,`& [data-scope="${lt(e)}"][data-part="${lt(r)}"]`].join(", "),attrs:{"data-scope":lt(e),"data-part":lt(r)}}}),{})}),lt=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),Qu=e=>e.length===0,Ju=vt("collapsible").parts("root","trigger","content","indicator"),on=Ju.build(),ed=e=>{var t;return((t=e.ids)==null?void 0:t.root)??`collapsible:${e.id}`},Xr=e=>{var t;return((t=e.ids)==null?void 0:t.content)??`collapsible:${e.id}:content`},td=e=>{var t;return((t=e.ids)==null?void 0:t.trigger)??`collapsible:${e.id}:trigger`},kt=e=>e.getById(Xr(e));function nd(e,t){const{state:n,send:r,context:o,scope:s,prop:i}=e,a=n.matches("open")||n.matches("closing"),c=n.matches("open"),l=n.matches("closed"),{width:d,height:f}=o.get("size"),m=!!i("disabled"),h=i("collapsedHeight"),y=i("collapsedWidth"),g=h!=null,b=y!=null,w=g||b,v=!o.get("initial")&&c;return{disabled:m,visible:a,open:c,measureSize(){r({type:"size.measure"})},setOpen(x){n.matches("open")!==x&&r({type:x?"open":"close"})},getRootProps(){return t.element({...on.root.attrs,"data-state":c?"open":"closed",dir:i("dir"),id:ed(s)})},getContentProps(){return t.element({...on.content.attrs,id:Xr(s),"data-collapsible":"","data-state":v?void 0:c?"open":"closed","data-disabled":Se(m),"data-has-collapsed-size":Se(w),hidden:!a&&!w,dir:i("dir"),style:{"--height":Ve(f),"--width":Ve(d),"--collapsed-height":Ve(h),"--collapsed-width":Ve(y),...l&&g&&{overflow:"hidden",minHeight:Ve(h),maxHeight:Ve(h)},...l&&b&&{overflow:"hidden",minWidth:Ve(y),maxWidth:Ve(y)}}})},getTriggerProps(){return t.element({...on.trigger.attrs,id:td(s),dir:i("dir"),type:"button","data-state":c?"open":"closed","data-disabled":Se(m),"aria-controls":Xr(s),"aria-expanded":a||!1,onClick(x){x.defaultPrevented||m||r({type:c?"close":"open"})}})},getIndicatorProps(){return t.element({...on.indicator.attrs,dir:i("dir"),"data-state":c?"open":"closed","data-disabled":Se(m)})}}}var rd=xi({initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"closed"},context({bindable:e}){return{size:e(()=>({defaultValue:{height:0,width:0},sync:!0})),initial:e(()=>({defaultValue:!1}))}},refs(){return{cleanup:void 0,stylesRef:void 0}},watch({track:e,prop:t,action:n}){e([()=>t("open")],()=>{n(["setInitial","computeSize","toggleVisibility"])})},exit:["cleanupNode"],states:{closed:{effects:["trackTabbableElements"],on:{"controlled.open":{target:"open"},open:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitial","computeSize","invokeOnOpen"]}]}},closing:{effects:["trackExitAnimation"],on:{"controlled.close":{target:"closed"},"controlled.open":{target:"open"},open:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitial","invokeOnOpen"]}],close:[{guard:"isOpenControlled",actions:["invokeOnExitComplete"]},{target:"closed",actions:["setInitial","computeSize","invokeOnExitComplete"]}],"animation.end":{target:"closed",actions:["invokeOnExitComplete","clearInitial"]}}},open:{effects:["trackEnterAnimation"],on:{"controlled.close":{target:"closing"},close:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closing",actions:["setInitial","computeSize","invokeOnClose"]}],"size.measure":{actions:["measureSize"]},"animation.end":{actions:["clearInitial"]}}}},implementations:{guards:{isOpenControlled:({prop:e})=>e("open")!=null},effects:{trackEnterAnimation:({send:e,scope:t})=>{let n;const r=Sn(()=>{const o=kt(t);if(!o)return;const s=ss(o).animationName;if(!s||s==="none"){e({type:"animation.end"});return}const a=c=>{is(c)===o&&e({type:"animation.end"})};o.addEventListener("animationend",a),n=()=>{o.removeEventListener("animationend",a)}});return()=>{r(),n==null||n()}},trackExitAnimation:({send:e,scope:t})=>{let n;const r=Sn(()=>{const o=kt(t);if(!o)return;const s=ss(o).animationName;if(!s||s==="none"){e({type:"animation.end"});return}const a=l=>{is(l)===o&&e({type:"animation.end"})};o.addEventListener("animationend",a);const c=Bu(o,{animationFillMode:"forwards"});n=()=>{o.removeEventListener("animationend",a),Iu(()=>c())}});return()=>{r(),n==null||n()}},trackTabbableElements:({scope:e,prop:t})=>{if(!t("collapsedHeight")&&!t("collapsedWidth"))return;const n=kt(e);if(!n)return;const r=()=>{const a=Ni(n).map(c=>Fu(c,"inert",""));return()=>{a.forEach(c=>c())}};let o=r();const s=Mu(n,{callback(){o(),o=r()}});return()=>{o(),s()}}},actions:{setInitial:({context:e,flush:t})=>{t(()=>{e.set("initial",!0)})},clearInitial:({context:e})=>{e.set("initial",!1)},cleanupNode:({refs:e})=>{e.set("stylesRef",null)},measureSize:({context:e,scope:t})=>{const n=kt(t);if(!n)return;const{height:r,width:o}=n.getBoundingClientRect();e.set("size",{height:r,width:o})},computeSize:({refs:e,scope:t,context:n})=>{var o;(o=e.get("cleanup"))==null||o();const r=Sn(()=>{const s=kt(t);if(!s)return;const i=s.hidden;s.style.animationName="none",s.style.animationDuration="0s",s.hidden=!1;const a=s.getBoundingClientRect();n.set("size",{height:a.height,width:a.width}),n.get("initial")&&(s.style.animationName="",s.style.animationDuration=""),s.hidden=i});e.set("cleanup",r)},invokeOnOpen:({prop:e})=>{var t;(t=e("onOpenChange"))==null||t({open:!0})},invokeOnClose:({prop:e})=>{var t;(t=e("onOpenChange"))==null||t({open:!1})},invokeOnExitComplete:({prop:e})=>{var t;(t=e("onExitComplete"))==null||t()},toggleVisibility:({prop:e,send:t})=>{t({type:e("open")?"controlled.open":"controlled.close"})}}}});const[Xv,Mi]=ot({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}}),[Qv,Li]=ot({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}}),od=(e={})=>{const{lazyMount:t,unmountOnExit:n,...r}=e,o=R.useId(),s=R.useRef(!1),{dir:i}=Li(),{getRootNode:a}=Mi(),c={id:o,dir:i,getRootNode:a,...r},l=ki(rd,c),d=nd(l,Oi);d.visible&&(s.current=!0);const f=!d.visible&&!s.current&&t||n&&!d.visible&&s.current;return{...d,isUnmounted:f}},[sd,_i]=ot({name:"CollapsibleContext",hookName:"useCollapsibleContext",providerName:"<CollapsibleProvider />"}),Di=R.forwardRef((e,t)=>{const[n,r]=Xu(e),o=od(n),s=st(o.getRootProps(),r);return u.jsx(sd,{value:o,children:u.jsx(qn.div,{...s,ref:t})})});Di.displayName="CollapsibleRoot";const id=["top","right","bottom","left"],He=Math.min,he=Math.max,Tn=Math.round,sn=Math.floor,Ae=e=>({x:e,y:e}),ad={left:"right",right:"left",bottom:"top",top:"bottom"},cd={start:"end",end:"start"};function Qr(e,t,n){return he(e,He(t,n))}function Le(e,t){return typeof e=="function"?e(t):e}function _e(e){return e.split("-")[0]}function St(e){return e.split("-")[1]}function vo(e){return e==="x"?"y":"x"}function bo(e){return e==="y"?"height":"width"}const ld=new Set(["top","bottom"]);function Pe(e){return ld.has(_e(e))?"y":"x"}function yo(e){return vo(Pe(e))}function ud(e,t,n){n===void 0&&(n=!1);const r=St(e),o=yo(e),s=bo(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=jn(i)),[i,jn(i)]}function dd(e){const t=jn(e);return[Jr(e),t,Jr(t)]}function Jr(e){return e.replace(/start|end/g,t=>cd[t])}const ls=["left","right"],us=["right","left"],fd=["top","bottom"],pd=["bottom","top"];function md(e,t,n){switch(e){case"top":case"bottom":return n?t?us:ls:t?ls:us;case"left":case"right":return t?fd:pd;default:return[]}}function hd(e,t,n,r){const o=St(e);let s=md(_e(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Jr)))),s}function jn(e){return e.replace(/left|right|bottom|top/g,t=>ad[t])}function gd(e){return{top:0,right:0,bottom:0,left:0,...e}}function Vi(e){return typeof e!="number"?gd(e):{top:e,right:e,bottom:e,left:e}}function kn(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ds(e,t,n){let{reference:r,floating:o}=e;const s=Pe(t),i=yo(t),a=bo(i),c=_e(t),l=s==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,m=r[a]/2-o[a]/2;let h;switch(c){case"top":h={x:d,y:r.y-o.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch(St(t)){case"start":h[i]-=m*(n&&l?-1:1);break;case"end":h[i]+=m*(n&&l?-1:1);break}return h}async function vd(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:m=!1,padding:h=0}=Le(t,e),y=Vi(h),b=a[m?f==="floating"?"reference":"floating":f],w=kn(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(b)))==null||n?b:b.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:l,rootBoundary:d,strategy:c})),v=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),C=await(s.isElement==null?void 0:s.isElement(x))?await(s.getScale==null?void 0:s.getScale(x))||{x:1,y:1}:{x:1,y:1},E=kn(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:x,strategy:c}):v);return{top:(w.top-E.top+y.top)/C.y,bottom:(E.bottom-w.bottom+y.bottom)/C.y,left:(w.left-E.left+y.left)/C.x,right:(E.right-w.right+y.right)/C.x}}const bd=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let l=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=ds(l,r,c),m=r,h={},y=0;for(let b=0;b<a.length;b++){var g;const{name:w,fn:v}=a[b],{x,y:C,data:E,reset:S}=await v({x:d,y:f,initialPlacement:r,placement:m,strategy:o,middlewareData:h,rects:l,platform:{...i,detectOverflow:(g=i.detectOverflow)!=null?g:vd},elements:{reference:e,floating:t}});d=x??d,f=C??f,h={...h,[w]:{...h[w],...E}},S&&y<=50&&(y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(l=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:d,y:f}=ds(l,m,c)),b=-1)}return{x:d,y:f,placement:m,strategy:o,middlewareData:h}},yd=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:c}=t,{element:l,padding:d=0}=Le(e,t)||{};if(l==null)return{};const f=Vi(d),m={x:n,y:r},h=yo(o),y=bo(h),g=await i.getDimensions(l),b=h==="y",w=b?"top":"left",v=b?"bottom":"right",x=b?"clientHeight":"clientWidth",C=s.reference[y]+s.reference[h]-m[h]-s.floating[y],E=m[h]-s.reference[h],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let P=S?S[x]:0;(!P||!await(i.isElement==null?void 0:i.isElement(S)))&&(P=a.floating[x]||s.floating[y]);const N=C/2-E/2,j=P/2-g[y]/2-1,_=He(f[w],j),D=He(f[v],j),B=_,W=P-g[y]-D,H=P/2-g[y]/2+N,I=Qr(B,H,W),T=!c.arrow&&St(o)!=null&&H!==I&&s.reference[y]/2-(H<B?_:D)-g[y]/2<0,O=T?H<B?H-B:H-W:0;return{[h]:m[h]+O,data:{[h]:I,centerOffset:H-I-O,...T&&{alignmentOffset:O}},reset:T}}}),xd=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:c,elements:l}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:g=!0,...b}=Le(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const w=_e(o),v=Pe(a),x=_e(a)===a,C=await(c.isRTL==null?void 0:c.isRTL(l.floating)),E=m||(x||!g?[jn(a)]:dd(a)),S=y!=="none";!m&&S&&E.push(...hd(a,g,y,C));const P=[a,...E],N=await c.detectOverflow(t,b),j=[];let _=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&j.push(N[w]),f){const H=ud(o,i,C);j.push(N[H[0]],N[H[1]])}if(_=[..._,{placement:o,overflows:j}],!j.every(H=>H<=0)){var D,B;const H=(((D=s.flip)==null?void 0:D.index)||0)+1,I=P[H];if(I&&(!(f==="alignment"?v!==Pe(I):!1)||_.every(A=>Pe(A.placement)===v?A.overflows[0]>0:!0)))return{data:{index:H,overflows:_},reset:{placement:I}};let T=(B=_.filter(O=>O.overflows[0]<=0).sort((O,A)=>O.overflows[1]-A.overflows[1])[0])==null?void 0:B.placement;if(!T)switch(h){case"bestFit":{var W;const O=(W=_.filter(A=>{if(S){const M=Pe(A.placement);return M===v||M==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(M=>M>0).reduce((M,U)=>M+U,0)]).sort((A,M)=>A[1]-M[1])[0])==null?void 0:W[0];O&&(T=O);break}case"initialPlacement":T=a;break}if(o!==T)return{reset:{placement:T}}}return{}}}};function fs(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ps(e){return id.some(t=>e[t]>=0)}const wd=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...s}=Le(e,t);switch(o){case"referenceHidden":{const i=await r.detectOverflow(t,{...s,elementContext:"reference"}),a=fs(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:ps(a)}}}case"escaped":{const i=await r.detectOverflow(t,{...s,altBoundary:!0}),a=fs(i,n.floating);return{data:{escapedOffsets:a,escaped:ps(a)}}}default:return{}}}}},Fi=new Set(["left","top"]);async function Cd(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=_e(n),a=St(n),c=Pe(n)==="y",l=Fi.has(i)?-1:1,d=s&&c?-1:1,f=Le(t,e);let{mainAxis:m,crossAxis:h,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof y=="number"&&(h=a==="end"?y*-1:y),c?{x:h*d,y:m*l}:{x:m*l,y:h*d}}const Sd=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,c=await Cd(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:i}}}}},Ed=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:w=>{let{x:v,y:x}=w;return{x:v,y:x}}},...l}=Le(e,t),d={x:n,y:r},f=await s.detectOverflow(t,l),m=Pe(_e(o)),h=vo(m);let y=d[h],g=d[m];if(i){const w=h==="y"?"top":"left",v=h==="y"?"bottom":"right",x=y+f[w],C=y-f[v];y=Qr(x,y,C)}if(a){const w=m==="y"?"top":"left",v=m==="y"?"bottom":"right",x=g+f[w],C=g-f[v];g=Qr(x,g,C)}const b=c.fn({...t,[h]:y,[m]:g});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[h]:i,[m]:a}}}}}},Pd=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:c=!0,crossAxis:l=!0}=Le(e,t),d={x:n,y:r},f=Pe(o),m=vo(f);let h=d[m],y=d[f];const g=Le(a,t),b=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const x=m==="y"?"height":"width",C=s.reference[m]-s.floating[x]+b.mainAxis,E=s.reference[m]+s.reference[x]-b.mainAxis;h<C?h=C:h>E&&(h=E)}if(l){var w,v;const x=m==="y"?"width":"height",C=Fi.has(_e(o)),E=s.reference[f]-s.floating[x]+(C&&((w=i.offset)==null?void 0:w[f])||0)+(C?0:b.crossAxis),S=s.reference[f]+s.reference[x]+(C?0:((v=i.offset)==null?void 0:v[f])||0)-(C?b.crossAxis:0);y<E?y=E:y>S&&(y=S)}return{[m]:h,[f]:y}}}},Nd=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:c=()=>{},...l}=Le(e,t),d=await i.detectOverflow(t,l),f=_e(o),m=St(o),h=Pe(o)==="y",{width:y,height:g}=s.floating;let b,w;f==="top"||f==="bottom"?(b=f,w=m===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(w=f,b=m==="end"?"top":"bottom");const v=g-d.top-d.bottom,x=y-d.left-d.right,C=He(g-d[b],v),E=He(y-d[w],x),S=!t.middlewareData.shift;let P=C,N=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=v),S&&!m){const _=he(d.left,0),D=he(d.right,0),B=he(d.top,0),W=he(d.bottom,0);h?N=y-2*(_!==0||D!==0?_+D:he(d.left,d.right)):P=g-2*(B!==0||W!==0?B+W:he(d.top,d.bottom))}await c({...t,availableWidth:N,availableHeight:P});const j=await i.getDimensions(a.floating);return y!==j.width||g!==j.height?{reset:{rects:!0}}:{}}}};function Gn(){return typeof window<"u"}function Et(e){return Bi(e)?(e.nodeName||"").toLowerCase():"#document"}function ge(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Te(e){var t;return(t=(Bi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Bi(e){return Gn()?e instanceof Node||e instanceof ge(e).Node:!1}function xe(e){return Gn()?e instanceof Element||e instanceof ge(e).Element:!1}function Re(e){return Gn()?e instanceof HTMLElement||e instanceof ge(e).HTMLElement:!1}function ms(e){return!Gn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ge(e).ShadowRoot}const Ad=new Set(["inline","contents"]);function Zt(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=we(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Ad.has(o)}const Rd=new Set(["table","td","th"]);function Td(e){return Rd.has(Et(e))}const jd=[":popover-open",":modal"];function Zn(e){return jd.some(t=>{try{return e.matches(t)}catch{return!1}})}const kd=["transform","translate","scale","rotate","perspective"],Id=["transform","translate","scale","rotate","perspective","filter"],Od=["paint","layout","strict","content"];function xo(e){const t=wo(),n=xe(e)?we(e):e;return kd.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Id.some(r=>(n.willChange||"").includes(r))||Od.some(r=>(n.contain||"").includes(r))}function Md(e){let t=ze(e);for(;Re(t)&&!wt(t);){if(xo(t))return t;if(Zn(t))return null;t=ze(t)}return null}function wo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Ld=new Set(["html","body","#document"]);function wt(e){return Ld.has(Et(e))}function we(e){return ge(e).getComputedStyle(e)}function Yn(e){return xe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ze(e){if(Et(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ms(e)&&e.host||Te(e);return ms(t)?t.host:t}function $i(e){const t=ze(e);return wt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Re(t)&&Zt(t)?t:$i(t)}function Ft(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=$i(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=ge(o);if(s){const a=eo(i);return t.concat(i,i.visualViewport||[],Zt(o)?o:[],a&&n?Ft(a):[])}return t.concat(o,Ft(o,[],n))}function eo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Hi(e){const t=we(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Re(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=Tn(n)!==s||Tn(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function Co(e){return xe(e)?e:e.contextElement}function bt(e){const t=Co(e);if(!Re(t))return Ae(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=Hi(t);let i=(s?Tn(n.width):n.width)/r,a=(s?Tn(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const _d=Ae(0);function zi(e){const t=ge(e);return!wo()||!t.visualViewport?_d:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Dd(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ge(e)?!1:t}function Qe(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Co(e);let i=Ae(1);t&&(r?xe(r)&&(i=bt(r)):i=bt(e));const a=Dd(s,n,r)?zi(s):Ae(0);let c=(o.left+a.x)/i.x,l=(o.top+a.y)/i.y,d=o.width/i.x,f=o.height/i.y;if(s){const m=ge(s),h=r&&xe(r)?ge(r):r;let y=m,g=eo(y);for(;g&&r&&h!==y;){const b=bt(g),w=g.getBoundingClientRect(),v=we(g),x=w.left+(g.clientLeft+parseFloat(v.paddingLeft))*b.x,C=w.top+(g.clientTop+parseFloat(v.paddingTop))*b.y;c*=b.x,l*=b.y,d*=b.x,f*=b.y,c+=x,l+=C,y=ge(g),g=eo(y)}}return kn({width:d,height:f,x:c,y:l})}function Kn(e,t){const n=Yn(e).scrollLeft;return t?t.left+n:Qe(Te(e)).left+n}function Wi(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Kn(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Vd(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=Te(r),a=t?Zn(t.floating):!1;if(r===i||a&&s)return n;let c={scrollLeft:0,scrollTop:0},l=Ae(1);const d=Ae(0),f=Re(r);if((f||!f&&!s)&&((Et(r)!=="body"||Zt(i))&&(c=Yn(r)),Re(r))){const h=Qe(r);l=bt(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}const m=i&&!f&&!s?Wi(i,c):Ae(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+d.x+m.x,y:n.y*l.y-c.scrollTop*l.y+d.y+m.y}}function Fd(e){return Array.from(e.getClientRects())}function Bd(e){const t=Te(e),n=Yn(e),r=e.ownerDocument.body,o=he(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=he(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Kn(e);const a=-n.scrollTop;return we(r).direction==="rtl"&&(i+=he(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}const hs=25;function $d(e,t){const n=ge(e),r=Te(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,c=0;if(o){s=o.width,i=o.height;const d=wo();(!d||d&&t==="fixed")&&(a=o.offsetLeft,c=o.offsetTop)}const l=Kn(r);if(l<=0){const d=r.ownerDocument,f=d.body,m=getComputedStyle(f),h=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,y=Math.abs(r.clientWidth-f.clientWidth-h);y<=hs&&(s-=y)}else l<=hs&&(s+=l);return{width:s,height:i,x:a,y:c}}const Hd=new Set(["absolute","fixed"]);function zd(e,t){const n=Qe(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Re(e)?bt(e):Ae(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,c=o*s.x,l=r*s.y;return{width:i,height:a,x:c,y:l}}function gs(e,t,n){let r;if(t==="viewport")r=$d(e,n);else if(t==="document")r=Bd(Te(e));else if(xe(t))r=zd(t,n);else{const o=zi(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return kn(r)}function Ui(e,t){const n=ze(e);return n===t||!xe(n)||wt(n)?!1:we(n).position==="fixed"||Ui(n,t)}function Wd(e,t){const n=t.get(e);if(n)return n;let r=Ft(e,[],!1).filter(a=>xe(a)&&Et(a)!=="body"),o=null;const s=we(e).position==="fixed";let i=s?ze(e):e;for(;xe(i)&&!wt(i);){const a=we(i),c=xo(i);!c&&a.position==="fixed"&&(o=null),(s?!c&&!o:!c&&a.position==="static"&&!!o&&Hd.has(o.position)||Zt(i)&&!c&&Ui(e,i))?r=r.filter(d=>d!==i):o=a,i=ze(i)}return t.set(e,r),r}function Ud(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Zn(t)?[]:Wd(t,this._c):[].concat(n),r],a=i[0],c=i.reduce((l,d)=>{const f=gs(t,d,o);return l.top=he(f.top,l.top),l.right=He(f.right,l.right),l.bottom=He(f.bottom,l.bottom),l.left=he(f.left,l.left),l},gs(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function qd(e){const{width:t,height:n}=Hi(e);return{width:t,height:n}}function Gd(e,t,n){const r=Re(t),o=Te(t),s=n==="fixed",i=Qe(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const c=Ae(0);function l(){c.x=Kn(o)}if(r||!r&&!s)if((Et(t)!=="body"||Zt(o))&&(a=Yn(t)),r){const h=Qe(t,!0,s,t);c.x=h.x+t.clientLeft,c.y=h.y+t.clientTop}else o&&l();s&&!r&&o&&l();const d=o&&!r&&!s?Wi(o,a):Ae(0),f=i.left+a.scrollLeft-c.x-d.x,m=i.top+a.scrollTop-c.y-d.y;return{x:f,y:m,width:i.width,height:i.height}}function Tr(e){return we(e).position==="static"}function vs(e,t){if(!Re(e)||we(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Te(e)===n&&(n=n.ownerDocument.body),n}function qi(e,t){const n=ge(e);if(Zn(e))return n;if(!Re(e)){let o=ze(e);for(;o&&!wt(o);){if(xe(o)&&!Tr(o))return o;o=ze(o)}return n}let r=vs(e,t);for(;r&&Td(r)&&Tr(r);)r=vs(r,t);return r&&wt(r)&&Tr(r)&&!xo(r)?n:r||Md(e)||n}const Zd=async function(e){const t=this.getOffsetParent||qi,n=this.getDimensions,r=await n(e.floating);return{reference:Gd(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Yd(e){return we(e).direction==="rtl"}const Kd={convertOffsetParentRelativeRectToViewportRelativeRect:Vd,getDocumentElement:Te,getClippingRect:Ud,getOffsetParent:qi,getElementRects:Zd,getClientRects:Fd,getDimensions:qd,getScale:bt,isElement:xe,isRTL:Yd};function Gi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Xd(e,t){let n=null,r;const o=Te(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),s();const l=e.getBoundingClientRect(),{left:d,top:f,width:m,height:h}=l;if(a||t(),!m||!h)return;const y=sn(f),g=sn(o.clientWidth-(d+m)),b=sn(o.clientHeight-(f+h)),w=sn(d),x={rootMargin:-y+"px "+-g+"px "+-b+"px "+-w+"px",threshold:he(0,He(1,c))||1};let C=!0;function E(S){const P=S[0].intersectionRatio;if(P!==c){if(!C)return i();P?i(!1,P):r=setTimeout(()=>{i(!1,1e-7)},1e3)}P===1&&!Gi(l,e.getBoundingClientRect())&&i(),C=!1}try{n=new IntersectionObserver(E,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,x)}n.observe(e)}return i(!0),s}function Qd(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,l=Co(e),d=o||s?[...l?Ft(l):[],...Ft(t)]:[];d.forEach(w=>{o&&w.addEventListener("scroll",n,{passive:!0}),s&&w.addEventListener("resize",n)});const f=l&&a?Xd(l,n):null;let m=-1,h=null;i&&(h=new ResizeObserver(w=>{let[v]=w;v&&v.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var x;(x=h)==null||x.observe(t)})),n()}),l&&!c&&h.observe(l),h.observe(t));let y,g=c?Qe(e):null;c&&b();function b(){const w=Qe(e);g&&!Gi(g,w)&&n(),g=w,y=requestAnimationFrame(b)}return n(),()=>{var w;d.forEach(v=>{o&&v.removeEventListener("scroll",n),s&&v.removeEventListener("resize",n)}),f==null||f(),(w=h)==null||w.disconnect(),h=null,c&&cancelAnimationFrame(y)}}const Jd=Sd,ef=Ed,tf=xd,nf=Nd,rf=wd,bs=yd,of=Pd,sf=(e,t,n)=>{const r=new Map,o={platform:Kd,...n},s={...o.platform,_c:r};return bd(e,t,{...o,platform:s})},[af,cf]=ot({name:"RenderStrategyContext",hookName:"useRenderStrategyContext",providerName:"<RenderStrategyPropsProvider />"}),lf=e=>Gt()(e,["lazyMount","unmountOnExit"]),[uf,Zi]=ot({name:"AccordionItemPropsContext",hookName:"useAccordionItemPropsContext",providerName:"<AccordionItemPropsProvider />"}),df=Gt(),Yi=R.forwardRef((e,t)=>{const[n,r]=df(e,["value","disabled"]),o=po(),s=cf(),i=st(o.getItemProps(n),r),a=o.getItemState(n),c=o.getItemContentProps(n);return u.jsx(uf,{value:n,children:u.jsx(Gu,{value:a,children:u.jsx(Di,{ref:t,open:a.expanded,ids:{content:c.id},...s,...i})})})});Yi.displayName="AccordionItem";const Ki=R.forwardRef((e,t)=>{const n=_i();if(n.isUnmounted)return null;const r=st(n.getContentProps(),e);return u.jsx(qn.div,{...r,ref:t})});Ki.displayName="CollapsibleContent";const ff=Gt(),Xi=R.forwardRef((e,t)=>{const n=po(),r=Zi(),o=n.getItemContentProps(r),[,s]=ff(o,["hidden","data-state"]),i=st(s,e);return u.jsx(Ki,{ref:t,...i})});Xi.displayName="AccordionItemContent";const Qi=R.forwardRef((e,t)=>{const n=po(),r=Zi(),o=_i(),s=n.getItemTriggerProps(r),i=st({...s,"aria-controls":o.isUnmounted?void 0:s["aria-controls"]},e);return u.jsx(qn.button,{...i,ref:t})});Qi.displayName="AccordionItemTrigger";var pf=vt("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator"),It=pf.build(),In=e=>{var t;return((t=e.ids)==null?void 0:t.root)??`accordion:${e.id}`},mf=(e,t)=>{var n,r;return((r=(n=e.ids)==null?void 0:n.item)==null?void 0:r.call(n,t))??`accordion:${e.id}:item:${t}`},jr=(e,t)=>{var n,r;return((r=(n=e.ids)==null?void 0:n.itemContent)==null?void 0:r.call(n,t))??`accordion:${e.id}:content:${t}`},On=(e,t)=>{var n,r;return((r=(n=e.ids)==null?void 0:n.itemTrigger)==null?void 0:r.call(n,t))??`accordion:${e.id}:trigger:${t}`},hf=e=>e.getById(In(e)),Xn=e=>{const n=`[data-controls][data-ownedby='${CSS.escape(In(e))}']:not([disabled])`;return Lu(hf(e),n)},gf=e=>Tl(Xn(e)),vf=e=>jl(Xn(e)),bf=(e,t)=>Du(Xn(e),On(e,t)),yf=(e,t)=>Vu(Xn(e),On(e,t));function xf(e,t){const{send:n,context:r,prop:o,scope:s,computed:i}=e,a=r.get("focusedValue"),c=r.get("value"),l=o("multiple");function d(m){let h=m;!l&&h.length>1&&(h=[h[0]]),n({type:"VALUE.SET",value:h})}function f(m){return{expanded:c.includes(m.value),focused:a===m.value,disabled:!!(m.disabled??o("disabled"))}}return{focusedValue:a,value:c,setValue:d,getItemState:f,getRootProps(){return t.element({...It.root.attrs,dir:o("dir"),id:In(s),"data-orientation":o("orientation")})},getItemProps(m){const h=f(m);return t.element({...It.item.attrs,dir:o("dir"),id:mf(s,m.value),"data-state":h.expanded?"open":"closed","data-focus":Se(h.focused),"data-disabled":Se(h.disabled),"data-orientation":o("orientation")})},getItemContentProps(m){const h=f(m);return t.element({...It.itemContent.attrs,dir:o("dir"),role:"region",id:jr(s,m.value),"aria-labelledby":On(s,m.value),hidden:!h.expanded,"data-state":h.expanded?"open":"closed","data-disabled":Se(h.disabled),"data-focus":Se(h.focused),"data-orientation":o("orientation")})},getItemIndicatorProps(m){const h=f(m);return t.element({...It.itemIndicator.attrs,dir:o("dir"),"aria-hidden":!0,"data-state":h.expanded?"open":"closed","data-disabled":Se(h.disabled),"data-focus":Se(h.focused),"data-orientation":o("orientation")})},getItemTriggerProps(m){const{value:h}=m,y=f(m);return t.button({...It.itemTrigger.attrs,type:"button",dir:o("dir"),id:On(s,h),"aria-controls":jr(s,h),"data-controls":jr(s,h),"aria-expanded":y.expanded,disabled:y.disabled,"data-orientation":o("orientation"),"aria-disabled":y.disabled,"data-state":y.expanded?"open":"closed","data-ownedby":In(s),onFocus(){y.disabled||n({type:"TRIGGER.FOCUS",value:h})},onBlur(){y.disabled||n({type:"TRIGGER.BLUR"})},onClick(g){y.disabled||(wu()&&g.currentTarget.focus(),n({type:"TRIGGER.CLICK",value:h}))},onKeyDown(g){if(g.defaultPrevented||y.disabled)return;const b={ArrowDown(){i("isHorizontal")||n({type:"GOTO.NEXT",value:h})},ArrowUp(){i("isHorizontal")||n({type:"GOTO.PREV",value:h})},ArrowRight(){i("isHorizontal")&&n({type:"GOTO.NEXT",value:h})},ArrowLeft(){i("isHorizontal")&&n({type:"GOTO.PREV",value:h})},Home(){n({type:"GOTO.FIRST",value:h})},End(){n({type:"GOTO.LAST",value:h})}},w=Eu(g,{dir:o("dir"),orientation:o("orientation")}),v=b[w];v&&(v(g),g.preventDefault())}})}}}var{and:wf,not:Cf}=ru(),Sf=xi({props({props:e}){return{collapsible:!1,multiple:!1,orientation:"vertical",defaultValue:[],...e}},initialState(){return"idle"},context({prop:e,bindable:t}){return{focusedValue:t(()=>({defaultValue:null,sync:!0,onChange(n){var r;(r=e("onFocusChange"))==null||r({value:n})}})),value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(n){var r;(r=e("onValueChange"))==null||r({value:n})}}))}},computed:{isHorizontal:({prop:e})=>e("orientation")==="horizontal"},on:{"VALUE.SET":{actions:["setValue"]}},states:{idle:{on:{"TRIGGER.FOCUS":{target:"focused",actions:["setFocusedValue"]}}},focused:{on:{"GOTO.NEXT":{actions:["focusNextTrigger"]},"GOTO.PREV":{actions:["focusPrevTrigger"]},"TRIGGER.CLICK":[{guard:wf("isExpanded","canToggle"),actions:["collapse"]},{guard:Cf("isExpanded"),actions:["expand"]}],"GOTO.FIRST":{actions:["focusFirstTrigger"]},"GOTO.LAST":{actions:["focusLastTrigger"]},"TRIGGER.BLUR":{target:"idle",actions:["clearFocusedValue"]}}}},implementations:{guards:{canToggle:({prop:e})=>!!e("collapsible")||!!e("multiple"),isExpanded:({context:e,event:t})=>e.get("value").includes(t.value)},actions:{collapse({context:e,prop:t,event:n}){const r=t("multiple")?Il(e.get("value"),n.value):[];e.set("value",r)},expand({context:e,prop:t,event:n}){const r=t("multiple")?kl(e.get("value"),n.value):[n.value];e.set("value",r)},focusFirstTrigger({scope:e}){var t;(t=gf(e))==null||t.focus()},focusLastTrigger({scope:e}){var t;(t=vf(e))==null||t.focus()},focusNextTrigger({context:e,scope:t}){const n=e.get("focusedValue");if(!n)return;const r=bf(t,n);r==null||r.focus()},focusPrevTrigger({context:e,scope:t}){const n=e.get("focusedValue");if(!n)return;const r=yf(t,n);r==null||r.focus()},setFocusedValue({context:e,event:t}){e.set("focusedValue",t.value)},clearFocusedValue({context:e}){e.set("focusedValue",null)},setValue({context:e,event:t}){e.set("value",t.value)},coarseValue({context:e,prop:t}){!t("multiple")&&e.get("value").length>1&&(Zr("The value of accordion should be a single value when multiple is false."),e.set("value",[e.get("value")[0]]))}}}});const Ef=e=>{const t=R.useId(),{getRootNode:n}=Mi(),{dir:r}=Li(),o={id:t,dir:r,getRootNode:n,...e},s=ki(Sf,o);return xf(s,Oi)},Pf=Gt(),Ji=R.forwardRef((e,t)=>{const[n,r]=lf(e),[o,s]=Pf(r,["collapsible","defaultValue","disabled","id","ids","multiple","onFocusChange","onValueChange","orientation","value"]),i=Ef(o),a=st(i.getRootProps(),s);return u.jsx(Wl,{value:i,children:u.jsx(af,{value:n,children:u.jsx(qn.div,{...a,ref:t})})})});Ji.displayName="AccordionRoot";const ea={cloud:"bg-cloud",navy:"bg-navy-1000",white:"bg-white"};function So(e){return e==="connect"?"white":"cloud"}function ta(e,t,n){if(t==="connect"&&e==="navy")return{resolvedBackground:n,hasSideColPadding:n!=="white"};const r=e??n;return{resolvedBackground:r,hasSideColPadding:t==="connect"&&r!=="white"||t==="digital"&&r!=="cloud"}}function na(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=na(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Nf(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=na(e))&&(r&&(r+=" "),r+=t);return r}const Af=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Rf=(e,t)=>({classGroupId:e,validator:t}),ra=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Mn="-",ys=[],Tf="arbitrary..",jf=e=>{const t=If(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return kf(i);const a=i.split(Mn),c=a[0]===""&&a.length>1?1:0;return oa(a,c,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const c=r[i],l=n[i];return c?l?Af(l,c):c:l||ys}return n[i]||ys}}},oa=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],s=n.nextPart.get(o);if(s){const l=oa(e,t+1,s);if(l)return l}const i=n.validators;if(i===null)return;const a=t===0?e.join(Mn):e.slice(t).join(Mn),c=i.length;for(let l=0;l<c;l++){const d=i[l];if(d.validator(a))return d.classGroupId}},kf=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?Tf+r:void 0})(),If=e=>{const{theme:t,classGroups:n}=e;return Of(n,t)},Of=(e,t)=>{const n=ra();for(const r in e){const o=e[r];Eo(o,n,r,t)}return n},Eo=(e,t,n,r)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];Mf(i,t,n,r)}},Mf=(e,t,n,r)=>{if(typeof e=="string"){Lf(e,t,n);return}if(typeof e=="function"){_f(e,t,n,r);return}Df(e,t,n,r)},Lf=(e,t,n)=>{const r=e===""?t:sa(t,e);r.classGroupId=n},_f=(e,t,n,r)=>{if(Vf(e)){Eo(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Rf(n,e))},Df=(e,t,n,r)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,c]=o[i];Eo(c,sa(t,a),n,r)}},sa=(e,t)=>{let n=e;const r=t.split(Mn),o=r.length;for(let s=0;s<o;s++){const i=r[s];let a=n.nextPart.get(i);a||(a=ra(),n.nextPart.set(i,a)),n=a}return n},Vf=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Ff=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(s,i)=>{n[s]=i,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(s){let i=n[s];if(i!==void 0)return i;if((i=r[s])!==void 0)return o(s,i),i},set(s,i){s in n?n[s]=i:o(s,i)}}},to="!",xs=":",Bf=[],ws=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),$f=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const s=[];let i=0,a=0,c=0,l;const d=o.length;for(let g=0;g<d;g++){const b=o[g];if(i===0&&a===0){if(b===xs){s.push(o.slice(c,g)),c=g+1;continue}if(b==="/"){l=g;continue}}b==="["?i++:b==="]"?i--:b==="("?a++:b===")"&&a--}const f=s.length===0?o:o.slice(c);let m=f,h=!1;f.endsWith(to)?(m=f.slice(0,-1),h=!0):f.startsWith(to)&&(m=f.slice(1),h=!0);const y=l&&l>c?l-c:void 0;return ws(s,h,m,y)};if(t){const o=t+xs,s=r;r=i=>i.startsWith(o)?s(i.slice(o.length)):ws(Bf,!1,i,void 0,!0)}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},Hf=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let s=0;s<n.length;s++){const i=n[s],a=i[0]==="[",c=t.has(i);a||c?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(i)):o.push(i)}return o.length>0&&(o.sort(),r.push(...o)),r}},zf=e=>({cache:Ff(e.cacheSize),parseClassName:$f(e),sortModifiers:Hf(e),...jf(e)}),Wf=/\s+/,Uf=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(Wf);let c="";for(let l=a.length-1;l>=0;l-=1){const d=a[l],{isExternal:f,modifiers:m,hasImportantModifier:h,baseClassName:y,maybePostfixModifierPosition:g}=n(d);if(f){c=d+(c.length>0?" "+c:c);continue}let b=!!g,w=r(b?y.substring(0,g):y);if(!w){if(!b){c=d+(c.length>0?" "+c:c);continue}if(w=r(y),!w){c=d+(c.length>0?" "+c:c);continue}b=!1}const v=m.length===0?"":m.length===1?m[0]:s(m).join(":"),x=h?v+to:v,C=x+w;if(i.indexOf(C)>-1)continue;i.push(C);const E=o(w,b);for(let S=0;S<E.length;++S){const P=E[S];i.push(x+P)}c=d+(c.length>0?" "+c:c)}return c},qf=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=ia(n))&&(o&&(o+=" "),o+=r);return o},ia=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=ia(e[r]))&&(n&&(n+=" "),n+=t);return n},Gf=(e,...t)=>{let n,r,o,s;const i=c=>{const l=t.reduce((d,f)=>f(d),e());return n=zf(l),r=n.cache.get,o=n.cache.set,s=a,a(c)},a=c=>{const l=r(c);if(l)return l;const d=Uf(c,n);return o(c,d),d};return s=i,(...c)=>s(qf(...c))},Zf=[],ae=e=>{const t=n=>n[e]||Zf;return t.isThemeGetter=!0,t},aa=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ca=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Yf=/^\d+\/\d+$/,Kf=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xf=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Qf=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Jf=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ep=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ut=e=>Yf.test(e),Y=e=>!!e&&!Number.isNaN(Number(e)),Fe=e=>!!e&&Number.isInteger(Number(e)),kr=e=>e.endsWith("%")&&Y(e.slice(0,-1)),ke=e=>Kf.test(e),tp=()=>!0,np=e=>Xf.test(e)&&!Qf.test(e),la=()=>!1,rp=e=>Jf.test(e),op=e=>ep.test(e),sp=e=>!V(e)&&!F(e),ip=e=>Pt(e,fa,la),V=e=>aa.test(e),Ye=e=>Pt(e,pa,np),Ir=e=>Pt(e,dp,Y),Cs=e=>Pt(e,ua,la),ap=e=>Pt(e,da,op),an=e=>Pt(e,ma,rp),F=e=>ca.test(e),Ot=e=>Nt(e,pa),cp=e=>Nt(e,fp),Ss=e=>Nt(e,ua),lp=e=>Nt(e,fa),up=e=>Nt(e,da),cn=e=>Nt(e,ma,!0),Pt=(e,t,n)=>{const r=aa.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Nt=(e,t,n=!1)=>{const r=ca.exec(e);return r?r[1]?t(r[1]):n:!1},ua=e=>e==="position"||e==="percentage",da=e=>e==="image"||e==="url",fa=e=>e==="length"||e==="size"||e==="bg-size",pa=e=>e==="length",dp=e=>e==="number",fp=e=>e==="family-name",ma=e=>e==="shadow",pp=()=>{const e=ae("color"),t=ae("font"),n=ae("text"),r=ae("font-weight"),o=ae("tracking"),s=ae("leading"),i=ae("breakpoint"),a=ae("container"),c=ae("spacing"),l=ae("radius"),d=ae("shadow"),f=ae("inset-shadow"),m=ae("text-shadow"),h=ae("drop-shadow"),y=ae("blur"),g=ae("perspective"),b=ae("aspect"),w=ae("ease"),v=ae("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...C(),F,V],S=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],N=()=>[F,V,c],j=()=>[ut,"full","auto",...N()],_=()=>[Fe,"none","subgrid",F,V],D=()=>["auto",{span:["full",Fe,F,V]},Fe,F,V],B=()=>[Fe,"auto",F,V],W=()=>["auto","min","max","fr",F,V],H=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],I=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...N()],O=()=>[ut,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],A=()=>[e,F,V],M=()=>[...C(),Ss,Cs,{position:[F,V]}],U=()=>["no-repeat",{repeat:["","x","y","space","round"]}],z=()=>["auto","cover","contain",lp,ip,{size:[F,V]}],X=()=>[kr,Ot,Ye],J=()=>["","none","full",l,F,V],Q=()=>["",Y,Ot,Ye],ce=()=>["solid","dashed","dotted","double"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],L=()=>[Y,kr,Ss,Cs],q=()=>["","none",y,F,V],ee=()=>["none",Y,F,V],G=()=>["none",Y,F,V],$=()=>[Y,F,V],k=()=>[ut,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ke],breakpoint:[ke],color:[tp],container:[ke],"drop-shadow":[ke],ease:["in","out","in-out"],font:[sp],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ke],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ke],shadow:[ke],spacing:["px",Y],text:[ke],"text-shadow":[ke],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ut,V,F,b]}],container:["container"],columns:[{columns:[Y,V,F,a]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:j()}],"inset-x":[{"inset-x":j()}],"inset-y":[{"inset-y":j()}],start:[{start:j()}],end:[{end:j()}],top:[{top:j()}],right:[{right:j()}],bottom:[{bottom:j()}],left:[{left:j()}],visibility:["visible","invisible","collapse"],z:[{z:[Fe,"auto",F,V]}],basis:[{basis:[ut,"full","auto",a,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Y,ut,"auto","initial","none",V]}],grow:[{grow:["",Y,F,V]}],shrink:[{shrink:["",Y,F,V]}],order:[{order:[Fe,"first","last","none",F,V]}],"grid-cols":[{"grid-cols":_()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":_()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":W()}],"auto-rows":[{"auto-rows":W()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...H(),"normal"]}],"justify-items":[{"justify-items":[...I(),"normal"]}],"justify-self":[{"justify-self":["auto",...I()]}],"align-content":[{content:["normal",...H()]}],"align-items":[{items:[...I(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...I(),{baseline:["","last"]}]}],"place-content":[{"place-content":H()}],"place-items":[{"place-items":[...I(),"baseline"]}],"place-self":[{"place-self":["auto",...I()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[a,"screen",...O()]}],"min-w":[{"min-w":[a,"screen","none",...O()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",n,Ot,Ye]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,F,Ir]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",kr,V]}],"font-family":[{font:[cp,V,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,F,V]}],"line-clamp":[{"line-clamp":[Y,"none",F,Ir]}],leading:[{leading:[s,...N()]}],"list-image":[{"list-image":["none",F,V]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",F,V]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:A()}],"text-color":[{text:A()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[Y,"from-font","auto",F,Ye]}],"text-decoration-color":[{decoration:A()}],"underline-offset":[{"underline-offset":[Y,"auto",F,V]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F,V]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",F,V]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:M()}],"bg-repeat":[{bg:U()}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Fe,F,V],radial:["",F,V],conic:[Fe,F,V]},up,ap]}],"bg-color":[{bg:A()}],"gradient-from-pos":[{from:X()}],"gradient-via-pos":[{via:X()}],"gradient-to-pos":[{to:X()}],"gradient-from":[{from:A()}],"gradient-via":[{via:A()}],"gradient-to":[{to:A()}],rounded:[{rounded:J()}],"rounded-s":[{"rounded-s":J()}],"rounded-e":[{"rounded-e":J()}],"rounded-t":[{"rounded-t":J()}],"rounded-r":[{"rounded-r":J()}],"rounded-b":[{"rounded-b":J()}],"rounded-l":[{"rounded-l":J()}],"rounded-ss":[{"rounded-ss":J()}],"rounded-se":[{"rounded-se":J()}],"rounded-ee":[{"rounded-ee":J()}],"rounded-es":[{"rounded-es":J()}],"rounded-tl":[{"rounded-tl":J()}],"rounded-tr":[{"rounded-tr":J()}],"rounded-br":[{"rounded-br":J()}],"rounded-bl":[{"rounded-bl":J()}],"border-w":[{border:Q()}],"border-w-x":[{"border-x":Q()}],"border-w-y":[{"border-y":Q()}],"border-w-s":[{"border-s":Q()}],"border-w-e":[{"border-e":Q()}],"border-w-t":[{"border-t":Q()}],"border-w-r":[{"border-r":Q()}],"border-w-b":[{"border-b":Q()}],"border-w-l":[{"border-l":Q()}],"divide-x":[{"divide-x":Q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ce(),"hidden","none"]}],"divide-style":[{divide:[...ce(),"hidden","none"]}],"border-color":[{border:A()}],"border-color-x":[{"border-x":A()}],"border-color-y":[{"border-y":A()}],"border-color-s":[{"border-s":A()}],"border-color-e":[{"border-e":A()}],"border-color-t":[{"border-t":A()}],"border-color-r":[{"border-r":A()}],"border-color-b":[{"border-b":A()}],"border-color-l":[{"border-l":A()}],"divide-color":[{divide:A()}],"outline-style":[{outline:[...ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Y,F,V]}],"outline-w":[{outline:["",Y,Ot,Ye]}],"outline-color":[{outline:A()}],shadow:[{shadow:["","none",d,cn,an]}],"shadow-color":[{shadow:A()}],"inset-shadow":[{"inset-shadow":["none",f,cn,an]}],"inset-shadow-color":[{"inset-shadow":A()}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:A()}],"ring-offset-w":[{"ring-offset":[Y,Ye]}],"ring-offset-color":[{"ring-offset":A()}],"inset-ring-w":[{"inset-ring":Q()}],"inset-ring-color":[{"inset-ring":A()}],"text-shadow":[{"text-shadow":["none",m,cn,an]}],"text-shadow-color":[{"text-shadow":A()}],opacity:[{opacity:[Y,F,V]}],"mix-blend":[{"mix-blend":[...le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":le()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Y]}],"mask-image-linear-from-pos":[{"mask-linear-from":L()}],"mask-image-linear-to-pos":[{"mask-linear-to":L()}],"mask-image-linear-from-color":[{"mask-linear-from":A()}],"mask-image-linear-to-color":[{"mask-linear-to":A()}],"mask-image-t-from-pos":[{"mask-t-from":L()}],"mask-image-t-to-pos":[{"mask-t-to":L()}],"mask-image-t-from-color":[{"mask-t-from":A()}],"mask-image-t-to-color":[{"mask-t-to":A()}],"mask-image-r-from-pos":[{"mask-r-from":L()}],"mask-image-r-to-pos":[{"mask-r-to":L()}],"mask-image-r-from-color":[{"mask-r-from":A()}],"mask-image-r-to-color":[{"mask-r-to":A()}],"mask-image-b-from-pos":[{"mask-b-from":L()}],"mask-image-b-to-pos":[{"mask-b-to":L()}],"mask-image-b-from-color":[{"mask-b-from":A()}],"mask-image-b-to-color":[{"mask-b-to":A()}],"mask-image-l-from-pos":[{"mask-l-from":L()}],"mask-image-l-to-pos":[{"mask-l-to":L()}],"mask-image-l-from-color":[{"mask-l-from":A()}],"mask-image-l-to-color":[{"mask-l-to":A()}],"mask-image-x-from-pos":[{"mask-x-from":L()}],"mask-image-x-to-pos":[{"mask-x-to":L()}],"mask-image-x-from-color":[{"mask-x-from":A()}],"mask-image-x-to-color":[{"mask-x-to":A()}],"mask-image-y-from-pos":[{"mask-y-from":L()}],"mask-image-y-to-pos":[{"mask-y-to":L()}],"mask-image-y-from-color":[{"mask-y-from":A()}],"mask-image-y-to-color":[{"mask-y-to":A()}],"mask-image-radial":[{"mask-radial":[F,V]}],"mask-image-radial-from-pos":[{"mask-radial-from":L()}],"mask-image-radial-to-pos":[{"mask-radial-to":L()}],"mask-image-radial-from-color":[{"mask-radial-from":A()}],"mask-image-radial-to-color":[{"mask-radial-to":A()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":C()}],"mask-image-conic-pos":[{"mask-conic":[Y]}],"mask-image-conic-from-pos":[{"mask-conic-from":L()}],"mask-image-conic-to-pos":[{"mask-conic-to":L()}],"mask-image-conic-from-color":[{"mask-conic-from":A()}],"mask-image-conic-to-color":[{"mask-conic-to":A()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:M()}],"mask-repeat":[{mask:U()}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",F,V]}],filter:[{filter:["","none",F,V]}],blur:[{blur:q()}],brightness:[{brightness:[Y,F,V]}],contrast:[{contrast:[Y,F,V]}],"drop-shadow":[{"drop-shadow":["","none",h,cn,an]}],"drop-shadow-color":[{"drop-shadow":A()}],grayscale:[{grayscale:["",Y,F,V]}],"hue-rotate":[{"hue-rotate":[Y,F,V]}],invert:[{invert:["",Y,F,V]}],saturate:[{saturate:[Y,F,V]}],sepia:[{sepia:["",Y,F,V]}],"backdrop-filter":[{"backdrop-filter":["","none",F,V]}],"backdrop-blur":[{"backdrop-blur":q()}],"backdrop-brightness":[{"backdrop-brightness":[Y,F,V]}],"backdrop-contrast":[{"backdrop-contrast":[Y,F,V]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Y,F,V]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Y,F,V]}],"backdrop-invert":[{"backdrop-invert":["",Y,F,V]}],"backdrop-opacity":[{"backdrop-opacity":[Y,F,V]}],"backdrop-saturate":[{"backdrop-saturate":[Y,F,V]}],"backdrop-sepia":[{"backdrop-sepia":["",Y,F,V]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",F,V]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Y,"initial",F,V]}],ease:[{ease:["linear","initial",w,F,V]}],delay:[{delay:[Y,F,V]}],animate:[{animate:["none",v,F,V]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,F,V]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:ee()}],"rotate-x":[{"rotate-x":ee()}],"rotate-y":[{"rotate-y":ee()}],"rotate-z":[{"rotate-z":ee()}],scale:[{scale:G()}],"scale-x":[{"scale-x":G()}],"scale-y":[{"scale-y":G()}],"scale-z":[{"scale-z":G()}],"scale-3d":["scale-3d"],skew:[{skew:$()}],"skew-x":[{"skew-x":$()}],"skew-y":[{"skew-y":$()}],transform:[{transform:[F,V,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:k()}],"translate-x":[{"translate-x":k()}],"translate-y":[{"translate-y":k()}],"translate-z":[{"translate-z":k()}],"translate-none":["translate-none"],accent:[{accent:A()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:A()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",F,V]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",F,V]}],fill:[{fill:["none",...A()]}],"stroke-w":[{stroke:[Y,Ot,Ye,Ir]}],stroke:[{stroke:["none",...A()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},mp=Gf(pp);function K(...e){return mp(Nf(e))}const hp={"bg-cloud":"rgb(247, 247, 246)","bg-navy-1000":"rgb(23, 25, 39)","bg-white":"rgb(255, 255, 255)","text-black":"rgb(0, 0, 0)","text-smoke":"rgb(171, 174, 171)","text-white":"rgb(255, 255, 255)"};function Es(e){const{className:t,type:n}=e,r=hp[t];if(r)return r;if(typeof document>"u"||!document.body)throw new Error(`Cannot resolve color class without DOM support: ${t}`);const o=document.createElement("div");o.className=t,o.style.display="none",document.body.appendChild(o);const s=getComputedStyle(o);let i=s.backgroundColor;return n==="text"&&(i=s.color),document.body.removeChild(o),i}function Ps(e){const t=e.match(/\d+/g);if(!t||t.length<3)throw new Error(`Unsupported color format: ${e}`);return[parseInt(t[0],10),parseInt(t[1],10),parseInt(t[2],10)]}function Ns([e,t,n]){const r=a=>{const c=a/255;return c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)},o=r(e),s=r(t),i=r(n);return .2126*o+.7152*s+.0722*i}function gp(e,t,n=4.5){const r=Es(e),o=Es(t),s=Ps(r),i=Ps(o),a=Ns(s),c=Ns(i),l=Math.max(a,c),d=Math.min(a,c);return(l+.05)/(d+.05)>=n}const vp={className:"text-smoke",type:"text"};function Yt(e,t,n,r){const o={containerStrokeClasses:"",detailPageStrokeClasses:""};if(!t||n==="connect")return o;const c=`border-b-2 print:border-transparent ${gp({className:e,type:"background"},vp)?"border-white/30":"border-smoke"}`;return{containerStrokeClasses:r?"":c,detailPageStrokeClasses:r?c:""}}const Or="pt-15 lg:pt-20";function Po(e,t,n){return n==="digital"&&e==="navy"||n==="connect"&&e==="cloud"||n==="digital"&&t?Or:""}function ha(e){const t=e.type,n=e.props.ref??null;if(typeof t=="function")try{return t(e.props)}catch{return null}if(typeof t=="object"&&t!==null){if("render"in t&&typeof t.render=="function")try{return t.render(e.props,n)}catch{return null}if("type"in t&&typeof t.type=="function")try{return t.type(e.props)}catch{return null}}return null}function bp(e){var t;return e?"text"in e&&typeof e.text=="string"?e.text:"value"in e&&typeof((t=e.value)==null?void 0:t.text)=="string"?e.value.text:"":""}function Dt(e){if(e==null||typeof e=="boolean")return"";if(typeof e=="string"||typeof e=="number")return String(e);if(Array.isArray(e))return e.map(Dt).join("");if(R.isValidElement(e)){const t=e,n=Dt(t.props.children);if(n)return n;const r=bp(t.props.field);if(r)return r;const o=ha(t);return o?Dt(o):""}return""}function yp(e){return e?"href"in e&&typeof e.href=="string"?e:"value"in e?e.value??null:null:null}function xp(e){if(!e.href)return null;const t=e.querystring?e.querystring.replace(/^\?/,""):"",n=e.anchor?e.anchor.replace(/^#/,""):"",[r,o=""]=e.href.split("#",2),[s,i=""]=r.split("?",2),a=[i,t].filter(Boolean).join("&"),c=n||o;return[s,a?`?${a}`:"",c?`#${c}`:""].join("")}function Ie(e){if(!e||typeof e=="boolean")return null;if(Array.isArray(e)){for(const t of e){const n=Ie(t);if(n)return n}return null}if(R.isValidElement(e)){const t=e;if(typeof t.props.href=="string")return{href:t.props.href,target:t.props.target??""};const n=yp(t.props.field);if(n){const s=xp(n);if(s)return{href:s,target:n.target??""}}const r=Ie(t.props.children);if(r)return r;const o=ha(t);if(o){const s=Ie(o);if(s)return s}return null}return null}function wp(){const e=window.location.href;return navigator.clipboard.writeText(e)}function Cp(e,t){const n=document.title;let r="";const o=document.querySelector('meta[name="description"]');o&&(r=o.getAttribute("content")||""),window.location.href=`mailto:?subject=${encodeURIComponent(n)}&body=`+encodeURIComponent(`${r}
2
2
 
3
- ${window.location.href}`)}function vp(){const e=encodeURIComponent(window.location.href);window.open(`https://www.facebook.com/sharer/sharer.php?u=${e}`,"_blank")}function bp(e){const t=encodeURIComponent(window.location.href),n=encodeURIComponent(e||document.title);window.open(`https://twitter.com/intent/tweet?url=${t}&text=${n}`,"_blank")}function xp(){const e=encodeURIComponent(window.location.href);window.open(`https://www.linkedin.com/sharing/share-offsite/?url=${e}`,"_blank")}function yp({className:e,collapsible:t,type:n="single",...r}){const o=n==="multiple";return u.jsx(Qi,{"data-slot":"accordion",className:e,collapsible:o?!0:t,lazyMount:!1,multiple:o,unmountOnExit:!1,...r})}function wp({className:e,...t}){return u.jsx(Zi,{"data-slot":"accordion-item",className:e,...t})}function Cp({className:e,children:t,...n}){return u.jsx("div",{className:"flex",children:u.jsx(Ki,{"data-slot":"accordion-trigger",className:X("cursor-pointer duration-200 flex flex-1 gap-6 items-center justify-between outline-none transition-all",e),...n,children:t})})}function Sp({className:e,children:t,forceMount:n,style:r,...o}){const s={...r,"--accordion-content-height":"var(--height)"};return u.jsx(Xi,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden",style:s,...o,children:u.jsx("div",{className:e,children:t})})}const Ep="polygon(100% 0, 100% calc(100% - 66px), calc(100% - 66px) 100%, 0 100%, 0 0)",As="absolute bg-white h-[3px] left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-5";function Pp(){return u.jsxs("div",{"aria-hidden":"true",className:"relative size-5",children:[u.jsx("div",{className:As}),u.jsx("div",{className:X(As,"duration-300 in-data-[state=closed]:rotate-90 transition-all")})]})}function Np({children:e,triggerText:t}){return u.jsxs("div",{className:"hidden print:block",children:[u.jsx("div",{className:"hs-6 mb-6",children:t}),e]})}function Ap({children:e,disabled:t,openBackground:n,triggerText:r,value:o,variant:s}){let i="bg-transparent";n||(i=s==="connect"?"bg-cloud":"bg-white");const a=s==="connect"?"focus-visible:ring-4":"focus-visible:ring";return u.jsxs(u.Fragment,{children:[u.jsxs(wp,{className:"print:hidden",disabled:t,value:o,children:[u.jsxs(Cp,{className:X("bg-navy-500 focus-visible:bg-navy-300 hover:bg-navy-300 font-bold hs-9 px-5 @lg:px-10 py-4 ring-inset ring-navy-1000 text-white",a),children:[u.jsx("div",{className:"flex-1 text-left",children:r}),u.jsx(Pp,{})]}),u.jsx(Sp,{className:X("flex flex-col items-start gap-6 px-5 py-4 @lg:px-10 *:max-w-225",i),style:{clipPath:Ep},children:e})]}),u.jsx(Np,{triggerText:r,children:e})]})}function Rp({children:e,className:t="",defaultValue:n,detailWidth:r,disabled:o,headline:s,horizontalStroke:i,openBackground:a,twoColumn:c,variant:l="connect"}){const d=l==="connect"?"bg-white":"bg-cloud",f=So(l),{containerStrokeClasses:m,detailPageStrokeClasses:h}=Yt(d,i,l,r),b=Po(f,i,l);return u.jsx(De,{detailWidth:r,outerClassName:X("@container",d,m,b,t,"print:bg-white"),children:u.jsxs("div",{className:`composite-pb ${h}`,children:[u.jsx("div",{className:"content-accordion-headline",children:s}),u.jsx(yp,{className:X("grid grid-cols-1 gap-6",c&&"lg:grid-cols-2"),defaultValue:n,disabled:o,type:"multiple",children:R.Children.map(e,g=>R.isValidElement(g)?R.cloneElement(g,{openBackground:a,variant:l}):g)})]})})}function Tp(e){return e===1?{carouselNavigationClasses:"hidden",carouselNavigationContainerClasses:"justify-end"}:e===2?{carouselNavigationClasses:"md:hidden",carouselNavigationContainerClasses:"md:justify-end"}:{carouselNavigationClasses:"",carouselNavigationContainerClasses:""}}function jp(e,t){const n=t==="navy";return n&&e==="connect"?{buttonIconVariant:"reversed-connect",buttonVariant:"reversed-connect",paginationVariant:"connect-reversed"}:n&&e==="digital"?{buttonIconVariant:"reversed-digital",buttonVariant:"reversed-digital",paginationVariant:"digital-reversed"}:e==="connect"?{buttonIconVariant:"reversed-connect",buttonVariant:"secondary",paginationVariant:"connect"}:{buttonIconVariant:"reversed-digital",buttonVariant:"secondary",paginationVariant:"digital"}}function kp({background:e,button:t,children:n,className:r="",count:o,detailWidth:s,horizontalStroke:i,variant:a="connect"}){const[c,l]=R.useState(0),d=R.useRef(null),f=o??R.Children.count(n),{carouselNavigationClasses:m,carouselNavigationContainerClasses:h}=Tp(f),{resolvedBackground:b,hasSideColPadding:g}=ea(e,a,So(a)),x=Ji[b],{buttonIconVariant:w,buttonVariant:v,paginationVariant:y}=jp(a,b),{containerStrokeClasses:C,detailPageStrokeClasses:E}=Yt(x,i,a,s),S=Po(b,i,a);return u.jsx(De,{detailWidth:s,outerClassName:`print:hidden ${x} ${C} ${S} ${r}`,sideColPadded:g,children:u.jsxs("div",{className:`composite-pb ${E}`,children:[u.jsx(Uc,{parentSetActiveIndex:l,ref:d,children:R.Children.map(n,P=>R.isValidElement(P)?R.cloneElement(P,{buttonIconVariant:w}):P)}),u.jsxs("div",{className:`flex items-center justify-between mt-8 ${h}`,children:[u.jsx(vr,{activeIndex:c,className:m,count:f,onNext:()=>{var P;return(P=d.current)==null?void 0:P.next()},onPrevious:()=>{var P;return(P=d.current)==null?void 0:P.prev()},variant:y}),u.jsx(We,{variant:v,children:t})]})]})})}const Qn=e=>p.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M15.9259 6.49832C15.9259 6.40367 15.8883 6.31291 15.8214 6.24598C15.7544 6.17905 15.6637 6.14142 15.569 6.14142H8.43097C8.33631 6.14142 8.24556 6.17905 8.17863 6.24598C8.1117 6.31291 8.07407 6.40367 8.07407 6.49832V15.8385L12 13.0341L15.9259 15.8385V6.49832ZM18.0674 20L12 15.6656L5.93265 20V6.49832C5.93265 5.83573 6.19605 5.20046 6.66458 4.73193C7.1331 4.2634 7.76837 4 8.43097 4H15.569C16.2316 4 16.8669 4.2634 17.3354 4.73193C17.804 5.20046 18.0674 5.83573 18.0674 6.49832V20Z",fill:"currentColor"})),Jn=e=>p.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M15.5694 4C16.2319 4.00002 16.8675 4.26302 17.336 4.73145C17.8044 5.19991 18.0673 5.83555 18.0674 6.49805V20L12 15.666L5.93265 20V6.49805C5.93272 5.83555 6.1966 5.19991 6.66507 4.73145C7.13348 4.2633 7.76843 4.00009 8.43069 4H15.5694Z",fill:"currentColor"}));function Ip({button:e,buttonIconVariant:t,headline:n,id:r,image:o,isBookmarked:s,onBookmark:i}){return u.jsxs("div",{className:"relative size-full",children:[u.jsx("div",{className:"absolute bg-black/50 size-full"}),u.jsx("div",{className:"absolute size-full [&_img]:object-cover [&_img]:size-full mix-blend-multiply",children:o}),u.jsxs("div",{className:"absolute bottom-6 left-0 px-6 w-full",children:[u.jsx("div",{className:"b-lg mb-6 text-white",children:n}),u.jsxs("div",{className:"flex gap-6 items-center justify-between",children:[u.jsx(We,{variant:"tertiary-reversed",children:e}),u.jsx(Rt,{variant:t,children:u.jsx("button",{"aria-label":s?"Remove bookmark":"Bookmark this item",onClick:()=>i(r),children:s?u.jsx(Jn,{}):u.jsx(Qn,{})})})]})]})]})}function Op({image:e,variant:t,backgroundVideo:n}){const[r,o]=R.useState((n==null?void 0:n.autoplay)??!1),s=R.useRef(null),i=t==="connect"?"mini-connect":"mini-digital",a=()=>{s.current&&(s.current.togglePlayback(),o(!s.current.isPlaying))};return u.jsxs("div",{className:"min-h-85 overflow-hidden relative w-full print:hidden",children:[!!e&&u.jsx("div",{className:"h-85 [&_img]:object-cover [&_img]:size-full",children:e}),!!n&&u.jsxs(u.Fragment,{children:[u.jsx(Bo,{...n,ref:s}),u.jsx("div",{className:"absolute inset-0",children:u.jsx(De,{className:"h-full",children:u.jsx("div",{className:"absolute bottom-8 right-5 md:right-15 lg:right-30",children:u.jsx(tn,{label:"play video",onClick:a,isPlaying:r,variant:i})})})})]})]})}function Bt({className:e=""}){return u.jsx("span",{className:`h-3.5 w-0.5 ${e}`})}function Mp({dividerClasses:e="",event:t}){return u.jsxs("div",{className:"b-sm flex gap-2 items-center mb-6 text-charcoal-800 in-data-[variant=digital]:text-white/80 print:text-charcoal-800",children:[t.date,!!(t.date&&t.location)&&u.jsx(Bt,{className:e}),t.location]})}function Lp({category:e,copy:t,headline:n,person:r}){let o;return r!=null&&r.image?o=u.jsx("img",{...r.image}):r!=null&&r.imageNode&&(o=r.imageNode),u.jsx(u.Fragment,{children:r?u.jsxs("div",{className:"flex gap-10 grow items-center mb-6 xl:mb-0",children:[!!o&&u.jsx("div",{className:"overflow-hidden rounded-full size-30 [&_img]:object-cover [&_img]:size-full",children:o}),u.jsxs("div",{className:"flex flex-col gap-6",children:[u.jsx("div",{className:"b-lg uppercase",children:r.title}),u.jsx("div",{className:"hs-4",children:r.name})]})]}):u.jsxs("div",{className:"flex flex-col gap-6 grow mb-6 xl:mb-0",children:[u.jsx("div",{className:"b-lg uppercase",children:e}),u.jsx(qo,{className:"print:hidden",children:n}),u.jsx("div",{className:"hidden print:block hs-4",children:n}),!!t&&u.jsx("div",{className:"b-base",children:t})]})})}function _p({dividerClasses:e,insight:t}){return u.jsxs("div",{className:"b-sm flex flex-col gap-1 mb-6 text-charcoal-800 in-data-[variant=digital]:text-white/80 print:text-charcoal-800",children:[!!(t.date||t.timeToRead)&&u.jsxs("div",{className:"flex gap-2 items-center",children:[t.date,!!(t.date&&t.timeToRead)&&u.jsx(Bt,{className:e}),t.timeToRead]}),!!(t.authorOne||t.authorTwo)&&u.jsxs("div",{className:"flex gap-2 items-center",children:[t.authorOne,!!(t.authorOne&&t.authorTwo)&&u.jsx(Bt,{className:e}),t.authorTwo]})]})}const ha=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{clipPath:"url(#clip0_129_64910)"},p.createElement("path",{d:"M5.08105 0.225098C6.15724 0.225098 7.03393 1.30122 7.03418 2.17725V17.8218C7.03418 18.8981 6.15739 19.7749 5.08105 19.7749H1.95215C0.875979 19.7747 0 18.6978 0 17.8218V2.17725C0.00020319 1.1012 0.876104 0.225301 1.95215 0.225098H5.08105ZM20 2.57861V17.4468H7.88477V2.57861H20ZM9.8125 13.3169V15.2437H11.7393V13.3169H9.8125ZM12.9658 13.3169V15.2437H14.8936V13.3169H12.9658ZM16.1455 13.3169V15.2437H18.0723V13.3169H16.1455ZM9.8125 10.563V12.4907H11.7393V10.563H9.8125ZM12.9658 10.563V12.4907H14.8936V10.563H12.9658ZM16.1455 10.563V12.4907H18.0723V10.563H16.1455ZM9.83691 4.73096V8.86084H18.0723V4.73096H9.83691Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_129_64910"},p.createElement("rect",{width:20,height:20,fill:"white"})))),ga=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{clipPath:"url(#clip0_32_9938)"},p.createElement("path",{d:"M19.9796 14.9738V17.9846C19.9807 18.2642 19.9234 18.5408 19.8115 18.7969C19.6995 19.053 19.5353 19.2829 19.3293 19.4719C19.1233 19.6608 18.8802 19.8047 18.6154 19.8942C18.3506 19.9838 18.0701 20.017 17.7917 19.9919C14.7035 19.6563 11.737 18.601 9.13062 16.9108C6.70575 15.3699 4.64988 13.3141 3.10901 10.8892C1.4129 8.27099 0.357377 5.29008 0.0279519 2.18795C0.00287233 1.91042 0.0358551 1.63071 0.1248 1.36663C0.213745 1.10254 0.356703 0.859872 0.544572 0.654066C0.732442 0.448259 0.961106 0.283825 1.21601 0.171234C1.47091 0.058642 1.74646 0.000359723 2.02512 9.73016e-05H5.03593C5.52298 -0.00469635 5.99516 0.167778 6.36446 0.485372C6.73375 0.802966 6.97496 1.24401 7.04313 1.72629C7.17021 2.68982 7.40588 3.63587 7.74565 4.54641C7.88068 4.90563 7.90991 5.29602 7.82986 5.67133C7.74982 6.04665 7.56386 6.39115 7.29403 6.66402L6.01946 7.93859C7.44814 10.4512 9.52851 12.5315 12.0411 13.9602L13.3156 12.6856C13.5885 12.4158 13.933 12.2298 14.3083 12.1498C14.6836 12.0698 15.074 12.099 15.4332 12.234C16.3438 12.5738 17.2898 12.8095 18.2534 12.9365C18.7409 13.0053 19.1861 13.2509 19.5044 13.6265C19.8227 14.0021 19.9918 14.4817 19.9796 14.9738Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_32_9938"},p.createElement("rect",{width:20,height:20,fill:"white"}))));function Mr(e){var t;return typeof e=="string"?e:(t=Ie(e))==null?void 0:t.href}function Rs(e){return e==null?void 0:e.replace("tel:","")}function Dp({dividerClasses:e="",person:t,textCtaVariant:n}){const r=Mr(t.fax),o=Rs(r),s=Mr(t.phone),i=Rs(s),a=Mr(t.linkedInUrl);return u.jsxs("div",{className:"flex flex-col gap-1 mb-6",children:[!!(a||t.location)&&u.jsxs("div",{className:"flex gap-2 items-center",children:[!!a&&u.jsx($e,{href:a,socialPlatform:"linkedin",variant:n}),!!(a&&t.location)&&u.jsx(Bt,{className:`print:hidden ${e}`}),!!t.location&&u.jsx("span",{className:"b-base text-charcoal-800 in-data-[variant=digital]:text-white/80 print:text-charcoal-800",children:t.location})]}),!!(s||r)&&u.jsxs("div",{className:"b-base flex gap-2 items-center text-navy-500",children:[!!s&&u.jsx(Ne,{className:"b-base font-bold print:inline-flex!",variant:n,children:u.jsxs("a",{href:s,children:[u.jsx(ga,{className:"size-4"}),i]})}),!!(s&&r)&&u.jsx(Bt,{className:e}),!!r&&u.jsx(Ne,{className:"b-base font-bold print:inline-flex!",variant:n,children:u.jsxs("a",{href:r,children:[u.jsx(ha,{className:"size-4"}),o]})})]})]})}function Vp({email:e,phone:t}){return!e&&!t?null:u.jsxs("div",{className:"hidden print:flex flex-col gap-2",children:[u.jsx("div",{className:"hs-10 mb-1",children:"Contact Us:"}),u.jsx("div",{className:"b-base",children:t}),u.jsx("div",{className:"b-base",children:e})]})}const Fp="linear-gradient(215deg, color-mix(in srgb, var(--color-riptide-700) 24%, transparent) 7.85%, transparent 41.61%), linear-gradient(117deg, color-mix(in srgb, var(--color-riptide-700) 24%, transparent) 4.61%, transparent 27.62%), linear-gradient(180deg, color-mix(in srgb, var(--color-navy-700) 50%, transparent) 0%, color-mix(in srgb, var(--color-navy-500) 50%, transparent) 62.67%), url(/images/content-primary-feature-detail.jpg) 0px -38.481px / 100% 128.708% no-repeat, var(--color-navy-1000)";function Bp(e){return e==="digital"?{borderClasses:"border-white/30 print:border-charcoal-100",buttonVariant:"primary-digital",containerStyles:{background:Fp,backgroundBlendMode:"lighten, lighten, normal, normal, normal"},dividerClasses:"bg-white/30 print:bg-smoke",textCtaVariant:"digital"}:{borderClasses:"border-charcoal-100",buttonVariant:"primary",containerStyles:{},dividerClasses:"bg-smoke",textCtaVariant:"basic"}}function $p({backgroundVideo:e,bottomChild:t,button:n,category:r,className:o="",copy:s,event:i,headline:a,horizontalStroke:c,image:l,insight:d,person:f,printEmail:m,printPhone:h,variant:b="connect"}){const g=!!(l||e),x=g?"mb-12":"mb-20",{borderClasses:w,buttonVariant:v,containerStyles:y,dividerClasses:C,textCtaVariant:E}=Bp(b),S=b==="digital"?"bg-navy-1000":"bg-white",{containerStrokeClasses:P}=Yt(S,c,b);return u.jsxs("div",{className:X("pt-12 lg:pt-15 print:pt-15 data-[variant=digital]:text-white print:[background:white]! print:text-black!",P,o),"data-variant":b,style:y,children:[u.jsxs(De,{className:`flex flex-col xl:flex-row print:flex-col xl:gap-40 print:gap-0 xl:items-center print:items-stretch ${x}`,children:[u.jsx(Lp,{category:r,copy:s,headline:a,person:f}),u.jsxs("div",{className:`border-t-2 max-w-76 min-w-76 pt-6 ${w}`,children:[i&&u.jsx(Mp,{dividerClasses:C,event:i}),d&&u.jsx(_p,{dividerClasses:C,insight:d}),f&&u.jsx(Dp,{dividerClasses:C,person:f,textCtaVariant:E}),u.jsx(We,{variant:v,children:n}),u.jsx(Vp,{email:m,phone:h})]})]}),g&&u.jsx(Op,{backgroundVideo:e,image:l,variant:b}),t]})}function Hp(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ts(e){return Hp(e)||Array.isArray(e)}function zp(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function No(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const o=JSON.stringify(Object.keys(e.breakpoints||{})),s=JSON.stringify(Object.keys(t.breakpoints||{}));return o!==s?!1:n.every(i=>{const a=e[i],c=t[i];return typeof a=="function"?`${a}`==`${c}`:!Ts(a)||!Ts(c)?a===c:No(a,c)})}function js(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function Wp(e,t){if(e.length!==t.length)return!1;const n=js(e),r=js(t);return n.every((o,s)=>{const i=r[s];return No(o,i)})}function Ao(e){return typeof e=="number"}function no(e){return typeof e=="string"}function er(e){return typeof e=="boolean"}function ks(e){return Object.prototype.toString.call(e)==="[object Object]"}function oe(e){return Math.abs(e)}function Ro(e){return Math.sign(e)}function Vt(e,t){return oe(e-t)}function Up(e,t){if(e===0||t===0||oe(e)<=oe(t))return 0;const n=Vt(oe(e),oe(t));return oe(n/e)}function qp(e){return Math.round(e*100)/100}function $t(e){return Ht(e).map(Number)}function xe(e){return e[Xt(e)]}function Xt(e){return Math.max(0,e.length-1)}function To(e,t){return t===Xt(e)}function Is(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function Ht(e){return Object.keys(e)}function va(e,t){return[e,t].reduce((n,r)=>(Ht(r).forEach(o=>{const s=n[o],i=r[o],a=ks(s)&&ks(i);n[o]=a?va(s,i):i}),n),{})}function ro(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function Gp(e,t){const n={start:r,center:o,end:s};function r(){return 0}function o(c){return s(c)/2}function s(c){return t-c}function i(c,l){return no(e)?n[e](c):e(t,c,l)}return{measure:i}}function zt(){let e=[];function t(o,s,i,a={passive:!0}){let c;if("addEventListener"in o)o.addEventListener(s,i,a),c=()=>o.removeEventListener(s,i,a);else{const l=o;l.addListener(i),c=()=>l.removeListener(i)}return e.push(c),r}function n(){e=e.filter(o=>o())}const r={add:t,clear:n};return r}function Zp(e,t,n,r){const o=zt(),s=1e3/60;let i=null,a=0,c=0;function l(){o.add(e,"visibilitychange",()=>{e.hidden&&b()})}function d(){h(),o.clear()}function f(x){if(!c)return;i||(i=x,n(),n());const w=x-i;for(i=x,a+=w;a>=s;)n(),a-=s;const v=a/s;r(v),c&&(c=t.requestAnimationFrame(f))}function m(){c||(c=t.requestAnimationFrame(f))}function h(){t.cancelAnimationFrame(c),i=null,a=0,c=0}function b(){i=null,a=0}return{init:l,destroy:d,start:m,stop:h,update:n,render:r}}function Yp(e,t){const n=t==="rtl",r=e==="y",o=r?"y":"x",s=r?"x":"y",i=!r&&n?-1:1,a=d(),c=f();function l(b){const{height:g,width:x}=b;return r?g:x}function d(){return r?"top":n?"right":"left"}function f(){return r?"bottom":n?"left":"right"}function m(b){return b*i}return{scroll:o,cross:s,startEdge:a,endEdge:c,measureSize:l,direction:m}}function Je(e=0,t=0){const n=oe(e-t);function r(l){return l<e}function o(l){return l>t}function s(l){return r(l)||o(l)}function i(l){return s(l)?r(l)?e:t:l}function a(l){return n?l-n*Math.ceil((l-t)/n):l}return{length:n,max:t,min:e,constrain:i,reachedAny:s,reachedMax:o,reachedMin:r,removeOffset:a}}function ba(e,t,n){const{constrain:r}=Je(0,e),o=e+1;let s=i(t);function i(m){return n?oe((o+m)%o):r(m)}function a(){return s}function c(m){return s=i(m),f}function l(m){return d().set(a()+m)}function d(){return ba(e,a(),n)}const f={get:a,set:c,add:l,clone:d};return f}function Xp(e,t,n,r,o,s,i,a,c,l,d,f,m,h,b,g,x,w,v){const{cross:y,direction:C}=e,E=["INPUT","SELECT","TEXTAREA"],S={passive:!1},P=zt(),N=zt(),j=Je(50,225).constrain(h.measure(20)),_={mouse:300,touch:400},D={mouse:500,touch:600},B=b?43:25;let W=!1,H=0,I=0,T=!1,O=!1,A=!1,M=!1;function U(k){if(!v)return;function Z(ie){(er(v)||v(k,ie))&&le(ie)}const te=t;P.add(te,"dragstart",ie=>ie.preventDefault(),S).add(te,"touchmove",()=>{},S).add(te,"touchend",()=>{}).add(te,"touchstart",Z).add(te,"mousedown",Z).add(te,"touchcancel",q).add(te,"contextmenu",q).add(te,"click",ee,!0)}function z(){P.clear(),N.clear()}function K(){const k=M?n:t;N.add(k,"touchmove",L,S).add(k,"touchend",q).add(k,"mousemove",L,S).add(k,"mouseup",q)}function J(k){const Z=k.nodeName||"";return E.includes(Z)}function Q(){return(b?D:_)[M?"mouse":"touch"]}function ce(k,Z){const te=f.add(Ro(k)*-1),ie=d.byDistance(k,!b).distance;return b||oe(k)<j?ie:x&&Z?ie*.5:d.byIndex(te.get(),0).distance}function le(k){const Z=ro(k,r);M=Z,A=b&&Z&&!k.buttons&&W,W=Vt(o.get(),i.get())>=2,!(Z&&k.button!==0)&&(J(k.target)||(T=!0,s.pointerDown(k),l.useFriction(0).useDuration(0),o.set(i),K(),H=s.readPoint(k),I=s.readPoint(k,y),m.emit("pointerDown")))}function L(k){if(!ro(k,r)&&k.touches.length>=2)return q(k);const te=s.readPoint(k),ie=s.readPoint(k,y),ue=Vt(te,H),fe=Vt(ie,I);if(!O&&!M&&(!k.cancelable||(O=ue>fe,!O)))return q(k);const je=s.pointerMove(k);ue>g&&(A=!0),l.useFriction(.3).useDuration(.75),a.start(),o.add(C(je)),k.preventDefault()}function q(k){const te=d.byDistance(0,!1).index!==f.get(),ie=s.pointerUp(k)*Q(),ue=ce(C(ie),te),fe=Up(ie,ue),je=B-10*fe,me=w+fe/50;O=!1,T=!1,N.clear(),l.useDuration(je).useFriction(me),c.distance(ue,!b),M=!1,m.emit("pointerUp")}function ee(k){A&&(k.stopPropagation(),k.preventDefault(),A=!1)}function G(){return T}return{init:U,destroy:z,pointerDown:G}}function Kp(e,t){let r,o;function s(f){return f.timeStamp}function i(f,m){const b=`client${(m||e.scroll)==="x"?"X":"Y"}`;return(ro(f,t)?f:f.touches[0])[b]}function a(f){return r=f,o=f,i(f)}function c(f){const m=i(f)-i(o),h=s(f)-s(r)>170;return o=f,h&&(r=f),m}function l(f){if(!r||!o)return 0;const m=i(o)-i(r),h=s(f)-s(r),b=s(f)-s(o)>170,g=m/h;return h&&!b&&oe(g)>.1?g:0}return{pointerDown:a,pointerMove:c,pointerUp:l,readPoint:i}}function Qp(){function e(n){const{offsetTop:r,offsetLeft:o,offsetWidth:s,offsetHeight:i}=n;return{top:r,right:o+s,bottom:r+i,left:o,width:s,height:i}}return{measure:e}}function Jp(e){function t(r){return e*(r/100)}return{measure:t}}function em(e,t,n,r,o,s,i){const a=[e].concat(r);let c,l,d=[],f=!1;function m(x){return o.measureSize(i.measure(x))}function h(x){if(!s)return;l=m(e),d=r.map(m);function w(v){for(const y of v){if(f)return;const C=y.target===e,E=r.indexOf(y.target),S=C?l:d[E],P=m(C?e:r[E]);if(oe(P-S)>=.5){x.reInit(),t.emit("resize");break}}}c=new ResizeObserver(v=>{(er(s)||s(x,v))&&w(v)}),n.requestAnimationFrame(()=>{a.forEach(v=>c.observe(v))})}function b(){f=!0,c&&c.disconnect()}return{init:h,destroy:b}}function tm(e,t,n,r,o,s){let i=0,a=0,c=o,l=s,d=e.get(),f=0;function m(){const S=r.get()-e.get(),P=!c;let N=0;return P?(i=0,n.set(r),e.set(r),N=S):(n.set(e),i+=S/c,i*=l,d+=i,e.add(i),N=d-f),a=Ro(N),f=d,E}function h(){const S=r.get()-t.get();return oe(S)<.001}function b(){return c}function g(){return a}function x(){return i}function w(){return y(o)}function v(){return C(s)}function y(S){return c=S,E}function C(S){return l=S,E}const E={direction:g,duration:b,velocity:x,seek:m,settled:h,useBaseFriction:v,useBaseDuration:w,useFriction:C,useDuration:y};return E}function nm(e,t,n,r,o){const s=o.measure(10),i=o.measure(50),a=Je(.1,.99);let c=!1;function l(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function d(h){if(!l())return;const b=e.reachedMin(t.get())?"min":"max",g=oe(e[b]-t.get()),x=n.get()-t.get(),w=a.constrain(g/i);n.subtract(x*w),!h&&oe(x)<s&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function f(h){c=!h}return{shouldConstrain:l,constrain:d,toggleActive:f}}function rm(e,t,n,r,o){const s=Je(-t+e,0),i=f(),a=d(),c=m();function l(b,g){return Vt(b,g)<=1}function d(){const b=i[0],g=xe(i),x=i.lastIndexOf(b),w=i.indexOf(g)+1;return Je(x,w)}function f(){return n.map((b,g)=>{const{min:x,max:w}=s,v=s.constrain(b),y=!g,C=To(n,g);return y?w:C||l(x,v)?x:l(w,v)?w:v}).map(b=>parseFloat(b.toFixed(3)))}function m(){if(t<=e+o)return[s.max];if(r==="keepSnaps")return i;const{min:b,max:g}=a;return i.slice(b,g)}return{snapsContained:c,scrollContainLimit:a}}function om(e,t,n){const r=t[0],o=n?r-e:xe(t);return{limit:Je(o,r)}}function sm(e,t,n,r){const s=t.min+.1,i=t.max+.1,{reachedMin:a,reachedMax:c}=Je(s,i);function l(m){return m===1?c(n.get()):m===-1?a(n.get()):!1}function d(m){if(!l(m))return;const h=e*(m*-1);r.forEach(b=>b.add(h))}return{loop:d}}function im(e){const{max:t,length:n}=e;function r(s){const i=s-t;return n?i/-n:0}return{get:r}}function am(e,t,n,r,o){const{startEdge:s,endEdge:i}=e,{groupSlides:a}=o,c=f().map(t.measure),l=m(),d=h();function f(){return a(r).map(g=>xe(g)[i]-g[0][s]).map(oe)}function m(){return r.map(g=>n[s]-g[s]).map(g=>-oe(g))}function h(){return a(l).map(g=>g[0]).map((g,x)=>g+c[x])}return{snaps:l,snapsAligned:d}}function cm(e,t,n,r,o,s){const{groupSlides:i}=o,{min:a,max:c}=r,l=d();function d(){const m=i(s),h=!e||t==="keepSnaps";return n.length===1?[s]:h?m:m.slice(a,c).map((b,g,x)=>{const w=!g,v=To(x,g);if(w){const y=xe(x[0])+1;return Is(y)}if(v){const y=Xt(s)-xe(x)[0]+1;return Is(y,xe(x)[0])}return b})}return{slideRegistry:l}}function lm(e,t,n,r,o){const{reachedAny:s,removeOffset:i,constrain:a}=r;function c(b){return b.concat().sort((g,x)=>oe(g)-oe(x))[0]}function l(b){const g=e?i(b):a(b),x=t.map((v,y)=>({diff:d(v-g,0),index:y})).sort((v,y)=>oe(v.diff)-oe(y.diff)),{index:w}=x[0];return{index:w,distance:g}}function d(b,g){const x=[b,b+n,b-n];if(!e)return b;if(!g)return c(x);const w=x.filter(v=>Ro(v)===g);return w.length?c(w):xe(x)-n}function f(b,g){const x=t[b]-o.get(),w=d(x,g);return{index:b,distance:w}}function m(b,g){const x=o.get()+b,{index:w,distance:v}=l(x),y=!e&&s(x);if(!g||y)return{index:w,distance:b};const C=t[w]-v,E=b+d(C,0);return{index:w,distance:E}}return{byDistance:m,byIndex:f,shortcut:d}}function um(e,t,n,r,o,s,i){function a(f){const m=f.distance,h=f.index!==t.get();s.add(m),m&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),h&&(n.set(t.get()),t.set(f.index),i.emit("select"))}function c(f,m){const h=o.byDistance(f,m);a(h)}function l(f,m){const h=t.clone().set(f),b=o.byIndex(h.get(),m);a(b)}return{distance:c,index:l}}function dm(e,t,n,r,o,s,i,a){const c={passive:!0,capture:!0};let l=0;function d(h){if(!a)return;function b(g){if(new Date().getTime()-l>10)return;i.emit("slideFocusStart"),e.scrollLeft=0;const v=n.findIndex(y=>y.includes(g));Ao(v)&&(o.useDuration(0),r.index(v,0),i.emit("slideFocus"))}s.add(document,"keydown",f,!1),t.forEach((g,x)=>{s.add(g,"focus",w=>{(er(a)||a(h,w))&&b(x)},c)})}function f(h){h.code==="Tab"&&(l=new Date().getTime())}return{init:d}}function Lt(e){let t=e;function n(){return t}function r(c){t=i(c)}function o(c){t+=i(c)}function s(c){t-=i(c)}function i(c){return Ao(c)?c:c.get()}return{get:n,set:r,add:o,subtract:s}}function xa(e,t){const n=e.scroll==="x"?i:a,r=t.style;let o=null,s=!1;function i(m){return`translate3d(${m}px,0px,0px)`}function a(m){return`translate3d(0px,${m}px,0px)`}function c(m){if(s)return;const h=qp(e.direction(m));h!==o&&(r.transform=n(h),o=h)}function l(m){s=!m}function d(){s||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:d,to:c,toggleActive:l}}function fm(e,t,n,r,o,s,i,a,c){const d=$t(o),f=$t(o).reverse(),m=w().concat(v());function h(P,N){return P.reduce((j,_)=>j-o[_],N)}function b(P,N){return P.reduce((j,_)=>h(j,N)>0?j.concat([_]):j,[])}function g(P){return s.map((N,j)=>({start:N-r[j]+.5+P,end:N+t-.5+P}))}function x(P,N,j){const _=g(N);return P.map(D=>{const B=j?0:-n,W=j?n:0,H=j?"end":"start",I=_[D][H];return{index:D,loopPoint:I,slideLocation:Lt(-1),translate:xa(e,c[D]),target:()=>a.get()>I?B:W}})}function w(){const P=i[0],N=b(f,P);return x(N,n,!1)}function v(){const P=t-i[0]-1,N=b(d,P);return x(N,-n,!0)}function y(){return m.every(({index:P})=>{const N=d.filter(j=>j!==P);return h(N,t)<=.1})}function C(){m.forEach(P=>{const{target:N,translate:j,slideLocation:_}=P,D=N();D!==_.get()&&(j.to(D),_.set(D))})}function E(){m.forEach(P=>P.translate.clear())}return{canLoop:y,clear:E,loop:C,loopPoints:m}}function pm(e,t,n){let r,o=!1;function s(c){if(!n)return;function l(d){for(const f of d)if(f.type==="childList"){c.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(d=>{o||(er(n)||n(c,d))&&l(d)}),r.observe(e,{childList:!0})}function i(){r&&r.disconnect(),o=!0}return{init:s,destroy:i}}function mm(e,t,n,r){const o={};let s=null,i=null,a,c=!1;function l(){a=new IntersectionObserver(b=>{c||(b.forEach(g=>{const x=t.indexOf(g.target);o[x]=g}),s=null,i=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(b=>a.observe(b))}function d(){a&&a.disconnect(),c=!0}function f(b){return Ht(o).reduce((g,x)=>{const w=parseInt(x),{isIntersecting:v}=o[w];return(b&&v||!b&&!v)&&g.push(w),g},[])}function m(b=!0){if(b&&s)return s;if(!b&&i)return i;const g=f(b);return b&&(s=g),b||(i=g),g}return{init:l,destroy:d,get:m}}function hm(e,t,n,r,o,s){const{measureSize:i,startEdge:a,endEdge:c}=e,l=n[0]&&o,d=b(),f=g(),m=n.map(i),h=x();function b(){if(!l)return 0;const v=n[0];return oe(t[a]-v[a])}function g(){if(!l)return 0;const v=s.getComputedStyle(xe(r));return parseFloat(v.getPropertyValue(`margin-${c}`))}function x(){return n.map((v,y,C)=>{const E=!y,S=To(C,y);return E?m[y]+d:S?m[y]+f:C[y+1][a]-v[a]}).map(oe)}return{slideSizes:m,slideSizesWithGaps:h,startGap:d,endGap:f}}function gm(e,t,n,r,o,s,i,a,c){const{startEdge:l,endEdge:d,direction:f}=e,m=Ao(n);function h(w,v){return $t(w).filter(y=>y%v===0).map(y=>w.slice(y,y+v))}function b(w){return w.length?$t(w).reduce((v,y,C)=>{const E=xe(v)||0,S=E===0,P=y===Xt(w),N=o[l]-s[E][l],j=o[l]-s[y][d],_=!r&&S?f(i):0,D=!r&&P?f(a):0,B=oe(j-D-(N+_));return C&&B>t+c&&v.push(y),P&&v.push(w.length),v},[]).map((v,y,C)=>{const E=Math.max(C[y-1]||0);return w.slice(E,v)}):[]}function g(w){return m?h(w,n):b(w)}return{groupSlides:g}}function vm(e,t,n,r,o,s,i){const{align:a,axis:c,direction:l,startIndex:d,loop:f,duration:m,dragFree:h,dragThreshold:b,inViewThreshold:g,slidesToScroll:x,skipSnaps:w,containScroll:v,watchResize:y,watchSlides:C,watchDrag:E,watchFocus:S}=s,P=2,N=Qp(),j=N.measure(t),_=n.map(N.measure),D=Yp(c,l),B=D.measureSize(j),W=Jp(B),H=Gp(a,B),I=!f&&!!v,T=f||!!v,{slideSizes:O,slideSizesWithGaps:A,startGap:M,endGap:U}=hm(D,j,_,n,T,o),z=gm(D,B,x,f,j,_,M,U,P),{snaps:K,snapsAligned:J}=am(D,H,j,_,z),Q=-xe(K)+xe(A),{snapsContained:ce,scrollContainLimit:le}=rm(B,Q,J,v,P),L=I?ce:J,{limit:q}=om(Q,L,f),ee=ba(Xt(L),d,f),G=ee.clone(),$=$t(n),k=({dragHandler:ct,scrollBody:wr,scrollBounds:Cr,options:{loop:nn}})=>{nn||Cr.constrain(ct.pointerDown()),wr.seek()},Z=({scrollBody:ct,translate:wr,location:Cr,offsetLocation:nn,previousLocation:fl,scrollLooper:pl,slideLooper:ml,dragHandler:hl,animation:gl,eventHandler:Xo,scrollBounds:vl,options:{loop:Ko}},Qo)=>{const Jo=ct.settled(),bl=!vl.shouldConstrain(),es=Ko?Jo:Jo&&bl,ts=es&&!hl.pointerDown();ts&&gl.stop();const xl=Cr.get()*Qo+fl.get()*(1-Qo);nn.set(xl),Ko&&(pl.loop(ct.direction()),ml.loop()),wr.to(nn.get()),ts&&Xo.emit("settle"),es||Xo.emit("scroll")},te=Zp(r,o,()=>k(yr),ct=>Z(yr,ct)),ie=.68,ue=L[ee.get()],fe=Lt(ue),je=Lt(ue),me=Lt(ue),Ze=Lt(ue),jt=tm(fe,me,je,Ze,m,ie),br=lm(f,L,Q,q,Ze),xr=um(te,ee,G,jt,br,Ze,i),Go=im(q),Zo=zt(),ul=mm(t,n,i,g),{slideRegistry:Yo}=cm(I,v,L,le,z,$),dl=dm(e,n,Yo,xr,jt,Zo,i,S),yr={ownerDocument:r,ownerWindow:o,eventHandler:i,containerRect:j,slideRects:_,animation:te,axis:D,dragHandler:Xp(D,e,r,o,Ze,Kp(D,o),fe,te,xr,jt,br,ee,i,W,h,b,w,ie,E),eventStore:Zo,percentOfView:W,index:ee,indexPrevious:G,limit:q,location:fe,offsetLocation:me,previousLocation:je,options:s,resizeHandler:em(t,i,o,n,D,y,N),scrollBody:jt,scrollBounds:nm(q,me,Ze,jt,W),scrollLooper:sm(Q,q,me,[fe,me,je,Ze]),scrollProgress:Go,scrollSnapList:L.map(Go.get),scrollSnaps:L,scrollTarget:br,scrollTo:xr,slideLooper:fm(D,B,Q,O,A,K,L,me,n),slideFocus:dl,slidesHandler:pm(t,i,C),slidesInView:ul,slideIndexes:$,slideRegistry:Yo,slidesToScroll:z,target:Ze,translate:xa(D,t)};return yr}function bm(){let e={},t;function n(l){t=l}function r(l){return e[l]||[]}function o(l){return r(l).forEach(d=>d(t,l)),c}function s(l,d){return e[l]=r(l).concat([d]),c}function i(l,d){return e[l]=r(l).filter(f=>f!==d),c}function a(){e={}}const c={init:n,emit:o,off:i,on:s,clear:a};return c}const xm={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function ym(e){function t(s,i){return va(s,i||{})}function n(s){const i=s.breakpoints||{},a=Ht(i).filter(c=>e.matchMedia(c).matches).map(c=>i[c]).reduce((c,l)=>t(c,l),{});return t(s,a)}function r(s){return s.map(i=>Ht(i.breakpoints||{})).reduce((i,a)=>i.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function wm(e){let t=[];function n(s,i){return t=i.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(s,e)),i.reduce((a,c)=>Object.assign(a,{[c.name]:c}),{})}function r(){t=t.filter(s=>s.destroy())}return{init:n,destroy:r}}function Ln(e,t,n){const r=e.ownerDocument,o=r.defaultView,s=ym(o),i=wm(s),a=zt(),c=bm(),{mergeOptions:l,optionsAtMedia:d,optionsMediaQueries:f}=s,{on:m,off:h,emit:b}=c,g=D;let x=!1,w,v=l(xm,Ln.globalOptions),y=l(v),C=[],E,S,P;function N(){const{container:$,slides:k}=y;S=(no($)?e.querySelector($):$)||e.children[0];const te=no(k)?S.querySelectorAll(k):k;P=[].slice.call(te||S.children)}function j($){const k=vm(e,S,P,r,o,$,c);if($.loop&&!k.slideLooper.canLoop()){const Z=Object.assign({},$,{loop:!1});return j(Z)}return k}function _($,k){x||(v=l(v,$),y=d(v),C=k||C,N(),w=j(y),f([v,...C.map(({options:Z})=>Z)]).forEach(Z=>a.add(Z,"change",D)),y.active&&(w.translate.to(w.location.get()),w.animation.init(),w.slidesInView.init(),w.slideFocus.init(G),w.eventHandler.init(G),w.resizeHandler.init(G),w.slidesHandler.init(G),w.options.loop&&w.slideLooper.loop(),S.offsetParent&&P.length&&w.dragHandler.init(G),E=i.init(G,C)))}function D($,k){const Z=z();B(),_(l({startIndex:Z},$),k),c.emit("reInit")}function B(){w.dragHandler.destroy(),w.eventStore.clear(),w.translate.clear(),w.slideLooper.clear(),w.resizeHandler.destroy(),w.slidesHandler.destroy(),w.slidesInView.destroy(),w.animation.destroy(),i.destroy(),a.clear()}function W(){x||(x=!0,a.clear(),B(),c.emit("destroy"),c.clear())}function H($,k,Z){!y.active||x||(w.scrollBody.useBaseFriction().useDuration(k===!0?0:y.duration),w.scrollTo.index($,Z||0))}function I($){const k=w.index.add(1).get();H(k,$,-1)}function T($){const k=w.index.add(-1).get();H(k,$,1)}function O(){return w.index.add(1).get()!==z()}function A(){return w.index.add(-1).get()!==z()}function M(){return w.scrollSnapList}function U(){return w.scrollProgress.get(w.offsetLocation.get())}function z(){return w.index.get()}function K(){return w.indexPrevious.get()}function J(){return w.slidesInView.get()}function Q(){return w.slidesInView.get(!1)}function ce(){return E}function le(){return w}function L(){return e}function q(){return S}function ee(){return P}const G={canScrollNext:O,canScrollPrev:A,containerNode:q,internalEngine:le,destroy:W,off:h,on:m,emit:b,plugins:ce,previousScrollSnap:K,reInit:g,rootNode:L,scrollNext:I,scrollPrev:T,scrollProgress:U,scrollSnapList:M,scrollTo:H,selectedScrollSnap:z,slideNodes:ee,slidesInView:J,slidesNotInView:Q};return _(t,n),setTimeout(()=>c.emit("init"),0),G}Ln.globalOptions=void 0;function jo(e={},t=[]){const n=R.useRef(e),r=R.useRef(t),[o,s]=R.useState(),[i,a]=R.useState(),c=R.useCallback(()=>{o&&o.reInit(n.current,r.current)},[o]);return R.useEffect(()=>{No(n.current,e)||(n.current=e,c())},[e,c]),R.useEffect(()=>{Wp(r.current,t)||(r.current=t,c())},[t,c]),R.useEffect(()=>{if(zp()&&i){Ln.globalOptions=jo.globalOptions;const l=Ln(i,n.current,r.current);return s(l),()=>l.destroy()}else s(void 0)},[i,s]),[a,o]}jo.globalOptions=void 0;const ya=p.createContext(null);function tr(){const e=p.useContext(ya);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}function wa({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:o,children:s,...i}){const[a,c]=jo({...t,axis:e==="horizontal"?"x":"y"},r),[l,d]=p.useState(!1),[f,m]=p.useState(!1),[h,b]=p.useState(0),g=p.useCallback(y=>{y&&(d(y.canScrollPrev()),m(y.canScrollNext()),b(y.selectedScrollSnap()))},[]),x=p.useCallback(()=>{c==null||c.scrollPrev()},[c]),w=p.useCallback(()=>{c==null||c.scrollNext()},[c]),v=p.useCallback(y=>{y.key==="ArrowLeft"?(y.preventDefault(),x()):y.key==="ArrowRight"&&(y.preventDefault(),w())},[x,w]);return p.useEffect(()=>{!c||!n||n(c)},[c,n]),p.useEffect(()=>{if(c)return g(c),c.on("reInit",g),c.on("select",g),()=>{c==null||c.off("select",g)}},[c,g]),u.jsx(ya.Provider,{value:{carouselRef:a,api:c,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:x,scrollNext:w,canScrollPrev:l,canScrollNext:f,selectedIndex:h},children:u.jsx("div",{onKeyDownCapture:v,className:X("relative",o),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...i,children:s})})}function Ca({className:e,children:t,...n}){const{carouselRef:r,selectedIndex:o}=tr(),s=p.Children.map(t,(i,a)=>p.isValidElement(i)?p.cloneElement(i,{"data-index":a,"data-active":a===o}):i);return u.jsx("div",{ref:r,className:"overflow-hidden","data-slot":"carousel-content",children:u.jsx("div",{className:X("flex",e),...n,children:s})})}function Sa({className:e,...t}){return u.jsx("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:X("min-w-0 shrink-0 grow-0 basis-full",e),...t})}function Cm({children:e,className:t,...n}){const{scrollPrev:r,canScrollPrev:o}=tr();return u.jsxs("button",{...n,className:X("cursor-pointer",t),"data-can-scroll":o,"data-slot":"carousel-previous",disabled:!o,onClick:r,children:[e,u.jsx("span",{className:"sr-only",children:"Previous slide"})]})}function Sm({children:e,className:t,...n}){const{scrollNext:r,canScrollNext:o}=tr();return u.jsxs("button",{...n,className:X("cursor-pointer",t),"data-can-scroll":o,"data-slot":"carousel-next",disabled:!o,onClick:r,children:[e,u.jsx("span",{className:"sr-only",children:"Next slide"})]})}function Em({className:e="",textVariant:t,variant:n}){const{scrollPrev:r,scrollNext:o,canScrollPrev:s,canScrollNext:i}=tr();return u.jsx(vr,{canScrollNext:i,canScrollPrevious:s,className:e,onNext:o,onPrevious:r,textVariant:t,variant:n})}function ne(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Os(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function at(...e){return t=>{let n=!1;const r=e.map(o=>{const s=Os(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():Os(e[o],null)}}}}function se(...e){return p.useCallback(at(...e),e)}function Pm(e,t){const n=p.createContext(t),r=s=>{const{children:i,...a}=s,c=p.useMemo(()=>a,Object.values(a));return u.jsx(n.Provider,{value:c,children:i})};r.displayName=e+"Provider";function o(s){const i=p.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,o]}function Kt(e,t=[]){let n=[];function r(s,i){const a=p.createContext(i),c=n.length;n=[...n,i];const l=f=>{var w;const{scope:m,children:h,...b}=f,g=((w=m==null?void 0:m[e])==null?void 0:w[c])||a,x=p.useMemo(()=>b,Object.values(b));return u.jsx(g.Provider,{value:x,children:h})};l.displayName=s+"Provider";function d(f,m){var g;const h=((g=m==null?void 0:m[e])==null?void 0:g[c])||a,b=p.useContext(h);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[l,d]}const o=()=>{const s=n.map(i=>p.createContext(i));return function(a){const c=(a==null?void 0:a[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return o.scopeName=e,[r,Nm(o,...t)]}function Nm(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((a,{useScope:c,scopeName:l})=>{const f=c(s)[`__scope${l}`];return{...a,...f}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Am(e){const t=Rm(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(jm);if(c){const l=c.props.children,d=a.map(f=>f===c?p.Children.count(l)>1?p.Children.only(null):p.isValidElement(l)?l.props.children:null:f);return u.jsx(t,{...i,ref:o,children:p.isValidElement(l)?p.cloneElement(l,void 0,d):null})}return u.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function Rm(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=Im(o),a=km(s,o.props);return o.type!==p.Fragment&&(a.ref=r?at(r,i):i),p.cloneElement(o,a)}return p.Children.count(o)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Tm=Symbol("radix.slottable");function jm(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Tm}function km(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const c=s(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Im(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Om=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],re=Om.reduce((e,t)=>{const n=Am(`Primitive.${t}`),r=p.forwardRef((o,s)=>{const{asChild:i,...a}=o,c=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(c,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Mm(e,t){e&&Wn.flushSync(()=>e.dispatchEvent(t))}function et(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Lm(e,t=globalThis==null?void 0:globalThis.document){const n=et(e);p.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var _m="DismissableLayer",oo="dismissableLayer.update",Dm="dismissableLayer.pointerDownOutside",Vm="dismissableLayer.focusOutside",Ms,Ea=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),nr=p.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...c}=e,l=p.useContext(Ea),[d,f]=p.useState(null),m=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=p.useState({}),b=se(t,P=>f(P)),g=Array.from(l.layers),[x]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),w=g.indexOf(x),v=d?g.indexOf(d):-1,y=l.layersWithOutsidePointerEventsDisabled.size>0,C=v>=w,E=$m(P=>{const N=P.target,j=[...l.branches].some(_=>_.contains(N));!C||j||(o==null||o(P),i==null||i(P),P.defaultPrevented||a==null||a())},m),S=Hm(P=>{const N=P.target;[...l.branches].some(_=>_.contains(N))||(s==null||s(P),i==null||i(P),P.defaultPrevented||a==null||a())},m);return Lm(P=>{v===l.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&a&&(P.preventDefault(),a()))},m),p.useEffect(()=>{if(d)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Ms=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(d)),l.layers.add(d),Ls(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Ms)}},[d,m,n,l]),p.useEffect(()=>()=>{d&&(l.layers.delete(d),l.layersWithOutsidePointerEventsDisabled.delete(d),Ls())},[d,l]),p.useEffect(()=>{const P=()=>h({});return document.addEventListener(oo,P),()=>document.removeEventListener(oo,P)},[]),u.jsx(re.div,{...c,ref:b,style:{pointerEvents:y?C?"auto":"none":void 0,...e.style},onFocusCapture:ne(e.onFocusCapture,S.onFocusCapture),onBlurCapture:ne(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:ne(e.onPointerDownCapture,E.onPointerDownCapture)})});nr.displayName=_m;var Fm="DismissableLayerBranch",Bm=p.forwardRef((e,t)=>{const n=p.useContext(Ea),r=p.useRef(null),o=se(t,r);return p.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),u.jsx(re.div,{...e,ref:o})});Bm.displayName=Fm;function $m(e,t=globalThis==null?void 0:globalThis.document){const n=et(e),r=p.useRef(!1),o=p.useRef(()=>{});return p.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let c=function(){Pa(Dm,n,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Hm(e,t=globalThis==null?void 0:globalThis.document){const n=et(e),r=p.useRef(!1);return p.useEffect(()=>{const o=s=>{s.target&&!r.current&&Pa(Vm,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Ls(){const e=new CustomEvent(oo);document.dispatchEvent(e)}function Pa(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Mm(o,s):o.dispatchEvent(s)}var Lr=0;function ko(){p.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??_s()),document.body.insertAdjacentElement("beforeend",e[1]??_s()),Lr++,()=>{Lr===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Lr--}},[])}function _s(){const 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 _r="focusScope.autoFocusOnMount",Dr="focusScope.autoFocusOnUnmount",Ds={bubbles:!1,cancelable:!0},zm="FocusScope",rr=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,c]=p.useState(null),l=et(o),d=et(s),f=p.useRef(null),m=se(t,g=>c(g)),h=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let g=function(y){if(h.paused||!a)return;const C=y.target;a.contains(C)?f.current=C:Be(f.current,{select:!0})},x=function(y){if(h.paused||!a)return;const C=y.relatedTarget;C!==null&&(a.contains(C)||Be(f.current,{select:!0}))},w=function(y){if(document.activeElement===document.body)for(const E of y)E.removedNodes.length>0&&Be(a)};document.addEventListener("focusin",g),document.addEventListener("focusout",x);const v=new MutationObserver(w);return a&&v.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",x),v.disconnect()}}},[r,a,h.paused]),p.useEffect(()=>{if(a){Fs.add(h);const g=document.activeElement;if(!a.contains(g)){const w=new CustomEvent(_r,Ds);a.addEventListener(_r,l),a.dispatchEvent(w),w.defaultPrevented||(Wm(Ym(Na(a)),{select:!0}),document.activeElement===g&&Be(a))}return()=>{a.removeEventListener(_r,l),setTimeout(()=>{const w=new CustomEvent(Dr,Ds);a.addEventListener(Dr,d),a.dispatchEvent(w),w.defaultPrevented||Be(g??document.body,{select:!0}),a.removeEventListener(Dr,d),Fs.remove(h)},0)}}},[a,l,d,h]);const b=p.useCallback(g=>{if(!n&&!r||h.paused)return;const x=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,w=document.activeElement;if(x&&w){const v=g.currentTarget,[y,C]=Um(v);y&&C?!g.shiftKey&&w===C?(g.preventDefault(),n&&Be(y,{select:!0})):g.shiftKey&&w===y&&(g.preventDefault(),n&&Be(C,{select:!0})):w===v&&g.preventDefault()}},[n,r,h.paused]);return u.jsx(re.div,{tabIndex:-1,...i,ref:m,onKeyDown:b})});rr.displayName=zm;function Wm(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Be(r,{select:t}),document.activeElement!==n)return}function Um(e){const t=Na(e),n=Vs(t,e),r=Vs(t.reverse(),e);return[n,r]}function Na(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Vs(e,t){for(const n of e)if(!qm(n,{upTo:t}))return n}function qm(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Gm(e){return e instanceof HTMLInputElement&&"select"in e}function Be(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Gm(e)&&t&&e.select()}}var Fs=Zm();function Zm(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Bs(e,t),e.unshift(t)},remove(t){var n;e=Bs(e,t),(n=e[0])==null||n.resume()}}}function Bs(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Ym(e){return e.filter(t=>t.tagName!=="A")}var de=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},Xm=p[" useId ".trim().toString()]||(()=>{}),Km=0;function Ke(e){const[t,n]=p.useState(Xm());return de(()=>{n(r=>r??String(Km++))},[e]),e||(t?`radix-${t}`:"")}var Qm=typeof document<"u",Jm=function(){},En=Qm?R.useLayoutEffect:Jm;function _n(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!_n(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!_n(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Aa(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function $s(e,t){const n=Aa(e);return Math.round(t*n)/n}function Vr(e){const t=p.useRef(e);return En(()=>{t.current=e}),t}function eh(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:c,open:l}=e,[d,f]=p.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=p.useState(r);_n(m,r)||h(r);const[b,g]=p.useState(null),[x,w]=p.useState(null),v=p.useCallback(A=>{A!==S.current&&(S.current=A,g(A))},[]),y=p.useCallback(A=>{A!==P.current&&(P.current=A,w(A))},[]),C=s||b,E=i||x,S=p.useRef(null),P=p.useRef(null),N=p.useRef(d),j=c!=null,_=Vr(c),D=Vr(o),B=Vr(l),W=p.useCallback(()=>{if(!S.current||!P.current)return;const A={placement:t,strategy:n,middleware:m};D.current&&(A.platform=D.current),Jd(S.current,P.current,A).then(M=>{const U={...M,isPositioned:B.current!==!1};H.current&&!_n(N.current,U)&&(N.current=U,Wn.flushSync(()=>{f(U)}))})},[m,t,n,D,B]);En(()=>{l===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,f(A=>({...A,isPositioned:!1})))},[l]);const H=p.useRef(!1);En(()=>(H.current=!0,()=>{H.current=!1}),[]),En(()=>{if(C&&(S.current=C),E&&(P.current=E),C&&E){if(_.current)return _.current(C,E,W);W()}},[C,E,W,_,j]);const I=p.useMemo(()=>({reference:S,floating:P,setReference:v,setFloating:y}),[v,y]),T=p.useMemo(()=>({reference:C,floating:E}),[C,E]),O=p.useMemo(()=>{const A={position:n,left:0,top:0};if(!T.floating)return A;const M=$s(T.floating,d.x),U=$s(T.floating,d.y);return a?{...A,transform:"translate("+M+"px, "+U+"px)",...Aa(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:U}},[n,a,T.floating,d.x,d.y]);return p.useMemo(()=>({...d,update:W,refs:I,elements:T,floatingStyles:O}),[d,W,I,T,O])}const th=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?bs({element:r.current,padding:o}).fn(n):{}:r?bs({element:r,padding:o}).fn(n):{}}}},nh=(e,t)=>({...Gd(e),options:[e,t]}),rh=(e,t)=>({...Zd(e),options:[e,t]}),oh=(e,t)=>({...Qd(e),options:[e,t]}),sh=(e,t)=>({...Yd(e),options:[e,t]}),ih=(e,t)=>({...Xd(e),options:[e,t]}),ah=(e,t)=>({...Kd(e),options:[e,t]}),ch=(e,t)=>({...th(e),options:[e,t]});var lh="Arrow",Ra=p.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return u.jsx(re.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:u.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ra.displayName=lh;var uh=Ra;function dh(e){const[t,n]=p.useState(void 0);return de(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const c=s.borderBoxSize,l=Array.isArray(c)?c[0]:c;i=l.inlineSize,a=l.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Io="Popper",[Ta,or]=Kt(Io),[fh,ja]=Ta(Io),ka=e=>{const{__scopePopper:t,children:n}=e,[r,o]=p.useState(null);return u.jsx(fh,{scope:t,anchor:r,onAnchorChange:o,children:n})};ka.displayName=Io;var Ia="PopperAnchor",Oa=p.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=ja(Ia,n),i=p.useRef(null),a=se(t,i),c=p.useRef(null);return p.useEffect(()=>{const l=c.current;c.current=(r==null?void 0:r.current)||i.current,l!==c.current&&s.onAnchorChange(c.current)}),r?null:u.jsx(re.div,{...o,ref:a})});Oa.displayName=Ia;var Oo="PopperContent",[ph,mh]=Ta(Oo),Ma=p.forwardRef((e,t)=>{var L,q,ee,G,$,k;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:m=!1,updatePositionStrategy:h="optimized",onPlaced:b,...g}=e,x=ja(Oo,n),[w,v]=p.useState(null),y=se(t,Z=>v(Z)),[C,E]=p.useState(null),S=dh(C),P=(S==null?void 0:S.width)??0,N=(S==null?void 0:S.height)??0,j=r+(s!=="center"?"-"+s:""),_=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},D=Array.isArray(l)?l:[l],B=D.length>0,W={padding:_,boundary:D.filter(gh),altBoundary:B},{refs:H,floatingStyles:I,placement:T,isPositioned:O,middlewareData:A}=eh({strategy:"fixed",placement:j,whileElementsMounted:(...Z)=>qd(...Z,{animationFrame:h==="always"}),elements:{reference:x.anchor},middleware:[nh({mainAxis:o+N,alignmentAxis:i}),c&&rh({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?oh():void 0,...W}),c&&sh({...W}),ih({...W,apply:({elements:Z,rects:te,availableWidth:ie,availableHeight:ue})=>{const{width:fe,height:je}=te.reference,me=Z.floating.style;me.setProperty("--radix-popper-available-width",`${ie}px`),me.setProperty("--radix-popper-available-height",`${ue}px`),me.setProperty("--radix-popper-anchor-width",`${fe}px`),me.setProperty("--radix-popper-anchor-height",`${je}px`)}}),C&&ch({element:C,padding:a}),vh({arrowWidth:P,arrowHeight:N}),m&&ah({strategy:"referenceHidden",...W})]}),[M,U]=Da(T),z=et(b);de(()=>{O&&(z==null||z())},[O,z]);const K=(L=A.arrow)==null?void 0:L.x,J=(q=A.arrow)==null?void 0:q.y,Q=((ee=A.arrow)==null?void 0:ee.centerOffset)!==0,[ce,le]=p.useState();return de(()=>{w&&le(window.getComputedStyle(w).zIndex)},[w]),u.jsx("div",{ref:H.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--radix-popper-transform-origin":[(G=A.transformOrigin)==null?void 0:G.x,($=A.transformOrigin)==null?void 0:$.y].join(" "),...((k=A.hide)==null?void 0:k.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsx(ph,{scope:n,placedSide:M,onArrowChange:E,arrowX:K,arrowY:J,shouldHideArrow:Q,children:u.jsx(re.div,{"data-side":M,"data-align":U,...g,ref:y,style:{...g.style,animation:O?void 0:"none"}})})})});Ma.displayName=Oo;var La="PopperArrow",hh={top:"bottom",right:"left",bottom:"top",left:"right"},_a=p.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=mh(La,r),i=hh[s.placedSide];return u.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:u.jsx(uh,{...o,ref:n,style:{...o.style,display:"block"}})})});_a.displayName=La;function gh(e){return e!==null}var vh=e=>({name:"transformOrigin",options:e,fn(t){var x,w,v;const{placement:n,rects:r,middlewareData:o}=t,i=((x=o.arrow)==null?void 0:x.centerOffset)!==0,a=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[l,d]=Da(n),f={start:"0%",center:"50%",end:"100%"}[d],m=(((w=o.arrow)==null?void 0:w.x)??0)+a/2,h=(((v=o.arrow)==null?void 0:v.y)??0)+c/2;let b="",g="";return l==="bottom"?(b=i?f:`${m}px`,g=`${-c}px`):l==="top"?(b=i?f:`${m}px`,g=`${r.floating.height+c}px`):l==="right"?(b=`${-c}px`,g=i?f:`${h}px`):l==="left"&&(b=`${r.floating.width+c}px`,g=i?f:`${h}px`),{data:{x:b,y:g}}}});function Da(e){const[t,n="center"]=e.split("-");return[t,n]}var Va=ka,Mo=Oa,Fa=Ma,Ba=_a,bh="Portal",sr=p.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,s]=p.useState(!1);de(()=>s(!0),[]);const i=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?Wt.createPortal(u.jsx(re.div,{...r,ref:t}),i):null});sr.displayName=bh;function xh(e,t){return p.useReducer((n,r)=>t[n][r]??n,e)}var At=e=>{const{present:t,children:n}=e,r=yh(t),o=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),s=se(r.ref,wh(o));return typeof n=="function"||r.isPresent?p.cloneElement(o,{ref:s}):null};At.displayName="Presence";function yh(e){const[t,n]=p.useState(),r=p.useRef(null),o=p.useRef(e),s=p.useRef("none"),i=e?"mounted":"unmounted",[a,c]=xh(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const l=ln(r.current);s.current=a==="mounted"?l:"none"},[a]),de(()=>{const l=r.current,d=o.current;if(d!==e){const m=s.current,h=ln(l);e?c("MOUNT"):h==="none"||(l==null?void 0:l.display)==="none"?c("UNMOUNT"):c(d&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),de(()=>{if(t){let l;const d=t.ownerDocument.defaultView??window,f=h=>{const g=ln(r.current).includes(CSS.escape(h.animationName));if(h.target===t&&g&&(c("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",l=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},m=h=>{h.target===t&&(s.current=ln(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(l),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:p.useCallback(l=>{r.current=l?getComputedStyle(l):null,n(l)},[])}}function ln(e){return(e==null?void 0:e.animationName)||"none"}function wh(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Ch(e){const t=Sh(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(Ph);if(c){const l=c.props.children,d=a.map(f=>f===c?p.Children.count(l)>1?p.Children.only(null):p.isValidElement(l)?l.props.children:null:f);return u.jsx(t,{...i,ref:o,children:p.isValidElement(l)?p.cloneElement(l,void 0,d):null})}return u.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function Sh(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=Ah(o),a=Nh(s,o.props);return o.type!==p.Fragment&&(a.ref=r?at(r,i):i),p.cloneElement(o,a)}return p.Children.count(o)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Eh=Symbol("radix.slottable");function Ph(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Eh}function Nh(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const c=s(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Ah(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Rh=p[" useInsertionEffect ".trim().toString()]||de;function Dn({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=Th({defaultProp:t,onChange:n}),a=e!==void 0,c=a?e:o;{const d=p.useRef(e!==void 0);p.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=a},[a,r])}const l=p.useCallback(d=>{var f;if(a){const m=jh(d)?d(e):d;m!==e&&((f=i.current)==null||f.call(i,m))}else s(d)},[a,e,s,i]);return[c,l]}function Th({defaultProp:e,onChange:t}){const[n,r]=p.useState(e),o=p.useRef(n),s=p.useRef(t);return Rh(()=>{s.current=t},[t]),p.useEffect(()=>{var i;o.current!==n&&((i=s.current)==null||i.call(s,n),o.current=n)},[n,o]),[n,r,s]}function jh(e){return typeof e=="function"}var kh=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},dt=new WeakMap,un=new WeakMap,dn={},Fr=0,$a=function(e){return e&&(e.host||$a(e.parentNode))},Ih=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=$a(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Oh=function(e,t,n,r){var o=Ih(t,Array.isArray(e)?e:[e]);dn[n]||(dn[n]=new WeakMap);var s=dn[n],i=[],a=new Set,c=new Set(o),l=function(f){!f||a.has(f)||(a.add(f),l(f.parentNode))};o.forEach(l);var d=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(m){if(a.has(m))d(m);else try{var h=m.getAttribute(r),b=h!==null&&h!=="false",g=(dt.get(m)||0)+1,x=(s.get(m)||0)+1;dt.set(m,g),s.set(m,x),i.push(m),g===1&&b&&un.set(m,!0),x===1&&m.setAttribute(n,"true"),b||m.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",m,w)}})};return d(t),a.clear(),Fr++,function(){i.forEach(function(f){var m=dt.get(f)-1,h=s.get(f)-1;dt.set(f,m),s.set(f,h),m||(un.has(f)||f.removeAttribute(r),un.delete(f)),h||f.removeAttribute(n)}),Fr--,Fr||(dt=new WeakMap,dt=new WeakMap,un=new WeakMap,dn={})}},Lo=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=kh(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Oh(r,o,n,"aria-hidden")):function(){return null}},Ee=function(){return Ee=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Ee.apply(this,arguments)};function Ha(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Mh(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Pn="right-scroll-bar-position",Nn="width-before-scroll-bar",Lh="with-scroll-bars-hidden",_h="--removed-body-scroll-bar-size";function Br(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Dh(e,t){var n=R.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Vh=typeof window<"u"?p.useLayoutEffect:p.useEffect,Hs=new WeakMap;function Fh(e,t){var n=Dh(null,function(r){return e.forEach(function(o){return Br(o,r)})});return Vh(function(){var r=Hs.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(a){s.has(a)||Br(a,null)}),s.forEach(function(a){o.has(a)||Br(a,i)})}Hs.set(n,e)},[e]),n}function Bh(e){return e}function $h(e,t){t===void 0&&(t=Bh);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var c=function(){var d=i;i=[],d.forEach(s)},l=function(){return Promise.resolve().then(c)};l(),n={push:function(d){i.push(d),l()},filter:function(d){return i=i.filter(d),n}}}};return o}function Hh(e){e===void 0&&(e={});var t=$h(null);return t.options=Ee({async:!0,ssr:!1},e),t}var za=function(e){var t=e.sideCar,n=Ha(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return p.createElement(r,Ee({},n))};za.isSideCarExport=!0;function zh(e,t){return e.useMedium(t),za}var Wa=Hh(),$r=function(){},ir=p.forwardRef(function(e,t){var n=p.useRef(null),r=p.useState({onScrollCapture:$r,onWheelCapture:$r,onTouchMoveCapture:$r}),o=r[0],s=r[1],i=e.forwardProps,a=e.children,c=e.className,l=e.removeScrollBar,d=e.enabled,f=e.shards,m=e.sideCar,h=e.noRelative,b=e.noIsolation,g=e.inert,x=e.allowPinchZoom,w=e.as,v=w===void 0?"div":w,y=e.gapMode,C=Ha(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=m,S=Fh([n,t]),P=Ee(Ee({},C),o);return p.createElement(p.Fragment,null,d&&p.createElement(E,{sideCar:Wa,removeScrollBar:l,shards:f,noRelative:h,noIsolation:b,inert:g,setCallbacks:s,allowPinchZoom:!!x,lockRef:n,gapMode:y}),i?p.cloneElement(p.Children.only(a),Ee(Ee({},P),{ref:S})):p.createElement(v,Ee({},P,{className:c,ref:S}),a))});ir.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ir.classNames={fullWidth:Nn,zeroRight:Pn};var Wh=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Uh(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Wh();return t&&e.setAttribute("nonce",t),e}function qh(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Gh(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Zh=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Uh())&&(qh(t,n),Gh(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Yh=function(){var e=Zh();return function(t,n){p.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ua=function(){var e=Yh(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Xh={left:0,top:0,right:0,gap:0},Hr=function(e){return parseInt(e||"",10)||0},Kh=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Hr(n),Hr(r),Hr(o)]},Qh=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Xh;var t=Kh(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])}},Jh=Ua(),xt="data-scroll-locked",eg=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
4
- .`.concat(Lh,` {
3
+ ${window.location.href}`)}function Sp(){const e=encodeURIComponent(window.location.href);window.open(`https://www.facebook.com/sharer/sharer.php?u=${e}`,"_blank")}function Ep(e){const t=encodeURIComponent(window.location.href),n=encodeURIComponent(e||document.title);window.open(`https://twitter.com/intent/tweet?url=${t}&text=${n}`,"_blank")}function Pp(){const e=encodeURIComponent(window.location.href);window.open(`https://www.linkedin.com/sharing/share-offsite/?url=${e}`,"_blank")}const ga=p.forwardRef(({className:e,collapsible:t,type:n="single",...r},o)=>{const s=n==="multiple";return u.jsx(Ji,{ref:o,"data-slot":"accordion",className:e,collapsible:s?!0:t,lazyMount:!1,multiple:s,unmountOnExit:!1,...r})});ga.displayName="Accordion";function Np({className:e,...t}){return u.jsx(Yi,{"data-slot":"accordion-item",className:e,...t})}function Ap({className:e,children:t,...n}){return u.jsx("div",{className:"flex",children:u.jsx(Qi,{"data-slot":"accordion-trigger",className:K("cursor-pointer duration-200 flex flex-1 gap-6 items-center justify-between outline-none transition-all",e),...n,children:t})})}const va=p.forwardRef(({className:e,children:t,forceMount:n,style:r,...o},s)=>{const i={...r,"--accordion-content-height":"var(--height)"};return u.jsx(Xi,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden",style:i,...o,children:u.jsx("div",{ref:s,className:e,children:t})})});va.displayName="AccordionContent";const Rp="(min-width: 1024px)",Tp='[data-slot="accordion-item"]',jp="polygon(100% 0, 100% calc(100% - 66px), calc(100% - 66px) 100%, 0 100%, 0 0)",As="absolute bg-white h-[3px] left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-5";function ba({ariaDescription:e,ariaLabel:t,backgroundVideo:n,thumbnail:r,variant:o}){const[s,i]=R.useState(!1);let a="large-connect";return o==="digital"&&(a="large-digital"),u.jsxs(u.Fragment,{children:[u.jsxs("div",{className:"relative print:hidden",children:[u.jsx(qo,{children:r}),u.jsx("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",children:u.jsx(tn,{className:"scale-80 xs:scale-100",label:"Play Video",onClick:()=>i(!0),isPlaying:!1,variant:a})})]}),u.jsx(gr,{ariaDescription:e,ariaLabel:t,backgroundVideo:n,open:s,onOpenChange:c=>i(c),variant:o})]})}function ya(e){const t=R.Children.toArray(e);for(let n=t.length-1;n>=0;n-=1){const r=t[n];if(!(typeof r=="string"&&r.trim()==="")){if(R.isValidElement(r)&&r.type===R.Fragment){const o=ya(r.props.children);if(o!==void 0)return o;continue}return r}}}function kp(e){const t=ya(e);return R.isValidElement(t)?typeof t.type=="string"?t.type==="img"||t.type==="video":t.type===ba:!1}function xa(e){e.forEach(t=>{t.style.position="",t.style.top="",t.style.left="",t.style.width=""})}function Rs(e){return Array.from(e.querySelectorAll(Tp))}function Ip(e,t,n){if(!n.matches){e.style.height="",e.style.position="",xa(t);return}const r=window.getComputedStyle(e),o=Number.parseFloat(r.rowGap||r.gap||"0"),s=Number.parseFloat(r.columnGap||r.gap||"0"),a=(e.clientWidth-s)/2,c=[0,0];e.style.position="relative",t.forEach((l,d)=>{const f=d%2,m=c[f],h=f===0?0:a+s;l.style.position="absolute",l.style.top=`${m}px`,l.style.left=`${h}px`,l.style.width=`${a}px`,c[f]+=l.offsetHeight+o}),e.style.height=t.length>0?`${Math.max(...c)-o}px`:""}function Op(e){const t=window.matchMedia(Rp);let n=[],r=null;const o=()=>{r===null&&(r=window.requestAnimationFrame(()=>{r=null,Ip(e,Rs(e),t)}))},s=new ResizeObserver(()=>{o()});s.observe(e);const i=()=>{const l=Rs(e);n.forEach(d=>{s.unobserve(d)}),l.forEach(d=>{s.observe(d)}),n=l,o()},a=new MutationObserver(()=>{i()});a.observe(e,{childList:!0,subtree:!0});const c=()=>{o()};return t.addEventListener("change",c),i(),()=>{r!==null&&window.cancelAnimationFrame(r),s.disconnect(),a.disconnect(),t.removeEventListener("change",c),xa(n),e.style.height="",e.style.position=""}}function Mp(){return u.jsxs("div",{"aria-hidden":"true",className:"relative size-5",children:[u.jsx("div",{className:As}),u.jsx("div",{className:K(As,"duration-300 in-data-[state=closed]:rotate-90 transition-all")})]})}function Lp({children:e,triggerText:t}){return u.jsxs("div",{className:"hidden print:block",children:[u.jsx("div",{className:"hs-6 mb-6",children:t}),e]})}function _p({children:e,disabled:t,openBackground:n,triggerText:r,value:o,variant:s}){let i="bg-transparent";const a=kp(e)?"px-5 pt-4 pb-16 @lg:px-10":"px-5 py-4 @lg:px-10";n||(i=s==="connect"?"bg-cloud":"bg-white");const c=s==="connect"?"focus-visible:ring-4":"focus-visible:ring";return u.jsxs(u.Fragment,{children:[u.jsxs(Np,{className:"print:hidden",disabled:t,value:o,children:[u.jsxs(Ap,{className:K("bg-navy-500 focus-visible:bg-navy-300 hover:bg-navy-300 font-bold hs-9 px-5 @lg:px-10 py-4 ring-inset ring-navy-1000 text-white",c),children:[u.jsx("div",{className:"flex-1 text-left",children:r}),u.jsx(Mp,{})]}),u.jsx(va,{className:K("flex flex-col items-start gap-6 *:max-w-225",a,i),style:{clipPath:jp},children:e})]}),u.jsx(Lp,{triggerText:r,children:e})]})}function Dp({children:e,className:t="",defaultValue:n,detailWidth:r,disabled:o,headline:s,horizontalStroke:i,openBackground:a,twoColumn:c,variant:l="connect"}){const d=R.useRef(null),f=l==="connect"?"bg-white":"bg-cloud",m=So(l),{containerStrokeClasses:h,detailPageStrokeClasses:y}=Yt(f,i,l,r),g=Po(m,i,l);return R.useLayoutEffect(()=>{const b=d.current;if(!(!b||!c))return Op(b)},[c]),u.jsx(De,{detailWidth:r,outerClassName:K("@container",f,h,g,t,"print:bg-white"),children:u.jsxs("div",{className:`composite-pb ${y}`,children:[u.jsx("div",{className:"content-accordion-headline",children:s}),u.jsx(ga,{ref:d,className:K("content-accordion-list",c&&"content-accordion-list-two-column"),defaultValue:n,disabled:o,type:"multiple",children:R.Children.map(e,b=>R.isValidElement(b)?R.cloneElement(b,{openBackground:a,variant:l}):b)})]})})}function Vp(e){return e===1?{carouselNavigationClasses:"hidden",carouselNavigationContainerClasses:"justify-end"}:e===2?{carouselNavigationClasses:"md:hidden",carouselNavigationContainerClasses:"md:justify-end"}:{carouselNavigationClasses:"",carouselNavigationContainerClasses:""}}function Fp(e,t){const n=t==="navy";return n&&e==="connect"?{buttonIconVariant:"reversed-connect",buttonVariant:"reversed-connect",paginationVariant:"connect-reversed"}:n&&e==="digital"?{buttonIconVariant:"reversed-digital",buttonVariant:"reversed-digital",paginationVariant:"digital-reversed"}:e==="connect"?{buttonIconVariant:"reversed-connect",buttonVariant:"secondary",paginationVariant:"connect"}:{buttonIconVariant:"reversed-digital",buttonVariant:"secondary",paginationVariant:"digital"}}function Bp({background:e,button:t,children:n,className:r="",count:o,detailWidth:s,horizontalStroke:i,variant:a="connect"}){const[c,l]=R.useState(0),d=R.useRef(null),f=o??R.Children.count(n),{carouselNavigationClasses:m,carouselNavigationContainerClasses:h}=Vp(f),{resolvedBackground:y,hasSideColPadding:g}=ta(e,a,So(a)),b=ea[y],{buttonIconVariant:w,buttonVariant:v,paginationVariant:x}=Fp(a,y),{containerStrokeClasses:C,detailPageStrokeClasses:E}=Yt(b,i,a,s),S=Po(y,i,a);return u.jsx(De,{detailWidth:s,outerClassName:`print:hidden ${b} ${C} ${S} ${r}`,sideColPadded:g,children:u.jsxs("div",{className:`composite-pb ${E}`,children:[u.jsx(Xc,{parentSetActiveIndex:l,ref:d,children:R.Children.map(n,P=>R.isValidElement(P)?R.cloneElement(P,{buttonIconVariant:w}):P)}),u.jsxs("div",{className:`flex items-center justify-between mt-8 ${h}`,children:[u.jsx(vr,{activeIndex:c,className:m,count:f,onNext:()=>{var P;return(P=d.current)==null?void 0:P.next()},onPrevious:()=>{var P;return(P=d.current)==null?void 0:P.prev()},variant:x}),u.jsx(We,{variant:v,children:t})]})]})})}const Qn=e=>p.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M15.9259 6.49832C15.9259 6.40367 15.8883 6.31291 15.8214 6.24598C15.7544 6.17905 15.6637 6.14142 15.569 6.14142H8.43097C8.33631 6.14142 8.24556 6.17905 8.17863 6.24598C8.1117 6.31291 8.07407 6.40367 8.07407 6.49832V15.8385L12 13.0341L15.9259 15.8385V6.49832ZM18.0674 20L12 15.6656L5.93265 20V6.49832C5.93265 5.83573 6.19605 5.20046 6.66458 4.73193C7.1331 4.2634 7.76837 4 8.43097 4H15.569C16.2316 4 16.8669 4.2634 17.3354 4.73193C17.804 5.20046 18.0674 5.83573 18.0674 6.49832V20Z",fill:"currentColor"})),Jn=e=>p.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M15.5694 4C16.2319 4.00002 16.8675 4.26302 17.336 4.73145C17.8044 5.19991 18.0673 5.83555 18.0674 6.49805V20L12 15.666L5.93265 20V6.49805C5.93272 5.83555 6.1966 5.19991 6.66507 4.73145C7.13348 4.2633 7.76843 4.00009 8.43069 4H15.5694Z",fill:"currentColor"}));function $p({button:e,buttonIconVariant:t,headline:n,id:r,image:o,isBookmarked:s,onBookmark:i}){return u.jsxs("div",{className:"relative size-full",children:[u.jsx("div",{className:"absolute bg-black/50 size-full"}),u.jsx("div",{className:"absolute size-full [&_img]:object-cover [&_img]:size-full mix-blend-multiply",children:o}),u.jsxs("div",{className:"absolute bottom-6 left-0 px-6 w-full",children:[u.jsx("div",{className:"b-lg mb-6 text-white",children:n}),u.jsxs("div",{className:"flex gap-6 items-center justify-between",children:[u.jsx(We,{variant:"tertiary-reversed",children:e}),u.jsx(Rt,{variant:t,children:u.jsx("button",{"aria-label":s?"Remove bookmark":"Bookmark this item",onClick:()=>i(r),children:s?u.jsx(Jn,{}):u.jsx(Qn,{})})})]})]})]})}function Hp({image:e,variant:t,backgroundVideo:n}){const[r,o]=R.useState((n==null?void 0:n.autoplay)??!1),s=R.useRef(null),i=t==="connect"?"mini-connect":"mini-digital",a=()=>{s.current&&(s.current.togglePlayback(),o(!s.current.isPlaying))};return u.jsxs("div",{className:"min-h-85 overflow-hidden relative w-full print:hidden",children:[!!e&&u.jsx("div",{className:"h-85 [&_img]:object-cover [&_img]:size-full",children:e}),!!n&&u.jsxs(u.Fragment,{children:[u.jsx(Bo,{...n,ref:s}),u.jsx("div",{className:"absolute inset-0",children:u.jsx(De,{className:"h-full",children:u.jsx("div",{className:"absolute bottom-8 right-5 md:right-15 lg:right-30",children:u.jsx(tn,{label:"play video",onClick:a,isPlaying:r,variant:i})})})})]})]})}function Bt({className:e=""}){return u.jsx("span",{className:`h-3.5 w-0.5 ${e}`})}function zp({dividerClasses:e="",event:t}){return u.jsxs("div",{className:"b-sm flex gap-2 items-center mb-6 text-charcoal-800 in-data-[variant=digital]:text-white/80 print:text-charcoal-800",children:[t.date,!!(t.date&&t.location)&&u.jsx(Bt,{className:e}),t.location]})}function Wp({category:e,copy:t,headline:n,person:r}){let o;return r!=null&&r.image?o=u.jsx("img",{...r.image}):r!=null&&r.imageNode&&(o=r.imageNode),u.jsx(u.Fragment,{children:r?u.jsxs("div",{className:"flex gap-10 grow items-center mb-6 xl:mb-0",children:[!!o&&u.jsx("div",{className:"overflow-hidden rounded-full size-30 [&_img]:object-cover [&_img]:size-full",children:o}),u.jsxs("div",{className:"flex flex-col gap-6",children:[u.jsx("div",{className:"b-lg uppercase",children:r.title}),u.jsx("div",{className:"hs-4",children:r.name})]})]}):u.jsxs("div",{className:"flex flex-col gap-6 grow mb-6 xl:mb-0",children:[u.jsx("div",{className:"b-lg uppercase",children:e}),u.jsx(qo,{className:"print:hidden",children:n}),u.jsx("div",{className:"hidden print:block hs-4",children:n}),!!t&&u.jsx("div",{className:"b-base",children:t})]})})}function Up({dividerClasses:e,insight:t}){return u.jsxs("div",{className:"b-sm flex flex-col gap-1 mb-6 text-charcoal-800 in-data-[variant=digital]:text-white/80 print:text-charcoal-800",children:[!!(t.date||t.timeToRead)&&u.jsxs("div",{className:"flex gap-2 items-center",children:[t.date,!!(t.date&&t.timeToRead)&&u.jsx(Bt,{className:e}),t.timeToRead]}),!!(t.authorOne||t.authorTwo)&&u.jsxs("div",{className:"flex gap-2 items-center",children:[t.authorOne,!!(t.authorOne&&t.authorTwo)&&u.jsx(Bt,{className:e}),t.authorTwo]})]})}const wa=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{clipPath:"url(#clip0_129_64910)"},p.createElement("path",{d:"M5.08105 0.225098C6.15724 0.225098 7.03393 1.30122 7.03418 2.17725V17.8218C7.03418 18.8981 6.15739 19.7749 5.08105 19.7749H1.95215C0.875979 19.7747 0 18.6978 0 17.8218V2.17725C0.00020319 1.1012 0.876104 0.225301 1.95215 0.225098H5.08105ZM20 2.57861V17.4468H7.88477V2.57861H20ZM9.8125 13.3169V15.2437H11.7393V13.3169H9.8125ZM12.9658 13.3169V15.2437H14.8936V13.3169H12.9658ZM16.1455 13.3169V15.2437H18.0723V13.3169H16.1455ZM9.8125 10.563V12.4907H11.7393V10.563H9.8125ZM12.9658 10.563V12.4907H14.8936V10.563H12.9658ZM16.1455 10.563V12.4907H18.0723V10.563H16.1455ZM9.83691 4.73096V8.86084H18.0723V4.73096H9.83691Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_129_64910"},p.createElement("rect",{width:20,height:20,fill:"white"})))),Ca=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{clipPath:"url(#clip0_32_9938)"},p.createElement("path",{d:"M19.9796 14.9738V17.9846C19.9807 18.2642 19.9234 18.5408 19.8115 18.7969C19.6995 19.053 19.5353 19.2829 19.3293 19.4719C19.1233 19.6608 18.8802 19.8047 18.6154 19.8942C18.3506 19.9838 18.0701 20.017 17.7917 19.9919C14.7035 19.6563 11.737 18.601 9.13062 16.9108C6.70575 15.3699 4.64988 13.3141 3.10901 10.8892C1.4129 8.27099 0.357377 5.29008 0.0279519 2.18795C0.00287233 1.91042 0.0358551 1.63071 0.1248 1.36663C0.213745 1.10254 0.356703 0.859872 0.544572 0.654066C0.732442 0.448259 0.961106 0.283825 1.21601 0.171234C1.47091 0.058642 1.74646 0.000359723 2.02512 9.73016e-05H5.03593C5.52298 -0.00469635 5.99516 0.167778 6.36446 0.485372C6.73375 0.802966 6.97496 1.24401 7.04313 1.72629C7.17021 2.68982 7.40588 3.63587 7.74565 4.54641C7.88068 4.90563 7.90991 5.29602 7.82986 5.67133C7.74982 6.04665 7.56386 6.39115 7.29403 6.66402L6.01946 7.93859C7.44814 10.4512 9.52851 12.5315 12.0411 13.9602L13.3156 12.6856C13.5885 12.4158 13.933 12.2298 14.3083 12.1498C14.6836 12.0698 15.074 12.099 15.4332 12.234C16.3438 12.5738 17.2898 12.8095 18.2534 12.9365C18.7409 13.0053 19.1861 13.2509 19.5044 13.6265C19.8227 14.0021 19.9918 14.4817 19.9796 14.9738Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_32_9938"},p.createElement("rect",{width:20,height:20,fill:"white"}))));function Mr(e){var t;return typeof e=="string"?e:(t=Ie(e))==null?void 0:t.href}function Ts(e){return e==null?void 0:e.replace("tel:","")}function qp({dividerClasses:e="",person:t,textCtaVariant:n}){const r=Mr(t.fax),o=Ts(r),s=Mr(t.phone),i=Ts(s),a=Mr(t.linkedInUrl);return u.jsxs("div",{className:"flex flex-col gap-1 mb-6",children:[!!(a||t.location)&&u.jsxs("div",{className:"flex gap-2 items-center",children:[!!a&&u.jsx($e,{href:a,socialPlatform:"linkedin",variant:n}),!!(a&&t.location)&&u.jsx(Bt,{className:`print:hidden ${e}`}),!!t.location&&u.jsx("span",{className:"b-base text-charcoal-800 in-data-[variant=digital]:text-white/80 print:text-charcoal-800",children:t.location})]}),!!(s||r)&&u.jsxs("div",{className:"b-base flex gap-2 items-center text-navy-500",children:[!!s&&u.jsx(Ne,{className:"b-base font-bold print:inline-flex!",variant:n,children:u.jsxs("a",{href:s,children:[u.jsx(Ca,{className:"size-4"}),i]})}),!!(s&&r)&&u.jsx(Bt,{className:e}),!!r&&u.jsx(Ne,{className:"b-base font-bold print:inline-flex!",variant:n,children:u.jsxs("a",{href:r,children:[u.jsx(wa,{className:"size-4"}),o]})})]})]})}function Gp({email:e,phone:t}){return!e&&!t?null:u.jsxs("div",{className:"hidden print:flex flex-col gap-2",children:[u.jsx("div",{className:"hs-10 mb-1",children:"Contact Us:"}),u.jsx("div",{className:"b-base",children:t}),u.jsx("div",{className:"b-base",children:e})]})}const Zp="linear-gradient(215deg, color-mix(in srgb, var(--color-riptide-700) 24%, transparent) 7.85%, transparent 41.61%), linear-gradient(117deg, color-mix(in srgb, var(--color-riptide-700) 24%, transparent) 4.61%, transparent 27.62%), linear-gradient(180deg, color-mix(in srgb, var(--color-navy-700) 50%, transparent) 0%, color-mix(in srgb, var(--color-navy-500) 50%, transparent) 62.67%), url(/images/content-primary-feature-detail.jpg) 0px -38.481px / 100% 128.708% no-repeat, var(--color-navy-1000)";function Yp(e){return e==="digital"?{borderClasses:"border-white/30 print:border-charcoal-100",buttonVariant:"primary-digital",containerStyles:{background:Zp,backgroundBlendMode:"lighten, lighten, normal, normal, normal"},dividerClasses:"bg-white/30 print:bg-smoke",textCtaVariant:"digital"}:{borderClasses:"border-charcoal-100",buttonVariant:"primary",containerStyles:{},dividerClasses:"bg-smoke",textCtaVariant:"basic"}}function Kp({backgroundVideo:e,bottomChild:t,button:n,category:r,className:o="",copy:s,event:i,headline:a,horizontalStroke:c,image:l,insight:d,person:f,printEmail:m,printPhone:h,variant:y="connect"}){const g=!!(l||e),b=g?"mb-12":"mb-20",{borderClasses:w,buttonVariant:v,containerStyles:x,dividerClasses:C,textCtaVariant:E}=Yp(y),S=y==="digital"?"bg-navy-1000":"bg-white",{containerStrokeClasses:P}=Yt(S,c,y);return u.jsxs("div",{className:K("pt-12 lg:pt-15 print:pt-15 data-[variant=digital]:text-white print:[background:white]! print:text-black!",P,o),"data-variant":y,style:x,children:[u.jsxs(De,{className:`flex flex-col xl:flex-row print:flex-col xl:gap-40 print:gap-0 xl:items-center print:items-stretch ${b}`,children:[u.jsx(Wp,{category:r,copy:s,headline:a,person:f}),u.jsxs("div",{className:`border-t-2 max-w-76 min-w-76 pt-6 ${w}`,children:[i&&u.jsx(zp,{dividerClasses:C,event:i}),d&&u.jsx(Up,{dividerClasses:C,insight:d}),f&&u.jsx(qp,{dividerClasses:C,person:f,textCtaVariant:E}),u.jsx(We,{variant:v,children:n}),u.jsx(Gp,{email:m,phone:h})]})]}),g&&u.jsx(Hp,{backgroundVideo:e,image:l,variant:y}),t]})}function Xp(e){return Object.prototype.toString.call(e)==="[object Object]"}function js(e){return Xp(e)||Array.isArray(e)}function Qp(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function No(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const o=JSON.stringify(Object.keys(e.breakpoints||{})),s=JSON.stringify(Object.keys(t.breakpoints||{}));return o!==s?!1:n.every(i=>{const a=e[i],c=t[i];return typeof a=="function"?`${a}`==`${c}`:!js(a)||!js(c)?a===c:No(a,c)})}function ks(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function Jp(e,t){if(e.length!==t.length)return!1;const n=ks(e),r=ks(t);return n.every((o,s)=>{const i=r[s];return No(o,i)})}function Ao(e){return typeof e=="number"}function no(e){return typeof e=="string"}function er(e){return typeof e=="boolean"}function Is(e){return Object.prototype.toString.call(e)==="[object Object]"}function oe(e){return Math.abs(e)}function Ro(e){return Math.sign(e)}function Vt(e,t){return oe(e-t)}function em(e,t){if(e===0||t===0||oe(e)<=oe(t))return 0;const n=Vt(oe(e),oe(t));return oe(n/e)}function tm(e){return Math.round(e*100)/100}function $t(e){return Ht(e).map(Number)}function ye(e){return e[Kt(e)]}function Kt(e){return Math.max(0,e.length-1)}function To(e,t){return t===Kt(e)}function Os(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function Ht(e){return Object.keys(e)}function Sa(e,t){return[e,t].reduce((n,r)=>(Ht(r).forEach(o=>{const s=n[o],i=r[o],a=Is(s)&&Is(i);n[o]=a?Sa(s,i):i}),n),{})}function ro(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function nm(e,t){const n={start:r,center:o,end:s};function r(){return 0}function o(c){return s(c)/2}function s(c){return t-c}function i(c,l){return no(e)?n[e](c):e(t,c,l)}return{measure:i}}function zt(){let e=[];function t(o,s,i,a={passive:!0}){let c;if("addEventListener"in o)o.addEventListener(s,i,a),c=()=>o.removeEventListener(s,i,a);else{const l=o;l.addListener(i),c=()=>l.removeListener(i)}return e.push(c),r}function n(){e=e.filter(o=>o())}const r={add:t,clear:n};return r}function rm(e,t,n,r){const o=zt(),s=1e3/60;let i=null,a=0,c=0;function l(){o.add(e,"visibilitychange",()=>{e.hidden&&y()})}function d(){h(),o.clear()}function f(b){if(!c)return;i||(i=b,n(),n());const w=b-i;for(i=b,a+=w;a>=s;)n(),a-=s;const v=a/s;r(v),c&&(c=t.requestAnimationFrame(f))}function m(){c||(c=t.requestAnimationFrame(f))}function h(){t.cancelAnimationFrame(c),i=null,a=0,c=0}function y(){i=null,a=0}return{init:l,destroy:d,start:m,stop:h,update:n,render:r}}function om(e,t){const n=t==="rtl",r=e==="y",o=r?"y":"x",s=r?"x":"y",i=!r&&n?-1:1,a=d(),c=f();function l(y){const{height:g,width:b}=y;return r?g:b}function d(){return r?"top":n?"right":"left"}function f(){return r?"bottom":n?"left":"right"}function m(y){return y*i}return{scroll:o,cross:s,startEdge:a,endEdge:c,measureSize:l,direction:m}}function Je(e=0,t=0){const n=oe(e-t);function r(l){return l<e}function o(l){return l>t}function s(l){return r(l)||o(l)}function i(l){return s(l)?r(l)?e:t:l}function a(l){return n?l-n*Math.ceil((l-t)/n):l}return{length:n,max:t,min:e,constrain:i,reachedAny:s,reachedMax:o,reachedMin:r,removeOffset:a}}function Ea(e,t,n){const{constrain:r}=Je(0,e),o=e+1;let s=i(t);function i(m){return n?oe((o+m)%o):r(m)}function a(){return s}function c(m){return s=i(m),f}function l(m){return d().set(a()+m)}function d(){return Ea(e,a(),n)}const f={get:a,set:c,add:l,clone:d};return f}function sm(e,t,n,r,o,s,i,a,c,l,d,f,m,h,y,g,b,w,v){const{cross:x,direction:C}=e,E=["INPUT","SELECT","TEXTAREA"],S={passive:!1},P=zt(),N=zt(),j=Je(50,225).constrain(h.measure(20)),_={mouse:300,touch:400},D={mouse:500,touch:600},B=y?43:25;let W=!1,H=0,I=0,T=!1,O=!1,A=!1,M=!1;function U(k){if(!v)return;function Z(ie){(er(v)||v(k,ie))&&le(ie)}const te=t;P.add(te,"dragstart",ie=>ie.preventDefault(),S).add(te,"touchmove",()=>{},S).add(te,"touchend",()=>{}).add(te,"touchstart",Z).add(te,"mousedown",Z).add(te,"touchcancel",q).add(te,"contextmenu",q).add(te,"click",ee,!0)}function z(){P.clear(),N.clear()}function X(){const k=M?n:t;N.add(k,"touchmove",L,S).add(k,"touchend",q).add(k,"mousemove",L,S).add(k,"mouseup",q)}function J(k){const Z=k.nodeName||"";return E.includes(Z)}function Q(){return(y?D:_)[M?"mouse":"touch"]}function ce(k,Z){const te=f.add(Ro(k)*-1),ie=d.byDistance(k,!y).distance;return y||oe(k)<j?ie:b&&Z?ie*.5:d.byIndex(te.get(),0).distance}function le(k){const Z=ro(k,r);M=Z,A=y&&Z&&!k.buttons&&W,W=Vt(o.get(),i.get())>=2,!(Z&&k.button!==0)&&(J(k.target)||(T=!0,s.pointerDown(k),l.useFriction(0).useDuration(0),o.set(i),X(),H=s.readPoint(k),I=s.readPoint(k,x),m.emit("pointerDown")))}function L(k){if(!ro(k,r)&&k.touches.length>=2)return q(k);const te=s.readPoint(k),ie=s.readPoint(k,x),ue=Vt(te,H),fe=Vt(ie,I);if(!O&&!M&&(!k.cancelable||(O=ue>fe,!O)))return q(k);const je=s.pointerMove(k);ue>g&&(A=!0),l.useFriction(.3).useDuration(.75),a.start(),o.add(C(je)),k.preventDefault()}function q(k){const te=d.byDistance(0,!1).index!==f.get(),ie=s.pointerUp(k)*Q(),ue=ce(C(ie),te),fe=em(ie,ue),je=B-10*fe,me=w+fe/50;O=!1,T=!1,N.clear(),l.useDuration(je).useFriction(me),c.distance(ue,!y),M=!1,m.emit("pointerUp")}function ee(k){A&&(k.stopPropagation(),k.preventDefault(),A=!1)}function G(){return T}return{init:U,destroy:z,pointerDown:G}}function im(e,t){let r,o;function s(f){return f.timeStamp}function i(f,m){const y=`client${(m||e.scroll)==="x"?"X":"Y"}`;return(ro(f,t)?f:f.touches[0])[y]}function a(f){return r=f,o=f,i(f)}function c(f){const m=i(f)-i(o),h=s(f)-s(r)>170;return o=f,h&&(r=f),m}function l(f){if(!r||!o)return 0;const m=i(o)-i(r),h=s(f)-s(r),y=s(f)-s(o)>170,g=m/h;return h&&!y&&oe(g)>.1?g:0}return{pointerDown:a,pointerMove:c,pointerUp:l,readPoint:i}}function am(){function e(n){const{offsetTop:r,offsetLeft:o,offsetWidth:s,offsetHeight:i}=n;return{top:r,right:o+s,bottom:r+i,left:o,width:s,height:i}}return{measure:e}}function cm(e){function t(r){return e*(r/100)}return{measure:t}}function lm(e,t,n,r,o,s,i){const a=[e].concat(r);let c,l,d=[],f=!1;function m(b){return o.measureSize(i.measure(b))}function h(b){if(!s)return;l=m(e),d=r.map(m);function w(v){for(const x of v){if(f)return;const C=x.target===e,E=r.indexOf(x.target),S=C?l:d[E],P=m(C?e:r[E]);if(oe(P-S)>=.5){b.reInit(),t.emit("resize");break}}}c=new ResizeObserver(v=>{(er(s)||s(b,v))&&w(v)}),n.requestAnimationFrame(()=>{a.forEach(v=>c.observe(v))})}function y(){f=!0,c&&c.disconnect()}return{init:h,destroy:y}}function um(e,t,n,r,o,s){let i=0,a=0,c=o,l=s,d=e.get(),f=0;function m(){const S=r.get()-e.get(),P=!c;let N=0;return P?(i=0,n.set(r),e.set(r),N=S):(n.set(e),i+=S/c,i*=l,d+=i,e.add(i),N=d-f),a=Ro(N),f=d,E}function h(){const S=r.get()-t.get();return oe(S)<.001}function y(){return c}function g(){return a}function b(){return i}function w(){return x(o)}function v(){return C(s)}function x(S){return c=S,E}function C(S){return l=S,E}const E={direction:g,duration:y,velocity:b,seek:m,settled:h,useBaseFriction:v,useBaseDuration:w,useFriction:C,useDuration:x};return E}function dm(e,t,n,r,o){const s=o.measure(10),i=o.measure(50),a=Je(.1,.99);let c=!1;function l(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function d(h){if(!l())return;const y=e.reachedMin(t.get())?"min":"max",g=oe(e[y]-t.get()),b=n.get()-t.get(),w=a.constrain(g/i);n.subtract(b*w),!h&&oe(b)<s&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function f(h){c=!h}return{shouldConstrain:l,constrain:d,toggleActive:f}}function fm(e,t,n,r,o){const s=Je(-t+e,0),i=f(),a=d(),c=m();function l(y,g){return Vt(y,g)<=1}function d(){const y=i[0],g=ye(i),b=i.lastIndexOf(y),w=i.indexOf(g)+1;return Je(b,w)}function f(){return n.map((y,g)=>{const{min:b,max:w}=s,v=s.constrain(y),x=!g,C=To(n,g);return x?w:C||l(b,v)?b:l(w,v)?w:v}).map(y=>parseFloat(y.toFixed(3)))}function m(){if(t<=e+o)return[s.max];if(r==="keepSnaps")return i;const{min:y,max:g}=a;return i.slice(y,g)}return{snapsContained:c,scrollContainLimit:a}}function pm(e,t,n){const r=t[0],o=n?r-e:ye(t);return{limit:Je(o,r)}}function mm(e,t,n,r){const s=t.min+.1,i=t.max+.1,{reachedMin:a,reachedMax:c}=Je(s,i);function l(m){return m===1?c(n.get()):m===-1?a(n.get()):!1}function d(m){if(!l(m))return;const h=e*(m*-1);r.forEach(y=>y.add(h))}return{loop:d}}function hm(e){const{max:t,length:n}=e;function r(s){const i=s-t;return n?i/-n:0}return{get:r}}function gm(e,t,n,r,o){const{startEdge:s,endEdge:i}=e,{groupSlides:a}=o,c=f().map(t.measure),l=m(),d=h();function f(){return a(r).map(g=>ye(g)[i]-g[0][s]).map(oe)}function m(){return r.map(g=>n[s]-g[s]).map(g=>-oe(g))}function h(){return a(l).map(g=>g[0]).map((g,b)=>g+c[b])}return{snaps:l,snapsAligned:d}}function vm(e,t,n,r,o,s){const{groupSlides:i}=o,{min:a,max:c}=r,l=d();function d(){const m=i(s),h=!e||t==="keepSnaps";return n.length===1?[s]:h?m:m.slice(a,c).map((y,g,b)=>{const w=!g,v=To(b,g);if(w){const x=ye(b[0])+1;return Os(x)}if(v){const x=Kt(s)-ye(b)[0]+1;return Os(x,ye(b)[0])}return y})}return{slideRegistry:l}}function bm(e,t,n,r,o){const{reachedAny:s,removeOffset:i,constrain:a}=r;function c(y){return y.concat().sort((g,b)=>oe(g)-oe(b))[0]}function l(y){const g=e?i(y):a(y),b=t.map((v,x)=>({diff:d(v-g,0),index:x})).sort((v,x)=>oe(v.diff)-oe(x.diff)),{index:w}=b[0];return{index:w,distance:g}}function d(y,g){const b=[y,y+n,y-n];if(!e)return y;if(!g)return c(b);const w=b.filter(v=>Ro(v)===g);return w.length?c(w):ye(b)-n}function f(y,g){const b=t[y]-o.get(),w=d(b,g);return{index:y,distance:w}}function m(y,g){const b=o.get()+y,{index:w,distance:v}=l(b),x=!e&&s(b);if(!g||x)return{index:w,distance:y};const C=t[w]-v,E=y+d(C,0);return{index:w,distance:E}}return{byDistance:m,byIndex:f,shortcut:d}}function ym(e,t,n,r,o,s,i){function a(f){const m=f.distance,h=f.index!==t.get();s.add(m),m&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),h&&(n.set(t.get()),t.set(f.index),i.emit("select"))}function c(f,m){const h=o.byDistance(f,m);a(h)}function l(f,m){const h=t.clone().set(f),y=o.byIndex(h.get(),m);a(y)}return{distance:c,index:l}}function xm(e,t,n,r,o,s,i,a){const c={passive:!0,capture:!0};let l=0;function d(h){if(!a)return;function y(g){if(new Date().getTime()-l>10)return;i.emit("slideFocusStart"),e.scrollLeft=0;const v=n.findIndex(x=>x.includes(g));Ao(v)&&(o.useDuration(0),r.index(v,0),i.emit("slideFocus"))}s.add(document,"keydown",f,!1),t.forEach((g,b)=>{s.add(g,"focus",w=>{(er(a)||a(h,w))&&y(b)},c)})}function f(h){h.code==="Tab"&&(l=new Date().getTime())}return{init:d}}function Lt(e){let t=e;function n(){return t}function r(c){t=i(c)}function o(c){t+=i(c)}function s(c){t-=i(c)}function i(c){return Ao(c)?c:c.get()}return{get:n,set:r,add:o,subtract:s}}function Pa(e,t){const n=e.scroll==="x"?i:a,r=t.style;let o=null,s=!1;function i(m){return`translate3d(${m}px,0px,0px)`}function a(m){return`translate3d(0px,${m}px,0px)`}function c(m){if(s)return;const h=tm(e.direction(m));h!==o&&(r.transform=n(h),o=h)}function l(m){s=!m}function d(){s||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:d,to:c,toggleActive:l}}function wm(e,t,n,r,o,s,i,a,c){const d=$t(o),f=$t(o).reverse(),m=w().concat(v());function h(P,N){return P.reduce((j,_)=>j-o[_],N)}function y(P,N){return P.reduce((j,_)=>h(j,N)>0?j.concat([_]):j,[])}function g(P){return s.map((N,j)=>({start:N-r[j]+.5+P,end:N+t-.5+P}))}function b(P,N,j){const _=g(N);return P.map(D=>{const B=j?0:-n,W=j?n:0,H=j?"end":"start",I=_[D][H];return{index:D,loopPoint:I,slideLocation:Lt(-1),translate:Pa(e,c[D]),target:()=>a.get()>I?B:W}})}function w(){const P=i[0],N=y(f,P);return b(N,n,!1)}function v(){const P=t-i[0]-1,N=y(d,P);return b(N,-n,!0)}function x(){return m.every(({index:P})=>{const N=d.filter(j=>j!==P);return h(N,t)<=.1})}function C(){m.forEach(P=>{const{target:N,translate:j,slideLocation:_}=P,D=N();D!==_.get()&&(j.to(D),_.set(D))})}function E(){m.forEach(P=>P.translate.clear())}return{canLoop:x,clear:E,loop:C,loopPoints:m}}function Cm(e,t,n){let r,o=!1;function s(c){if(!n)return;function l(d){for(const f of d)if(f.type==="childList"){c.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(d=>{o||(er(n)||n(c,d))&&l(d)}),r.observe(e,{childList:!0})}function i(){r&&r.disconnect(),o=!0}return{init:s,destroy:i}}function Sm(e,t,n,r){const o={};let s=null,i=null,a,c=!1;function l(){a=new IntersectionObserver(y=>{c||(y.forEach(g=>{const b=t.indexOf(g.target);o[b]=g}),s=null,i=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(y=>a.observe(y))}function d(){a&&a.disconnect(),c=!0}function f(y){return Ht(o).reduce((g,b)=>{const w=parseInt(b),{isIntersecting:v}=o[w];return(y&&v||!y&&!v)&&g.push(w),g},[])}function m(y=!0){if(y&&s)return s;if(!y&&i)return i;const g=f(y);return y&&(s=g),y||(i=g),g}return{init:l,destroy:d,get:m}}function Em(e,t,n,r,o,s){const{measureSize:i,startEdge:a,endEdge:c}=e,l=n[0]&&o,d=y(),f=g(),m=n.map(i),h=b();function y(){if(!l)return 0;const v=n[0];return oe(t[a]-v[a])}function g(){if(!l)return 0;const v=s.getComputedStyle(ye(r));return parseFloat(v.getPropertyValue(`margin-${c}`))}function b(){return n.map((v,x,C)=>{const E=!x,S=To(C,x);return E?m[x]+d:S?m[x]+f:C[x+1][a]-v[a]}).map(oe)}return{slideSizes:m,slideSizesWithGaps:h,startGap:d,endGap:f}}function Pm(e,t,n,r,o,s,i,a,c){const{startEdge:l,endEdge:d,direction:f}=e,m=Ao(n);function h(w,v){return $t(w).filter(x=>x%v===0).map(x=>w.slice(x,x+v))}function y(w){return w.length?$t(w).reduce((v,x,C)=>{const E=ye(v)||0,S=E===0,P=x===Kt(w),N=o[l]-s[E][l],j=o[l]-s[x][d],_=!r&&S?f(i):0,D=!r&&P?f(a):0,B=oe(j-D-(N+_));return C&&B>t+c&&v.push(x),P&&v.push(w.length),v},[]).map((v,x,C)=>{const E=Math.max(C[x-1]||0);return w.slice(E,v)}):[]}function g(w){return m?h(w,n):y(w)}return{groupSlides:g}}function Nm(e,t,n,r,o,s,i){const{align:a,axis:c,direction:l,startIndex:d,loop:f,duration:m,dragFree:h,dragThreshold:y,inViewThreshold:g,slidesToScroll:b,skipSnaps:w,containScroll:v,watchResize:x,watchSlides:C,watchDrag:E,watchFocus:S}=s,P=2,N=am(),j=N.measure(t),_=n.map(N.measure),D=om(c,l),B=D.measureSize(j),W=cm(B),H=nm(a,B),I=!f&&!!v,T=f||!!v,{slideSizes:O,slideSizesWithGaps:A,startGap:M,endGap:U}=Em(D,j,_,n,T,o),z=Pm(D,B,b,f,j,_,M,U,P),{snaps:X,snapsAligned:J}=gm(D,H,j,_,z),Q=-ye(X)+ye(A),{snapsContained:ce,scrollContainLimit:le}=fm(B,Q,J,v,P),L=I?ce:J,{limit:q}=pm(Q,L,f),ee=Ea(Kt(L),d,f),G=ee.clone(),$=$t(n),k=({dragHandler:ct,scrollBody:wr,scrollBounds:Cr,options:{loop:nn}})=>{nn||Cr.constrain(ct.pointerDown()),wr.seek()},Z=({scrollBody:ct,translate:wr,location:Cr,offsetLocation:nn,previousLocation:bl,scrollLooper:yl,slideLooper:xl,dragHandler:wl,animation:Cl,eventHandler:Ko,scrollBounds:Sl,options:{loop:Xo}},Qo)=>{const Jo=ct.settled(),El=!Sl.shouldConstrain(),es=Xo?Jo:Jo&&El,ts=es&&!wl.pointerDown();ts&&Cl.stop();const Pl=Cr.get()*Qo+bl.get()*(1-Qo);nn.set(Pl),Xo&&(yl.loop(ct.direction()),xl.loop()),wr.to(nn.get()),ts&&Ko.emit("settle"),es||Ko.emit("scroll")},te=rm(r,o,()=>k(xr),ct=>Z(xr,ct)),ie=.68,ue=L[ee.get()],fe=Lt(ue),je=Lt(ue),me=Lt(ue),Ze=Lt(ue),jt=um(fe,me,je,Ze,m,ie),br=bm(f,L,Q,q,Ze),yr=ym(te,ee,G,jt,br,Ze,i),Go=hm(q),Zo=zt(),gl=Sm(t,n,i,g),{slideRegistry:Yo}=vm(I,v,L,le,z,$),vl=xm(e,n,Yo,yr,jt,Zo,i,S),xr={ownerDocument:r,ownerWindow:o,eventHandler:i,containerRect:j,slideRects:_,animation:te,axis:D,dragHandler:sm(D,e,r,o,Ze,im(D,o),fe,te,yr,jt,br,ee,i,W,h,y,w,ie,E),eventStore:Zo,percentOfView:W,index:ee,indexPrevious:G,limit:q,location:fe,offsetLocation:me,previousLocation:je,options:s,resizeHandler:lm(t,i,o,n,D,x,N),scrollBody:jt,scrollBounds:dm(q,me,Ze,jt,W),scrollLooper:mm(Q,q,me,[fe,me,je,Ze]),scrollProgress:Go,scrollSnapList:L.map(Go.get),scrollSnaps:L,scrollTarget:br,scrollTo:yr,slideLooper:wm(D,B,Q,O,A,X,L,me,n),slideFocus:vl,slidesHandler:Cm(t,i,C),slidesInView:gl,slideIndexes:$,slideRegistry:Yo,slidesToScroll:z,target:Ze,translate:Pa(D,t)};return xr}function Am(){let e={},t;function n(l){t=l}function r(l){return e[l]||[]}function o(l){return r(l).forEach(d=>d(t,l)),c}function s(l,d){return e[l]=r(l).concat([d]),c}function i(l,d){return e[l]=r(l).filter(f=>f!==d),c}function a(){e={}}const c={init:n,emit:o,off:i,on:s,clear:a};return c}const Rm={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Tm(e){function t(s,i){return Sa(s,i||{})}function n(s){const i=s.breakpoints||{},a=Ht(i).filter(c=>e.matchMedia(c).matches).map(c=>i[c]).reduce((c,l)=>t(c,l),{});return t(s,a)}function r(s){return s.map(i=>Ht(i.breakpoints||{})).reduce((i,a)=>i.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function jm(e){let t=[];function n(s,i){return t=i.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(s,e)),i.reduce((a,c)=>Object.assign(a,{[c.name]:c}),{})}function r(){t=t.filter(s=>s.destroy())}return{init:n,destroy:r}}function Ln(e,t,n){const r=e.ownerDocument,o=r.defaultView,s=Tm(o),i=jm(s),a=zt(),c=Am(),{mergeOptions:l,optionsAtMedia:d,optionsMediaQueries:f}=s,{on:m,off:h,emit:y}=c,g=D;let b=!1,w,v=l(Rm,Ln.globalOptions),x=l(v),C=[],E,S,P;function N(){const{container:$,slides:k}=x;S=(no($)?e.querySelector($):$)||e.children[0];const te=no(k)?S.querySelectorAll(k):k;P=[].slice.call(te||S.children)}function j($){const k=Nm(e,S,P,r,o,$,c);if($.loop&&!k.slideLooper.canLoop()){const Z=Object.assign({},$,{loop:!1});return j(Z)}return k}function _($,k){b||(v=l(v,$),x=d(v),C=k||C,N(),w=j(x),f([v,...C.map(({options:Z})=>Z)]).forEach(Z=>a.add(Z,"change",D)),x.active&&(w.translate.to(w.location.get()),w.animation.init(),w.slidesInView.init(),w.slideFocus.init(G),w.eventHandler.init(G),w.resizeHandler.init(G),w.slidesHandler.init(G),w.options.loop&&w.slideLooper.loop(),S.offsetParent&&P.length&&w.dragHandler.init(G),E=i.init(G,C)))}function D($,k){const Z=z();B(),_(l({startIndex:Z},$),k),c.emit("reInit")}function B(){w.dragHandler.destroy(),w.eventStore.clear(),w.translate.clear(),w.slideLooper.clear(),w.resizeHandler.destroy(),w.slidesHandler.destroy(),w.slidesInView.destroy(),w.animation.destroy(),i.destroy(),a.clear()}function W(){b||(b=!0,a.clear(),B(),c.emit("destroy"),c.clear())}function H($,k,Z){!x.active||b||(w.scrollBody.useBaseFriction().useDuration(k===!0?0:x.duration),w.scrollTo.index($,Z||0))}function I($){const k=w.index.add(1).get();H(k,$,-1)}function T($){const k=w.index.add(-1).get();H(k,$,1)}function O(){return w.index.add(1).get()!==z()}function A(){return w.index.add(-1).get()!==z()}function M(){return w.scrollSnapList}function U(){return w.scrollProgress.get(w.offsetLocation.get())}function z(){return w.index.get()}function X(){return w.indexPrevious.get()}function J(){return w.slidesInView.get()}function Q(){return w.slidesInView.get(!1)}function ce(){return E}function le(){return w}function L(){return e}function q(){return S}function ee(){return P}const G={canScrollNext:O,canScrollPrev:A,containerNode:q,internalEngine:le,destroy:W,off:h,on:m,emit:y,plugins:ce,previousScrollSnap:X,reInit:g,rootNode:L,scrollNext:I,scrollPrev:T,scrollProgress:U,scrollSnapList:M,scrollTo:H,selectedScrollSnap:z,slideNodes:ee,slidesInView:J,slidesNotInView:Q};return _(t,n),setTimeout(()=>c.emit("init"),0),G}Ln.globalOptions=void 0;function jo(e={},t=[]){const n=R.useRef(e),r=R.useRef(t),[o,s]=R.useState(),[i,a]=R.useState(),c=R.useCallback(()=>{o&&o.reInit(n.current,r.current)},[o]);return R.useEffect(()=>{No(n.current,e)||(n.current=e,c())},[e,c]),R.useEffect(()=>{Jp(r.current,t)||(r.current=t,c())},[t,c]),R.useEffect(()=>{if(Qp()&&i){Ln.globalOptions=jo.globalOptions;const l=Ln(i,n.current,r.current);return s(l),()=>l.destroy()}else s(void 0)},[i,s]),[a,o]}jo.globalOptions=void 0;const Na=p.createContext(null);function tr(){const e=p.useContext(Na);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}function Aa({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:o,children:s,...i}){const[a,c]=jo({...t,axis:e==="horizontal"?"x":"y"},r),[l,d]=p.useState(!1),[f,m]=p.useState(!1),[h,y]=p.useState(0),g=p.useCallback(x=>{x&&(d(x.canScrollPrev()),m(x.canScrollNext()),y(x.selectedScrollSnap()))},[]),b=p.useCallback(()=>{c==null||c.scrollPrev()},[c]),w=p.useCallback(()=>{c==null||c.scrollNext()},[c]),v=p.useCallback(x=>{x.key==="ArrowLeft"?(x.preventDefault(),b()):x.key==="ArrowRight"&&(x.preventDefault(),w())},[b,w]);return p.useEffect(()=>{!c||!n||n(c)},[c,n]),p.useEffect(()=>{if(c)return g(c),c.on("reInit",g),c.on("select",g),()=>{c==null||c.off("select",g)}},[c,g]),u.jsx(Na.Provider,{value:{carouselRef:a,api:c,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:b,scrollNext:w,canScrollPrev:l,canScrollNext:f,selectedIndex:h},children:u.jsx("div",{onKeyDownCapture:v,className:K("relative",o),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...i,children:s})})}function Ra({className:e,children:t,...n}){const{carouselRef:r,selectedIndex:o}=tr(),s=p.Children.map(t,(i,a)=>p.isValidElement(i)?p.cloneElement(i,{"data-index":a,"data-active":a===o}):i);return u.jsx("div",{ref:r,className:"overflow-hidden","data-slot":"carousel-content",children:u.jsx("div",{className:K("flex",e),...n,children:s})})}function Ta({className:e,...t}){return u.jsx("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:K("min-w-0 shrink-0 grow-0 basis-full",e),...t})}function km({children:e,className:t,...n}){const{scrollPrev:r,canScrollPrev:o}=tr();return u.jsxs("button",{...n,className:K("cursor-pointer",t),"data-can-scroll":o,"data-slot":"carousel-previous",disabled:!o,onClick:r,children:[e,u.jsx("span",{className:"sr-only",children:"Previous slide"})]})}function Im({children:e,className:t,...n}){const{scrollNext:r,canScrollNext:o}=tr();return u.jsxs("button",{...n,className:K("cursor-pointer",t),"data-can-scroll":o,"data-slot":"carousel-next",disabled:!o,onClick:r,children:[e,u.jsx("span",{className:"sr-only",children:"Next slide"})]})}function Om({className:e="",textVariant:t,variant:n}){const{scrollPrev:r,scrollNext:o,canScrollPrev:s,canScrollNext:i}=tr();return u.jsx(vr,{canScrollNext:i,canScrollPrevious:s,className:e,onNext:o,onPrevious:r,textVariant:t,variant:n})}function ne(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Ms(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function at(...e){return t=>{let n=!1;const r=e.map(o=>{const s=Ms(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():Ms(e[o],null)}}}}function se(...e){return p.useCallback(at(...e),e)}function Mm(e,t){const n=p.createContext(t),r=s=>{const{children:i,...a}=s,c=p.useMemo(()=>a,Object.values(a));return u.jsx(n.Provider,{value:c,children:i})};r.displayName=e+"Provider";function o(s){const i=p.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,o]}function Xt(e,t=[]){let n=[];function r(s,i){const a=p.createContext(i),c=n.length;n=[...n,i];const l=f=>{var w;const{scope:m,children:h,...y}=f,g=((w=m==null?void 0:m[e])==null?void 0:w[c])||a,b=p.useMemo(()=>y,Object.values(y));return u.jsx(g.Provider,{value:b,children:h})};l.displayName=s+"Provider";function d(f,m){var g;const h=((g=m==null?void 0:m[e])==null?void 0:g[c])||a,y=p.useContext(h);if(y)return y;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[l,d]}const o=()=>{const s=n.map(i=>p.createContext(i));return function(a){const c=(a==null?void 0:a[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return o.scopeName=e,[r,Lm(o,...t)]}function Lm(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((a,{useScope:c,scopeName:l})=>{const f=c(s)[`__scope${l}`];return{...a,...f}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function _m(e){const t=Dm(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(Fm);if(c){const l=c.props.children,d=a.map(f=>f===c?p.Children.count(l)>1?p.Children.only(null):p.isValidElement(l)?l.props.children:null:f);return u.jsx(t,{...i,ref:o,children:p.isValidElement(l)?p.cloneElement(l,void 0,d):null})}return u.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function Dm(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=$m(o),a=Bm(s,o.props);return o.type!==p.Fragment&&(a.ref=r?at(r,i):i),p.cloneElement(o,a)}return p.Children.count(o)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Vm=Symbol("radix.slottable");function Fm(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Vm}function Bm(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const c=s(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function $m(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Hm=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],re=Hm.reduce((e,t)=>{const n=_m(`Primitive.${t}`),r=p.forwardRef((o,s)=>{const{asChild:i,...a}=o,c=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(c,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function zm(e,t){e&&Wn.flushSync(()=>e.dispatchEvent(t))}function et(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Wm(e,t=globalThis==null?void 0:globalThis.document){const n=et(e);p.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Um="DismissableLayer",oo="dismissableLayer.update",qm="dismissableLayer.pointerDownOutside",Gm="dismissableLayer.focusOutside",Ls,ja=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),nr=p.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...c}=e,l=p.useContext(ja),[d,f]=p.useState(null),m=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=p.useState({}),y=se(t,P=>f(P)),g=Array.from(l.layers),[b]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),w=g.indexOf(b),v=d?g.indexOf(d):-1,x=l.layersWithOutsidePointerEventsDisabled.size>0,C=v>=w,E=Km(P=>{const N=P.target,j=[...l.branches].some(_=>_.contains(N));!C||j||(o==null||o(P),i==null||i(P),P.defaultPrevented||a==null||a())},m),S=Xm(P=>{const N=P.target;[...l.branches].some(_=>_.contains(N))||(s==null||s(P),i==null||i(P),P.defaultPrevented||a==null||a())},m);return Wm(P=>{v===l.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&a&&(P.preventDefault(),a()))},m),p.useEffect(()=>{if(d)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Ls=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(d)),l.layers.add(d),_s(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Ls)}},[d,m,n,l]),p.useEffect(()=>()=>{d&&(l.layers.delete(d),l.layersWithOutsidePointerEventsDisabled.delete(d),_s())},[d,l]),p.useEffect(()=>{const P=()=>h({});return document.addEventListener(oo,P),()=>document.removeEventListener(oo,P)},[]),u.jsx(re.div,{...c,ref:y,style:{pointerEvents:x?C?"auto":"none":void 0,...e.style},onFocusCapture:ne(e.onFocusCapture,S.onFocusCapture),onBlurCapture:ne(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:ne(e.onPointerDownCapture,E.onPointerDownCapture)})});nr.displayName=Um;var Zm="DismissableLayerBranch",Ym=p.forwardRef((e,t)=>{const n=p.useContext(ja),r=p.useRef(null),o=se(t,r);return p.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),u.jsx(re.div,{...e,ref:o})});Ym.displayName=Zm;function Km(e,t=globalThis==null?void 0:globalThis.document){const n=et(e),r=p.useRef(!1),o=p.useRef(()=>{});return p.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let c=function(){ka(qm,n,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Xm(e,t=globalThis==null?void 0:globalThis.document){const n=et(e),r=p.useRef(!1);return p.useEffect(()=>{const o=s=>{s.target&&!r.current&&ka(Gm,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function _s(){const e=new CustomEvent(oo);document.dispatchEvent(e)}function ka(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?zm(o,s):o.dispatchEvent(s)}var Lr=0;function ko(){p.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Ds()),document.body.insertAdjacentElement("beforeend",e[1]??Ds()),Lr++,()=>{Lr===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Lr--}},[])}function Ds(){const 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 _r="focusScope.autoFocusOnMount",Dr="focusScope.autoFocusOnUnmount",Vs={bubbles:!1,cancelable:!0},Qm="FocusScope",rr=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,c]=p.useState(null),l=et(o),d=et(s),f=p.useRef(null),m=se(t,g=>c(g)),h=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let g=function(x){if(h.paused||!a)return;const C=x.target;a.contains(C)?f.current=C:Be(f.current,{select:!0})},b=function(x){if(h.paused||!a)return;const C=x.relatedTarget;C!==null&&(a.contains(C)||Be(f.current,{select:!0}))},w=function(x){if(document.activeElement===document.body)for(const E of x)E.removedNodes.length>0&&Be(a)};document.addEventListener("focusin",g),document.addEventListener("focusout",b);const v=new MutationObserver(w);return a&&v.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b),v.disconnect()}}},[r,a,h.paused]),p.useEffect(()=>{if(a){Bs.add(h);const g=document.activeElement;if(!a.contains(g)){const w=new CustomEvent(_r,Vs);a.addEventListener(_r,l),a.dispatchEvent(w),w.defaultPrevented||(Jm(oh(Ia(a)),{select:!0}),document.activeElement===g&&Be(a))}return()=>{a.removeEventListener(_r,l),setTimeout(()=>{const w=new CustomEvent(Dr,Vs);a.addEventListener(Dr,d),a.dispatchEvent(w),w.defaultPrevented||Be(g??document.body,{select:!0}),a.removeEventListener(Dr,d),Bs.remove(h)},0)}}},[a,l,d,h]);const y=p.useCallback(g=>{if(!n&&!r||h.paused)return;const b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,w=document.activeElement;if(b&&w){const v=g.currentTarget,[x,C]=eh(v);x&&C?!g.shiftKey&&w===C?(g.preventDefault(),n&&Be(x,{select:!0})):g.shiftKey&&w===x&&(g.preventDefault(),n&&Be(C,{select:!0})):w===v&&g.preventDefault()}},[n,r,h.paused]);return u.jsx(re.div,{tabIndex:-1,...i,ref:m,onKeyDown:y})});rr.displayName=Qm;function Jm(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Be(r,{select:t}),document.activeElement!==n)return}function eh(e){const t=Ia(e),n=Fs(t,e),r=Fs(t.reverse(),e);return[n,r]}function Ia(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Fs(e,t){for(const n of e)if(!th(n,{upTo:t}))return n}function th(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function nh(e){return e instanceof HTMLInputElement&&"select"in e}function Be(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&nh(e)&&t&&e.select()}}var Bs=rh();function rh(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=$s(e,t),e.unshift(t)},remove(t){var n;e=$s(e,t),(n=e[0])==null||n.resume()}}}function $s(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function oh(e){return e.filter(t=>t.tagName!=="A")}var de=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},sh=p[" useId ".trim().toString()]||(()=>{}),ih=0;function Xe(e){const[t,n]=p.useState(sh());return de(()=>{n(r=>r??String(ih++))},[e]),e||(t?`radix-${t}`:"")}var ah=typeof document<"u",ch=function(){},En=ah?R.useLayoutEffect:ch;function _n(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!_n(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!_n(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Oa(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Hs(e,t){const n=Oa(e);return Math.round(t*n)/n}function Vr(e){const t=p.useRef(e);return En(()=>{t.current=e}),t}function lh(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:c,open:l}=e,[d,f]=p.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=p.useState(r);_n(m,r)||h(r);const[y,g]=p.useState(null),[b,w]=p.useState(null),v=p.useCallback(A=>{A!==S.current&&(S.current=A,g(A))},[]),x=p.useCallback(A=>{A!==P.current&&(P.current=A,w(A))},[]),C=s||y,E=i||b,S=p.useRef(null),P=p.useRef(null),N=p.useRef(d),j=c!=null,_=Vr(c),D=Vr(o),B=Vr(l),W=p.useCallback(()=>{if(!S.current||!P.current)return;const A={placement:t,strategy:n,middleware:m};D.current&&(A.platform=D.current),sf(S.current,P.current,A).then(M=>{const U={...M,isPositioned:B.current!==!1};H.current&&!_n(N.current,U)&&(N.current=U,Wn.flushSync(()=>{f(U)}))})},[m,t,n,D,B]);En(()=>{l===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,f(A=>({...A,isPositioned:!1})))},[l]);const H=p.useRef(!1);En(()=>(H.current=!0,()=>{H.current=!1}),[]),En(()=>{if(C&&(S.current=C),E&&(P.current=E),C&&E){if(_.current)return _.current(C,E,W);W()}},[C,E,W,_,j]);const I=p.useMemo(()=>({reference:S,floating:P,setReference:v,setFloating:x}),[v,x]),T=p.useMemo(()=>({reference:C,floating:E}),[C,E]),O=p.useMemo(()=>{const A={position:n,left:0,top:0};if(!T.floating)return A;const M=Hs(T.floating,d.x),U=Hs(T.floating,d.y);return a?{...A,transform:"translate("+M+"px, "+U+"px)",...Oa(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:U}},[n,a,T.floating,d.x,d.y]);return p.useMemo(()=>({...d,update:W,refs:I,elements:T,floatingStyles:O}),[d,W,I,T,O])}const uh=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?bs({element:r.current,padding:o}).fn(n):{}:r?bs({element:r,padding:o}).fn(n):{}}}},dh=(e,t)=>({...Jd(e),options:[e,t]}),fh=(e,t)=>({...ef(e),options:[e,t]}),ph=(e,t)=>({...of(e),options:[e,t]}),mh=(e,t)=>({...tf(e),options:[e,t]}),hh=(e,t)=>({...nf(e),options:[e,t]}),gh=(e,t)=>({...rf(e),options:[e,t]}),vh=(e,t)=>({...uh(e),options:[e,t]});var bh="Arrow",Ma=p.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return u.jsx(re.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:u.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ma.displayName=bh;var yh=Ma;function xh(e){const[t,n]=p.useState(void 0);return de(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const c=s.borderBoxSize,l=Array.isArray(c)?c[0]:c;i=l.inlineSize,a=l.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Io="Popper",[La,or]=Xt(Io),[wh,_a]=La(Io),Da=e=>{const{__scopePopper:t,children:n}=e,[r,o]=p.useState(null);return u.jsx(wh,{scope:t,anchor:r,onAnchorChange:o,children:n})};Da.displayName=Io;var Va="PopperAnchor",Fa=p.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=_a(Va,n),i=p.useRef(null),a=se(t,i),c=p.useRef(null);return p.useEffect(()=>{const l=c.current;c.current=(r==null?void 0:r.current)||i.current,l!==c.current&&s.onAnchorChange(c.current)}),r?null:u.jsx(re.div,{...o,ref:a})});Fa.displayName=Va;var Oo="PopperContent",[Ch,Sh]=La(Oo),Ba=p.forwardRef((e,t)=>{var L,q,ee,G,$,k;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:m=!1,updatePositionStrategy:h="optimized",onPlaced:y,...g}=e,b=_a(Oo,n),[w,v]=p.useState(null),x=se(t,Z=>v(Z)),[C,E]=p.useState(null),S=xh(C),P=(S==null?void 0:S.width)??0,N=(S==null?void 0:S.height)??0,j=r+(s!=="center"?"-"+s:""),_=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},D=Array.isArray(l)?l:[l],B=D.length>0,W={padding:_,boundary:D.filter(Ph),altBoundary:B},{refs:H,floatingStyles:I,placement:T,isPositioned:O,middlewareData:A}=lh({strategy:"fixed",placement:j,whileElementsMounted:(...Z)=>Qd(...Z,{animationFrame:h==="always"}),elements:{reference:b.anchor},middleware:[dh({mainAxis:o+N,alignmentAxis:i}),c&&fh({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?ph():void 0,...W}),c&&mh({...W}),hh({...W,apply:({elements:Z,rects:te,availableWidth:ie,availableHeight:ue})=>{const{width:fe,height:je}=te.reference,me=Z.floating.style;me.setProperty("--radix-popper-available-width",`${ie}px`),me.setProperty("--radix-popper-available-height",`${ue}px`),me.setProperty("--radix-popper-anchor-width",`${fe}px`),me.setProperty("--radix-popper-anchor-height",`${je}px`)}}),C&&vh({element:C,padding:a}),Nh({arrowWidth:P,arrowHeight:N}),m&&gh({strategy:"referenceHidden",...W})]}),[M,U]=za(T),z=et(y);de(()=>{O&&(z==null||z())},[O,z]);const X=(L=A.arrow)==null?void 0:L.x,J=(q=A.arrow)==null?void 0:q.y,Q=((ee=A.arrow)==null?void 0:ee.centerOffset)!==0,[ce,le]=p.useState();return de(()=>{w&&le(window.getComputedStyle(w).zIndex)},[w]),u.jsx("div",{ref:H.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--radix-popper-transform-origin":[(G=A.transformOrigin)==null?void 0:G.x,($=A.transformOrigin)==null?void 0:$.y].join(" "),...((k=A.hide)==null?void 0:k.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsx(Ch,{scope:n,placedSide:M,onArrowChange:E,arrowX:X,arrowY:J,shouldHideArrow:Q,children:u.jsx(re.div,{"data-side":M,"data-align":U,...g,ref:x,style:{...g.style,animation:O?void 0:"none"}})})})});Ba.displayName=Oo;var $a="PopperArrow",Eh={top:"bottom",right:"left",bottom:"top",left:"right"},Ha=p.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=Sh($a,r),i=Eh[s.placedSide];return u.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:u.jsx(yh,{...o,ref:n,style:{...o.style,display:"block"}})})});Ha.displayName=$a;function Ph(e){return e!==null}var Nh=e=>({name:"transformOrigin",options:e,fn(t){var b,w,v;const{placement:n,rects:r,middlewareData:o}=t,i=((b=o.arrow)==null?void 0:b.centerOffset)!==0,a=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[l,d]=za(n),f={start:"0%",center:"50%",end:"100%"}[d],m=(((w=o.arrow)==null?void 0:w.x)??0)+a/2,h=(((v=o.arrow)==null?void 0:v.y)??0)+c/2;let y="",g="";return l==="bottom"?(y=i?f:`${m}px`,g=`${-c}px`):l==="top"?(y=i?f:`${m}px`,g=`${r.floating.height+c}px`):l==="right"?(y=`${-c}px`,g=i?f:`${h}px`):l==="left"&&(y=`${r.floating.width+c}px`,g=i?f:`${h}px`),{data:{x:y,y:g}}}});function za(e){const[t,n="center"]=e.split("-");return[t,n]}var Wa=Da,Mo=Fa,Ua=Ba,qa=Ha,Ah="Portal",sr=p.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,s]=p.useState(!1);de(()=>s(!0),[]);const i=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?Wt.createPortal(u.jsx(re.div,{...r,ref:t}),i):null});sr.displayName=Ah;function Rh(e,t){return p.useReducer((n,r)=>t[n][r]??n,e)}var At=e=>{const{present:t,children:n}=e,r=Th(t),o=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),s=se(r.ref,jh(o));return typeof n=="function"||r.isPresent?p.cloneElement(o,{ref:s}):null};At.displayName="Presence";function Th(e){const[t,n]=p.useState(),r=p.useRef(null),o=p.useRef(e),s=p.useRef("none"),i=e?"mounted":"unmounted",[a,c]=Rh(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const l=ln(r.current);s.current=a==="mounted"?l:"none"},[a]),de(()=>{const l=r.current,d=o.current;if(d!==e){const m=s.current,h=ln(l);e?c("MOUNT"):h==="none"||(l==null?void 0:l.display)==="none"?c("UNMOUNT"):c(d&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),de(()=>{if(t){let l;const d=t.ownerDocument.defaultView??window,f=h=>{const g=ln(r.current).includes(CSS.escape(h.animationName));if(h.target===t&&g&&(c("ANIMATION_END"),!o.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",l=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},m=h=>{h.target===t&&(s.current=ln(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(l),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:p.useCallback(l=>{r.current=l?getComputedStyle(l):null,n(l)},[])}}function ln(e){return(e==null?void 0:e.animationName)||"none"}function jh(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function kh(e){const t=Ih(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(Mh);if(c){const l=c.props.children,d=a.map(f=>f===c?p.Children.count(l)>1?p.Children.only(null):p.isValidElement(l)?l.props.children:null:f);return u.jsx(t,{...i,ref:o,children:p.isValidElement(l)?p.cloneElement(l,void 0,d):null})}return u.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function Ih(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=_h(o),a=Lh(s,o.props);return o.type!==p.Fragment&&(a.ref=r?at(r,i):i),p.cloneElement(o,a)}return p.Children.count(o)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Oh=Symbol("radix.slottable");function Mh(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Oh}function Lh(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const c=s(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function _h(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Dh=p[" useInsertionEffect ".trim().toString()]||de;function Dn({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=Vh({defaultProp:t,onChange:n}),a=e!==void 0,c=a?e:o;{const d=p.useRef(e!==void 0);p.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=a},[a,r])}const l=p.useCallback(d=>{var f;if(a){const m=Fh(d)?d(e):d;m!==e&&((f=i.current)==null||f.call(i,m))}else s(d)},[a,e,s,i]);return[c,l]}function Vh({defaultProp:e,onChange:t}){const[n,r]=p.useState(e),o=p.useRef(n),s=p.useRef(t);return Dh(()=>{s.current=t},[t]),p.useEffect(()=>{var i;o.current!==n&&((i=s.current)==null||i.call(s,n),o.current=n)},[n,o]),[n,r,s]}function Fh(e){return typeof e=="function"}var Bh=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},dt=new WeakMap,un=new WeakMap,dn={},Fr=0,Ga=function(e){return e&&(e.host||Ga(e.parentNode))},$h=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Ga(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Hh=function(e,t,n,r){var o=$h(t,Array.isArray(e)?e:[e]);dn[n]||(dn[n]=new WeakMap);var s=dn[n],i=[],a=new Set,c=new Set(o),l=function(f){!f||a.has(f)||(a.add(f),l(f.parentNode))};o.forEach(l);var d=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(m){if(a.has(m))d(m);else try{var h=m.getAttribute(r),y=h!==null&&h!=="false",g=(dt.get(m)||0)+1,b=(s.get(m)||0)+1;dt.set(m,g),s.set(m,b),i.push(m),g===1&&y&&un.set(m,!0),b===1&&m.setAttribute(n,"true"),y||m.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",m,w)}})};return d(t),a.clear(),Fr++,function(){i.forEach(function(f){var m=dt.get(f)-1,h=s.get(f)-1;dt.set(f,m),s.set(f,h),m||(un.has(f)||f.removeAttribute(r),un.delete(f)),h||f.removeAttribute(n)}),Fr--,Fr||(dt=new WeakMap,dt=new WeakMap,un=new WeakMap,dn={})}},Lo=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=Bh(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Hh(r,o,n,"aria-hidden")):function(){return null}},Ee=function(){return Ee=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Ee.apply(this,arguments)};function Za(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function zh(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Pn="right-scroll-bar-position",Nn="width-before-scroll-bar",Wh="with-scroll-bars-hidden",Uh="--removed-body-scroll-bar-size";function Br(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function qh(e,t){var n=R.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Gh=typeof window<"u"?p.useLayoutEffect:p.useEffect,zs=new WeakMap;function Zh(e,t){var n=qh(null,function(r){return e.forEach(function(o){return Br(o,r)})});return Gh(function(){var r=zs.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(a){s.has(a)||Br(a,null)}),s.forEach(function(a){o.has(a)||Br(a,i)})}zs.set(n,e)},[e]),n}function Yh(e){return e}function Kh(e,t){t===void 0&&(t=Yh);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var c=function(){var d=i;i=[],d.forEach(s)},l=function(){return Promise.resolve().then(c)};l(),n={push:function(d){i.push(d),l()},filter:function(d){return i=i.filter(d),n}}}};return o}function Xh(e){e===void 0&&(e={});var t=Kh(null);return t.options=Ee({async:!0,ssr:!1},e),t}var Ya=function(e){var t=e.sideCar,n=Za(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return p.createElement(r,Ee({},n))};Ya.isSideCarExport=!0;function Qh(e,t){return e.useMedium(t),Ya}var Ka=Xh(),$r=function(){},ir=p.forwardRef(function(e,t){var n=p.useRef(null),r=p.useState({onScrollCapture:$r,onWheelCapture:$r,onTouchMoveCapture:$r}),o=r[0],s=r[1],i=e.forwardProps,a=e.children,c=e.className,l=e.removeScrollBar,d=e.enabled,f=e.shards,m=e.sideCar,h=e.noRelative,y=e.noIsolation,g=e.inert,b=e.allowPinchZoom,w=e.as,v=w===void 0?"div":w,x=e.gapMode,C=Za(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=m,S=Zh([n,t]),P=Ee(Ee({},C),o);return p.createElement(p.Fragment,null,d&&p.createElement(E,{sideCar:Ka,removeScrollBar:l,shards:f,noRelative:h,noIsolation:y,inert:g,setCallbacks:s,allowPinchZoom:!!b,lockRef:n,gapMode:x}),i?p.cloneElement(p.Children.only(a),Ee(Ee({},P),{ref:S})):p.createElement(v,Ee({},P,{className:c,ref:S}),a))});ir.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ir.classNames={fullWidth:Nn,zeroRight:Pn};var Jh=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function eg(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Jh();return t&&e.setAttribute("nonce",t),e}function tg(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ng(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var rg=function(){var e=0,t=null;return{add:function(n){e==0&&(t=eg())&&(tg(t,n),ng(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},og=function(){var e=rg();return function(t,n){p.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Xa=function(){var e=og(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},sg={left:0,top:0,right:0,gap:0},Hr=function(e){return parseInt(e||"",10)||0},ig=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Hr(n),Hr(r),Hr(o)]},ag=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return sg;var t=ig(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])}},cg=Xa(),yt="data-scroll-locked",lg=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
4
+ .`.concat(Wh,` {
5
5
  overflow: hidden `).concat(r,`;
6
6
  padding-right: `).concat(a,"px ").concat(r,`;
7
7
  }
8
- body[`).concat(xt,`] {
8
+ body[`).concat(yt,`] {
9
9
  overflow: hidden `).concat(r,`;
10
10
  overscroll-behavior: contain;
11
11
  `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
@@ -34,26 +34,26 @@ ${window.location.href}`)}function vp(){const e=encodeURIComponent(window.locati
34
34
  margin-right: 0 `).concat(r,`;
35
35
  }
36
36
 
37
- body[`).concat(xt,`] {
38
- `).concat(_h,": ").concat(a,`px;
37
+ body[`).concat(yt,`] {
38
+ `).concat(Uh,": ").concat(a,`px;
39
39
  }
40
- `)},zs=function(){var e=parseInt(document.body.getAttribute(xt)||"0",10);return isFinite(e)?e:0},tg=function(){p.useEffect(function(){return document.body.setAttribute(xt,(zs()+1).toString()),function(){var e=zs()-1;e<=0?document.body.removeAttribute(xt):document.body.setAttribute(xt,e.toString())}},[])},ng=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;tg();var s=p.useMemo(function(){return Qh(o)},[o]);return p.createElement(Jh,{styles:eg(s,!t,o,n?"":"!important")})},so=!1;if(typeof window<"u")try{var fn=Object.defineProperty({},"passive",{get:function(){return so=!0,!0}});window.addEventListener("test",fn,fn),window.removeEventListener("test",fn,fn)}catch{so=!1}var ft=so?{passive:!1}:!1,rg=function(e){return e.tagName==="TEXTAREA"},qa=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!rg(e)&&n[t]==="visible")},og=function(e){return qa(e,"overflowY")},sg=function(e){return qa(e,"overflowX")},Ws=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Ga(e,r);if(o){var s=Za(e,r),i=s[1],a=s[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ig=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},ag=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Ga=function(e,t){return e==="v"?og(t):sg(t)},Za=function(e,t){return e==="v"?ig(t):ag(t)},cg=function(e,t){return e==="h"&&t==="rtl"?-1:1},lg=function(e,t,n,r,o){var s=cg(e,window.getComputedStyle(t).direction),i=s*r,a=n.target,c=t.contains(a),l=!1,d=i>0,f=0,m=0;do{if(!a)break;var h=Za(e,a),b=h[0],g=h[1],x=h[2],w=g-x-s*b;(b||w)&&Ga(e,a)&&(f+=w,m+=b);var v=a.parentNode;a=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(d&&Math.abs(f)<1||!d&&Math.abs(m)<1)&&(l=!0),l},pn=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Us=function(e){return[e.deltaX,e.deltaY]},qs=function(e){return e&&"current"in e?e.current:e},ug=function(e,t){return e[0]===t[0]&&e[1]===t[1]},dg=function(e){return`
40
+ `)},Ws=function(){var e=parseInt(document.body.getAttribute(yt)||"0",10);return isFinite(e)?e:0},ug=function(){p.useEffect(function(){return document.body.setAttribute(yt,(Ws()+1).toString()),function(){var e=Ws()-1;e<=0?document.body.removeAttribute(yt):document.body.setAttribute(yt,e.toString())}},[])},dg=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;ug();var s=p.useMemo(function(){return ag(o)},[o]);return p.createElement(cg,{styles:lg(s,!t,o,n?"":"!important")})},so=!1;if(typeof window<"u")try{var fn=Object.defineProperty({},"passive",{get:function(){return so=!0,!0}});window.addEventListener("test",fn,fn),window.removeEventListener("test",fn,fn)}catch{so=!1}var ft=so?{passive:!1}:!1,fg=function(e){return e.tagName==="TEXTAREA"},Qa=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!fg(e)&&n[t]==="visible")},pg=function(e){return Qa(e,"overflowY")},mg=function(e){return Qa(e,"overflowX")},Us=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Ja(e,r);if(o){var s=ec(e,r),i=s[1],a=s[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},hg=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},gg=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Ja=function(e,t){return e==="v"?pg(t):mg(t)},ec=function(e,t){return e==="v"?hg(t):gg(t)},vg=function(e,t){return e==="h"&&t==="rtl"?-1:1},bg=function(e,t,n,r,o){var s=vg(e,window.getComputedStyle(t).direction),i=s*r,a=n.target,c=t.contains(a),l=!1,d=i>0,f=0,m=0;do{if(!a)break;var h=ec(e,a),y=h[0],g=h[1],b=h[2],w=g-b-s*y;(y||w)&&Ja(e,a)&&(f+=w,m+=y);var v=a.parentNode;a=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(d&&Math.abs(f)<1||!d&&Math.abs(m)<1)&&(l=!0),l},pn=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},qs=function(e){return[e.deltaX,e.deltaY]},Gs=function(e){return e&&"current"in e?e.current:e},yg=function(e,t){return e[0]===t[0]&&e[1]===t[1]},xg=function(e){return`
41
41
  .block-interactivity-`.concat(e,` {pointer-events: none;}
42
42
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
43
- `)},fg=0,pt=[];function pg(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),o=p.useState(fg++)[0],s=p.useState(Ua)[0],i=p.useRef(e);p.useEffect(function(){i.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=Mh([e.lockRef.current],(e.shards||[]).map(qs),!0).filter(Boolean);return g.forEach(function(x){return x.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=p.useCallback(function(g,x){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!i.current.allowPinchZoom;var w=pn(g),v=n.current,y="deltaX"in g?g.deltaX:v[0]-w[0],C="deltaY"in g?g.deltaY:v[1]-w[1],E,S=g.target,P=Math.abs(y)>Math.abs(C)?"h":"v";if("touches"in g&&P==="h"&&S.type==="range")return!1;var N=window.getSelection(),j=N&&N.anchorNode,_=j?j===S||j.contains(S):!1;if(_)return!1;var D=Ws(P,S);if(!D)return!0;if(D?E=P:(E=P==="v"?"h":"v",D=Ws(P,S)),!D)return!1;if(!r.current&&"changedTouches"in g&&(y||C)&&(r.current=E),!E)return!0;var B=r.current||E;return lg(B,x,g,B==="h"?y:C)},[]),c=p.useCallback(function(g){var x=g;if(!(!pt.length||pt[pt.length-1]!==s)){var w="deltaY"in x?Us(x):pn(x),v=t.current.filter(function(E){return E.name===x.type&&(E.target===x.target||x.target===E.shadowParent)&&ug(E.delta,w)})[0];if(v&&v.should){x.cancelable&&x.preventDefault();return}if(!v){var y=(i.current.shards||[]).map(qs).filter(Boolean).filter(function(E){return E.contains(x.target)}),C=y.length>0?a(x,y[0]):!i.current.noIsolation;C&&x.cancelable&&x.preventDefault()}}},[]),l=p.useCallback(function(g,x,w,v){var y={name:g,delta:x,target:w,should:v,shadowParent:mg(w)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(C){return C!==y})},1)},[]),d=p.useCallback(function(g){n.current=pn(g),r.current=void 0},[]),f=p.useCallback(function(g){l(g.type,Us(g),g.target,a(g,e.lockRef.current))},[]),m=p.useCallback(function(g){l(g.type,pn(g),g.target,a(g,e.lockRef.current))},[]);p.useEffect(function(){return pt.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",c,ft),document.addEventListener("touchmove",c,ft),document.addEventListener("touchstart",d,ft),function(){pt=pt.filter(function(g){return g!==s}),document.removeEventListener("wheel",c,ft),document.removeEventListener("touchmove",c,ft),document.removeEventListener("touchstart",d,ft)}},[]);var h=e.removeScrollBar,b=e.inert;return p.createElement(p.Fragment,null,b?p.createElement(s,{styles:dg(o)}):null,h?p.createElement(ng,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function mg(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const hg=zh(Wa,pg);var ar=p.forwardRef(function(e,t){return p.createElement(ir,Ee({},e,{ref:t,sideCar:hg}))});ar.classNames=ir.classNames;var cr="Popover",[Ya]=Kt(cr,[or]),Qt=or(),[gg,Ue]=Ya(cr),Xa=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:i=!1}=e,a=Qt(t),c=p.useRef(null),[l,d]=p.useState(!1),[f,m]=Dn({prop:r,defaultProp:o??!1,onChange:s,caller:cr});return u.jsx(Va,{...a,children:u.jsx(gg,{scope:t,contentId:Ke(),triggerRef:c,open:f,onOpenChange:m,onOpenToggle:p.useCallback(()=>m(h=>!h),[m]),hasCustomAnchor:l,onCustomAnchorAdd:p.useCallback(()=>d(!0),[]),onCustomAnchorRemove:p.useCallback(()=>d(!1),[]),modal:i,children:n})})};Xa.displayName=cr;var Ka="PopoverAnchor",vg=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ue(Ka,n),s=Qt(n),{onCustomAnchorAdd:i,onCustomAnchorRemove:a}=o;return p.useEffect(()=>(i(),()=>a()),[i,a]),u.jsx(Mo,{...s,...r,ref:t})});vg.displayName=Ka;var Qa="PopoverTrigger",Ja=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ue(Qa,n),s=Qt(n),i=se(t,o.triggerRef),a=u.jsx(re.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":sc(o.open),...r,ref:i,onClick:ne(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:u.jsx(Mo,{asChild:!0,...s,children:a})});Ja.displayName=Qa;var _o="PopoverPortal",[bg,xg]=Ya(_o,{forceMount:void 0}),ec=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,s=Ue(_o,t);return u.jsx(bg,{scope:t,forceMount:n,children:u.jsx(At,{present:n||s.open,children:u.jsx(sr,{asChild:!0,container:o,children:r})})})};ec.displayName=_o;var Ct="PopoverContent",tc=p.forwardRef((e,t)=>{const n=xg(Ct,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,s=Ue(Ct,e.__scopePopover);return u.jsx(At,{present:r||s.open,children:s.modal?u.jsx(wg,{...o,ref:t}):u.jsx(Cg,{...o,ref:t})})});tc.displayName=Ct;var yg=Ch("PopoverContent.RemoveScroll"),wg=p.forwardRef((e,t)=>{const n=Ue(Ct,e.__scopePopover),r=p.useRef(null),o=se(t,r),s=p.useRef(!1);return p.useEffect(()=>{const i=r.current;if(i)return Lo(i)},[]),u.jsx(ar,{as:yg,allowPinchZoom:!0,children:u.jsx(nc,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ne(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),s.current||(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:ne(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,c=a.button===0&&a.ctrlKey===!0,l=a.button===2||c;s.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:ne(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),Cg=p.forwardRef((e,t)=>{const n=Ue(Ct,e.__scopePopover),r=p.useRef(!1),o=p.useRef(!1);return u.jsx(nc,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var i,a;(i=e.onCloseAutoFocus)==null||i.call(e,s),s.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{var c,l;(c=e.onInteractOutside)==null||c.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;((l=n.triggerRef.current)==null?void 0:l.contains(i))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),nc=p.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:d,...f}=e,m=Ue(Ct,n),h=Qt(n);return ko(),u.jsx(rr,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:u.jsx(nr,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:d,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>m.onOpenChange(!1),children:u.jsx(Fa,{"data-state":sc(m.open),role:"dialog",id:m.contentId,...h,...f,ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),rc="PopoverClose",Sg=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ue(rc,n);return u.jsx(re.button,{type:"button",...r,ref:t,onClick:ne(e.onClick,()=>o.onOpenChange(!1))})});Sg.displayName=rc;var Eg="PopoverArrow",oc=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Qt(n);return u.jsx(Ba,{...o,...r,ref:t})});oc.displayName=Eg;function sc(e){return e?"open":"closed"}var Pg=Xa,Ng=Ja,Ag=ec,Rg=tc,Tg=oc;function jg({...e}){return u.jsx(Pg,{"data-slot":"popover",...e})}function kg({...e}){return u.jsx(Ng,{"data-slot":"popover-trigger",...e})}function Ig({className:e,align:t="center",sideOffset:n=4,...r}){return u.jsx(Ag,{children:u.jsx(Rg,{"data-slot":"popover-content",align:t,sideOffset:n,className:X("data-[state=open]:animate-popover-in data-[state=closed]:animate-popover-out origin-(--radix-popover-content-transform-origin) outline-hidden w-72 z-10",e),...r})})}function Og({className:e,...t}){return u.jsx(Tg,{asChild:!0,"data-slot":"popover-arrow",...t,children:u.jsx("div",{className:X("bottom-[5.75px] relative rounded-xs rotate-45 size-2.5",e)})})}function Mg(e){return e===1?"hidden":""}function Lg(e,t){const n=t==="navy",r=n?"text-white":"";return n&&e==="connect"?{paginationVariant:"connect-reversed",textColor:r}:n&&e==="digital"?{paginationVariant:"digital-reversed",textColor:r}:e==="connect"?{paginationVariant:"connect",textColor:r}:{paginationVariant:"digital",textColor:r}}function _g(e,t){const n=t==="navy",r=e==="connect"?"small-connect":"small-digital";let o="basic";return n&&e==="connect"?o="connect":n&&e==="digital"&&(o="digital"),{playButtonVariant:r,textCtaVariant:o}}function Dg({background:e,children:t,className:n="",count:r,detailWidth:o,horizontalStroke:s,stackItems:i,variant:a="connect"}){const c=r??R.Children.count(t),{resolvedBackground:l,hasSideColPadding:d}=ea(e,a,So(a)),f=Ji[l],m=Mg(c),{paginationVariant:h,textColor:b}=Lg(a,l),{containerStrokeClasses:g,detailPageStrokeClasses:x}=Yt(f,s,a,o),w=Po(l,s,a),v=R.Children.map(t,y=>R.isValidElement(y)?R.cloneElement(y,{background:l,variant:a}):y);return u.jsx(De,{detailWidth:o,outerClassName:X("@container",f,g,w,b,n,"print:bg-white print:text-black"),sideColPadded:d,children:u.jsx("div",{className:`composite-pb ${x}`,children:i?u.jsx("div",{className:"flex flex-col gap-10",children:v}):u.jsxs(wa,{children:[u.jsx(Ca,{className:"gap-10",children:v}),u.jsx(Em,{className:`absolute bottom-0 right-0 ${m}`,variant:h})]})})})}const ic=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M6.50207 20L16.5021 10L6.50207 0L3.49792 3.00415L10.4938 10L3.49792 16.9959L6.50207 20Z",fill:"currentColor"})),Vg="polygon(100% 0, 100% calc(100% - 52px), calc(100% - 52px) 100%, 0 100%, 0 0)";function Fg({background:e,image:t,name:n,link:r,logo:o,text:s,title:i,variant:a="connect",video:c,videoDescription:l,videoLabel:d,...f}){const[m,h]=R.useState(!1),{playButtonVariant:b,textCtaVariant:g}=_g(a,e),x=Dt(r),w=Ie(r),v=!!(t||s),y=!!(w&&x),C=d?`Play video: ${d}`:"Play video";return u.jsxs(Sa,{className:"basis-full flex flex-col gap-12 @lg:gap-15 print:gap-8",...f,children:[v&&u.jsxs("div",{className:"flex flex-col-reverse @md:flex-row gap-12 @lg:gap-10 @md:items-center",children:[!!s&&u.jsxs("div",{className:"quote-cq",children:['"',u.jsx("span",{children:s}),'"']}),!!t&&u.jsxs("div",{className:"min-w-75 relative size-75 [&_img]:object-cover [&_img]:size-full print:hidden",style:{clipPath:Vg},children:[t,c&&u.jsxs(u.Fragment,{children:[u.jsx(gr,{ariaDescription:l,ariaLabel:d,backgroundVideo:c,onOpenChange:h,open:m,variant:a}),u.jsx("div",{className:"absolute bottom-1 left-3",children:u.jsx(tn,{isPlaying:m,label:C,onClick:()=>h(E=>!E),variant:b})})]})]})]}),u.jsxs("div",{className:"flex flex-col @md:flex-row @md:items-center gap-4 @md:gap-6",children:[!!o&&u.jsx("div",{className:"aspect-square flex items-center justify-center w-30 @lg:w-40 [&_img]:max-h-full [&_img]:max-w-full [&_img]:object-contain",children:o}),u.jsxs("div",{className:"flex flex-col gap-6 items-start",children:[u.jsxs("div",{children:[u.jsx("div",{className:"font-black leading-2xl mb-2 text-xl",children:n}),u.jsx("div",{className:"leading-base text-sm print:text-smoke",children:i})]}),y&&u.jsx(Ne,{className:"b-sm uppercase",variant:g,children:u.jsxs("a",{href:w==null?void 0:w.href,children:[x,u.jsx(ic,{className:"size-3"})]})})]})]})]})}const io={"2xs":"(min-width: 384px)",xs:"(min-width: 512px)",sm:"(min-width: 640px)",md:"(min-width: 768px)",lg:"(min-width: 1024px)",xl:"(min-width: 1280px)"};function Bg(){return Object.keys(io).reverse().find(e=>window.matchMedia(io[e]).matches)??"2xs"}function $g(e){const t=Object.values(io).map(n=>window.matchMedia(n));return t.forEach(n=>n.addEventListener("change",e)),()=>t.forEach(n=>n.removeEventListener("change",e))}function Do(){return R.useSyncExternalStore($g,Bg,()=>"2xs")}function Hg(e){R.useEffect(()=>{if(e&&typeof window<"u"){const t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}}},[e])}/*! @vimeo/player v2.30.2 | (c) 2026 Vimeo | MIT License | https://github.com/vimeo/player.js */const zg=typeof global<"u"&&{}.toString.call(global)==="[object global]",Wg=typeof Bun<"u",Ug=typeof Deno<"u",qg=typeof WebSocketPair=="function"&&typeof(caches==null?void 0:caches.default)<"u",ac=zg||Wg||Ug||qg;function Gs(e,t){return e.indexOf(t.toLowerCase())===0?e:`${t.toLowerCase()}${e.substr(0,1).toUpperCase()}${e.substr(1)}`}function Gg(e){return!!(e&&e.nodeType===1&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}function Zg(e){return!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e}function Oe(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function cc(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function Yg(e){const t=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(t&&t[1]||"").replace("player.",""),r=[".videoji.hk",".vimeo.work",".videoji.cn"];for(const o of r)if(n.endsWith(o))return n;return"vimeo.com"}function lc(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=e.id,n=e.url,r=t||n;if(!r)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(Zg(r))return`https://vimeo.com/${r}`;if(Oe(r))return r.replace("http:","https:");throw t?new TypeError(`“${t}” is not a valid video id.`):new TypeError(`“${r}” is not a vimeo.com url.`)}const Zs=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener";const s=typeof t=="string"?[t]:t;return s.forEach(i=>{e[r](i,n)}),{cancel:()=>s.forEach(i=>e[o](i,n))}};function lr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;if(!e||!t||typeof t.querySelectorAll!="function")return null;const n=t.querySelectorAll("iframe");for(let r=0;r<n.length;r++)if(n[r]&&n[r].contentWindow===e)return n[r];return null}const Xg=typeof Array.prototype.indexOf<"u",Kg=typeof window<"u"&&typeof window.postMessage<"u";if(!ac&&(!Xg||!Kg))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var yt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qg(e,t){return t={exports:{}},e(t,t.exports),t.exports}/*!
43
+ `)},wg=0,pt=[];function Cg(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),o=p.useState(wg++)[0],s=p.useState(Xa)[0],i=p.useRef(e);p.useEffect(function(){i.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=zh([e.lockRef.current],(e.shards||[]).map(Gs),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=p.useCallback(function(g,b){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!i.current.allowPinchZoom;var w=pn(g),v=n.current,x="deltaX"in g?g.deltaX:v[0]-w[0],C="deltaY"in g?g.deltaY:v[1]-w[1],E,S=g.target,P=Math.abs(x)>Math.abs(C)?"h":"v";if("touches"in g&&P==="h"&&S.type==="range")return!1;var N=window.getSelection(),j=N&&N.anchorNode,_=j?j===S||j.contains(S):!1;if(_)return!1;var D=Us(P,S);if(!D)return!0;if(D?E=P:(E=P==="v"?"h":"v",D=Us(P,S)),!D)return!1;if(!r.current&&"changedTouches"in g&&(x||C)&&(r.current=E),!E)return!0;var B=r.current||E;return bg(B,b,g,B==="h"?x:C)},[]),c=p.useCallback(function(g){var b=g;if(!(!pt.length||pt[pt.length-1]!==s)){var w="deltaY"in b?qs(b):pn(b),v=t.current.filter(function(E){return E.name===b.type&&(E.target===b.target||b.target===E.shadowParent)&&yg(E.delta,w)})[0];if(v&&v.should){b.cancelable&&b.preventDefault();return}if(!v){var x=(i.current.shards||[]).map(Gs).filter(Boolean).filter(function(E){return E.contains(b.target)}),C=x.length>0?a(b,x[0]):!i.current.noIsolation;C&&b.cancelable&&b.preventDefault()}}},[]),l=p.useCallback(function(g,b,w,v){var x={name:g,delta:b,target:w,should:v,shadowParent:Sg(w)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(C){return C!==x})},1)},[]),d=p.useCallback(function(g){n.current=pn(g),r.current=void 0},[]),f=p.useCallback(function(g){l(g.type,qs(g),g.target,a(g,e.lockRef.current))},[]),m=p.useCallback(function(g){l(g.type,pn(g),g.target,a(g,e.lockRef.current))},[]);p.useEffect(function(){return pt.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",c,ft),document.addEventListener("touchmove",c,ft),document.addEventListener("touchstart",d,ft),function(){pt=pt.filter(function(g){return g!==s}),document.removeEventListener("wheel",c,ft),document.removeEventListener("touchmove",c,ft),document.removeEventListener("touchstart",d,ft)}},[]);var h=e.removeScrollBar,y=e.inert;return p.createElement(p.Fragment,null,y?p.createElement(s,{styles:xg(o)}):null,h?p.createElement(dg,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Sg(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Eg=Qh(Ka,Cg);var ar=p.forwardRef(function(e,t){return p.createElement(ir,Ee({},e,{ref:t,sideCar:Eg}))});ar.classNames=ir.classNames;var cr="Popover",[tc]=Xt(cr,[or]),Qt=or(),[Pg,Ue]=tc(cr),nc=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:i=!1}=e,a=Qt(t),c=p.useRef(null),[l,d]=p.useState(!1),[f,m]=Dn({prop:r,defaultProp:o??!1,onChange:s,caller:cr});return u.jsx(Wa,{...a,children:u.jsx(Pg,{scope:t,contentId:Xe(),triggerRef:c,open:f,onOpenChange:m,onOpenToggle:p.useCallback(()=>m(h=>!h),[m]),hasCustomAnchor:l,onCustomAnchorAdd:p.useCallback(()=>d(!0),[]),onCustomAnchorRemove:p.useCallback(()=>d(!1),[]),modal:i,children:n})})};nc.displayName=cr;var rc="PopoverAnchor",Ng=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ue(rc,n),s=Qt(n),{onCustomAnchorAdd:i,onCustomAnchorRemove:a}=o;return p.useEffect(()=>(i(),()=>a()),[i,a]),u.jsx(Mo,{...s,...r,ref:t})});Ng.displayName=rc;var oc="PopoverTrigger",sc=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ue(oc,n),s=Qt(n),i=se(t,o.triggerRef),a=u.jsx(re.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":dc(o.open),...r,ref:i,onClick:ne(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:u.jsx(Mo,{asChild:!0,...s,children:a})});sc.displayName=oc;var _o="PopoverPortal",[Ag,Rg]=tc(_o,{forceMount:void 0}),ic=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,s=Ue(_o,t);return u.jsx(Ag,{scope:t,forceMount:n,children:u.jsx(At,{present:n||s.open,children:u.jsx(sr,{asChild:!0,container:o,children:r})})})};ic.displayName=_o;var Ct="PopoverContent",ac=p.forwardRef((e,t)=>{const n=Rg(Ct,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,s=Ue(Ct,e.__scopePopover);return u.jsx(At,{present:r||s.open,children:s.modal?u.jsx(jg,{...o,ref:t}):u.jsx(kg,{...o,ref:t})})});ac.displayName=Ct;var Tg=kh("PopoverContent.RemoveScroll"),jg=p.forwardRef((e,t)=>{const n=Ue(Ct,e.__scopePopover),r=p.useRef(null),o=se(t,r),s=p.useRef(!1);return p.useEffect(()=>{const i=r.current;if(i)return Lo(i)},[]),u.jsx(ar,{as:Tg,allowPinchZoom:!0,children:u.jsx(cc,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ne(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),s.current||(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:ne(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,c=a.button===0&&a.ctrlKey===!0,l=a.button===2||c;s.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:ne(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),kg=p.forwardRef((e,t)=>{const n=Ue(Ct,e.__scopePopover),r=p.useRef(!1),o=p.useRef(!1);return u.jsx(cc,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var i,a;(i=e.onCloseAutoFocus)==null||i.call(e,s),s.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{var c,l;(c=e.onInteractOutside)==null||c.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;((l=n.triggerRef.current)==null?void 0:l.contains(i))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),cc=p.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:d,...f}=e,m=Ue(Ct,n),h=Qt(n);return ko(),u.jsx(rr,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:u.jsx(nr,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:d,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>m.onOpenChange(!1),children:u.jsx(Ua,{"data-state":dc(m.open),role:"dialog",id:m.contentId,...h,...f,ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),lc="PopoverClose",Ig=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ue(lc,n);return u.jsx(re.button,{type:"button",...r,ref:t,onClick:ne(e.onClick,()=>o.onOpenChange(!1))})});Ig.displayName=lc;var Og="PopoverArrow",uc=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Qt(n);return u.jsx(qa,{...o,...r,ref:t})});uc.displayName=Og;function dc(e){return e?"open":"closed"}var Mg=nc,Lg=sc,_g=ic,Dg=ac,Vg=uc;function Fg({...e}){return u.jsx(Mg,{"data-slot":"popover",...e})}function Bg({...e}){return u.jsx(Lg,{"data-slot":"popover-trigger",...e})}function $g({className:e,align:t="center",sideOffset:n=4,...r}){return u.jsx(_g,{children:u.jsx(Dg,{"data-slot":"popover-content",align:t,sideOffset:n,className:K("data-[state=open]:animate-popover-in data-[state=closed]:animate-popover-out origin-(--radix-popover-content-transform-origin) outline-hidden w-72 z-10",e),...r})})}function Hg({className:e,...t}){return u.jsx(Vg,{asChild:!0,"data-slot":"popover-arrow",...t,children:u.jsx("div",{className:K("bottom-[5.75px] relative rounded-xs rotate-45 size-2.5",e)})})}function zg(e){return e===1?"hidden":""}function Wg(e,t){const n=t==="navy",r=n?"text-white":"";return n&&e==="connect"?{paginationVariant:"connect-reversed",textColor:r}:n&&e==="digital"?{paginationVariant:"digital-reversed",textColor:r}:e==="connect"?{paginationVariant:"connect",textColor:r}:{paginationVariant:"digital",textColor:r}}function Ug(e,t){const n=t==="navy",r=e==="connect"?"small-connect":"small-digital";let o="basic";return n&&e==="connect"?o="connect":n&&e==="digital"&&(o="digital"),{playButtonVariant:r,textCtaVariant:o}}function qg({background:e,children:t,className:n="",count:r,detailWidth:o,horizontalStroke:s,stackItems:i,variant:a="connect"}){const c=r??R.Children.count(t),{resolvedBackground:l,hasSideColPadding:d}=ta(e,a,So(a)),f=ea[l],m=zg(c),{paginationVariant:h,textColor:y}=Wg(a,l),{containerStrokeClasses:g,detailPageStrokeClasses:b}=Yt(f,s,a,o),w=Po(l,s,a),v=R.Children.map(t,x=>R.isValidElement(x)?R.cloneElement(x,{background:l,variant:a}):x);return u.jsx(De,{detailWidth:o,outerClassName:K("@container",f,g,w,y,n,"print:bg-white print:text-black"),sideColPadded:d,children:u.jsx("div",{className:`composite-pb ${b}`,children:i?u.jsx("div",{className:"flex flex-col gap-10",children:v}):u.jsxs(Aa,{children:[u.jsx(Ra,{className:"gap-10",children:v}),u.jsx(Om,{className:`absolute bottom-0 right-0 ${m}`,variant:h})]})})})}const fc=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M6.50207 20L16.5021 10L6.50207 0L3.49792 3.00415L10.4938 10L3.49792 16.9959L6.50207 20Z",fill:"currentColor"})),Gg="polygon(100% 0, 100% calc(100% - 52px), calc(100% - 52px) 100%, 0 100%, 0 0)";function Zg({background:e,image:t,name:n,link:r,logo:o,text:s,title:i,variant:a="connect",video:c,videoDescription:l,videoLabel:d,...f}){const[m,h]=R.useState(!1),{playButtonVariant:y,textCtaVariant:g}=Ug(a,e),b=Dt(r),w=Ie(r),v=!!(t||s),x=!!(w&&b),C=d?`Play video: ${d}`:"Play video";return u.jsxs(Ta,{className:"basis-full flex flex-col gap-12 @lg:gap-15 print:gap-8",...f,children:[v&&u.jsxs("div",{className:"flex flex-col-reverse @md:flex-row gap-12 @lg:gap-10 @md:items-center",children:[!!s&&u.jsxs("div",{className:"quote-cq",children:['"',u.jsx("span",{children:s}),'"']}),!!t&&u.jsxs("div",{className:"min-w-75 relative size-75 [&_img]:object-cover [&_img]:size-full print:hidden",style:{clipPath:Gg},children:[t,c&&u.jsxs(u.Fragment,{children:[u.jsx(gr,{ariaDescription:l,ariaLabel:d,backgroundVideo:c,onOpenChange:h,open:m,variant:a}),u.jsx("div",{"aria-hidden":"true",className:"absolute inset-0 bg-charcoal-1000/80 pointer-events-none"}),u.jsx("div",{className:"absolute bottom-1 left-3",children:u.jsx(tn,{isPlaying:m,label:C,onClick:()=>h(E=>!E),variant:y})})]})]})]}),u.jsxs("div",{className:"flex flex-col @md:flex-row @md:items-center gap-4 @md:gap-6",children:[!!o&&u.jsx("div",{className:"aspect-square flex items-center justify-center w-30 @lg:w-40 [&_img]:max-h-full [&_img]:max-w-full [&_img]:object-contain",children:o}),u.jsxs("div",{className:"flex flex-col gap-6 items-start",children:[u.jsxs("div",{children:[u.jsx("div",{className:"font-black leading-2xl mb-2 text-xl",children:n}),u.jsx("div",{className:"leading-base text-sm print:text-smoke",children:i})]}),x&&u.jsx(Ne,{className:"b-sm uppercase",variant:g,children:u.jsxs("a",{href:w==null?void 0:w.href,children:[b,u.jsx(fc,{className:"size-3"})]})})]})]})]})}const io={"2xs":"(min-width: 384px)",xs:"(min-width: 512px)",sm:"(min-width: 640px)",md:"(min-width: 768px)",lg:"(min-width: 1024px)",xl:"(min-width: 1280px)"};function Yg(){return Object.keys(io).reverse().find(e=>window.matchMedia(io[e]).matches)??"2xs"}function Kg(e){const t=Object.values(io).map(n=>window.matchMedia(n));return t.forEach(n=>n.addEventListener("change",e)),()=>t.forEach(n=>n.removeEventListener("change",e))}function Do(){return R.useSyncExternalStore(Kg,Yg,()=>"2xs")}function Xg(e){R.useEffect(()=>{if(e&&typeof window<"u"){const t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}}},[e])}/*! @vimeo/player v2.30.2 | (c) 2026 Vimeo | MIT License | https://github.com/vimeo/player.js */const Qg=typeof global<"u"&&{}.toString.call(global)==="[object global]",Jg=typeof Bun<"u",e1=typeof Deno<"u",t1=typeof WebSocketPair=="function"&&typeof(caches==null?void 0:caches.default)<"u",pc=Qg||Jg||e1||t1;function Zs(e,t){return e.indexOf(t.toLowerCase())===0?e:`${t.toLowerCase()}${e.substr(0,1).toUpperCase()}${e.substr(1)}`}function n1(e){return!!(e&&e.nodeType===1&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}function r1(e){return!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e}function Oe(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function mc(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function o1(e){const t=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(t&&t[1]||"").replace("player.",""),r=[".videoji.hk",".vimeo.work",".videoji.cn"];for(const o of r)if(n.endsWith(o))return n;return"vimeo.com"}function hc(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=e.id,n=e.url,r=t||n;if(!r)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(r1(r))return`https://vimeo.com/${r}`;if(Oe(r))return r.replace("http:","https:");throw t?new TypeError(`“${t}” is not a valid video id.`):new TypeError(`“${r}” is not a vimeo.com url.`)}const Ys=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener";const s=typeof t=="string"?[t]:t;return s.forEach(i=>{e[r](i,n)}),{cancel:()=>s.forEach(i=>e[o](i,n))}};function lr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;if(!e||!t||typeof t.querySelectorAll!="function")return null;const n=t.querySelectorAll("iframe");for(let r=0;r<n.length;r++)if(n[r]&&n[r].contentWindow===e)return n[r];return null}const s1=typeof Array.prototype.indexOf<"u",i1=typeof window<"u"&&typeof window.postMessage<"u";if(!pc&&(!s1||!i1))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var xt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a1(e,t){return t={exports:{}},e(t,t.exports),t.exports}/*!
44
44
  * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
45
45
  * https://github.com/polygonplanet/weakmap-polyfill
46
46
  * Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
47
47
  * @license MIT
48
- */(function(e){if(e.WeakMap)return;var t=Object.prototype.hasOwnProperty,n=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),r=function(s,i,a){n?Object.defineProperty(s,i,{configurable:!0,writable:!0,value:a}):s[i]=a};e.WeakMap=(function(){function s(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id",a("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}r(s.prototype,"delete",function(l){if(i(this,"delete"),!o(l))return!1;var d=l[this._id];return d&&d[0]===l?(delete l[this._id],!0):!1}),r(s.prototype,"get",function(l){if(i(this,"get"),!!o(l)){var d=l[this._id];if(d&&d[0]===l)return d[1]}}),r(s.prototype,"has",function(l){if(i(this,"has"),!o(l))return!1;var d=l[this._id];return!!(d&&d[0]===l)}),r(s.prototype,"set",function(l,d){if(i(this,"set"),!o(l))throw new TypeError("Invalid value used as weak map key");var f=l[this._id];return f&&f[0]===l?(f[1]=d,this):(r(l,this._id,[l,d]),this)});function i(l,d){if(!o(l)||!t.call(l,"_id"))throw new TypeError(d+" method called on incompatible receiver "+typeof l)}function a(l){return l+"_"+c()+"."+c()}function c(){return Math.random().toString().substring(2)}return r(s,"_polyfill",!0),s})();function o(s){return Object(s)===s}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:yt);var ve=Qg(function(e){/*! Native Promise Only
48
+ */(function(e){if(e.WeakMap)return;var t=Object.prototype.hasOwnProperty,n=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),r=function(s,i,a){n?Object.defineProperty(s,i,{configurable:!0,writable:!0,value:a}):s[i]=a};e.WeakMap=(function(){function s(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id",a("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}r(s.prototype,"delete",function(l){if(i(this,"delete"),!o(l))return!1;var d=l[this._id];return d&&d[0]===l?(delete l[this._id],!0):!1}),r(s.prototype,"get",function(l){if(i(this,"get"),!!o(l)){var d=l[this._id];if(d&&d[0]===l)return d[1]}}),r(s.prototype,"has",function(l){if(i(this,"has"),!o(l))return!1;var d=l[this._id];return!!(d&&d[0]===l)}),r(s.prototype,"set",function(l,d){if(i(this,"set"),!o(l))throw new TypeError("Invalid value used as weak map key");var f=l[this._id];return f&&f[0]===l?(f[1]=d,this):(r(l,this._id,[l,d]),this)});function i(l,d){if(!o(l)||!t.call(l,"_id"))throw new TypeError(d+" method called on incompatible receiver "+typeof l)}function a(l){return l+"_"+c()+"."+c()}function c(){return Math.random().toString().substring(2)}return r(s,"_polyfill",!0),s})();function o(s){return Object(s)===s}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:xt);var ve=a1(function(e){/*! Native Promise Only
49
49
  v0.8.1 (c) Kyle Simpson
50
50
  MIT License: http://getify.mit-license.org
51
- */(function(n,r,o){r[n]=r[n]||o(),e.exports&&(e.exports=r[n])})("Promise",yt,function(){var n,r,o,s=Object.prototype.toString,i=typeof setImmediate<"u"?function(y){return setImmediate(y)}:setTimeout;try{Object.defineProperty({},"x",{}),n=function(y,C,E,S){return Object.defineProperty(y,C,{value:E,writable:!0,configurable:S!==!1})}}catch{n=function(C,E,S){return C[E]=S,C}}o=(function(){var y,C,E;function S(P,N){this.fn=P,this.self=N,this.next=void 0}return{add:function(N,j){E=new S(N,j),C?C.next=E:y=E,C=E,E=void 0},drain:function(){var N=y;for(y=C=r=void 0;N;)N.fn.call(N.self),N=N.next}}})();function a(v,y){o.add(v,y),r||(r=i(o.drain))}function c(v){var y,C=typeof v;return v!=null&&(C=="object"||C=="function")&&(y=v.then),typeof y=="function"?y:!1}function l(){for(var v=0;v<this.chain.length;v++)d(this,this.state===1?this.chain[v].success:this.chain[v].failure,this.chain[v]);this.chain.length=0}function d(v,y,C){var E,S;try{y===!1?C.reject(v.msg):(y===!0?E=v.msg:E=y.call(void 0,v.msg),E===C.promise?C.reject(TypeError("Promise-chain cycle")):(S=c(E))?S.call(E,C.resolve,C.reject):C.resolve(E))}catch(P){C.reject(P)}}function f(v){var y,C=this;if(!C.triggered){C.triggered=!0,C.def&&(C=C.def);try{(y=c(v))?a(function(){var E=new b(C);try{y.call(v,function(){f.apply(E,arguments)},function(){m.apply(E,arguments)})}catch(S){m.call(E,S)}}):(C.msg=v,C.state=1,C.chain.length>0&&a(l,C))}catch(E){m.call(new b(C),E)}}}function m(v){var y=this;y.triggered||(y.triggered=!0,y.def&&(y=y.def),y.msg=v,y.state=2,y.chain.length>0&&a(l,y))}function h(v,y,C,E){for(var S=0;S<y.length;S++)(function(N){v.resolve(y[N]).then(function(_){C(N,_)},E)})(S)}function b(v){this.def=v,this.triggered=!1}function g(v){this.promise=v,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function x(v){if(typeof v!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var y=new g(this);this.then=function(E,S){var P={success:typeof E=="function"?E:!0,failure:typeof S=="function"?S:!1};return P.promise=new this.constructor(function(j,_){if(typeof j!="function"||typeof _!="function")throw TypeError("Not a function");P.resolve=j,P.reject=_}),y.chain.push(P),y.state!==0&&a(l,y),P.promise},this.catch=function(E){return this.then(void 0,E)};try{v.call(void 0,function(E){f.call(y,E)},function(E){m.call(y,E)})}catch(C){m.call(y,C)}}var w=n({},"constructor",x,!1);return x.prototype=w,n(w,"__NPO__",0,!1),n(x,"resolve",function(y){var C=this;return y&&typeof y=="object"&&y.__NPO__===1?y:new C(function(S,P){if(typeof S!="function"||typeof P!="function")throw TypeError("Not a function");S(y)})}),n(x,"reject",function(y){return new this(function(E,S){if(typeof E!="function"||typeof S!="function")throw TypeError("Not a function");S(y)})}),n(x,"all",function(y){var C=this;return s.call(y)!="[object Array]"?C.reject(TypeError("Not an array")):y.length===0?C.resolve([]):new C(function(S,P){if(typeof S!="function"||typeof P!="function")throw TypeError("Not a function");var N=y.length,j=Array(N),_=0;h(C,y,function(B,W){j[B]=W,++_===N&&S(j)},P)})}),n(x,"race",function(y){var C=this;return s.call(y)!="[object Array]"?C.reject(TypeError("Not an array")):new C(function(S,P){if(typeof S!="function"||typeof P!="function")throw TypeError("Not a function");h(C,y,function(j,_){S(_)},P)})}),x})});const Me=new WeakMap;function Mt(e,t,n){const r=Me.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),Me.set(e.element,r)}function Vn(e,t){return(Me.get(e.element)||{})[t]||[]}function Fn(e,t,n){const r=Me.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],Me.set(e.element,r),!0;const o=r[t].indexOf(n);return o!==-1&&r[t].splice(o,1),Me.set(e.element,r),r[t]&&r[t].length===0}function Jg(e,t){const n=Vn(e,t);if(n.length<1)return!1;const r=n.shift();return Fn(e,t,r),r}function e1(e,t){const n=Me.get(e);Me.set(t,n),Me.delete(e)}function Jt(e){if(typeof e=="string")try{e=JSON.parse(e)}catch(t){return console.warn(t),{}}return e}function Xe(e,t,n){if(!e.element.contentWindow||!e.element.contentWindow.postMessage)return;let r={method:t};n!==void 0&&(r.value=n);const o=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));o>=8&&o<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}function t1(e,t){t=Jt(t);let n=[],r;if(t.event)t.event==="error"&&Vn(e,t.data.method).forEach(s=>{const i=new Error(t.data.message);i.name=t.data.name,s.reject(i),Fn(e,t.data.method,s)}),n=Vn(e,`event:${t.event}`),r=t.data;else if(t.method){const o=Jg(e,t.method);o&&(n.push(o),r=t.value)}n.forEach(o=>{try{if(typeof o=="function"){o.call(e,r);return}o.resolve(r)}catch{}})}const n1=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function uc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return n1.reduce((n,r)=>{const o=e.getAttribute(`data-vimeo-${r}`);return(o||o==="")&&(n[r]=o===""?1:o),n},t)}function Vo(e,t){let{html:n}=e;if(!t)throw new TypeError("An element must be provided");if(t.getAttribute("data-vimeo-initialized")!==null)return t.querySelector("iframe");const r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function dc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise((r,o)=>{if(!Oe(e))throw new TypeError(`“${e}” is not a vimeo.com url.`);let i=`https://${Yg(e)}/api/oembed.json?url=${encodeURIComponent(e)}`;for(const c in t)t.hasOwnProperty(c)&&(i+=`&${c}=${encodeURIComponent(t[c])}`);const a="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;a.open("GET",i,!0),a.onload=function(){if(a.status===404){o(new Error(`“${e}” was not found.`));return}if(a.status===403){o(new Error(`“${e}” is not embeddable.`));return}try{const c=JSON.parse(a.responseText);if(c.domain_status_code===403){Vo(c,n),o(new Error(`“${e}” is not embeddable.`));return}r(c)}catch(c){o(c)}},a.onerror=function(){const c=a.status?` (${a.status})`:"";o(new Error(`There was an error fetching the embed code from Vimeo${c}.`))},a.send()})}function r1(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;const t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=r=>{"console"in window&&console.error&&console.error(`There was an error creating an embed: ${r}`)};t.forEach(r=>{try{if(r.getAttribute("data-vimeo-defer")!==null)return;const o=uc(r),s=lc(o);dc(s,o,r).then(i=>Vo(i,r)).catch(n)}catch(o){n(o)}})}function o1(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoPlayerResizeEmbeds_)return;window.VimeoPlayerResizeEmbeds_=!0;const t=n=>{if(!Oe(n.origin)||!n.data||n.data.event!=="spacechange")return;const r=n.source?lr(n.source,e):null;if(r){const o=r.parentElement;o.style.paddingBottom=`${n.data.data[0].bottom}px`}};window.addEventListener("message",t)}function s1(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoSeoMetadataAppended)return;window.VimeoSeoMetadataAppended=!0;const t=n=>{if(!Oe(n.origin))return;const r=Jt(n.data);if(!r||r.event!=="ready")return;const o=n.source?lr(n.source,e):null;o&&cc(o.src)&&new Fo(o).callMethod("appendVideoMetadata",window.location.href)};window.addEventListener("message",t)}function i1(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoCheckedUrlTimeParam)return;window.VimeoCheckedUrlTimeParam=!0;const t=r=>{"console"in window&&console.error&&console.error(`There was an error getting video Id: ${r}`)},n=r=>{if(!Oe(r.origin))return;const o=Jt(r.data);if(!o||o.event!=="ready")return;const s=r.source?lr(r.source,e):null;if(s&&cc(s.src)){const i=new Fo(s);i.getVideoId().then(a=>{const c=new RegExp(`[?&]vimeo_t_${a}=([^&#]*)`).exec(window.location.href);if(c&&c[1]){const l=decodeURI(c[1]);i.setCurrentTime(l)}}).catch(t)}};window.addEventListener("message",n)}function a1(){if(window.VimeoDRMEmbedsUpdated)return;window.VimeoDRMEmbedsUpdated=!0;const e=t=>{if(!Oe(t.origin))return;const n=Jt(t.data);if(!n||n.event!=="drminitfailed")return;const r=t.source?lr(t.source):null;if(!r)return;const o=r.getAttribute("allow")||"";if(!o.includes("encrypted-media")){r.setAttribute("allow",`${o}; encrypted-media`);const i=new URL(r.getAttribute("src"));i.searchParams.set("forcereload","drm"),r.setAttribute("src",i.toString());return}};window.addEventListener("message",e)}function c1(){const e=(function(){let r;const o=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let s=0;const i=o.length,a={};for(;s<i;s++)if(r=o[s],r&&r[1]in document){for(s=0;s<r.length;s++)a[o[0][s]]=r[s];return a}return!1})(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},n={request(r){return new Promise((o,s)=>{const i=function(){n.off("fullscreenchange",i),o()};n.on("fullscreenchange",i),r=r||document.documentElement;const a=r[e.requestFullscreen]();a instanceof Promise&&a.then(i).catch(s)})},exit(){return new Promise((r,o)=>{if(!n.isFullscreen){r();return}const s=function(){n.off("fullscreenchange",s),r()};n.on("fullscreenchange",s);const i=document[e.exitFullscreen]();i instanceof Promise&&i.then(s).catch(o)})},on(r,o){const s=t[r];s&&document.addEventListener(s,o)},off(r,o){const s=t[r];s&&document.removeEventListener(s,o)}};return Object.defineProperties(n,{isFullscreen:{get(){return!!document[e.fullscreenElement]}},element:{enumerable:!0,get(){return document[e.fullscreenElement]}},isEnabled:{enumerable:!0,get(){return!!document[e.fullscreenEnabled]}}}),n}const l1={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1};class u1 extends EventTarget{constructor(n,r){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;super();rn(this,"logger");rn(this,"speedAdjustment",0);rn(this,"adjustSpeed",async(n,r)=>{if(this.speedAdjustment===r)return;const o=await n.getPlaybackRate()-this.speedAdjustment+r;this.log(`New playbackRate: ${o}`),await n.setPlaybackRate(o),this.speedAdjustment=r});this.logger=s,this.init(r,n,{...l1,...o})}disconnect(){this.dispatchEvent(new Event("disconnect"))}async init(n,r,o){if(await this.waitForTOReadyState(n,"open"),o.role==="viewer"){await this.updatePlayer(n,r,o);const s=Zs(n,"change",()=>this.updatePlayer(n,r,o)),i=this.maintainPlaybackPosition(n,r,o);this.addEventListener("disconnect",()=>{i.cancel(),s.cancel()})}else{await this.updateTimingObject(n,r);const s=Zs(r,["seeked","play","pause","ratechange"],()=>this.updateTimingObject(n,r),"on","off");this.addEventListener("disconnect",()=>s.cancel())}}async updateTimingObject(n,r){const[o,s,i]=await Promise.all([r.getCurrentTime(),r.getPaused(),r.getPlaybackRate()]);n.update({position:o,velocity:s?0:i})}async updatePlayer(n,r,o){const{position:s,velocity:i}=n.query();typeof s=="number"&&r.setCurrentTime(s),typeof i=="number"&&(i===0?await r.getPaused()===!1&&r.pause():i>0&&(await r.getPaused()===!0&&(await r.play().catch(async a=>{a.name==="NotAllowedError"&&o.autoPlayMuted&&(await r.setMuted(!0),await r.play().catch(c=>console.error("Couldn't play the video from TimingSrcConnector. Error:",c)))}),this.updatePlayer(n,r,o)),await r.getPlaybackRate()!==i&&r.setPlaybackRate(i)))}maintainPlaybackPosition(n,r,o){const{allowedDrift:s,maxAllowedDrift:i,minCheckInterval:a,maxRateAdjustment:c,maxTimeToCatchUp:l}=o,d=Math.min(l,Math.max(a,i))*1e3,f=async()=>{if(n.query().velocity===0||await r.getPaused()===!0)return;const h=n.query().position-await r.getCurrentTime(),b=Math.abs(h);if(this.log(`Drift: ${h}`),b>i)await this.adjustSpeed(r,0),r.setCurrentTime(n.query().position),this.log("Resync by currentTime");else if(b>s){const g=b/l,x=c,w=g<x?(x-g)/2:x;await this.adjustSpeed(r,w*Math.sign(h)),this.log("Resync by playbackRate")}},m=setInterval(()=>f(),d);return{cancel:()=>clearInterval(m)}}log(n){var r;(r=this.logger)==null||r.call(this,`TimingSrcConnector: ${n}`)}waitForTOReadyState(n,r){return new Promise(o=>{const s=()=>{n.readyState===r?o():n.addEventListener("readystatechange",s,{once:!0})};s()})}}const mt=new WeakMap,zr=new WeakMap;let pe={};class Fo{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(window.jQuery&&t instanceof jQuery&&(t.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),t=t[0]),typeof document<"u"&&typeof t=="string"&&(t=document.getElementById(t)),!Gg(t))throw new TypeError("You must pass either a valid element or a valid id.");if(t.nodeName!=="IFRAME"){const o=t.querySelector("iframe");o&&(t=o)}if(t.nodeName==="IFRAME"&&!Oe(t.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(mt.has(t))return mt.get(t);this._window=t.ownerDocument.defaultView,this.element=t,this.origin="*";const r=new ve((o,s)=>{if(this._onMessage=i=>{if(!Oe(i.origin)||this.element.contentWindow!==i.source)return;this.origin==="*"&&(this.origin=i.origin);const a=Jt(i.data);if(a&&a.event==="error"&&a.data&&a.data.method==="ready"){const m=new Error(a.data.message);m.name=a.data.name,s(m);return}const d=a&&a.event==="ready",f=a&&a.method==="ping";if(d||f){this.element.setAttribute("data-ready","true"),o();return}t1(this,a)},this._window.addEventListener("message",this._onMessage),this.element.nodeName!=="IFRAME"){const i=uc(t,n),a=lc(i);dc(a,i,t).then(c=>{const l=Vo(c,t);return this.element=l,this._originalElement=t,e1(t,l),mt.set(this.element,this),c}).catch(s)}});if(zr.set(this,r),mt.set(this.element,this),this.element.nodeName==="IFRAME"&&Xe(this,"ping"),pe.isEnabled){const o=()=>pe.exit();this.fullscreenchangeHandler=()=>{pe.isFullscreen?Mt(this,"event:exitFullscreen",o):Fn(this,"event:exitFullscreen",o),this.ready().then(()=>{Xe(this,"fullscreenchange",pe.isFullscreen)})},pe.on("fullscreenchange",this.fullscreenchangeHandler)}return this}static isVimeoUrl(t){return Oe(t)}callMethod(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(t==null)throw new TypeError("You must pass a method name.");return new ve((s,i)=>this.ready().then(()=>{Mt(this,t,{resolve:s,reject:i}),r.length===0?r={}:r.length===1&&(r=r[0]),Xe(this,t,r)}).catch(i))}get(t){return new ve((n,r)=>(t=Gs(t,"get"),this.ready().then(()=>{Mt(this,t,{resolve:n,reject:r}),Xe(this,t)}).catch(r)))}set(t,n){return new ve((r,o)=>{if(t=Gs(t,"set"),n==null)throw new TypeError("There must be a value to set.");return this.ready().then(()=>{Mt(this,t,{resolve:r,reject:o}),Xe(this,t,n)}).catch(o)})}on(t,n){if(!t)throw new TypeError("You must pass an event name.");if(!n)throw new TypeError("You must pass a callback function.");if(typeof n!="function")throw new TypeError("The callback must be a function.");Vn(this,`event:${t}`).length===0&&this.callMethod("addEventListener",t).catch(()=>{}),Mt(this,`event:${t}`,n)}off(t,n){if(!t)throw new TypeError("You must pass an event name.");if(n&&typeof n!="function")throw new TypeError("The callback must be a function.");Fn(this,`event:${t}`,n)&&this.callMethod("removeEventListener",t).catch(o=>{})}loadVideo(t){return this.callMethod("loadVideo",t)}ready(){const t=zr.get(this)||new ve((n,r)=>{r(new Error("Unknown player. Probably unloaded."))});return ve.resolve(t)}addCuePoint(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:n})}removeCuePoint(t){return this.callMethod("removeCuePoint",t)}enableTextTrack(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:n,showing:r})}disableTextTrack(){return this.callMethod("disableTextTrack")}selectAudioTrack(t,n){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:t,kind:n})}selectDefaultAudioTrack(){return this.callMethod("selectDefaultAudioTrack")}pause(){return this.callMethod("pause")}play(){return this.callMethod("play")}requestFullscreen(){return pe.isEnabled?pe.request(this.element):this.callMethod("requestFullscreen")}exitFullscreen(){return pe.isEnabled?pe.exit():this.callMethod("exitFullscreen")}getFullscreen(){return pe.isEnabled?ve.resolve(pe.isFullscreen):this.get("fullscreen")}requestPictureInPicture(){return this.callMethod("requestPictureInPicture")}exitPictureInPicture(){return this.callMethod("exitPictureInPicture")}getPictureInPicture(){return this.get("pictureInPicture")}remotePlaybackPrompt(){return this.callMethod("remotePlaybackPrompt")}unload(){return this.callMethod("unload")}destroy(){return new ve(t=>{if(zr.delete(this),mt.delete(this.element),this._originalElement&&(mt.delete(this._originalElement),this._originalElement.removeAttribute("data-vimeo-initialized")),this.element&&this.element.nodeName==="IFRAME"&&this.element.parentNode&&(this.element.parentNode.parentNode&&this._originalElement&&this._originalElement!==this.element.parentNode?this.element.parentNode.parentNode.removeChild(this.element.parentNode):this.element.parentNode.removeChild(this.element)),this.element&&this.element.nodeName==="DIV"&&this.element.parentNode){this.element.removeAttribute("data-vimeo-initialized");const n=this.element.querySelector("iframe");n&&n.parentNode&&(n.parentNode.parentNode&&this._originalElement&&this._originalElement!==n.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n))}this._window.removeEventListener("message",this._onMessage),pe.isEnabled&&pe.off("fullscreenchange",this.fullscreenchangeHandler),t()})}getAutopause(){return this.get("autopause")}setAutopause(t){return this.set("autopause",t)}getBuffered(){return this.get("buffered")}getCameraProps(){return this.get("cameraProps")}setCameraProps(t){return this.set("cameraProps",t)}getChapters(){return this.get("chapters")}getCurrentChapter(){return this.get("currentChapter")}getColor(){return this.get("color")}getColors(){return ve.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}setColor(t){return this.set("color",t)}setColors(t){if(!Array.isArray(t))return new ve((o,s)=>s(new TypeError("Argument must be an array.")));const n=new ve(o=>o(null)),r=[t[0]?this.set("colorOne",t[0]):n,t[1]?this.set("colorTwo",t[1]):n,t[2]?this.set("colorThree",t[2]):n,t[3]?this.set("colorFour",t[3]):n];return ve.all(r)}getCuePoints(){return this.get("cuePoints")}getCurrentTime(){return this.get("currentTime")}setCurrentTime(t){return this.set("currentTime",t)}getDuration(){return this.get("duration")}getEnded(){return this.get("ended")}getLoop(){return this.get("loop")}setLoop(t){return this.set("loop",t)}setMuted(t){return this.set("muted",t)}getMuted(){return this.get("muted")}getPaused(){return this.get("paused")}getPlaybackRate(){return this.get("playbackRate")}setPlaybackRate(t){return this.set("playbackRate",t)}getPlayed(){return this.get("played")}getQualities(){return this.get("qualities")}getQuality(){return this.get("quality")}setQuality(t){return this.set("quality",t)}getRemotePlaybackAvailability(){return this.get("remotePlaybackAvailability")}getRemotePlaybackState(){return this.get("remotePlaybackState")}getSeekable(){return this.get("seekable")}getSeeking(){return this.get("seeking")}getTextTracks(){return this.get("textTracks")}getAudioTracks(){return this.get("audioTracks")}getEnabledAudioTrack(){return this.get("enabledAudioTrack")}getDefaultAudioTrack(){return this.get("defaultAudioTrack")}getVideoEmbedCode(){return this.get("videoEmbedCode")}getVideoId(){return this.get("videoId")}getVideoTitle(){return this.get("videoTitle")}getVideoWidth(){return this.get("videoWidth")}getVideoHeight(){return this.get("videoHeight")}getVideoUrl(){return this.get("videoUrl")}getVolume(){return this.get("volume")}setVolume(t){return this.set("volume",t)}async setTimingSrc(t,n){if(!t)throw new TypeError("A Timing Object must be provided.");await this.ready();const r=new u1(this,t,n);return Xe(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",()=>Xe(this,"notifyTimingObjectDisconnect")),r}}ac||(pe=c1(),r1(),o1(),s1(),i1(),a1());function d1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mn={exports:{}},Wr,Ys;function f1(){if(Ys)return Wr;Ys=1;var e;/**
51
+ */(function(n,r,o){r[n]=r[n]||o(),e.exports&&(e.exports=r[n])})("Promise",xt,function(){var n,r,o,s=Object.prototype.toString,i=typeof setImmediate<"u"?function(x){return setImmediate(x)}:setTimeout;try{Object.defineProperty({},"x",{}),n=function(x,C,E,S){return Object.defineProperty(x,C,{value:E,writable:!0,configurable:S!==!1})}}catch{n=function(C,E,S){return C[E]=S,C}}o=(function(){var x,C,E;function S(P,N){this.fn=P,this.self=N,this.next=void 0}return{add:function(N,j){E=new S(N,j),C?C.next=E:x=E,C=E,E=void 0},drain:function(){var N=x;for(x=C=r=void 0;N;)N.fn.call(N.self),N=N.next}}})();function a(v,x){o.add(v,x),r||(r=i(o.drain))}function c(v){var x,C=typeof v;return v!=null&&(C=="object"||C=="function")&&(x=v.then),typeof x=="function"?x:!1}function l(){for(var v=0;v<this.chain.length;v++)d(this,this.state===1?this.chain[v].success:this.chain[v].failure,this.chain[v]);this.chain.length=0}function d(v,x,C){var E,S;try{x===!1?C.reject(v.msg):(x===!0?E=v.msg:E=x.call(void 0,v.msg),E===C.promise?C.reject(TypeError("Promise-chain cycle")):(S=c(E))?S.call(E,C.resolve,C.reject):C.resolve(E))}catch(P){C.reject(P)}}function f(v){var x,C=this;if(!C.triggered){C.triggered=!0,C.def&&(C=C.def);try{(x=c(v))?a(function(){var E=new y(C);try{x.call(v,function(){f.apply(E,arguments)},function(){m.apply(E,arguments)})}catch(S){m.call(E,S)}}):(C.msg=v,C.state=1,C.chain.length>0&&a(l,C))}catch(E){m.call(new y(C),E)}}}function m(v){var x=this;x.triggered||(x.triggered=!0,x.def&&(x=x.def),x.msg=v,x.state=2,x.chain.length>0&&a(l,x))}function h(v,x,C,E){for(var S=0;S<x.length;S++)(function(N){v.resolve(x[N]).then(function(_){C(N,_)},E)})(S)}function y(v){this.def=v,this.triggered=!1}function g(v){this.promise=v,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function b(v){if(typeof v!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var x=new g(this);this.then=function(E,S){var P={success:typeof E=="function"?E:!0,failure:typeof S=="function"?S:!1};return P.promise=new this.constructor(function(j,_){if(typeof j!="function"||typeof _!="function")throw TypeError("Not a function");P.resolve=j,P.reject=_}),x.chain.push(P),x.state!==0&&a(l,x),P.promise},this.catch=function(E){return this.then(void 0,E)};try{v.call(void 0,function(E){f.call(x,E)},function(E){m.call(x,E)})}catch(C){m.call(x,C)}}var w=n({},"constructor",b,!1);return b.prototype=w,n(w,"__NPO__",0,!1),n(b,"resolve",function(x){var C=this;return x&&typeof x=="object"&&x.__NPO__===1?x:new C(function(S,P){if(typeof S!="function"||typeof P!="function")throw TypeError("Not a function");S(x)})}),n(b,"reject",function(x){return new this(function(E,S){if(typeof E!="function"||typeof S!="function")throw TypeError("Not a function");S(x)})}),n(b,"all",function(x){var C=this;return s.call(x)!="[object Array]"?C.reject(TypeError("Not an array")):x.length===0?C.resolve([]):new C(function(S,P){if(typeof S!="function"||typeof P!="function")throw TypeError("Not a function");var N=x.length,j=Array(N),_=0;h(C,x,function(B,W){j[B]=W,++_===N&&S(j)},P)})}),n(b,"race",function(x){var C=this;return s.call(x)!="[object Array]"?C.reject(TypeError("Not an array")):new C(function(S,P){if(typeof S!="function"||typeof P!="function")throw TypeError("Not a function");h(C,x,function(j,_){S(_)},P)})}),b})});const Me=new WeakMap;function Mt(e,t,n){const r=Me.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),Me.set(e.element,r)}function Vn(e,t){return(Me.get(e.element)||{})[t]||[]}function Fn(e,t,n){const r=Me.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],Me.set(e.element,r),!0;const o=r[t].indexOf(n);return o!==-1&&r[t].splice(o,1),Me.set(e.element,r),r[t]&&r[t].length===0}function c1(e,t){const n=Vn(e,t);if(n.length<1)return!1;const r=n.shift();return Fn(e,t,r),r}function l1(e,t){const n=Me.get(e);Me.set(t,n),Me.delete(e)}function Jt(e){if(typeof e=="string")try{e=JSON.parse(e)}catch(t){return console.warn(t),{}}return e}function Ke(e,t,n){if(!e.element.contentWindow||!e.element.contentWindow.postMessage)return;let r={method:t};n!==void 0&&(r.value=n);const o=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));o>=8&&o<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}function u1(e,t){t=Jt(t);let n=[],r;if(t.event)t.event==="error"&&Vn(e,t.data.method).forEach(s=>{const i=new Error(t.data.message);i.name=t.data.name,s.reject(i),Fn(e,t.data.method,s)}),n=Vn(e,`event:${t.event}`),r=t.data;else if(t.method){const o=c1(e,t.method);o&&(n.push(o),r=t.value)}n.forEach(o=>{try{if(typeof o=="function"){o.call(e,r);return}o.resolve(r)}catch{}})}const d1=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function gc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return d1.reduce((n,r)=>{const o=e.getAttribute(`data-vimeo-${r}`);return(o||o==="")&&(n[r]=o===""?1:o),n},t)}function Vo(e,t){let{html:n}=e;if(!t)throw new TypeError("An element must be provided");if(t.getAttribute("data-vimeo-initialized")!==null)return t.querySelector("iframe");const r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function vc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise((r,o)=>{if(!Oe(e))throw new TypeError(`“${e}” is not a vimeo.com url.`);let i=`https://${o1(e)}/api/oembed.json?url=${encodeURIComponent(e)}`;for(const c in t)t.hasOwnProperty(c)&&(i+=`&${c}=${encodeURIComponent(t[c])}`);const a="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;a.open("GET",i,!0),a.onload=function(){if(a.status===404){o(new Error(`“${e}” was not found.`));return}if(a.status===403){o(new Error(`“${e}” is not embeddable.`));return}try{const c=JSON.parse(a.responseText);if(c.domain_status_code===403){Vo(c,n),o(new Error(`“${e}” is not embeddable.`));return}r(c)}catch(c){o(c)}},a.onerror=function(){const c=a.status?` (${a.status})`:"";o(new Error(`There was an error fetching the embed code from Vimeo${c}.`))},a.send()})}function f1(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;const t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=r=>{"console"in window&&console.error&&console.error(`There was an error creating an embed: ${r}`)};t.forEach(r=>{try{if(r.getAttribute("data-vimeo-defer")!==null)return;const o=gc(r),s=hc(o);vc(s,o,r).then(i=>Vo(i,r)).catch(n)}catch(o){n(o)}})}function p1(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoPlayerResizeEmbeds_)return;window.VimeoPlayerResizeEmbeds_=!0;const t=n=>{if(!Oe(n.origin)||!n.data||n.data.event!=="spacechange")return;const r=n.source?lr(n.source,e):null;if(r){const o=r.parentElement;o.style.paddingBottom=`${n.data.data[0].bottom}px`}};window.addEventListener("message",t)}function m1(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoSeoMetadataAppended)return;window.VimeoSeoMetadataAppended=!0;const t=n=>{if(!Oe(n.origin))return;const r=Jt(n.data);if(!r||r.event!=="ready")return;const o=n.source?lr(n.source,e):null;o&&mc(o.src)&&new Fo(o).callMethod("appendVideoMetadata",window.location.href)};window.addEventListener("message",t)}function h1(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoCheckedUrlTimeParam)return;window.VimeoCheckedUrlTimeParam=!0;const t=r=>{"console"in window&&console.error&&console.error(`There was an error getting video Id: ${r}`)},n=r=>{if(!Oe(r.origin))return;const o=Jt(r.data);if(!o||o.event!=="ready")return;const s=r.source?lr(r.source,e):null;if(s&&mc(s.src)){const i=new Fo(s);i.getVideoId().then(a=>{const c=new RegExp(`[?&]vimeo_t_${a}=([^&#]*)`).exec(window.location.href);if(c&&c[1]){const l=decodeURI(c[1]);i.setCurrentTime(l)}}).catch(t)}};window.addEventListener("message",n)}function g1(){if(window.VimeoDRMEmbedsUpdated)return;window.VimeoDRMEmbedsUpdated=!0;const e=t=>{if(!Oe(t.origin))return;const n=Jt(t.data);if(!n||n.event!=="drminitfailed")return;const r=t.source?lr(t.source):null;if(!r)return;const o=r.getAttribute("allow")||"";if(!o.includes("encrypted-media")){r.setAttribute("allow",`${o}; encrypted-media`);const i=new URL(r.getAttribute("src"));i.searchParams.set("forcereload","drm"),r.setAttribute("src",i.toString());return}};window.addEventListener("message",e)}function v1(){const e=(function(){let r;const o=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let s=0;const i=o.length,a={};for(;s<i;s++)if(r=o[s],r&&r[1]in document){for(s=0;s<r.length;s++)a[o[0][s]]=r[s];return a}return!1})(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},n={request(r){return new Promise((o,s)=>{const i=function(){n.off("fullscreenchange",i),o()};n.on("fullscreenchange",i),r=r||document.documentElement;const a=r[e.requestFullscreen]();a instanceof Promise&&a.then(i).catch(s)})},exit(){return new Promise((r,o)=>{if(!n.isFullscreen){r();return}const s=function(){n.off("fullscreenchange",s),r()};n.on("fullscreenchange",s);const i=document[e.exitFullscreen]();i instanceof Promise&&i.then(s).catch(o)})},on(r,o){const s=t[r];s&&document.addEventListener(s,o)},off(r,o){const s=t[r];s&&document.removeEventListener(s,o)}};return Object.defineProperties(n,{isFullscreen:{get(){return!!document[e.fullscreenElement]}},element:{enumerable:!0,get(){return document[e.fullscreenElement]}},isEnabled:{enumerable:!0,get(){return!!document[e.fullscreenEnabled]}}}),n}const b1={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1};class y1 extends EventTarget{constructor(n,r){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;super();rn(this,"logger");rn(this,"speedAdjustment",0);rn(this,"adjustSpeed",async(n,r)=>{if(this.speedAdjustment===r)return;const o=await n.getPlaybackRate()-this.speedAdjustment+r;this.log(`New playbackRate: ${o}`),await n.setPlaybackRate(o),this.speedAdjustment=r});this.logger=s,this.init(r,n,{...b1,...o})}disconnect(){this.dispatchEvent(new Event("disconnect"))}async init(n,r,o){if(await this.waitForTOReadyState(n,"open"),o.role==="viewer"){await this.updatePlayer(n,r,o);const s=Ys(n,"change",()=>this.updatePlayer(n,r,o)),i=this.maintainPlaybackPosition(n,r,o);this.addEventListener("disconnect",()=>{i.cancel(),s.cancel()})}else{await this.updateTimingObject(n,r);const s=Ys(r,["seeked","play","pause","ratechange"],()=>this.updateTimingObject(n,r),"on","off");this.addEventListener("disconnect",()=>s.cancel())}}async updateTimingObject(n,r){const[o,s,i]=await Promise.all([r.getCurrentTime(),r.getPaused(),r.getPlaybackRate()]);n.update({position:o,velocity:s?0:i})}async updatePlayer(n,r,o){const{position:s,velocity:i}=n.query();typeof s=="number"&&r.setCurrentTime(s),typeof i=="number"&&(i===0?await r.getPaused()===!1&&r.pause():i>0&&(await r.getPaused()===!0&&(await r.play().catch(async a=>{a.name==="NotAllowedError"&&o.autoPlayMuted&&(await r.setMuted(!0),await r.play().catch(c=>console.error("Couldn't play the video from TimingSrcConnector. Error:",c)))}),this.updatePlayer(n,r,o)),await r.getPlaybackRate()!==i&&r.setPlaybackRate(i)))}maintainPlaybackPosition(n,r,o){const{allowedDrift:s,maxAllowedDrift:i,minCheckInterval:a,maxRateAdjustment:c,maxTimeToCatchUp:l}=o,d=Math.min(l,Math.max(a,i))*1e3,f=async()=>{if(n.query().velocity===0||await r.getPaused()===!0)return;const h=n.query().position-await r.getCurrentTime(),y=Math.abs(h);if(this.log(`Drift: ${h}`),y>i)await this.adjustSpeed(r,0),r.setCurrentTime(n.query().position),this.log("Resync by currentTime");else if(y>s){const g=y/l,b=c,w=g<b?(b-g)/2:b;await this.adjustSpeed(r,w*Math.sign(h)),this.log("Resync by playbackRate")}},m=setInterval(()=>f(),d);return{cancel:()=>clearInterval(m)}}log(n){var r;(r=this.logger)==null||r.call(this,`TimingSrcConnector: ${n}`)}waitForTOReadyState(n,r){return new Promise(o=>{const s=()=>{n.readyState===r?o():n.addEventListener("readystatechange",s,{once:!0})};s()})}}const mt=new WeakMap,zr=new WeakMap;let pe={};class Fo{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(window.jQuery&&t instanceof jQuery&&(t.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),t=t[0]),typeof document<"u"&&typeof t=="string"&&(t=document.getElementById(t)),!n1(t))throw new TypeError("You must pass either a valid element or a valid id.");if(t.nodeName!=="IFRAME"){const o=t.querySelector("iframe");o&&(t=o)}if(t.nodeName==="IFRAME"&&!Oe(t.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(mt.has(t))return mt.get(t);this._window=t.ownerDocument.defaultView,this.element=t,this.origin="*";const r=new ve((o,s)=>{if(this._onMessage=i=>{if(!Oe(i.origin)||this.element.contentWindow!==i.source)return;this.origin==="*"&&(this.origin=i.origin);const a=Jt(i.data);if(a&&a.event==="error"&&a.data&&a.data.method==="ready"){const m=new Error(a.data.message);m.name=a.data.name,s(m);return}const d=a&&a.event==="ready",f=a&&a.method==="ping";if(d||f){this.element.setAttribute("data-ready","true"),o();return}u1(this,a)},this._window.addEventListener("message",this._onMessage),this.element.nodeName!=="IFRAME"){const i=gc(t,n),a=hc(i);vc(a,i,t).then(c=>{const l=Vo(c,t);return this.element=l,this._originalElement=t,l1(t,l),mt.set(this.element,this),c}).catch(s)}});if(zr.set(this,r),mt.set(this.element,this),this.element.nodeName==="IFRAME"&&Ke(this,"ping"),pe.isEnabled){const o=()=>pe.exit();this.fullscreenchangeHandler=()=>{pe.isFullscreen?Mt(this,"event:exitFullscreen",o):Fn(this,"event:exitFullscreen",o),this.ready().then(()=>{Ke(this,"fullscreenchange",pe.isFullscreen)})},pe.on("fullscreenchange",this.fullscreenchangeHandler)}return this}static isVimeoUrl(t){return Oe(t)}callMethod(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(t==null)throw new TypeError("You must pass a method name.");return new ve((s,i)=>this.ready().then(()=>{Mt(this,t,{resolve:s,reject:i}),r.length===0?r={}:r.length===1&&(r=r[0]),Ke(this,t,r)}).catch(i))}get(t){return new ve((n,r)=>(t=Zs(t,"get"),this.ready().then(()=>{Mt(this,t,{resolve:n,reject:r}),Ke(this,t)}).catch(r)))}set(t,n){return new ve((r,o)=>{if(t=Zs(t,"set"),n==null)throw new TypeError("There must be a value to set.");return this.ready().then(()=>{Mt(this,t,{resolve:r,reject:o}),Ke(this,t,n)}).catch(o)})}on(t,n){if(!t)throw new TypeError("You must pass an event name.");if(!n)throw new TypeError("You must pass a callback function.");if(typeof n!="function")throw new TypeError("The callback must be a function.");Vn(this,`event:${t}`).length===0&&this.callMethod("addEventListener",t).catch(()=>{}),Mt(this,`event:${t}`,n)}off(t,n){if(!t)throw new TypeError("You must pass an event name.");if(n&&typeof n!="function")throw new TypeError("The callback must be a function.");Fn(this,`event:${t}`,n)&&this.callMethod("removeEventListener",t).catch(o=>{})}loadVideo(t){return this.callMethod("loadVideo",t)}ready(){const t=zr.get(this)||new ve((n,r)=>{r(new Error("Unknown player. Probably unloaded."))});return ve.resolve(t)}addCuePoint(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:n})}removeCuePoint(t){return this.callMethod("removeCuePoint",t)}enableTextTrack(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:n,showing:r})}disableTextTrack(){return this.callMethod("disableTextTrack")}selectAudioTrack(t,n){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:t,kind:n})}selectDefaultAudioTrack(){return this.callMethod("selectDefaultAudioTrack")}pause(){return this.callMethod("pause")}play(){return this.callMethod("play")}requestFullscreen(){return pe.isEnabled?pe.request(this.element):this.callMethod("requestFullscreen")}exitFullscreen(){return pe.isEnabled?pe.exit():this.callMethod("exitFullscreen")}getFullscreen(){return pe.isEnabled?ve.resolve(pe.isFullscreen):this.get("fullscreen")}requestPictureInPicture(){return this.callMethod("requestPictureInPicture")}exitPictureInPicture(){return this.callMethod("exitPictureInPicture")}getPictureInPicture(){return this.get("pictureInPicture")}remotePlaybackPrompt(){return this.callMethod("remotePlaybackPrompt")}unload(){return this.callMethod("unload")}destroy(){return new ve(t=>{if(zr.delete(this),mt.delete(this.element),this._originalElement&&(mt.delete(this._originalElement),this._originalElement.removeAttribute("data-vimeo-initialized")),this.element&&this.element.nodeName==="IFRAME"&&this.element.parentNode&&(this.element.parentNode.parentNode&&this._originalElement&&this._originalElement!==this.element.parentNode?this.element.parentNode.parentNode.removeChild(this.element.parentNode):this.element.parentNode.removeChild(this.element)),this.element&&this.element.nodeName==="DIV"&&this.element.parentNode){this.element.removeAttribute("data-vimeo-initialized");const n=this.element.querySelector("iframe");n&&n.parentNode&&(n.parentNode.parentNode&&this._originalElement&&this._originalElement!==n.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n))}this._window.removeEventListener("message",this._onMessage),pe.isEnabled&&pe.off("fullscreenchange",this.fullscreenchangeHandler),t()})}getAutopause(){return this.get("autopause")}setAutopause(t){return this.set("autopause",t)}getBuffered(){return this.get("buffered")}getCameraProps(){return this.get("cameraProps")}setCameraProps(t){return this.set("cameraProps",t)}getChapters(){return this.get("chapters")}getCurrentChapter(){return this.get("currentChapter")}getColor(){return this.get("color")}getColors(){return ve.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}setColor(t){return this.set("color",t)}setColors(t){if(!Array.isArray(t))return new ve((o,s)=>s(new TypeError("Argument must be an array.")));const n=new ve(o=>o(null)),r=[t[0]?this.set("colorOne",t[0]):n,t[1]?this.set("colorTwo",t[1]):n,t[2]?this.set("colorThree",t[2]):n,t[3]?this.set("colorFour",t[3]):n];return ve.all(r)}getCuePoints(){return this.get("cuePoints")}getCurrentTime(){return this.get("currentTime")}setCurrentTime(t){return this.set("currentTime",t)}getDuration(){return this.get("duration")}getEnded(){return this.get("ended")}getLoop(){return this.get("loop")}setLoop(t){return this.set("loop",t)}setMuted(t){return this.set("muted",t)}getMuted(){return this.get("muted")}getPaused(){return this.get("paused")}getPlaybackRate(){return this.get("playbackRate")}setPlaybackRate(t){return this.set("playbackRate",t)}getPlayed(){return this.get("played")}getQualities(){return this.get("qualities")}getQuality(){return this.get("quality")}setQuality(t){return this.set("quality",t)}getRemotePlaybackAvailability(){return this.get("remotePlaybackAvailability")}getRemotePlaybackState(){return this.get("remotePlaybackState")}getSeekable(){return this.get("seekable")}getSeeking(){return this.get("seeking")}getTextTracks(){return this.get("textTracks")}getAudioTracks(){return this.get("audioTracks")}getEnabledAudioTrack(){return this.get("enabledAudioTrack")}getDefaultAudioTrack(){return this.get("defaultAudioTrack")}getVideoEmbedCode(){return this.get("videoEmbedCode")}getVideoId(){return this.get("videoId")}getVideoTitle(){return this.get("videoTitle")}getVideoWidth(){return this.get("videoWidth")}getVideoHeight(){return this.get("videoHeight")}getVideoUrl(){return this.get("videoUrl")}getVolume(){return this.get("volume")}setVolume(t){return this.set("volume",t)}async setTimingSrc(t,n){if(!t)throw new TypeError("A Timing Object must be provided.");await this.ready();const r=new y1(this,t,n);return Ke(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",()=>Ke(this,"notifyTimingObjectDisconnect")),r}}pc||(pe=v1(),f1(),p1(),m1(),h1(),g1());function x1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mn={exports:{}},Wr,Ks;function w1(){if(Ks)return Wr;Ks=1;var e;/**
52
52
  * @link https://github.com/gajus/sister for the canonical source repository
53
53
  * @license https://github.com/gajus/sister/blob/master/LICENSE BSD 3-Clause
54
- */return e=function(){var t={},n={};return t.on=function(r,o){var s={name:r,handler:o};return n[r]=n[r]||[],n[r].unshift(s),s},t.off=function(r){var o=n[r.name].indexOf(r);o!==-1&&n[r.name].splice(o,1)},t.trigger=function(r,o){var s=n[r],i;if(s)for(i=s.length;i--;)s[i].handler(o)},t},Wr=e,Wr}var hn={exports:{}},gn={exports:{}},Ur,Xs;function p1(){if(Xs)return Ur;Xs=1;var e=1e3,t=e*60,n=t*60,r=n*24,o=r*7,s=r*365.25;Ur=function(d,f){f=f||{};var m=typeof d;if(m==="string"&&d.length>0)return i(d);if(m==="number"&&isFinite(d))return f.long?c(d):a(d);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(d))};function i(d){if(d=String(d),!(d.length>100)){var f=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(d);if(f){var m=parseFloat(f[1]),h=(f[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return m*s;case"weeks":case"week":case"w":return m*o;case"days":case"day":case"d":return m*r;case"hours":case"hour":case"hrs":case"hr":case"h":return m*n;case"minutes":case"minute":case"mins":case"min":case"m":return m*t;case"seconds":case"second":case"secs":case"sec":case"s":return m*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return m;default:return}}}}function a(d){var f=Math.abs(d);return f>=r?Math.round(d/r)+"d":f>=n?Math.round(d/n)+"h":f>=t?Math.round(d/t)+"m":f>=e?Math.round(d/e)+"s":d+"ms"}function c(d){var f=Math.abs(d);return f>=r?l(d,f,r,"day"):f>=n?l(d,f,n,"hour"):f>=t?l(d,f,t,"minute"):f>=e?l(d,f,e,"second"):d+" ms"}function l(d,f,m,h){var b=f>=m*1.5;return Math.round(d/m)+" "+h+(b?"s":"")}return Ur}var qr,Ks;function m1(){if(Ks)return qr;Ks=1;function e(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=s,r.enabled=c,r.humanize=p1(),r.destroy=d,Object.keys(t).forEach(f=>{r[f]=t[f]}),r.names=[],r.skips=[],r.formatters={};function n(f){let m=0;for(let h=0;h<f.length;h++)m=(m<<5)-m+f.charCodeAt(h),m|=0;return r.colors[Math.abs(m)%r.colors.length]}r.selectColor=n;function r(f){let m,h=null,b,g;function x(...w){if(!x.enabled)return;const v=x,y=Number(new Date),C=y-(m||y);v.diff=C,v.prev=m,v.curr=y,m=y,w[0]=r.coerce(w[0]),typeof w[0]!="string"&&w.unshift("%O");let E=0;w[0]=w[0].replace(/%([a-zA-Z%])/g,(P,N)=>{if(P==="%%")return"%";E++;const j=r.formatters[N];if(typeof j=="function"){const _=w[E];P=j.call(v,_),w.splice(E,1),E--}return P}),r.formatArgs.call(v,w),(v.log||r.log).apply(v,w)}return x.namespace=f,x.useColors=r.useColors(),x.color=r.selectColor(f),x.extend=o,x.destroy=r.destroy,Object.defineProperty(x,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(b!==r.namespaces&&(b=r.namespaces,g=r.enabled(f)),g),set:w=>{h=w}}),typeof r.init=="function"&&r.init(x),x}function o(f,m){const h=r(this.namespace+(typeof m>"u"?":":m)+f);return h.log=this.log,h}function s(f){r.save(f),r.namespaces=f,r.names=[],r.skips=[];const m=(typeof f=="string"?f:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const h of m)h[0]==="-"?r.skips.push(h.slice(1)):r.names.push(h)}function i(f,m){let h=0,b=0,g=-1,x=0;for(;h<f.length;)if(b<m.length&&(m[b]===f[h]||m[b]==="*"))m[b]==="*"?(g=b,x=h,b++):(h++,b++);else if(g!==-1)b=g+1,x++,h=x;else return!1;for(;b<m.length&&m[b]==="*";)b++;return b===m.length}function a(){const f=[...r.names,...r.skips.map(m=>"-"+m)].join(",");return r.enable(""),f}function c(f){for(const m of r.skips)if(i(f,m))return!1;for(const m of r.names)if(i(f,m))return!0;return!1}function l(f){return f instanceof Error?f.stack||f.message:f}function d(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}return qr=e,qr}var Qs;function h1(){return Qs||(Qs=1,(function(e,t){t.formatArgs=r,t.save=o,t.load=s,t.useColors=n,t.storage=i(),t.destroy=(()=>{let c=!1;return()=>{c||(c=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let c;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(c=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(c[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const l="color: "+this.color;c.splice(1,0,l,"color: inherit");let d=0,f=0;c[0].replace(/%[a-zA-Z%]/g,m=>{m!=="%%"&&(d++,m==="%c"&&(f=d))}),c.splice(f,0,l)}t.log=console.debug||console.log||(()=>{});function o(c){try{c?t.storage.setItem("debug",c):t.storage.removeItem("debug")}catch{}}function s(){let c;try{c=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=process.env.DEBUG),c}function i(){try{return localStorage}catch{}}e.exports=m1()(t);const{formatters:a}=e.exports;a.j=function(c){try{return JSON.stringify(c)}catch(l){return"[UnexpectedJSONParseError]: "+l.message}}})(gn,gn.exports)),gn.exports}var vn={exports:{}},bn={exports:{}},Js;function g1(){return Js||(Js=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default})(bn,bn.exports)),bn.exports}var ei;function v1(){return ei||(ei=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=g1(),r=o(n);function o(s){return s&&s.__esModule?s:{default:s}}t.default={pauseVideo:{acceptableStates:[r.default.ENDED,r.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[r.default.ENDED,r.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[r.default.ENDED,r.default.PLAYING,r.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default})(vn,vn.exports)),vn.exports}var xn={exports:{}},ti;function b1(){return ti||(ti=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default})(xn,xn.exports)),xn.exports}var yn={exports:{}},ni;function x1(){return ni||(ni=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe","getSphericalProperties","setSphericalProperties"],e.exports=t.default})(yn,yn.exports)),yn.exports}var ri;function y1(){return ri||(ri=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=h1(),r=d(n),o=v1(),s=d(o),i=b1(),a=d(i),c=x1(),l=d(c);function d(h){return h&&h.__esModule?h:{default:h}}const f=(0,r.default)("youtube-player"),m={};m.proxyEvents=h=>{const b={};for(const g of a.default){const x="on"+g.slice(0,1).toUpperCase()+g.slice(1);b[x]=w=>{f('event "%s"',x,w),h.trigger(g,w)}}return b},m.promisifyPlayer=(h,b=!1)=>{const g={};for(const x of l.default)b&&s.default[x]?g[x]=(...w)=>h.then(v=>{const y=s.default[x],C=v.getPlayerState(),E=v[x].apply(v,w);return y.stateChangeRequired||Array.isArray(y.acceptableStates)&&!y.acceptableStates.includes(C)?new Promise(S=>{const P=()=>{const N=v.getPlayerState();let j;typeof y.timeout=="number"&&(j=setTimeout(()=>{v.removeEventListener("onStateChange",P),S()},y.timeout)),Array.isArray(y.acceptableStates)&&y.acceptableStates.includes(N)&&(v.removeEventListener("onStateChange",P),clearTimeout(j),S())};v.addEventListener("onStateChange",P)}).then(()=>E):E}):g[x]=(...w)=>h.then(v=>v[x].apply(v,w));return g},t.default=m,e.exports=t.default})(hn,hn.exports)),hn.exports}var wn={exports:{}},Gr,oi;function w1(){if(oi)return Gr;oi=1,Gr=function(o,s,i){var a=document.head||document.getElementsByTagName("head")[0],c=document.createElement("script");typeof s=="function"&&(i=s,s={}),s=s||{},i=i||function(){},c.type=s.type||"text/javascript",c.charset=s.charset||"utf8",c.async="async"in s?!!s.async:!0,c.src=o,s.attrs&&e(c,s.attrs),s.text&&(c.text=""+s.text);var l="onload"in c?t:n;l(c,i),c.onload||t(c,i),a.appendChild(c)};function e(r,o){for(var s in o)r.setAttribute(s,o[s])}function t(r,o){r.onload=function(){this.onerror=this.onload=null,o(null,r)},r.onerror=function(){this.onerror=this.onload=null,o(new Error("Failed to load "+this.src),r)}}function n(r,o){r.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,o(null,r))}}return Gr}var si;function C1(){return si||(si=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=w1(),r=o(n);function o(s){return s&&s.__esModule?s:{default:s}}t.default=s=>new Promise(a=>{if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function){a(window.YT);return}else{const l=window.location.protocol==="http:"?"http:":"https:";(0,r.default)(l+"//www.youtube.com/iframe_api",d=>{d&&s.trigger("error",d)})}const c=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{c&&c(),a(window.YT)}}),e.exports=t.default})(wn,wn.exports)),wn.exports}var ii;function S1(){return ii||(ii=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=f1(),r=c(n),o=y1(),s=c(o),i=C1(),a=c(i);function c(d){return d&&d.__esModule?d:{default:d}}let l;t.default=(d,f={},m=!1)=>{const h=(0,r.default)();if(l||(l=(0,a.default)(h)),f.events)throw new Error("Event handlers cannot be overwritten.");if(typeof d=="string"&&!document.getElementById(d))throw new Error('Element "'+d+'" does not exist.');f.events=s.default.proxyEvents(h);const b=new Promise(x=>{typeof d=="object"&&d.playVideo instanceof Function?x(d):l.then(w=>{const v=new w.Player(d,f);return h.on("ready",()=>{x(v)}),null})}),g=s.default.promisifyPlayer(b,m);return g.on=h.on,g.off=h.off,g},e.exports=t.default})(mn,mn.exports)),mn.exports}var E1=S1();const P1=d1(E1);function N1({src:e,provider:t,autoplay:n=!1,muted:r=!1,loop:o=!1,showControls:s=!1,containerRef:i,onPlay:a,onPause:c,onEnded:l,onError:d}){const f=R.useRef(null),m=R.useRef(null),h=R.useRef(null),[b,g]=R.useState(!1),x=R.useCallback((E,S)=>{var P,N;return S==="youtube"?((P=E.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/)([^&\n?#]+)/))==null?void 0:P[1])??null:S==="vimeo"?((N=E.match(/vimeo\.com\/(\d+)/))==null?void 0:N[1])??null:null},[]),w=R.useCallback(()=>{if(!e||!t||!i.current)return;if(i.current.innerHTML="",t==="html5"){const S=document.createElement("video");S.src=e,S.autoplay=n,S.muted=r,S.loop=o,S.controls=s,S.playsInline=!0,S.preload="auto";const P=()=>{g(!0),a==null||a()},N=()=>{g(!1),c==null||c()},j=()=>{g(!1),l==null||l()},_=()=>{d==null||d(new Error("HTML5 video error"))};return S.addEventListener("play",P),S.addEventListener("pause",N),S.addEventListener("ended",j),S.addEventListener("error",_),i.current.innerHTML="",i.current.appendChild(S),h.current=S,()=>{S.pause(),S.removeEventListener("play",P),S.removeEventListener("pause",N),S.removeEventListener("ended",j),S.removeEventListener("error",_),S.remove(),h.current=null}}const E=x(e,t);if(E)try{if(t==="youtube"){const S=document.createElement("div");i.current.appendChild(S),m.current=P1(S,{videoId:E,playerVars:{autoplay:n?1:0,controls:s?1:0,rel:0,modestbranding:1,playsinline:1,enablejsapi:1,origin:window.location.origin,loop:o?1:0,...o?{playlist:E}:{}}}),m.current.on("stateChange",({data:P})=>{P===1?(g(!0),a==null||a()):P===2?(g(!1),c==null||c()):P===0&&(g(!1),l==null||l())}),m.current.on("ready",()=>{var P,N;r&&((P=m.current)==null||P.mute()),n&&((N=m.current)==null||N.playVideo())}),m.current.on("error",P=>{d==null||d(new Error(`Youtube error: ${JSON.stringify(P,null,2)??"Unknown error"}`))})}t==="vimeo"&&(f.current=new Fo(i.current,{id:E,autoplay:n,muted:r,loop:o,controls:s,background:!s}),f.current.on("play",()=>{g(!0),a==null||a()}),f.current.on("pause",()=>{g(!1),c==null||c()}),f.current.on("ended",()=>{o||(g(!1),l==null||l())}),f.current.on("error",S=>{d==null||d(new Error(`Vimeo error: ${S.message}`))}))}catch(S){d==null||d(S)}},[e,t,i,n,r,o,s,x,a,c,l,d]);R.useEffect(()=>{const E=i.current,S=w();return()=>{var P,N,j;S==null||S(),(P=f.current)==null||P.destroy(),(j=(N=m.current)==null?void 0:N.destroy)==null||j.call(N),f.current=null,m.current=null,h.current=null,E==null||E.replaceChildren(),g(!1)}},[i,w]);const v=R.useCallback(async()=>{f.current?await f.current.play():m.current?await m.current.playVideo():h.current&&await h.current.play()},[]),y=R.useCallback(async()=>{f.current?await f.current.pause():m.current?await m.current.pauseVideo():h.current&&h.current.pause()},[]),C=R.useCallback(async()=>{b?await y():await v()},[b,v,y]);return{isPlaying:b,play:v,pause:y,togglePlayback:C}}function fc({children:e,variant:t}){return u.jsx(u.Fragment,{children:R.Children.map(e,n=>R.isValidElement(n)?R.cloneElement(n,{variant:t}):n)})}const pc=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{clipPath:"url(#clip0_17_2073)"},p.createElement("path",{d:"M20 3.00391L13.0039 10L20 16.9961L16.9961 20L10 13.0039L3.00391 20L0 16.9961L6.99609 10L0 3.00391L3.00391 0L10 6.99609L16.9961 0L20 3.00391Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_17_2073"},p.createElement("rect",{width:20,height:20,fill:"white"})))),A1=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M17.0713 2.9292C18.9461 4.80454 19.9999 7.34779 20 9.99951C19.9999 12.6512 18.946 15.1945 17.0713 17.0698L16.2861 17.8569L14.7148 16.2856L15.5 15.4985C16.958 14.04 17.7773 12.0618 17.7773 9.99951C17.7772 7.93723 16.958 5.95904 15.5 4.50049L14.7148 3.71436L16.2861 2.14307L17.0713 2.9292ZM8.41699 2.90869C8.75038 2.64198 9.2079 2.59019 9.59277 2.7749C9.97776 2.95994 10.2226 3.34971 10.2227 3.77686V16.2222C10.2227 16.6493 9.97777 17.0391 9.59277 17.2241C9.20788 17.4089 8.75041 17.3571 8.41699 17.0903L4.27637 13.7778H1.11133C0.497625 13.7778 0 13.2802 0 12.6665V7.33252C0.000126532 6.71892 0.497703 6.22119 1.11133 6.22119H4.27637L8.41699 2.90869ZM13.9336 6.06689C14.9752 7.1088 15.5605 8.52234 15.5605 9.99561C15.5604 11.4687 14.9751 12.8815 13.9336 13.9233L13.1475 14.7095L11.5762 13.1382L12.3623 12.3521C12.987 11.727 13.3378 10.8793 13.3379 9.99561C13.3379 9.11176 12.9871 8.26331 12.3623 7.63818L11.5762 6.85205L13.1475 5.28174L13.9336 6.06689ZM5.36133 8.20068C5.16431 8.35828 4.91929 8.44385 4.66699 8.44385H2.22266V11.5552H4.66699C4.91923 11.5552 5.16433 11.6408 5.36133 11.7983L8.00098 13.9097V6.08936L5.36133 8.20068Z",fill:"currentColor"})),R1=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M1.5498 16.6999V9.49968H4.0498V16.6999C4.04986 16.8457 4.10784 16.9855 4.21094 17.0886C4.31404 17.1916 4.45381 17.2496 4.59961 17.2497H15.3994C15.5453 17.2497 15.6859 17.1917 15.7891 17.0886C15.892 16.9855 15.9501 16.8456 15.9502 16.6999V9.49968H18.4502V16.6999C18.4501 17.5086 18.1285 18.2842 17.5566 18.8561C16.9847 19.4281 16.2083 19.7497 15.3994 19.7497H4.59961C3.79077 19.7496 3.0153 19.4281 2.44336 18.8561C1.87142 18.2842 1.54986 17.5087 1.5498 16.6999Z",fill:"currentColor"}),p.createElement("path",{d:"M9.11523 0.616336C9.60332 0.128246 10.3946 0.128376 10.8828 0.616336L14.4834 4.21595L12.7158 5.98352L11.25 4.5177V13.2003H8.75V4.51575L7.2832 5.98352L5.51562 4.21595L9.11523 0.616336Z",fill:"currentColor"}));function T1({audioSource:e,contactCta:t,hasShareOptions:n,printCtaText:r,shareVariant:o,textCtaVariant:s}){const[i,a]=R.useState(!1),c=i?pc:A1,l=i?"stop listening":"listen",d=i?"md:py-1.5 xl:py-5":"",f=()=>{typeof window<"u"&&print()};return u.jsxs("div",{className:`flex flex-col md:flex-row xl:flex-col gap-4 md:gap-6 xl:gap-4 items-end md:items-stretch xl:items-end md:justify-end py-5 ${d}`,children:[u.jsxs("div",{className:"flex gap-4 items-center justify-end",children:[n&&u.jsx(ll,{trigger:u.jsx(Ne,{className:"b-xs font-bold uppercase",variant:s,children:u.jsxs("button",{children:[u.jsx(R1,{className:"size-4"}),"Share"]})}),variant:o}),t&&u.jsx(Ne,{className:"b-xs font-bold uppercase",variant:s,children:t}),r&&u.jsx(Ne,{className:"b-xs font-bold uppercase",variant:s,children:u.jsx("button",{onClick:f,children:r})}),e&&u.jsx(Ne,{className:"b-xs font-bold uppercase",variant:s,children:u.jsxs("button",{"aria-pressed":i,onClick:()=>a(m=>!m),children:[u.jsx(c,{className:"size-4"}),l]})})]}),e&&i&&u.jsxs("audio",{autoPlay:!0,controls:!0,children:[u.jsx("source",{src:e}),"Your browser does not support the audio element."]})]})}function j1({children:e,value:t,variant:n}){const r=Do(),o=n==="digital"?"stroke-btm-digital":"stroke-btm-connect",s=n==="connect-reversed"?"!bg-transparent text-white!":"";return r==="lg"||r==="xl"?u.jsx("li",{children:u.jsx(qc,{className:s,variant:o,children:e})}):u.jsx(zc,{value:t,variant:n,children:Dt(e)})}function k1({children:e,variant:t,onValueChange:n,placeholder:r,value:o}){const s=Do();if(s==="xl")return null;const i=u.jsx(fc,{variant:t,children:e});return s==="lg"?u.jsx("ul",{className:"flex gap-3 items-center justify-center py-3",children:i}):n?u.jsx(Wc,{className:"after:hidden bg-transparent!",onValueChange:n,placeholder:r,value:o,variant:t,children:i}):null}function I1({audioSource:e,children:t,className:n="",contactCta:r,hasShareOptions:o,horizontalStroke:s,onValueChange:i,placeholder:a,printCtaText:c,value:l,variant:d}){const f=Do(),m=d==="connect-reversed"?"bg-navy-500/40":"bg-navy-900/60",h=d==="connect"?"bg-charcoal-1000/10":"bg-white/30",b=d==="connect"?"bg-white":"bg-navy-1000",{containerStrokeClasses:g}=Yt(b,s,d),x=d==="connect"?"connect":"digital";let w="basic";return d==="connect-reversed"&&(w="connect"),d==="digital"&&(w="digital"),u.jsxs("div",{className:X("relative print:hidden",g,n),children:[(d==="connect-reversed"||d==="digital")&&u.jsx("div",{className:`absolute inset-0 mix-blend-multiply ${m}`}),u.jsx(De,{children:u.jsxs("div",{className:"flex flex-col xl:flex-row xl:justify-between",children:[f==="xl"&&u.jsx("ul",{className:"flex gap-3 items-center pt-2",children:u.jsx(fc,{variant:d,children:t})}),u.jsx(T1,{audioSource:e,contactCta:r,hasShareOptions:o,printCtaText:c,shareVariant:x,textCtaVariant:w})]})}),!!t&&u.jsxs(u.Fragment,{children:[u.jsx("div",{className:`h-0.5 w-full xl:hidden ${h}`}),u.jsx(De,{children:u.jsx(k1,{variant:d,onValueChange:i,placeholder:a,value:l,children:t})})]})]})}const Bo=R.forwardRef((e,t)=>{const{className:n="",videoSource:r,videoProvider:o,...s}=e,i=R.useRef(null),{isPlaying:a,play:c,pause:l,togglePlayback:d}=N1({containerRef:i,src:r,provider:o,...s});return R.useImperativeHandle(t,()=>({play:c,pause:l,togglePlayback:d,isPlaying:a}),[c,l,d,a]),!r||!o?null:u.jsx("div",{className:X("relative h-full w-full overflow-hidden",n),children:u.jsx("div",{ref:i,className:"absolute aspect-video bg-black left-1/2 min-h-full min-w-full top-1/2 -translate-x-1/2 -translate-y-1/2 [&_iframe]:absolute [&_iframe]:inset-0 [&_iframe]:min-h-full [&_iframe]:min-w-full [&_video]:absolute [&_video]:inset-0 [&_video]:h-full [&_video]:w-full [&_video]:object-cover"})})});var O1=Symbol.for("react.lazy"),Bn=p[" use ".trim().toString()];function M1(e){return typeof e=="object"&&e!==null&&"then"in e}function mc(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===O1&&"_payload"in e&&M1(e._payload)}function L1(e){const t=_1(e),n=p.forwardRef((r,o)=>{let{children:s,...i}=r;mc(s)&&typeof Bn=="function"&&(s=Bn(s._payload));const a=p.Children.toArray(s),c=a.find(V1);if(c){const l=c.props.children,d=a.map(f=>f===c?p.Children.count(l)>1?p.Children.only(null):p.isValidElement(l)?l.props.children:null:f);return u.jsx(t,{...i,ref:o,children:p.isValidElement(l)?p.cloneElement(l,void 0,d):null})}return u.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}var en=L1("Slot");function _1(e){const t=p.forwardRef((n,r)=>{let{children:o,...s}=n;if(mc(o)&&typeof Bn=="function"&&(o=Bn(o._payload)),p.isValidElement(o)){const i=B1(o),a=F1(s,o.props);return o.type!==p.Fragment&&(a.ref=r?at(r,i):i),p.cloneElement(o,a)}return p.Children.count(o)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var hc=Symbol("radix.slottable");function D1(e){const t=({children:n})=>u.jsx(u.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=hc,t}var ur=D1("Slottable");function V1(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===hc}function F1(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const c=s(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function B1(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const $n=e=>p.createElement("svg",{width:19,height:20,viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M14.8096 13.3164C14.8126 13.3279 15.2296 14.8934 15.9219 15.5703C16.6167 16.2497 18.2275 16.6582 18.2275 16.6582C18.2275 16.6582 16.6167 17.0667 15.9219 17.7461C15.2272 18.4256 14.8096 20 14.8096 20C14.8096 20 14.392 18.4256 13.6973 17.7461C13.0024 17.0667 11.3916 16.6582 11.3916 16.6582C11.3916 16.6582 13.0024 16.2497 13.6973 15.5703C14.3898 14.8931 14.8069 13.3266 14.8096 13.3164ZM7.12012 3.03809C7.12686 3.06343 7.99568 6.3234 9.4375 7.7334C10.885 9.14883 14.2402 10 14.2402 10C14.2402 10 10.885 10.8512 9.4375 12.2666C7.99011 13.6822 7.12012 16.9619 7.12012 16.9619C7.12012 16.9619 6.2493 13.682 4.80176 12.2666C3.35664 10.8535 0.0112161 10.0028 0 10C0 10 3.35415 9.14876 4.80176 7.7334C6.24667 6.32055 7.11695 3.05 7.12012 3.03809ZM14.8096 0C14.8106 0.00385251 15.228 1.57529 15.9219 2.25391C16.6167 2.93331 18.2275 3.3418 18.2275 3.3418C18.2275 3.3418 16.6167 3.75028 15.9219 4.42969C15.2272 5.10918 14.8096 6.68359 14.8096 6.68359C14.8096 6.68359 14.392 5.1092 13.6973 4.42969C13.0024 3.75028 11.3916 3.3418 11.3916 3.3418C11.3916 3.3418 13.0024 2.93331 13.6973 2.25391C14.392 1.57444 14.8096 0 14.8096 0Z",fill:"currentColor"}),p.createElement("path",{d:"M14.8096 13.3164C14.8126 13.3279 15.2296 14.8934 15.9219 15.5703C16.6167 16.2497 18.2275 16.6582 18.2275 16.6582C18.2275 16.6582 16.6167 17.0667 15.9219 17.7461C15.2272 18.4256 14.8096 20 14.8096 20C14.8096 20 14.392 18.4256 13.6973 17.7461C13.0024 17.0667 11.3916 16.6582 11.3916 16.6582C11.3916 16.6582 13.0024 16.2497 13.6973 15.5703C14.3898 14.8931 14.8069 13.3266 14.8096 13.3164ZM7.12012 3.03809C7.12686 3.06343 7.99568 6.3234 9.4375 7.7334C10.885 9.14883 14.2402 10 14.2402 10C14.2402 10 10.885 10.8512 9.4375 12.2666C7.99011 13.6822 7.12012 16.9619 7.12012 16.9619C7.12012 16.9619 6.2493 13.682 4.80176 12.2666C3.35664 10.8535 0.0112161 10.0028 0 10C0 10 3.35415 9.14876 4.80176 7.7334C6.24667 6.32055 7.11695 3.05 7.12012 3.03809ZM14.8096 0C14.8106 0.00385251 15.228 1.57529 15.9219 2.25391C16.6167 2.93331 18.2275 3.3418 18.2275 3.3418C18.2275 3.3418 16.6167 3.75028 15.9219 4.42969C15.2272 5.10918 14.8096 6.68359 14.8096 6.68359C14.8096 6.68359 14.392 5.1092 13.6973 4.42969C13.0024 3.75028 11.3916 3.3418 11.3916 3.3418C11.3916 3.3418 13.0024 2.93331 13.6973 2.25391C14.392 1.57444 14.8096 0 14.8096 0Z",fill:"currentColor"}));function We({children:e,className:t="",displayStars:n,variant:r="primary",...o}){return u.jsxs(en,{...o,className:`button button-${r} ${t}`,children:[n?u.jsx($n,{}):null,u.jsx(ur,{children:e}),n?u.jsx($n,{}):null]})}function Rt({children:e,className:t="",variant:n="enterprise",...r}){return u.jsx(en,{...r,className:`button-icon button-icon-${n} ${t}`,children:u.jsx(ur,{children:e})})}const $1=e=>p.createElement("svg",{width:60,height:60,viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M2.86035 17.2344C2.48467 18.7675 2.29102 20.3854 2.29102 22.0518C2.29102 27.4573 4.21774 32.1299 8.02344 35.9355C11.8291 39.7412 16.5017 41.668 21.9072 41.668C22.4384 41.668 22.9634 41.6437 23.4766 41.6016V49.1826H34.6152L30.5547 59.9873C30.3668 59.9994 30.1849 60 29.9971 60C13.4291 59.9999 0.000174694 46.5708 0 30.0029C0 25.4337 1.03027 21.1006 2.86035 17.2344ZM53.0439 49.1826C48.6928 54.4063 42.6079 58.127 35.6631 59.4541L39.5176 49.1826H53.0439ZM29.9971 0C46.5651 0 59.994 13.4223 59.9941 29.9902V30.0029C59.9941 33.4933 59.3878 36.8441 58.291 39.9648L50.4199 18.7373L46.0684 18.707L36.2637 44.8008H27.8643V40.7168C30.573 39.8199 33.1671 38.2868 35.585 36.1416L35.3789 35.8994L34.2939 34.6143L32.7725 32.8086L32.5791 32.9785C31.0824 34.3056 29.5004 35.3414 27.8643 36.0625V13.0645L27.4639 13.4043L23.7373 16.5498L23.4824 16.7676V37.2139C22.8886 37.2805 22.3857 37.3105 21.9131 37.3105C17.7257 37.3105 14.102 35.8081 11.1387 32.8389C8.16932 29.8756 6.66608 26.2274 6.66602 22.04C6.66602 17.8526 8.17532 14.2346 11.1387 11.2773C14.102 8.32012 17.7256 6.82324 21.9131 6.82324C25.2703 6.82325 28.4398 7.93225 31.3486 10.126L31.5547 9.9502L34.4697 7.48926L34.7305 7.27148C30.8278 4.05968 26.5187 2.42969 21.9131 2.42969C20.1375 2.42969 18.4286 2.64144 16.8105 3.05957C20.5432 1.23018 24.7075 0.146812 29.1133 0.0185547L29.9971 0ZM51.5469 34.1475L53.7041 40.0986L55.4189 44.8008H41.1602L41.9844 42.6191L43.0137 39.8262L42.9902 39.8135L45.0928 34.1055L48.3105 25.2334L51.5469 34.1475Z",fill:"currentColor"}));function H1({children:e,className:t="",variant:n="basic",...r}){return u.jsx(en,{...r,className:`button-logo button-logo-${n} ${t}`,children:R.cloneElement(e,{},u.jsx($1,{}))})}const z1=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{clipPath:"url(#clip0_4663_216844)"},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5957 6.24463C9.39144 6.30162 10.1661 6.52916 10.8662 6.91162C11.5663 7.29414 12.1764 7.82262 12.6543 8.46143L13.2939 9.3169L11.583 10.5972L10.9424 9.7417C10.6482 9.34845 10.2727 9.02312 9.84179 8.7876C9.41063 8.55204 8.93342 8.41157 8.44336 8.37647C7.9534 8.3414 7.46122 8.41185 7.00097 8.5835C6.59827 8.73376 6.22812 8.9591 5.90918 9.24561L5.77539 9.37158L3.07812 12.0688C2.46213 12.7136 2.12213 13.5741 2.12988 14.4663C2.1378 15.3644 2.49782 16.2237 3.13281 16.8589C3.76795 17.4939 4.6273 17.8548 5.52539 17.8628C6.42362 17.8706 7.28935 17.5248 7.93554 16.9009L10.2168 14.6206L11.7275 16.1323L9.42089 18.438C8.3716 19.4514 6.96652 20.0121 5.50781 19.9995C4.04912 19.9868 2.65365 19.402 1.62207 18.3706C0.590536 17.3391 0.0039934 15.9436 -0.00879266 14.4849C-0.0214698 13.026 0.540188 11.6202 1.55371 10.5708L1.5664 10.5571L4.26367 7.85987L4.48046 7.65479C4.9984 7.18953 5.59995 6.82554 6.2539 6.58154C7.00131 6.30274 7.80002 6.18771 8.5957 6.24463ZM14.4932 0.000490313C15.952 0.0132383 17.3483 0.599784 18.3799 1.63135C19.4111 2.66291 19.9961 4.05855 20.0088 5.51709C20.0213 6.9758 19.4597 8.38089 18.4463 9.43018C18.4421 9.43455 18.4379 9.43955 18.4336 9.44385L15.7363 12.1401C15.1723 12.7044 14.4936 13.1416 13.7461 13.4204C12.9987 13.6992 12.2 13.8143 11.4043 13.7573C10.6085 13.7003 9.83391 13.4728 9.13379 13.0903C8.43372 12.7078 7.82452 12.1784 7.34668 11.5396L6.70605 10.6841L8.41796 9.40381L9.05761 10.2593C9.35182 10.6526 9.72719 10.9788 10.1582 11.2144C10.5893 11.4499 11.0667 11.5894 11.5566 11.6245C12.0467 11.6596 12.5396 11.5892 13 11.4175C13.46 11.2458 13.8774 10.9766 14.2246 10.6294L16.9092 7.94483C17.5331 7.29862 17.8789 6.43294 17.8711 5.53467C17.8631 4.63663 17.5031 3.77722 16.8682 3.14209C16.2329 2.50691 15.3729 2.14701 14.4746 2.13916C13.5764 2.13138 12.7106 2.47615 12.0644 3.1001L9.77148 5.38037L8.26464 3.86377L10.5684 1.57373L10.5791 1.56299C11.6284 0.549519 13.0344 -0.0121254 14.4932 0.000490313Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_4663_216844"},p.createElement("rect",{width:20,height:20,fill:"white"})))),W1=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M17.1914 2.07426C18.4044 2.07443 19.4802 2.84592 19.8564 3.95122C19.9762 4.15149 20.02 4.38002 19.9912 4.59966C19.9968 4.67013 20 4.74143 20 4.81352V15.1866C19.9995 16.7323 18.7005 17.9256 17.1914 17.9258H2.80859C1.29952 17.9256 0.000453441 16.7323 0 15.1866V4.81352C1.53234e-05 4.74143 0.00323412 4.67013 0.00878906 4.59966C-0.0199639 4.38019 0.0230616 4.15138 0.142578 3.95122C0.518727 2.84576 1.59545 2.07443 2.80859 2.07426H17.1914ZM2.02246 15.1866C2.02294 15.5414 2.34114 15.9032 2.80859 15.9034H17.1914C17.6589 15.9032 17.9771 15.5414 17.9775 15.1866V6.52153L10.6162 12.1846C10.2529 12.4639 9.74713 12.4639 9.38379 12.1846L2.02246 6.52055V15.1866ZM2.80859 4.09673C2.63443 4.0968 2.48046 4.14623 2.35645 4.22758L10 10.1065L17.6426 4.22758C17.5187 4.1465 17.3652 4.0968 17.1914 4.09673H2.80859Z",fill:"currentColor"})),U1=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M6.88086 11.6914V20H11.4121V11.6914H14.791L15.4941 7.87109H11.4121V6.51953C11.4121 4.5 12.2051 3.72656 14.252 3.72656C14.8887 3.72656 15.4004 3.74219 15.6973 3.77344V0.308594C15.1387 0.15625 13.7715 0 12.9824 0C8.80664 0 6.88086 1.97266 6.88086 6.22656V7.87109H4.30273V11.6914H6.88086Z",fill:"currentColor"})),q1=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{clipPath:"url(#clip0_29_5304)"},p.createElement("path",{d:"M14.4443 0C17.5126 0 20 2.48742 20 5.55566V14.4443C20 17.5126 17.5126 20 14.4443 20H5.55566C2.48742 20 0 17.5126 0 14.4443V5.55566C0 2.48742 2.48742 0 5.55566 0H14.4443ZM5.55566 2.22266C3.71471 2.22266 2.22266 3.71471 2.22266 5.55566V14.4443C2.22266 16.2853 3.71471 17.7773 5.55566 17.7773H14.4443C16.2853 17.7773 17.7773 16.2853 17.7773 14.4443V5.55566C17.7773 3.71471 16.2853 2.22266 14.4443 2.22266H5.55566ZM7.88867 5.81934C8.75992 5.36728 9.7527 5.20173 10.7236 5.3457C11.7138 5.49268 12.6301 5.9543 13.3379 6.66211C14.0457 7.36993 14.5073 8.28623 14.6543 9.27637C14.7983 10.2473 14.6327 11.2401 14.1807 12.1113C13.7286 12.9823 13.0133 13.6886 12.1367 14.1299C11.26 14.5712 10.2659 14.7253 9.29688 14.5693C8.32785 14.4134 7.43328 13.9548 6.73926 13.2607C6.04524 12.5667 5.58664 11.6721 5.43066 10.7031C5.27475 9.73406 5.42883 8.74002 5.87012 7.86328C6.31136 6.98674 7.01766 6.2714 7.88867 5.81934ZM10.3965 7.54297C9.88813 7.46771 9.36828 7.55436 8.91211 7.79102C8.45596 8.02776 8.08661 8.40329 7.85547 8.8623C7.62435 9.32148 7.5434 9.84208 7.625 10.3496C7.70668 10.8572 7.94699 11.3259 8.31055 11.6895C8.67411 12.053 9.14277 12.2933 9.65039 12.375C10.1579 12.4566 10.6785 12.3756 11.1377 12.1445C11.5967 11.9134 11.9722 11.544 12.209 11.0879C12.4456 10.6317 12.5323 10.1119 12.457 9.60352C12.3801 9.08473 12.1374 8.60425 11.7666 8.2334C11.3958 7.86255 10.9153 7.6199 10.3965 7.54297ZM14.8975 4C15.5111 4 16.0088 4.49768 16.0088 5.11133C16.0087 5.72488 15.511 6.22266 14.8975 6.22266H14.8887C14.2752 6.22255 13.7775 5.72481 13.7773 5.11133C13.7773 4.49774 14.2751 4.0001 14.8887 4H14.8975Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_29_5304"},p.createElement("rect",{width:20,height:20,fill:"white"})))),G1=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{clipPath:"url(#clip0_29_5301)"},p.createElement("path",{d:"M4.47768 20H0.330357V6.64732H4.47768V20ZM2.40179 4.82589C1.07589 4.82589 0 3.72768 0 2.40179C0 1.76339 0.254464 1.15625 0.705357 0.705357C1.15625 0.254464 1.76786 0 2.40179 0C3.03571 0 3.64732 0.254464 4.09821 0.705357C4.54911 1.15625 4.80357 1.76786 4.80357 2.40179C4.80357 3.72768 3.72768 4.82589 2.40179 4.82589ZM19.9955 20H15.8571V13.5C15.8571 11.9509 15.8259 9.96429 13.7009 9.96429C11.5446 9.96429 11.2143 11.6473 11.2143 13.3884V20H7.07143V6.64732H11.0491V8.46875H11.1071C11.6607 7.41964 13.0134 6.3125 15.0313 6.3125C19.2277 6.3125 20 9.07589 20 12.6652V20H19.9955Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_29_5301"},p.createElement("rect",{width:20,height:20,fill:"white"})))),Z1=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{clipPath:"url(#clip0_29_5302)"},p.createElement("path",{d:"M15.7512 0.960923H18.818L12.1179 8.61864L20 19.0391H13.8284L8.99458 12.7191L3.46359 19.0391H0.394938L7.5613 10.8483L0 0.960923H6.32828L10.6976 6.73759L15.7512 0.960923ZM14.6748 17.2035H16.3742L5.4049 2.70013H3.58133L14.6748 17.2035Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_29_5302"},p.createElement("rect",{width:20,height:20,fill:"white"})))),Y1=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.2564 2.78418C10.4202 2.78488 10.6561 2.78626 10.9429 2.78906C11.517 2.79467 12.2996 2.80566 13.1275 2.82812C13.9543 2.85057 14.8328 2.88452 15.5991 2.93555C16.2553 2.97926 16.8685 3.03732 17.2974 3.12109L17.4693 3.15918L17.4917 3.16504C18.0001 3.30898 18.4626 3.58461 18.8306 3.96387C19.1983 4.34318 19.4601 4.81371 19.5884 5.32617L18.9693 5.48047L19.5972 5.36816C19.8737 6.90116 20.0089 8.45696 19.9995 10.0146L19.9946 10.5898C19.9689 11.9337 19.8358 13.2743 19.5972 14.5977C19.5947 14.6114 19.5918 14.6261 19.5884 14.6396C19.46 15.1522 19.1984 15.6226 18.8306 16.002C18.4626 16.3813 18.0003 16.6568 17.4917 16.8008L17.4829 16.8037C17.051 16.9192 16.3534 16.9951 15.604 17.0498C14.8364 17.1058 13.9559 17.1424 13.1284 17.167C12.3002 17.1916 11.5181 17.2048 10.9439 17.2109C10.6568 17.214 10.4204 17.2151 10.2564 17.2158C10.1749 17.2162 10.1106 17.2167 10.0669 17.2168H9.93117C9.88755 17.2167 9.8231 17.2162 9.74172 17.2158C9.57784 17.2151 9.34193 17.214 9.05519 17.2109C8.4809 17.2048 7.69808 17.1916 6.86965 17.167C6.04235 17.1424 5.16258 17.1058 4.39504 17.0498C3.64585 16.9952 2.94825 16.9191 2.51613 16.8037L2.51125 16.8027C2.0134 16.6664 1.55889 16.403 1.19191 16.04C0.824822 15.6767 0.557084 15.2243 0.415545 14.7275C0.409846 14.7075 0.40558 14.6865 0.401873 14.666C0.124956 13.1308 -0.00927314 11.5727 0.000505705 10.0127C-0.00668415 8.46691 0.127577 6.92363 0.401873 5.40234L0.410662 5.36035C0.539027 4.8475 0.800385 4.37654 1.16847 3.99707C1.53642 3.61794 1.998 3.34211 2.50637 3.19824L2.51613 3.19629C2.94823 3.08087 3.64573 3.00486 4.39504 2.9502C5.1626 2.89422 6.04232 2.85662 6.86965 2.83203C7.69808 2.80742 8.48089 2.79521 9.05519 2.78906C9.34194 2.786 9.57784 2.78495 9.74172 2.78418C9.8231 2.7838 9.88755 2.7833 9.93117 2.7832H10.0669C10.1106 2.78329 10.1749 2.78383 10.2564 2.78418ZM8.39992 6.67773C8.20248 6.56553 7.95956 6.56757 7.7632 6.68164C7.56692 6.79591 7.44591 7.00628 7.44582 7.2334V12.7988C7.44583 13.026 7.56685 13.2363 7.7632 13.3506C7.95958 13.4647 8.20243 13.4667 8.39992 13.3545L13.2935 10.5703C13.4925 10.4567 13.6157 10.2448 13.6157 10.0156C13.6155 9.78646 13.4926 9.57433 13.2935 9.46094L8.39992 6.67773Z",fill:"currentColor"}));function $e({className:e="",href:t,onClick:n,socialPlatform:r,variant:o="basic"}){let s=U1,i="Share on Facebook";switch(r){case"copy":s=z1,i="Copy link";break;case"email":s=W1,i="Share via Email";break;case"instagram":s=q1,i="Share on Instagram";break;case"linkedin":s=G1,i="Share on LinkedIn";break;case"x":s=Z1,i="Share on X";break;case"youtube":s=Y1,i="Share on YouTube";break}const a=`button-social button-social-${o} ${e}`;return t?u.jsx("a",{"aria-label":i,className:a,href:t,children:u.jsx(s,{})}):u.jsx("button",{"aria-label":i,className:a,onClick:n,children:u.jsx(s,{})})}const dr="polygon(100% 0, 100% calc(100% - 48px), calc(100% - 48px) 100%, 0 100%, 0 0)",X1={"connect-reversed":"reversed-connect","digital-reversed":"reversed-digital"},K1="enterprise";function gc(e,t){return e?u.jsx("img",{...e}):t||null}function $o(e="connect"){return X1[e]??K1}function Q1(e="connect"){return e==="connect"||e==="connect-reversed"?"small-connect":"small-digital"}function vc(e="connect"){return e==="connect"||e==="connect-reversed"?"primary":"primary-digital"}function J1(e="connect"){return{"connect-reversed":"connect","digital-reversed":"digital"}[e]??"basic"}function e0(e="connect"){return{"connect-reversed":"connect","digital-reversed":"digital"}[e]??"basic"}function t0({className:e="",copy:t,name:n,id:r,isBookmarked:o,onBookmark:s,personTitle:i,title:a,type:c,variant:l="connect"}){const d=$o(l);return u.jsxs("div",{className:X("card-single-double-content-type-one",`card-single-double-content-${l}`,e),children:[!!(c||a)&&u.jsxs("div",{className:"mb-4 in-data-[layout=double]:mb-0",children:[!!c&&u.jsx("div",{className:"b-xs mb-1 uppercase",children:c}),!!a&&u.jsx("div",{className:"card-single-double-title hs-10",children:a})]}),!!t&&u.jsx("div",{className:"mb-4 in-data-[layout=double]:mb-0",children:t}),u.jsxs("div",{className:"flex items-end justify-between",children:[u.jsxs("div",{className:"flex flex-col gap-1 text-charcoal-700 in-data-[reversed=true]:text-white/80",children:[!!n&&u.jsx("div",{className:"b-sm",children:n}),!!i&&u.jsx("div",{className:"b-xs",children:i})]}),s&&!!r&&u.jsx(Rt,{className:"z-2",variant:d,children:u.jsx("button",{"aria-label":o?"Remove bookmark":"Bookmark this item",onClick:()=>s(r),children:o?u.jsx(Jn,{className:"size-4"}):u.jsx(Qn,{className:"size-4"})})})]})]})}function n0({className:e="",copy:t,date:n,id:r,isBookmarked:o,location:s,onBookmark:i,title:a,type:c,variant:l="connect"}){const d=$o(l);return u.jsxs("div",{className:X("card-single-double-content-type-one",`card-single-double-content-${l}`,e),children:[!!(c||a)&&u.jsxs("div",{className:"mb-4 in-data-[layout=double]:mb-0",children:[!!c&&u.jsx("div",{className:"b-xs mb-1 uppercase",children:c}),!!a&&u.jsx("div",{className:"card-single-double-title hs-10",children:a})]}),!!t&&u.jsx("div",{className:"mb-4 in-data-[layout=double]:mb-0",children:t}),u.jsxs("div",{className:"flex items-center justify-between",children:[!!(n||s)&&u.jsxs("div",{className:"b-xs flex gap-2 items-center text-charcoal-700 in-data-[reversed=true]:text-white/80",children:[n,!!(n&&s)&&u.jsx("span",{className:"bg-smoke h-3.5 w-0.5 in-data-[reversed=true]:bg-white/30"}),s]}),i&&!!r&&u.jsx(Rt,{className:"z-2",variant:d,children:u.jsx("button",{"aria-label":o?"Remove bookmark":"Bookmark this item",onClick:()=>i(r),children:o?u.jsx(Jn,{className:"size-4"}):u.jsx(Qn,{className:"size-4"})})})]})]})}const bc=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M10.3809 4.57129H4.66699C4.56609 4.57129 4.46888 4.61135 4.39746 4.68262C4.32607 4.754 4.28619 4.8512 4.28613 4.95215V13.333L4.29297 13.4082C4.30763 13.4814 4.34392 13.549 4.39746 13.6025C4.4689 13.674 4.56596 13.7139 4.66699 13.7139H13.0479C13.1488 13.7138 13.246 13.6739 13.3174 13.6025C13.3887 13.5311 13.4287 13.4339 13.4287 13.333V7.61914H15.7139V13.333C15.7139 14.0403 15.4327 14.7187 14.9326 15.2188C14.4326 15.7187 13.7549 15.9999 13.0479 16H4.66699C3.95975 16 3.28135 15.7188 2.78125 15.2188C2.28115 14.7187 2 14.0403 2 13.333V4.95215C2.00006 4.24509 2.28134 3.5674 2.78125 3.06738C3.28135 2.56729 3.95975 2.28613 4.66699 2.28613H10.3809V4.57129ZM16.8574 0C17.4884 0.000154828 17.9998 0.511619 18 1.14258V6.85742H15.7139V3.90234L9.28418 10.332L7.66797 8.71582L14.0977 2.28613H11.1426V0H16.8574Z",fill:"currentColor"}));function r0({className:e="",copy:t,date:n,id:r,isBookmarked:o,isExternalLink:s,timeToRead:i,onBookmark:a,title:c,type:l,variant:d="connect"}){const f=$o(d);return u.jsxs("div",{className:X("card-single-double-content-type-one",`card-single-double-content-${d}`,e),children:[!!(l||c)&&u.jsxs("div",{className:"mb-4 in-data-[layout=double]:mb-0",children:[!!l&&u.jsxs("div",{className:"b-xs flex justify-between mb-1 uppercase",children:[l," ",s&&u.jsx(bc,{className:"size-3"})]}),!!c&&u.jsx("div",{className:"card-single-double-title hs-10",children:c})]}),!!t&&u.jsx("div",{className:"mb-4 in-data-[layout=double]:mb-0",children:t}),u.jsxs("div",{className:"flex items-center justify-between",children:[!!(n||i)&&u.jsxs("div",{className:"b-xs flex gap-2 items-center text-charcoal-700 in-data-[reversed=true]:text-white/80",children:[n,!!(n&&i)&&u.jsx("span",{className:"bg-smoke h-3.5 w-0.5 in-data-[reversed=true]:bg-white/30"}),i]}),a&&!!r&&u.jsx(Rt,{className:"z-2",variant:f,children:u.jsx("button",{"aria-label":o?"Remove bookmark":"Bookmark this item",onClick:()=>a(r),children:o?u.jsx(Jn,{className:"size-4"}):u.jsx(Qn,{className:"size-4"})})})]})]})}function o0({addressLine1:e,addressLine2:t,button:n,city:r,className:o="",fax:s,phone:i,state:a,title:c,variant:l="connect",zip:d}){var w,v;const f=typeof s=="string"?s:(w=Ie(s))==null?void 0:w.href,m=f==null?void 0:f.replace("tel:",""),h=typeof i=="string"?i:(v=Ie(i))==null?void 0:v.href,b=h==null?void 0:h.replace("tel:",""),g=vc(l),x=e0(l);return u.jsxs("div",{className:X("card-single-double-content-type-two",`card-single-double-content-${l}`,o),style:{clipPath:dr},children:[!!c&&u.jsx("div",{className:"card-single-double-title hs-10 mb-4",children:c}),!!(e||t||r||a||d)&&u.jsxs("div",{className:"flex flex-col mb-4",children:[e,t,!!(r||a||d)&&u.jsxs("div",{children:[r,!!(r&&(a||d))&&", ",a,!!(a&&d)&&" ",d]})]}),u.jsxs("div",{className:"flex flex-col gap-1 items-start mb-2",children:[!!h&&u.jsx(Ne,{className:"b-xs font-bold",variant:x,children:u.jsxs("a",{href:h,children:[u.jsx(ga,{className:"size-3"}),b]})}),!!f&&u.jsx(Ne,{className:"b-xs font-bold",variant:x,children:u.jsxs("a",{href:f,children:[u.jsx(ha,{className:"size-3"}),m]})})]}),!!n&&u.jsx(We,{variant:g,children:n})]})}function s0({caseStudy:e,event:t,imageClassName:n,insight:r,layout:o,person:s,variant:i="connect"}){const[a,c]=R.useState(!1),l=e??t??r??s,{image:d,imageNode:f,video:m,videoDescription:h,videoLabel:b}=l??{},g=gc(d,f),x=Q1(i),w=X("h-45",o==="double"&&"h-auto",s&&"h-68");return g?u.jsxs("div",{className:X("mb-5 in-data-[layout=double]:mb-0 relative z-2 [&_img]:object-cover [&_img]:size-full",w,n),style:{clipPath:dr},children:[g,m&&u.jsxs(u.Fragment,{children:[u.jsx(gr,{ariaDescription:h,ariaLabel:b,backgroundVideo:m,onOpenChange:c,open:a}),u.jsx("div",{className:"absolute bottom-1 left-3",children:u.jsx(tn,{isPlaying:a,label:b?`Play video: ${b}`:"Play video",onClick:()=>c(v=>!v),variant:x})})]})]}):null}function i0({button:e,className:t="",copy:n,date:r,isExternalLink:o,title:s,type:i,variant:a="connect"}){const c=vc(a);return u.jsxs("div",{className:X("card-single-double-content-type-two",`card-single-double-content-${a}`,t),style:{clipPath:dr},children:[!!i&&u.jsxs("div",{className:"b-xs flex justify-between mb-1 uppercase",children:[i," ",o&&u.jsx(bc,{className:"size-3"})]}),!!s&&u.jsx("div",{className:"card-single-double-title hs-10 mb-4",children:s}),!!n&&u.jsx("div",{className:"mb-4 in-data-[layout=double]:mb-6",children:n}),u.jsxs("div",{className:"flex flex-col gap-4 items-start",children:[!!r&&u.jsx("div",{className:"b-xs text-charcoal-700 in-data-[reversed=true]:text-white/80",children:r}),!!e&&u.jsx(We,{variant:c,children:e})]})]})}function a0({bio:e,className:t="",name:n,linkedInUrl:r,location:o,quote:s,title:i,variant:a="connect"}){var d;const c=typeof r=="string"?r:(d=Ie(r))==null?void 0:d.href,l=J1(a);return u.jsxs("div",{className:X("card-single-double-content-type-one",`card-single-double-content-${a}`,t),children:[!!(n||i)&&u.jsxs("div",{className:X("in-data-[layout=double]:mb-0",e?"mb-4":"mb-2"),children:[!!n&&u.jsx("div",{className:"card-single-double-title hs-10 mb-1",children:n}),!!i&&u.jsx("div",{className:"b-xs uppercase",children:i})]}),!!e&&u.jsx("div",{className:"mb-4 in-data-[layout=double]:mb-0",children:e}),u.jsxs("div",{className:"flex gap-4 items-end justify-between",children:[!!(s||o)&&u.jsxs("div",{className:"b-xs flex flex-col gap-1 text-charcoal-700 in-data-[reversed=true]:text-white/80",children:[!!s&&u.jsx("div",{children:s}),!!o&&u.jsx("div",{children:o})]}),!!c&&u.jsx($e,{className:"z-2",href:c,socialPlatform:"linkedin",variant:l})]})]})}function c0({className:e="",copy:t,image:n,imageNode:r,title:o,variant:s="connect"}){const i=gc(n,r);return u.jsxs("div",{className:X("card-single-double-content-type-two",`card-single-double-content-${s}`,e),style:{clipPath:dr},children:[!!i&&u.jsx("div",{className:"mb-4 size-15 [&_img]:object-cover [&_img]:size-full",children:i}),!!o&&u.jsx("div",{className:"card-single-double-title hs-10 mb-4",children:o}),!!t&&u.jsx("div",{className:"mb-4",children:t})]})}const l0={caseStudy:t0,event:n0,insight:r0,location:o0,page:i0,person:a0,service:c0};function u0({caseStudy:e,className:t="",contentClassName:n="",event:r,imageAndContentContainerClassName:o="",imageClassName:s="",insight:i,layout:a,link:c,location:l,page:d,person:f,service:m,variant:h="connect"}){const b=Ie(c),g=!!(b!=null&&b.target),x=h==="connect-reversed"||h==="digital-reversed",w={className:n,isExternalLink:g,variant:h},v={caseStudy:e,event:r,insight:i,location:l,page:d,person:f,service:m};return u.jsxs("div",{className:X("card-single-double",`card-single-double-${h}`,"group",t),"data-layout":a,"data-reversed":x,"data-variant":h,children:[!!c&&u.jsx("div",{className:"[&_a]:absolute [&_a]:inset-0 [&_a]:outline-hidden [&_a]:z-1",children:c}),u.jsxs("div",{className:X("in-data-[layout=double]:flex in-data-[layout=double]:gap-5",o),children:[u.jsx(s0,{caseStudy:e,event:r,imageClassName:s,insight:i,layout:a,person:f,variant:h}),Object.entries(v).map(([y,C])=>{if(!C)return null;const E=l0[y];return u.jsx(E,{...C,...w},y)})]})]})}function ai(e,[t,n]){return Math.min(n,Math.max(t,e))}function ci(e){const t=d0(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(p0);if(c){const l=c.props.children,d=a.map(f=>f===c?p.Children.count(l)>1?p.Children.only(null):p.isValidElement(l)?l.props.children:null:f);return u.jsx(t,{...i,ref:o,children:p.isValidElement(l)?p.cloneElement(l,void 0,d):null})}return u.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function d0(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=h0(o),a=m0(s,o.props);return o.type!==p.Fragment&&(a.ref=r?at(r,i):i),p.cloneElement(o,a)}return p.Children.count(o)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var f0=Symbol("radix.slottable");function p0(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===f0}function m0(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const c=s(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function h0(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function g0(e){const t=e+"CollectionProvider",[n,r]=Kt(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=g=>{const{scope:x,children:w}=g,v=R.useRef(null),y=R.useRef(new Map).current;return u.jsx(o,{scope:x,itemMap:y,collectionRef:v,children:w})};i.displayName=t;const a=e+"CollectionSlot",c=ci(a),l=R.forwardRef((g,x)=>{const{scope:w,children:v}=g,y=s(a,w),C=se(x,y.collectionRef);return u.jsx(c,{ref:C,children:v})});l.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",m=ci(d),h=R.forwardRef((g,x)=>{const{scope:w,children:v,...y}=g,C=R.useRef(null),E=se(x,C),S=s(d,w);return R.useEffect(()=>(S.itemMap.set(C,{ref:C,...y}),()=>void S.itemMap.delete(C))),u.jsx(m,{[f]:"",ref:E,children:v})});h.displayName=d;function b(g){const x=s(e+"CollectionConsumer",g);return R.useCallback(()=>{const v=x.collectionRef.current;if(!v)return[];const y=Array.from(v.querySelectorAll(`[${f}]`));return Array.from(x.itemMap.values()).sort((S,P)=>y.indexOf(S.ref.current)-y.indexOf(P.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:i,Slot:l,ItemSlot:h},b,r]}var v0=p.createContext(void 0);function b0(e){const t=p.useContext(v0);return e||t||"ltr"}function x0(e){const t=y0(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(C0);if(c){const l=c.props.children,d=a.map(f=>f===c?p.Children.count(l)>1?p.Children.only(null):p.isValidElement(l)?l.props.children:null:f);return u.jsx(t,{...i,ref:o,children:p.isValidElement(l)?p.cloneElement(l,void 0,d):null})}return u.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function y0(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=E0(o),a=S0(s,o.props);return o.type!==p.Fragment&&(a.ref=r?at(r,i):i),p.cloneElement(o,a)}return p.Children.count(o)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var w0=Symbol("radix.slottable");function C0(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===w0}function S0(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const c=s(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function E0(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function P0(e){const t=p.useRef({value:e,previous:e});return p.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var xc=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"}),N0="VisuallyHidden",A0=p.forwardRef((e,t)=>u.jsx(re.span,{...e,ref:t,style:{...xc,...e.style}}));A0.displayName=N0;var R0=[" ","Enter","ArrowUp","ArrowDown"],T0=[" ","Enter"],tt="Select",[fr,pr,j0]=g0(tt),[Tt]=Kt(tt,[j0,or]),mr=or(),[k0,qe]=Tt(tt),[I0,O0]=Tt(tt),yc=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:s,value:i,defaultValue:a,onValueChange:c,dir:l,name:d,autoComplete:f,disabled:m,required:h,form:b}=e,g=mr(t),[x,w]=p.useState(null),[v,y]=p.useState(null),[C,E]=p.useState(!1),S=b0(l),[P,N]=Dn({prop:r,defaultProp:o??!1,onChange:s,caller:tt}),[j,_]=Dn({prop:i,defaultProp:a,onChange:c,caller:tt}),D=p.useRef(null),B=x?b||!!x.closest("form"):!0,[W,H]=p.useState(new Set),I=Array.from(W).map(T=>T.props.value).join(";");return u.jsx(Va,{...g,children:u.jsxs(k0,{required:h,scope:t,trigger:x,onTriggerChange:w,valueNode:v,onValueNodeChange:y,valueNodeHasChildren:C,onValueNodeHasChildrenChange:E,contentId:Ke(),value:j,onValueChange:_,open:P,onOpenChange:N,dir:S,triggerPointerDownPosRef:D,disabled:m,children:[u.jsx(fr.Provider,{scope:t,children:u.jsx(I0,{scope:e.__scopeSelect,onNativeOptionAdd:p.useCallback(T=>{H(O=>new Set(O).add(T))},[]),onNativeOptionRemove:p.useCallback(T=>{H(O=>{const A=new Set(O);return A.delete(T),A})},[]),children:n})}),B?u.jsxs(Fc,{"aria-hidden":!0,required:h,tabIndex:-1,name:d,autoComplete:f,value:j,onChange:T=>_(T.target.value),disabled:m,form:b,children:[j===void 0?u.jsx("option",{value:""}):null,Array.from(W)]},I):null]})})};yc.displayName=tt;var wc="SelectTrigger",Cc=p.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,s=mr(n),i=qe(wc,n),a=i.disabled||r,c=se(t,i.onTriggerChange),l=pr(n),d=p.useRef("touch"),[f,m,h]=$c(g=>{const x=l().filter(y=>!y.disabled),w=x.find(y=>y.value===i.value),v=Hc(x,g,w);v!==void 0&&i.onValueChange(v.value)}),b=g=>{a||(i.onOpenChange(!0),h()),g&&(i.triggerPointerDownPosRef.current={x:Math.round(g.pageX),y:Math.round(g.pageY)})};return u.jsx(Mo,{asChild:!0,...s,children:u.jsx(re.button,{type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":Bc(i.value)?"":void 0,...o,ref:c,onClick:ne(o.onClick,g=>{g.currentTarget.focus(),d.current!=="mouse"&&b(g)}),onPointerDown:ne(o.onPointerDown,g=>{d.current=g.pointerType;const x=g.target;x.hasPointerCapture(g.pointerId)&&x.releasePointerCapture(g.pointerId),g.button===0&&g.ctrlKey===!1&&g.pointerType==="mouse"&&(b(g),g.preventDefault())}),onKeyDown:ne(o.onKeyDown,g=>{const x=f.current!=="";!(g.ctrlKey||g.altKey||g.metaKey)&&g.key.length===1&&m(g.key),!(x&&g.key===" ")&&R0.includes(g.key)&&(b(),g.preventDefault())})})})});Cc.displayName=wc;var Sc="SelectValue",Ec=p.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:s,placeholder:i="",...a}=e,c=qe(Sc,n),{onValueNodeHasChildrenChange:l}=c,d=s!==void 0,f=se(t,c.onValueNodeChange);return de(()=>{l(d)},[l,d]),u.jsx(re.span,{...a,ref:f,style:{pointerEvents:"none"},children:Bc(c.value)?u.jsx(u.Fragment,{children:i}):s})});Ec.displayName=Sc;var M0="SelectIcon",Pc=p.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return u.jsx(re.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});Pc.displayName=M0;var L0="SelectPortal",Nc=e=>u.jsx(sr,{asChild:!0,...e});Nc.displayName=L0;var nt="SelectContent",Ac=p.forwardRef((e,t)=>{const n=qe(nt,e.__scopeSelect),[r,o]=p.useState();if(de(()=>{o(new DocumentFragment)},[]),!n.open){const s=r;return s?Wn.createPortal(u.jsx(Rc,{scope:e.__scopeSelect,children:u.jsx(fr.Slot,{scope:e.__scopeSelect,children:u.jsx("div",{children:e.children})})}),s):null}return u.jsx(Tc,{...e,ref:t})});Ac.displayName=nt;var be=10,[Rc,Ge]=Tt(nt),_0="SelectContentImpl",D0=x0("SelectContent.RemoveScroll"),Tc=p.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:i,side:a,sideOffset:c,align:l,alignOffset:d,arrowPadding:f,collisionBoundary:m,collisionPadding:h,sticky:b,hideWhenDetached:g,avoidCollisions:x,...w}=e,v=qe(nt,n),[y,C]=p.useState(null),[E,S]=p.useState(null),P=se(t,L=>C(L)),[N,j]=p.useState(null),[_,D]=p.useState(null),B=pr(n),[W,H]=p.useState(!1),I=p.useRef(!1);p.useEffect(()=>{if(y)return Lo(y)},[y]),ko();const T=p.useCallback(L=>{const[q,...ee]=B().map(k=>k.ref.current),[G]=ee.slice(-1),$=document.activeElement;for(const k of L)if(k===$||(k==null||k.scrollIntoView({block:"nearest"}),k===q&&E&&(E.scrollTop=0),k===G&&E&&(E.scrollTop=E.scrollHeight),k==null||k.focus(),document.activeElement!==$))return},[B,E]),O=p.useCallback(()=>T([N,y]),[T,N,y]);p.useEffect(()=>{W&&O()},[W,O]);const{onOpenChange:A,triggerPointerDownPosRef:M}=v;p.useEffect(()=>{if(y){let L={x:0,y:0};const q=G=>{var $,k;L={x:Math.abs(Math.round(G.pageX)-((($=M.current)==null?void 0:$.x)??0)),y:Math.abs(Math.round(G.pageY)-(((k=M.current)==null?void 0:k.y)??0))}},ee=G=>{L.x<=10&&L.y<=10?G.preventDefault():y.contains(G.target)||A(!1),document.removeEventListener("pointermove",q),M.current=null};return M.current!==null&&(document.addEventListener("pointermove",q),document.addEventListener("pointerup",ee,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",q),document.removeEventListener("pointerup",ee,{capture:!0})}}},[y,A,M]),p.useEffect(()=>{const L=()=>A(!1);return window.addEventListener("blur",L),window.addEventListener("resize",L),()=>{window.removeEventListener("blur",L),window.removeEventListener("resize",L)}},[A]);const[U,z]=$c(L=>{const q=B().filter($=>!$.disabled),ee=q.find($=>$.ref.current===document.activeElement),G=Hc(q,L,ee);G&&setTimeout(()=>G.ref.current.focus())}),K=p.useCallback((L,q,ee)=>{const G=!I.current&&!ee;(v.value!==void 0&&v.value===q||G)&&(j(L),G&&(I.current=!0))},[v.value]),J=p.useCallback(()=>y==null?void 0:y.focus(),[y]),Q=p.useCallback((L,q,ee)=>{const G=!I.current&&!ee;(v.value!==void 0&&v.value===q||G)&&D(L)},[v.value]),ce=r==="popper"?ao:jc,le=ce===ao?{side:a,sideOffset:c,align:l,alignOffset:d,arrowPadding:f,collisionBoundary:m,collisionPadding:h,sticky:b,hideWhenDetached:g,avoidCollisions:x}:{};return u.jsx(Rc,{scope:n,content:y,viewport:E,onViewportChange:S,itemRefCallback:K,selectedItem:N,onItemLeave:J,itemTextRefCallback:Q,focusSelectedItem:O,selectedItemText:_,position:r,isPositioned:W,searchRef:U,children:u.jsx(ar,{as:D0,allowPinchZoom:!0,children:u.jsx(rr,{asChild:!0,trapped:v.open,onMountAutoFocus:L=>{L.preventDefault()},onUnmountAutoFocus:ne(o,L=>{var q;(q=v.trigger)==null||q.focus({preventScroll:!0}),L.preventDefault()}),children:u.jsx(nr,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:L=>L.preventDefault(),onDismiss:()=>v.onOpenChange(!1),children:u.jsx(ce,{role:"listbox",id:v.contentId,"data-state":v.open?"open":"closed",dir:v.dir,onContextMenu:L=>L.preventDefault(),...w,...le,onPlaced:()=>H(!0),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",...w.style},onKeyDown:ne(w.onKeyDown,L=>{const q=L.ctrlKey||L.altKey||L.metaKey;if(L.key==="Tab"&&L.preventDefault(),!q&&L.key.length===1&&z(L.key),["ArrowUp","ArrowDown","Home","End"].includes(L.key)){let G=B().filter($=>!$.disabled).map($=>$.ref.current);if(["ArrowUp","End"].includes(L.key)&&(G=G.slice().reverse()),["ArrowUp","ArrowDown"].includes(L.key)){const $=L.target,k=G.indexOf($);G=G.slice(k+1)}setTimeout(()=>T(G)),L.preventDefault()}})})})})})})});Tc.displayName=_0;var V0="SelectItemAlignedPosition",jc=p.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,s=qe(nt,n),i=Ge(nt,n),[a,c]=p.useState(null),[l,d]=p.useState(null),f=se(t,P=>d(P)),m=pr(n),h=p.useRef(!1),b=p.useRef(!0),{viewport:g,selectedItem:x,selectedItemText:w,focusSelectedItem:v}=i,y=p.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&l&&g&&x&&w){const P=s.trigger.getBoundingClientRect(),N=l.getBoundingClientRect(),j=s.valueNode.getBoundingClientRect(),_=w.getBoundingClientRect();if(s.dir!=="rtl"){const $=_.left-N.left,k=j.left-$,Z=P.left-k,te=P.width+Z,ie=Math.max(te,N.width),ue=window.innerWidth-be,fe=ai(k,[be,Math.max(be,ue-ie)]);a.style.minWidth=te+"px",a.style.left=fe+"px"}else{const $=N.right-_.right,k=window.innerWidth-j.right-$,Z=window.innerWidth-P.right-k,te=P.width+Z,ie=Math.max(te,N.width),ue=window.innerWidth-be,fe=ai(k,[be,Math.max(be,ue-ie)]);a.style.minWidth=te+"px",a.style.right=fe+"px"}const D=m(),B=window.innerHeight-be*2,W=g.scrollHeight,H=window.getComputedStyle(l),I=parseInt(H.borderTopWidth,10),T=parseInt(H.paddingTop,10),O=parseInt(H.borderBottomWidth,10),A=parseInt(H.paddingBottom,10),M=I+T+W+A+O,U=Math.min(x.offsetHeight*5,M),z=window.getComputedStyle(g),K=parseInt(z.paddingTop,10),J=parseInt(z.paddingBottom,10),Q=P.top+P.height/2-be,ce=B-Q,le=x.offsetHeight/2,L=x.offsetTop+le,q=I+T+L,ee=M-q;if(q<=Q){const $=D.length>0&&x===D[D.length-1].ref.current;a.style.bottom="0px";const k=l.clientHeight-g.offsetTop-g.offsetHeight,Z=Math.max(ce,le+($?J:0)+k+O),te=q+Z;a.style.height=te+"px"}else{const $=D.length>0&&x===D[0].ref.current;a.style.top="0px";const Z=Math.max(Q,I+g.offsetTop+($?K:0)+le)+ee;a.style.height=Z+"px",g.scrollTop=q-Q+g.offsetTop}a.style.margin=`${be}px 0`,a.style.minHeight=U+"px",a.style.maxHeight=B+"px",r==null||r(),requestAnimationFrame(()=>h.current=!0)}},[m,s.trigger,s.valueNode,a,l,g,x,w,s.dir,r]);de(()=>y(),[y]);const[C,E]=p.useState();de(()=>{l&&E(window.getComputedStyle(l).zIndex)},[l]);const S=p.useCallback(P=>{P&&b.current===!0&&(y(),v==null||v(),b.current=!1)},[y,v]);return u.jsx(B0,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:h,onScrollButtonChange:S,children:u.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:u.jsx(re.div,{...o,ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});jc.displayName=V0;var F0="SelectPopperPosition",ao=p.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=be,...s}=e,i=mr(n);return u.jsx(Fa,{...i,...s,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...s.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)"}})});ao.displayName=F0;var[B0,Ho]=Tt(nt,{}),co="SelectViewport",kc=p.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,s=Ge(co,n),i=Ho(co,n),a=se(t,s.onViewportChange),c=p.useRef(0);return u.jsxs(u.Fragment,{children:[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}),u.jsx(fr.Slot,{scope:n,children:u.jsx(re.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:ne(o.onScroll,l=>{const d=l.currentTarget,{contentWrapper:f,shouldExpandOnScrollRef:m}=i;if(m!=null&&m.current&&f){const h=Math.abs(c.current-d.scrollTop);if(h>0){const b=window.innerHeight-be*2,g=parseFloat(f.style.minHeight),x=parseFloat(f.style.height),w=Math.max(g,x);if(w<b){const v=w+h,y=Math.min(b,v),C=v-y;f.style.height=y+"px",f.style.bottom==="0px"&&(d.scrollTop=C>0?C:0,f.style.justifyContent="flex-end")}}}c.current=d.scrollTop})})})]})});kc.displayName=co;var Ic="SelectGroup",[$0,H0]=Tt(Ic),z0=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Ke();return u.jsx($0,{scope:n,id:o,children:u.jsx(re.div,{role:"group","aria-labelledby":o,...r,ref:t})})});z0.displayName=Ic;var Oc="SelectLabel",W0=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=H0(Oc,n);return u.jsx(re.div,{id:o.id,...r,ref:t})});W0.displayName=Oc;var Hn="SelectItem",[U0,Mc]=Tt(Hn),Lc=p.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:s,...i}=e,a=qe(Hn,n),c=Ge(Hn,n),l=a.value===r,[d,f]=p.useState(s??""),[m,h]=p.useState(!1),b=se(t,v=>{var y;return(y=c.itemRefCallback)==null?void 0:y.call(c,v,r,o)}),g=Ke(),x=p.useRef("touch"),w=()=>{o||(a.onValueChange(r),a.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return u.jsx(U0,{scope:n,value:r,disabled:o,textId:g,isSelected:l,onItemTextChange:p.useCallback(v=>{f(y=>y||((v==null?void 0:v.textContent)??"").trim())},[]),children:u.jsx(fr.ItemSlot,{scope:n,value:r,disabled:o,textValue:d,children:u.jsx(re.div,{role:"option","aria-labelledby":g,"data-highlighted":m?"":void 0,"aria-selected":l&&m,"data-state":l?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...i,ref:b,onFocus:ne(i.onFocus,()=>h(!0)),onBlur:ne(i.onBlur,()=>h(!1)),onClick:ne(i.onClick,()=>{x.current!=="mouse"&&w()}),onPointerUp:ne(i.onPointerUp,()=>{x.current==="mouse"&&w()}),onPointerDown:ne(i.onPointerDown,v=>{x.current=v.pointerType}),onPointerMove:ne(i.onPointerMove,v=>{var y;x.current=v.pointerType,o?(y=c.onItemLeave)==null||y.call(c):x.current==="mouse"&&v.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ne(i.onPointerLeave,v=>{var y;v.currentTarget===document.activeElement&&((y=c.onItemLeave)==null||y.call(c))}),onKeyDown:ne(i.onKeyDown,v=>{var C;((C=c.searchRef)==null?void 0:C.current)!==""&&v.key===" "||(T0.includes(v.key)&&w(),v.key===" "&&v.preventDefault())})})})})});Lc.displayName=Hn;var _t="SelectItemText",_c=p.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...s}=e,i=qe(_t,n),a=Ge(_t,n),c=Mc(_t,n),l=O0(_t,n),[d,f]=p.useState(null),m=se(t,w=>f(w),c.onItemTextChange,w=>{var v;return(v=a.itemTextRefCallback)==null?void 0:v.call(a,w,c.value,c.disabled)}),h=d==null?void 0:d.textContent,b=p.useMemo(()=>u.jsx("option",{value:c.value,disabled:c.disabled,children:h},c.value),[c.disabled,c.value,h]),{onNativeOptionAdd:g,onNativeOptionRemove:x}=l;return de(()=>(g(b),()=>x(b)),[g,x,b]),u.jsxs(u.Fragment,{children:[u.jsx(re.span,{id:c.textId,...s,ref:m}),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?Wn.createPortal(s.children,i.valueNode):null]})});_c.displayName=_t;var Dc="SelectItemIndicator",q0=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return Mc(Dc,n).isSelected?u.jsx(re.span,{"aria-hidden":!0,...r,ref:t}):null});q0.displayName=Dc;var lo="SelectScrollUpButton",G0=p.forwardRef((e,t)=>{const n=Ge(lo,e.__scopeSelect),r=Ho(lo,e.__scopeSelect),[o,s]=p.useState(!1),i=se(t,r.onScrollButtonChange);return de(()=>{if(n.viewport&&n.isPositioned){let a=function(){const l=c.scrollTop>0;s(l)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?u.jsx(Vc,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop-c.offsetHeight)}}):null});G0.displayName=lo;var uo="SelectScrollDownButton",Z0=p.forwardRef((e,t)=>{const n=Ge(uo,e.__scopeSelect),r=Ho(uo,e.__scopeSelect),[o,s]=p.useState(!1),i=se(t,r.onScrollButtonChange);return de(()=>{if(n.viewport&&n.isPositioned){let a=function(){const l=c.scrollHeight-c.clientHeight,d=Math.ceil(c.scrollTop)<l;s(d)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?u.jsx(Vc,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop+c.offsetHeight)}}):null});Z0.displayName=uo;var Vc=p.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,s=Ge("SelectScrollButton",n),i=p.useRef(null),a=pr(n),c=p.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return p.useEffect(()=>()=>c(),[c]),de(()=>{var d;const l=a().find(f=>f.ref.current===document.activeElement);(d=l==null?void 0:l.ref.current)==null||d.scrollIntoView({block:"nearest"})},[a]),u.jsx(re.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:ne(o.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(r,50))}),onPointerMove:ne(o.onPointerMove,()=>{var l;(l=s.onItemLeave)==null||l.call(s),i.current===null&&(i.current=window.setInterval(r,50))}),onPointerLeave:ne(o.onPointerLeave,()=>{c()})})}),Y0="SelectSeparator",X0=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return u.jsx(re.div,{"aria-hidden":!0,...r,ref:t})});X0.displayName=Y0;var fo="SelectArrow",K0=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=mr(n),s=qe(fo,n),i=Ge(fo,n);return s.open&&i.position==="popper"?u.jsx(Ba,{...o,...r,ref:t}):null});K0.displayName=fo;var Q0="SelectBubbleInput",Fc=p.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const o=p.useRef(null),s=se(r,o),i=P0(t);return p.useEffect(()=>{const a=o.current;if(!a)return;const c=window.HTMLSelectElement.prototype,d=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==t&&d){const f=new Event("change",{bubbles:!0});d.call(a,t),a.dispatchEvent(f)}},[i,t]),u.jsx(re.select,{...n,style:{...xc,...n.style},ref:s,defaultValue:t})});Fc.displayName=Q0;function Bc(e){return e===""||e===void 0}function $c(e){const t=et(e),n=p.useRef(""),r=p.useRef(0),o=p.useCallback(i=>{const a=n.current+i;t(a),(function c(l){n.current=l,window.clearTimeout(r.current),l!==""&&(r.current=window.setTimeout(()=>c(""),1e3))})(a)},[t]),s=p.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return p.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,s]}function Hc(e,t,n){const o=t.length>1&&Array.from(t).every(l=>l===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let i=J0(e,Math.max(s,0));o.length===1&&(i=i.filter(l=>l!==n));const c=i.find(l=>l.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==n?c:void 0}function J0(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var ev=yc,tv=Cc,nv=Ec,rv=Pc,ov=Nc,sv=Ac,iv=kc,av=Lc,cv=_c;const lv=e=>p.createElement("svg",{width:20,height:13,viewBox:"0 0 20 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M20 3.00415L10 13.0041L0 3.00415L3.00415 0L10 6.99585L16.9959 0L20 3.00415Z",fill:"currentColor"}));function zc({children:e,className:t="",value:n,variant:r}){return u.jsx(av,{className:`dropdown-menu-item dropdown-menu-item-${r} ${t}`,value:n,children:u.jsx(cv,{children:e})})}function Wc({children:e,className:t="",placeholder:n,variant:r,...o}){return u.jsxs(ev,{...o,children:[u.jsxs(tv,{className:`dropdown-menu-trigger dropdown-menu-trigger-${r} ${t}`,children:[u.jsx(nv,{placeholder:n}),u.jsx(rv,{children:u.jsx(lv,{className:"size-4"})})]}),u.jsx(ov,{children:u.jsx(sv,{className:`dropdown-menu-content dropdown-menu-content-${r}`,position:"popper",sideOffset:2,children:u.jsx(iv,{children:R.Children.map(e,s=>R.isValidElement(s)?R.cloneElement(s,{variant:r}):s)})})})]})}const li=40,Uc=R.forwardRef((e,t)=>{const{cardClassName:n="",children:r,className:o="",navigationClassName:s="",paginationVariant:i,parentSetActiveIndex:a,trackClassName:c="",useNavigation:l}=e,[d,f]=R.useState(0),m=R.useRef(0),h=R.useRef(0),b=R.useRef(!1),g=R.useRef([]),x=R.useRef(0),w=R.useRef(null),v=R.useRef(null),y=R.Children.count(r),C="duration-500 ease-in-out h-70 min-[552px]:h-80 min-w-60 min-[552px]:min-w-[calc(50%-20px)] transition-all";let E;y===1?E="min-w-full h-80":y===2?E=C:E=[C,"lg:min-w-[calc(33.33%-20px)] xl:min-w-[calc(25%-26.66px)] lg:data-[active=true]:min-w-[calc(66.66%-20px)] xl:data-[active=true]:min-w-[calc(50%-26.66px)]"].join(" ");const S=A=>"touches"in A?A.touches[0].clientX:A.pageX,P=A=>"changedTouches"in A?A.changedTouches[0].clientX:A.pageX,N=()=>{if(!v.current)return 0;const A=window.getComputedStyle(v.current);return parseFloat(A.columnGap||A.gap||"0")},j=A=>Math.min(Math.max(d+A,0),y-1),_=R.useCallback(()=>{const A=g.current.find(z=>z.dataset.active==="false");if(A)return A.offsetWidth;if(!v.current)return 0;const M=document.createElement("div");M.className=X(E,n),M.style.visibility="hidden",M.style.position="absolute",v.current.appendChild(M);const U=M.offsetWidth;return v.current.removeChild(M),U},[n,E]),D=A=>{const M=x.current,U=h.current;return-(A*(M+U))},B=A=>{A.preventDefault(),b.current=!0,m.current=S(A),v.current&&(v.current.style.transition="none")},W=A=>{if(!b.current||!v.current)return;const U=S(A)-m.current;v.current.style.transform=`translateX(${D(d)+U}px)`},H=A=>{if(!b.current)return;b.current=!1;const U=P(A)-m.current;let z=d;U<-li&&(z=j(1)),U>li&&(z=j(-1)),f(z),v.current&&(v.current.style.transition="transform 0.5s cubic-bezier(0.4,0,0.2,1)",v.current.style.transform=`translateX(${D(z)}px)`)},I=R.useCallback(()=>{d>0&&f(d-1)},[d]),T=R.useCallback(()=>{d<y-1&&f(d+1)},[d,y]),O=R.useCallback(()=>{f(0),v.current.style.transition="none",v.current.style.transform="translateX(0px)",w.current&&clearTimeout(w.current),w.current=setTimeout(()=>{x.current=_(),h.current=N()},500)},[_]);return R.useEffect(()=>{v.current&&(v.current.style.transition="transform 0.5s cubic-bezier(0.4,0,0.2,1)",v.current.style.transform=`translateX(${D(d)}px)`),a&&a(d)},[d,a]),R.useEffect(()=>{g.current=g.current.slice(0,y)},[y]),R.useLayoutEffect(()=>{O();const A=new ResizeObserver(O);return v.current&&A.observe(v.current),()=>A.disconnect()},[O]),R.useImperativeHandle(t,()=>({prev:I,next:T}),[I,T]),u.jsxs("div",{className:X("overflow-hidden w-full",o),children:[u.jsx("div",{className:X("flex gap-8 md:gap-10 cursor-grab will-change-transform",c),onMouseDown:B,onMouseLeave:H,onMouseMove:W,onMouseUp:H,onTouchCancel:H,onTouchEnd:H,onTouchMove:W,onTouchStart:B,ref:v,children:R.Children.map(r,(A,M)=>{const U=M===d;return u.jsx("div",{className:X(E,n),"data-active":U,ref:z=>{z&&(g.current[M]=z)},children:A},M)})}),l&&u.jsx(vr,{activeIndex:d,className:s,count:y,onNext:T,onPrevious:I,variant:i})]})});function qc({children:e,className:t="",variant:n="stroke-btm-connect",...r}){return u.jsx(en,{...r,className:`link-anchor link-anchor-${n} ${t}`,children:u.jsx(ur,{children:e})})}function uv(e){const t=dv(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(pv);if(c){const l=c.props.children,d=a.map(f=>f===c?p.Children.count(l)>1?p.Children.only(null):p.isValidElement(l)?l.props.children:null:f);return u.jsx(t,{...i,ref:o,children:p.isValidElement(l)?p.cloneElement(l,void 0,d):null})}return u.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function dv(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=hv(o),a=mv(s,o.props);return o.type!==p.Fragment&&(a.ref=r?at(r,i):i),p.cloneElement(o,a)}return p.Children.count(o)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var fv=Symbol("radix.slottable");function pv(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===fv}function mv(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const c=s(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function hv(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var hr="Dialog",[Gc]=Kt(hr),[gv,Ce]=Gc(hr),Zc=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:i=!0}=e,a=p.useRef(null),c=p.useRef(null),[l,d]=Dn({prop:r,defaultProp:o??!1,onChange:s,caller:hr});return u.jsx(gv,{scope:t,triggerRef:a,contentRef:c,contentId:Ke(),titleId:Ke(),descriptionId:Ke(),open:l,onOpenChange:d,onOpenToggle:p.useCallback(()=>d(f=>!f),[d]),modal:i,children:n})};Zc.displayName=hr;var Yc="DialogTrigger",Xc=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(Yc,n),s=se(t,o.triggerRef);return u.jsx(re.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Uo(o.open),...r,ref:s,onClick:ne(e.onClick,o.onOpenToggle)})});Xc.displayName=Yc;var zo="DialogPortal",[vv,Kc]=Gc(zo,{forceMount:void 0}),Qc=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,s=Ce(zo,t);return u.jsx(vv,{scope:t,forceMount:n,children:p.Children.map(r,i=>u.jsx(At,{present:n||s.open,children:u.jsx(sr,{asChild:!0,container:o,children:i})}))})};Qc.displayName=zo;var zn="DialogOverlay",bv=p.forwardRef((e,t)=>{const n=Kc(zn,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Ce(zn,e.__scopeDialog);return s.modal?u.jsx(At,{present:r||s.open,children:u.jsx(yv,{...o,ref:t})}):null});bv.displayName=zn;var xv=uv("DialogOverlay.RemoveScroll"),yv=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(zn,n);return u.jsx(ar,{as:xv,allowPinchZoom:!0,shards:[o.contentRef],children:u.jsx(re.div,{"data-state":Uo(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),rt="DialogContent",Jc=p.forwardRef((e,t)=>{const n=Kc(rt,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Ce(rt,e.__scopeDialog);return u.jsx(At,{present:r||s.open,children:s.modal?u.jsx(wv,{...o,ref:t}):u.jsx(Cv,{...o,ref:t})})});Jc.displayName=rt;var wv=p.forwardRef((e,t)=>{const n=Ce(rt,e.__scopeDialog),r=p.useRef(null),o=se(t,n.contentRef,r);return p.useEffect(()=>{const s=r.current;if(s)return Lo(s)},[]),u.jsx(el,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ne(e.onCloseAutoFocus,s=>{var i;s.preventDefault(),(i=n.triggerRef.current)==null||i.focus()}),onPointerDownOutside:ne(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,a=i.button===0&&i.ctrlKey===!0;(i.button===2||a)&&s.preventDefault()}),onFocusOutside:ne(e.onFocusOutside,s=>s.preventDefault())})}),Cv=p.forwardRef((e,t)=>{const n=Ce(rt,e.__scopeDialog),r=p.useRef(!1),o=p.useRef(!1);return u.jsx(el,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var i,a;(i=e.onCloseAutoFocus)==null||i.call(e,s),s.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{var c,l;(c=e.onInteractOutside)==null||c.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;((l=n.triggerRef.current)==null?void 0:l.contains(i))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),el=p.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,...i}=e,a=Ce(rt,n),c=p.useRef(null),l=se(t,c);return ko(),u.jsxs(u.Fragment,{children:[u.jsx(rr,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:u.jsx(nr,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":Uo(a.open),...i,ref:l,onDismiss:()=>a.onOpenChange(!1)})}),u.jsxs(u.Fragment,{children:[u.jsx(Sv,{titleId:a.titleId}),u.jsx(Pv,{contentRef:c,descriptionId:a.descriptionId})]})]})}),Wo="DialogTitle",tl=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(Wo,n);return u.jsx(re.h2,{id:o.titleId,...r,ref:t})});tl.displayName=Wo;var nl="DialogDescription",rl=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(nl,n);return u.jsx(re.p,{id:o.descriptionId,...r,ref:t})});rl.displayName=nl;var ol="DialogClose",sl=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(ol,n);return u.jsx(re.button,{type:"button",...r,ref:t,onClick:ne(e.onClick,()=>o.onOpenChange(!1))})});sl.displayName=ol;function Uo(e){return e?"open":"closed"}var il="DialogTitleWarning",[Uv,al]=Pm(il,{contentName:rt,titleName:Wo,docsSlug:"dialog"}),Sv=({titleId:e})=>{const t=al(il),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
54
+ */return e=function(){var t={},n={};return t.on=function(r,o){var s={name:r,handler:o};return n[r]=n[r]||[],n[r].unshift(s),s},t.off=function(r){var o=n[r.name].indexOf(r);o!==-1&&n[r.name].splice(o,1)},t.trigger=function(r,o){var s=n[r],i;if(s)for(i=s.length;i--;)s[i].handler(o)},t},Wr=e,Wr}var hn={exports:{}},gn={exports:{}},Ur,Xs;function C1(){if(Xs)return Ur;Xs=1;var e=1e3,t=e*60,n=t*60,r=n*24,o=r*7,s=r*365.25;Ur=function(d,f){f=f||{};var m=typeof d;if(m==="string"&&d.length>0)return i(d);if(m==="number"&&isFinite(d))return f.long?c(d):a(d);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(d))};function i(d){if(d=String(d),!(d.length>100)){var f=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(d);if(f){var m=parseFloat(f[1]),h=(f[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return m*s;case"weeks":case"week":case"w":return m*o;case"days":case"day":case"d":return m*r;case"hours":case"hour":case"hrs":case"hr":case"h":return m*n;case"minutes":case"minute":case"mins":case"min":case"m":return m*t;case"seconds":case"second":case"secs":case"sec":case"s":return m*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return m;default:return}}}}function a(d){var f=Math.abs(d);return f>=r?Math.round(d/r)+"d":f>=n?Math.round(d/n)+"h":f>=t?Math.round(d/t)+"m":f>=e?Math.round(d/e)+"s":d+"ms"}function c(d){var f=Math.abs(d);return f>=r?l(d,f,r,"day"):f>=n?l(d,f,n,"hour"):f>=t?l(d,f,t,"minute"):f>=e?l(d,f,e,"second"):d+" ms"}function l(d,f,m,h){var y=f>=m*1.5;return Math.round(d/m)+" "+h+(y?"s":"")}return Ur}var qr,Qs;function S1(){if(Qs)return qr;Qs=1;function e(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=s,r.enabled=c,r.humanize=C1(),r.destroy=d,Object.keys(t).forEach(f=>{r[f]=t[f]}),r.names=[],r.skips=[],r.formatters={};function n(f){let m=0;for(let h=0;h<f.length;h++)m=(m<<5)-m+f.charCodeAt(h),m|=0;return r.colors[Math.abs(m)%r.colors.length]}r.selectColor=n;function r(f){let m,h=null,y,g;function b(...w){if(!b.enabled)return;const v=b,x=Number(new Date),C=x-(m||x);v.diff=C,v.prev=m,v.curr=x,m=x,w[0]=r.coerce(w[0]),typeof w[0]!="string"&&w.unshift("%O");let E=0;w[0]=w[0].replace(/%([a-zA-Z%])/g,(P,N)=>{if(P==="%%")return"%";E++;const j=r.formatters[N];if(typeof j=="function"){const _=w[E];P=j.call(v,_),w.splice(E,1),E--}return P}),r.formatArgs.call(v,w),(v.log||r.log).apply(v,w)}return b.namespace=f,b.useColors=r.useColors(),b.color=r.selectColor(f),b.extend=o,b.destroy=r.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(y!==r.namespaces&&(y=r.namespaces,g=r.enabled(f)),g),set:w=>{h=w}}),typeof r.init=="function"&&r.init(b),b}function o(f,m){const h=r(this.namespace+(typeof m>"u"?":":m)+f);return h.log=this.log,h}function s(f){r.save(f),r.namespaces=f,r.names=[],r.skips=[];const m=(typeof f=="string"?f:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const h of m)h[0]==="-"?r.skips.push(h.slice(1)):r.names.push(h)}function i(f,m){let h=0,y=0,g=-1,b=0;for(;h<f.length;)if(y<m.length&&(m[y]===f[h]||m[y]==="*"))m[y]==="*"?(g=y,b=h,y++):(h++,y++);else if(g!==-1)y=g+1,b++,h=b;else return!1;for(;y<m.length&&m[y]==="*";)y++;return y===m.length}function a(){const f=[...r.names,...r.skips.map(m=>"-"+m)].join(",");return r.enable(""),f}function c(f){for(const m of r.skips)if(i(f,m))return!1;for(const m of r.names)if(i(f,m))return!0;return!1}function l(f){return f instanceof Error?f.stack||f.message:f}function d(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}return qr=e,qr}var Js;function E1(){return Js||(Js=1,(function(e,t){t.formatArgs=r,t.save=o,t.load=s,t.useColors=n,t.storage=i(),t.destroy=(()=>{let c=!1;return()=>{c||(c=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let c;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(c=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(c[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const l="color: "+this.color;c.splice(1,0,l,"color: inherit");let d=0,f=0;c[0].replace(/%[a-zA-Z%]/g,m=>{m!=="%%"&&(d++,m==="%c"&&(f=d))}),c.splice(f,0,l)}t.log=console.debug||console.log||(()=>{});function o(c){try{c?t.storage.setItem("debug",c):t.storage.removeItem("debug")}catch{}}function s(){let c;try{c=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=process.env.DEBUG),c}function i(){try{return localStorage}catch{}}e.exports=S1()(t);const{formatters:a}=e.exports;a.j=function(c){try{return JSON.stringify(c)}catch(l){return"[UnexpectedJSONParseError]: "+l.message}}})(gn,gn.exports)),gn.exports}var vn={exports:{}},bn={exports:{}},ei;function P1(){return ei||(ei=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default})(bn,bn.exports)),bn.exports}var ti;function N1(){return ti||(ti=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=P1(),r=o(n);function o(s){return s&&s.__esModule?s:{default:s}}t.default={pauseVideo:{acceptableStates:[r.default.ENDED,r.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[r.default.ENDED,r.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[r.default.ENDED,r.default.PLAYING,r.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default})(vn,vn.exports)),vn.exports}var yn={exports:{}},ni;function A1(){return ni||(ni=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default})(yn,yn.exports)),yn.exports}var xn={exports:{}},ri;function R1(){return ri||(ri=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe","getSphericalProperties","setSphericalProperties"],e.exports=t.default})(xn,xn.exports)),xn.exports}var oi;function T1(){return oi||(oi=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=E1(),r=d(n),o=N1(),s=d(o),i=A1(),a=d(i),c=R1(),l=d(c);function d(h){return h&&h.__esModule?h:{default:h}}const f=(0,r.default)("youtube-player"),m={};m.proxyEvents=h=>{const y={};for(const g of a.default){const b="on"+g.slice(0,1).toUpperCase()+g.slice(1);y[b]=w=>{f('event "%s"',b,w),h.trigger(g,w)}}return y},m.promisifyPlayer=(h,y=!1)=>{const g={};for(const b of l.default)y&&s.default[b]?g[b]=(...w)=>h.then(v=>{const x=s.default[b],C=v.getPlayerState(),E=v[b].apply(v,w);return x.stateChangeRequired||Array.isArray(x.acceptableStates)&&!x.acceptableStates.includes(C)?new Promise(S=>{const P=()=>{const N=v.getPlayerState();let j;typeof x.timeout=="number"&&(j=setTimeout(()=>{v.removeEventListener("onStateChange",P),S()},x.timeout)),Array.isArray(x.acceptableStates)&&x.acceptableStates.includes(N)&&(v.removeEventListener("onStateChange",P),clearTimeout(j),S())};v.addEventListener("onStateChange",P)}).then(()=>E):E}):g[b]=(...w)=>h.then(v=>v[b].apply(v,w));return g},t.default=m,e.exports=t.default})(hn,hn.exports)),hn.exports}var wn={exports:{}},Gr,si;function j1(){if(si)return Gr;si=1,Gr=function(o,s,i){var a=document.head||document.getElementsByTagName("head")[0],c=document.createElement("script");typeof s=="function"&&(i=s,s={}),s=s||{},i=i||function(){},c.type=s.type||"text/javascript",c.charset=s.charset||"utf8",c.async="async"in s?!!s.async:!0,c.src=o,s.attrs&&e(c,s.attrs),s.text&&(c.text=""+s.text);var l="onload"in c?t:n;l(c,i),c.onload||t(c,i),a.appendChild(c)};function e(r,o){for(var s in o)r.setAttribute(s,o[s])}function t(r,o){r.onload=function(){this.onerror=this.onload=null,o(null,r)},r.onerror=function(){this.onerror=this.onload=null,o(new Error("Failed to load "+this.src),r)}}function n(r,o){r.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,o(null,r))}}return Gr}var ii;function k1(){return ii||(ii=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=j1(),r=o(n);function o(s){return s&&s.__esModule?s:{default:s}}t.default=s=>new Promise(a=>{if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function){a(window.YT);return}else{const l=window.location.protocol==="http:"?"http:":"https:";(0,r.default)(l+"//www.youtube.com/iframe_api",d=>{d&&s.trigger("error",d)})}const c=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{c&&c(),a(window.YT)}}),e.exports=t.default})(wn,wn.exports)),wn.exports}var ai;function I1(){return ai||(ai=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=w1(),r=c(n),o=T1(),s=c(o),i=k1(),a=c(i);function c(d){return d&&d.__esModule?d:{default:d}}let l;t.default=(d,f={},m=!1)=>{const h=(0,r.default)();if(l||(l=(0,a.default)(h)),f.events)throw new Error("Event handlers cannot be overwritten.");if(typeof d=="string"&&!document.getElementById(d))throw new Error('Element "'+d+'" does not exist.');f.events=s.default.proxyEvents(h);const y=new Promise(b=>{typeof d=="object"&&d.playVideo instanceof Function?b(d):l.then(w=>{const v=new w.Player(d,f);return h.on("ready",()=>{b(v)}),null})}),g=s.default.promisifyPlayer(y,m);return g.on=h.on,g.off=h.off,g},e.exports=t.default})(mn,mn.exports)),mn.exports}var O1=I1();const M1=x1(O1);function L1({src:e,provider:t,autoplay:n=!1,muted:r=!1,loop:o=!1,showControls:s=!1,containerRef:i,onPlay:a,onPause:c,onEnded:l,onError:d}){const f=R.useRef(null),m=R.useRef(null),h=R.useRef(null),[y,g]=R.useState(!1),b=R.useCallback((E,S)=>{var P,N;return S==="youtube"?((P=E.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/)([^&\n?#]+)/))==null?void 0:P[1])??null:S==="vimeo"?((N=E.match(/vimeo\.com\/(\d+)/))==null?void 0:N[1])??null:null},[]),w=R.useCallback(()=>{if(!e||!t||!i.current)return;if(i.current.innerHTML="",t==="html5"){const S=document.createElement("video");S.src=e,S.autoplay=n,S.muted=r,S.loop=o,S.controls=s,S.playsInline=!0,S.preload="auto";const P=()=>{g(!0),a==null||a()},N=()=>{g(!1),c==null||c()},j=()=>{g(!1),l==null||l()},_=()=>{d==null||d(new Error("HTML5 video error"))};return S.addEventListener("play",P),S.addEventListener("pause",N),S.addEventListener("ended",j),S.addEventListener("error",_),i.current.innerHTML="",i.current.appendChild(S),h.current=S,()=>{S.pause(),S.removeEventListener("play",P),S.removeEventListener("pause",N),S.removeEventListener("ended",j),S.removeEventListener("error",_),S.remove(),h.current=null}}const E=b(e,t);if(E)try{if(t==="youtube"){const S=document.createElement("div");i.current.appendChild(S),m.current=M1(S,{videoId:E,playerVars:{autoplay:n?1:0,controls:s?1:0,rel:0,modestbranding:1,playsinline:1,enablejsapi:1,origin:window.location.origin,loop:o?1:0,...o?{playlist:E}:{}}}),m.current.on("stateChange",({data:P})=>{P===1?(g(!0),a==null||a()):P===2?(g(!1),c==null||c()):P===0&&(g(!1),l==null||l())}),m.current.on("ready",()=>{var P,N;r&&((P=m.current)==null||P.mute()),n&&((N=m.current)==null||N.playVideo())}),m.current.on("error",P=>{d==null||d(new Error(`Youtube error: ${JSON.stringify(P,null,2)??"Unknown error"}`))})}t==="vimeo"&&(f.current=new Fo(i.current,{id:E,autoplay:n,muted:r,loop:o,controls:s,background:!s}),f.current.on("play",()=>{g(!0),a==null||a()}),f.current.on("pause",()=>{g(!1),c==null||c()}),f.current.on("ended",()=>{o||(g(!1),l==null||l())}),f.current.on("error",S=>{d==null||d(new Error(`Vimeo error: ${S.message}`))}))}catch(S){d==null||d(S)}},[e,t,i,n,r,o,s,b,a,c,l,d]);R.useEffect(()=>{const E=i.current,S=w();return()=>{var P,N,j;S==null||S(),(P=f.current)==null||P.destroy(),(j=(N=m.current)==null?void 0:N.destroy)==null||j.call(N),f.current=null,m.current=null,h.current=null,E==null||E.replaceChildren(),g(!1)}},[i,w]);const v=R.useCallback(async()=>{f.current?await f.current.play():m.current?await m.current.playVideo():h.current&&await h.current.play()},[]),x=R.useCallback(async()=>{f.current?await f.current.pause():m.current?await m.current.pauseVideo():h.current&&h.current.pause()},[]),C=R.useCallback(async()=>{y?await x():await v()},[y,v,x]);return{isPlaying:y,play:v,pause:x,togglePlayback:C}}function bc({children:e,variant:t}){return u.jsx(u.Fragment,{children:R.Children.map(e,n=>R.isValidElement(n)?R.cloneElement(n,{variant:t}):n)})}const yc=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{clipPath:"url(#clip0_17_2073)"},p.createElement("path",{d:"M20 3.00391L13.0039 10L20 16.9961L16.9961 20L10 13.0039L3.00391 20L0 16.9961L6.99609 10L0 3.00391L3.00391 0L10 6.99609L16.9961 0L20 3.00391Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_17_2073"},p.createElement("rect",{width:20,height:20,fill:"white"})))),_1=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M17.0713 2.9292C18.9461 4.80454 19.9999 7.34779 20 9.99951C19.9999 12.6512 18.946 15.1945 17.0713 17.0698L16.2861 17.8569L14.7148 16.2856L15.5 15.4985C16.958 14.04 17.7773 12.0618 17.7773 9.99951C17.7772 7.93723 16.958 5.95904 15.5 4.50049L14.7148 3.71436L16.2861 2.14307L17.0713 2.9292ZM8.41699 2.90869C8.75038 2.64198 9.2079 2.59019 9.59277 2.7749C9.97776 2.95994 10.2226 3.34971 10.2227 3.77686V16.2222C10.2227 16.6493 9.97777 17.0391 9.59277 17.2241C9.20788 17.4089 8.75041 17.3571 8.41699 17.0903L4.27637 13.7778H1.11133C0.497625 13.7778 0 13.2802 0 12.6665V7.33252C0.000126532 6.71892 0.497703 6.22119 1.11133 6.22119H4.27637L8.41699 2.90869ZM13.9336 6.06689C14.9752 7.1088 15.5605 8.52234 15.5605 9.99561C15.5604 11.4687 14.9751 12.8815 13.9336 13.9233L13.1475 14.7095L11.5762 13.1382L12.3623 12.3521C12.987 11.727 13.3378 10.8793 13.3379 9.99561C13.3379 9.11176 12.9871 8.26331 12.3623 7.63818L11.5762 6.85205L13.1475 5.28174L13.9336 6.06689ZM5.36133 8.20068C5.16431 8.35828 4.91929 8.44385 4.66699 8.44385H2.22266V11.5552H4.66699C4.91923 11.5552 5.16433 11.6408 5.36133 11.7983L8.00098 13.9097V6.08936L5.36133 8.20068Z",fill:"currentColor"})),D1=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M1.5498 16.6999V9.49968H4.0498V16.6999C4.04986 16.8457 4.10784 16.9855 4.21094 17.0886C4.31404 17.1916 4.45381 17.2496 4.59961 17.2497H15.3994C15.5453 17.2497 15.6859 17.1917 15.7891 17.0886C15.892 16.9855 15.9501 16.8456 15.9502 16.6999V9.49968H18.4502V16.6999C18.4501 17.5086 18.1285 18.2842 17.5566 18.8561C16.9847 19.4281 16.2083 19.7497 15.3994 19.7497H4.59961C3.79077 19.7496 3.0153 19.4281 2.44336 18.8561C1.87142 18.2842 1.54986 17.5087 1.5498 16.6999Z",fill:"currentColor"}),p.createElement("path",{d:"M9.11523 0.616336C9.60332 0.128246 10.3946 0.128376 10.8828 0.616336L14.4834 4.21595L12.7158 5.98352L11.25 4.5177V13.2003H8.75V4.51575L7.2832 5.98352L5.51562 4.21595L9.11523 0.616336Z",fill:"currentColor"}));function V1({audioSource:e,contactCta:t,hasShareOptions:n,printCtaText:r,shareVariant:o,textCtaVariant:s}){const[i,a]=R.useState(!1),c=i?yc:_1,l=i?"stop listening":"listen",d=i?"md:py-1.5 xl:py-5":"",f=()=>{typeof window<"u"&&print()};return u.jsxs("div",{className:`flex flex-col md:flex-row xl:flex-col gap-4 md:gap-6 xl:gap-4 items-end md:items-stretch xl:items-end md:justify-end py-5 ${d}`,children:[u.jsxs("div",{className:"flex gap-4 items-center justify-end",children:[n&&u.jsx(hl,{trigger:u.jsx(Ne,{className:"b-xs font-bold uppercase",variant:s,children:u.jsxs("button",{children:[u.jsx(D1,{className:"size-4"}),"Share"]})}),variant:o}),t&&u.jsx(Ne,{className:"b-xs font-bold uppercase",variant:s,children:t}),r&&u.jsx(Ne,{className:"b-xs font-bold uppercase",variant:s,children:u.jsx("button",{onClick:f,children:r})}),e&&u.jsx(Ne,{className:"b-xs font-bold uppercase",variant:s,children:u.jsxs("button",{"aria-pressed":i,onClick:()=>a(m=>!m),children:[u.jsx(c,{className:"size-4"}),l]})})]}),e&&i&&u.jsxs("audio",{autoPlay:!0,controls:!0,children:[u.jsx("source",{src:e}),"Your browser does not support the audio element."]})]})}function F1({children:e,value:t,variant:n}){const r=Do(),o=n==="digital"?"stroke-btm-digital":"stroke-btm-connect",s=n==="connect-reversed"?"!bg-transparent text-white!":"";return r==="lg"||r==="xl"?u.jsx("li",{children:u.jsx(Qc,{className:s,variant:o,children:e})}):u.jsx(Yc,{value:t,variant:n,children:Dt(e)})}function B1({children:e,variant:t,onValueChange:n,placeholder:r,value:o}){const s=Do();if(s==="xl")return null;const i=u.jsx(bc,{variant:t,children:e});return s==="lg"?u.jsx("ul",{className:"flex gap-3 items-center justify-center py-3",children:i}):n?u.jsx(Kc,{className:"after:hidden bg-transparent!",onValueChange:n,placeholder:r,value:o,variant:t,children:i}):null}function $1({audioSource:e,children:t,className:n="",contactCta:r,hasShareOptions:o,horizontalStroke:s,onValueChange:i,placeholder:a,printCtaText:c,value:l,variant:d}){const f=Do(),m=d==="connect-reversed"?"bg-navy-500/40":"bg-navy-900/60",h=d==="connect"?"bg-charcoal-1000/10":"bg-white/30",y=d==="connect"?"bg-white":"bg-navy-1000",{containerStrokeClasses:g}=Yt(y,s,d),b=d==="connect"?"connect":"digital";let w="basic";return d==="connect-reversed"&&(w="connect"),d==="digital"&&(w="digital"),u.jsxs("div",{className:K("relative print:hidden",g,n),children:[(d==="connect-reversed"||d==="digital")&&u.jsx("div",{className:`absolute inset-0 mix-blend-multiply ${m}`}),u.jsx(De,{children:u.jsxs("div",{className:"flex flex-col xl:flex-row xl:justify-between",children:[f==="xl"&&u.jsx("ul",{className:"flex gap-3 items-center pt-2",children:u.jsx(bc,{variant:d,children:t})}),u.jsx(V1,{audioSource:e,contactCta:r,hasShareOptions:o,printCtaText:c,shareVariant:b,textCtaVariant:w})]})}),!!t&&u.jsxs(u.Fragment,{children:[u.jsx("div",{className:`h-0.5 w-full xl:hidden ${h}`}),u.jsx(De,{children:u.jsx(B1,{variant:d,onValueChange:i,placeholder:a,value:l,children:t})})]})]})}const Bo=R.forwardRef((e,t)=>{const{className:n="",videoSource:r,videoProvider:o,...s}=e,i=R.useRef(null),{isPlaying:a,play:c,pause:l,togglePlayback:d}=L1({containerRef:i,src:r,provider:o,...s});return R.useImperativeHandle(t,()=>({play:c,pause:l,togglePlayback:d,isPlaying:a}),[c,l,d,a]),!r||!o?null:u.jsx("div",{className:K("relative h-full w-full overflow-hidden",n),children:u.jsx("div",{ref:i,className:"absolute aspect-video bg-black left-1/2 min-h-full min-w-full top-1/2 -translate-x-1/2 -translate-y-1/2 [&_iframe]:absolute [&_iframe]:inset-0 [&_iframe]:min-h-full [&_iframe]:min-w-full [&_video]:absolute [&_video]:inset-0 [&_video]:h-full [&_video]:w-full [&_video]:object-cover"})})});var H1=Symbol.for("react.lazy"),Bn=p[" use ".trim().toString()];function z1(e){return typeof e=="object"&&e!==null&&"then"in e}function xc(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===H1&&"_payload"in e&&z1(e._payload)}function W1(e){const t=U1(e),n=p.forwardRef((r,o)=>{let{children:s,...i}=r;xc(s)&&typeof Bn=="function"&&(s=Bn(s._payload));const a=p.Children.toArray(s),c=a.find(G1);if(c){const l=c.props.children,d=a.map(f=>f===c?p.Children.count(l)>1?p.Children.only(null):p.isValidElement(l)?l.props.children:null:f);return u.jsx(t,{...i,ref:o,children:p.isValidElement(l)?p.cloneElement(l,void 0,d):null})}return u.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}var en=W1("Slot");function U1(e){const t=p.forwardRef((n,r)=>{let{children:o,...s}=n;if(xc(o)&&typeof Bn=="function"&&(o=Bn(o._payload)),p.isValidElement(o)){const i=Y1(o),a=Z1(s,o.props);return o.type!==p.Fragment&&(a.ref=r?at(r,i):i),p.cloneElement(o,a)}return p.Children.count(o)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var wc=Symbol("radix.slottable");function q1(e){const t=({children:n})=>u.jsx(u.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=wc,t}var ur=q1("Slottable");function G1(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===wc}function Z1(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const c=s(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Y1(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const $n=e=>p.createElement("svg",{width:19,height:20,viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M14.8096 13.3164C14.8126 13.3279 15.2296 14.8934 15.9219 15.5703C16.6167 16.2497 18.2275 16.6582 18.2275 16.6582C18.2275 16.6582 16.6167 17.0667 15.9219 17.7461C15.2272 18.4256 14.8096 20 14.8096 20C14.8096 20 14.392 18.4256 13.6973 17.7461C13.0024 17.0667 11.3916 16.6582 11.3916 16.6582C11.3916 16.6582 13.0024 16.2497 13.6973 15.5703C14.3898 14.8931 14.8069 13.3266 14.8096 13.3164ZM7.12012 3.03809C7.12686 3.06343 7.99568 6.3234 9.4375 7.7334C10.885 9.14883 14.2402 10 14.2402 10C14.2402 10 10.885 10.8512 9.4375 12.2666C7.99011 13.6822 7.12012 16.9619 7.12012 16.9619C7.12012 16.9619 6.2493 13.682 4.80176 12.2666C3.35664 10.8535 0.0112161 10.0028 0 10C0 10 3.35415 9.14876 4.80176 7.7334C6.24667 6.32055 7.11695 3.05 7.12012 3.03809ZM14.8096 0C14.8106 0.00385251 15.228 1.57529 15.9219 2.25391C16.6167 2.93331 18.2275 3.3418 18.2275 3.3418C18.2275 3.3418 16.6167 3.75028 15.9219 4.42969C15.2272 5.10918 14.8096 6.68359 14.8096 6.68359C14.8096 6.68359 14.392 5.1092 13.6973 4.42969C13.0024 3.75028 11.3916 3.3418 11.3916 3.3418C11.3916 3.3418 13.0024 2.93331 13.6973 2.25391C14.392 1.57444 14.8096 0 14.8096 0Z",fill:"currentColor"}),p.createElement("path",{d:"M14.8096 13.3164C14.8126 13.3279 15.2296 14.8934 15.9219 15.5703C16.6167 16.2497 18.2275 16.6582 18.2275 16.6582C18.2275 16.6582 16.6167 17.0667 15.9219 17.7461C15.2272 18.4256 14.8096 20 14.8096 20C14.8096 20 14.392 18.4256 13.6973 17.7461C13.0024 17.0667 11.3916 16.6582 11.3916 16.6582C11.3916 16.6582 13.0024 16.2497 13.6973 15.5703C14.3898 14.8931 14.8069 13.3266 14.8096 13.3164ZM7.12012 3.03809C7.12686 3.06343 7.99568 6.3234 9.4375 7.7334C10.885 9.14883 14.2402 10 14.2402 10C14.2402 10 10.885 10.8512 9.4375 12.2666C7.99011 13.6822 7.12012 16.9619 7.12012 16.9619C7.12012 16.9619 6.2493 13.682 4.80176 12.2666C3.35664 10.8535 0.0112161 10.0028 0 10C0 10 3.35415 9.14876 4.80176 7.7334C6.24667 6.32055 7.11695 3.05 7.12012 3.03809ZM14.8096 0C14.8106 0.00385251 15.228 1.57529 15.9219 2.25391C16.6167 2.93331 18.2275 3.3418 18.2275 3.3418C18.2275 3.3418 16.6167 3.75028 15.9219 4.42969C15.2272 5.10918 14.8096 6.68359 14.8096 6.68359C14.8096 6.68359 14.392 5.1092 13.6973 4.42969C13.0024 3.75028 11.3916 3.3418 11.3916 3.3418C11.3916 3.3418 13.0024 2.93331 13.6973 2.25391C14.392 1.57444 14.8096 0 14.8096 0Z",fill:"currentColor"}));function We({children:e,className:t="",displayStars:n,variant:r="primary",...o}){return u.jsxs(en,{...o,className:`button button-${r} ${t}`,children:[n?u.jsx($n,{}):null,u.jsx(ur,{children:e}),n?u.jsx($n,{}):null]})}function Rt({children:e,className:t="",variant:n="enterprise",...r}){return u.jsx(en,{...r,className:`button-icon button-icon-${n} ${t}`,children:u.jsx(ur,{children:e})})}const K1=e=>p.createElement("svg",{width:60,height:60,viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M2.86035 17.2344C2.48467 18.7675 2.29102 20.3854 2.29102 22.0518C2.29102 27.4573 4.21774 32.1299 8.02344 35.9355C11.8291 39.7412 16.5017 41.668 21.9072 41.668C22.4384 41.668 22.9634 41.6437 23.4766 41.6016V49.1826H34.6152L30.5547 59.9873C30.3668 59.9994 30.1849 60 29.9971 60C13.4291 59.9999 0.000174694 46.5708 0 30.0029C0 25.4337 1.03027 21.1006 2.86035 17.2344ZM53.0439 49.1826C48.6928 54.4063 42.6079 58.127 35.6631 59.4541L39.5176 49.1826H53.0439ZM29.9971 0C46.5651 0 59.994 13.4223 59.9941 29.9902V30.0029C59.9941 33.4933 59.3878 36.8441 58.291 39.9648L50.4199 18.7373L46.0684 18.707L36.2637 44.8008H27.8643V40.7168C30.573 39.8199 33.1671 38.2868 35.585 36.1416L35.3789 35.8994L34.2939 34.6143L32.7725 32.8086L32.5791 32.9785C31.0824 34.3056 29.5004 35.3414 27.8643 36.0625V13.0645L27.4639 13.4043L23.7373 16.5498L23.4824 16.7676V37.2139C22.8886 37.2805 22.3857 37.3105 21.9131 37.3105C17.7257 37.3105 14.102 35.8081 11.1387 32.8389C8.16932 29.8756 6.66608 26.2274 6.66602 22.04C6.66602 17.8526 8.17532 14.2346 11.1387 11.2773C14.102 8.32012 17.7256 6.82324 21.9131 6.82324C25.2703 6.82325 28.4398 7.93225 31.3486 10.126L31.5547 9.9502L34.4697 7.48926L34.7305 7.27148C30.8278 4.05968 26.5187 2.42969 21.9131 2.42969C20.1375 2.42969 18.4286 2.64144 16.8105 3.05957C20.5432 1.23018 24.7075 0.146812 29.1133 0.0185547L29.9971 0ZM51.5469 34.1475L53.7041 40.0986L55.4189 44.8008H41.1602L41.9844 42.6191L43.0137 39.8262L42.9902 39.8135L45.0928 34.1055L48.3105 25.2334L51.5469 34.1475Z",fill:"currentColor"}));function X1({children:e,className:t="",variant:n="basic",...r}){return u.jsx(en,{...r,className:`button-logo button-logo-${n} ${t}`,children:R.cloneElement(e,{},u.jsx(K1,{}))})}const Q1=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{clipPath:"url(#clip0_4663_216844)"},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5957 6.24463C9.39144 6.30162 10.1661 6.52916 10.8662 6.91162C11.5663 7.29414 12.1764 7.82262 12.6543 8.46143L13.2939 9.3169L11.583 10.5972L10.9424 9.7417C10.6482 9.34845 10.2727 9.02312 9.84179 8.7876C9.41063 8.55204 8.93342 8.41157 8.44336 8.37647C7.9534 8.3414 7.46122 8.41185 7.00097 8.5835C6.59827 8.73376 6.22812 8.9591 5.90918 9.24561L5.77539 9.37158L3.07812 12.0688C2.46213 12.7136 2.12213 13.5741 2.12988 14.4663C2.1378 15.3644 2.49782 16.2237 3.13281 16.8589C3.76795 17.4939 4.6273 17.8548 5.52539 17.8628C6.42362 17.8706 7.28935 17.5248 7.93554 16.9009L10.2168 14.6206L11.7275 16.1323L9.42089 18.438C8.3716 19.4514 6.96652 20.0121 5.50781 19.9995C4.04912 19.9868 2.65365 19.402 1.62207 18.3706C0.590536 17.3391 0.0039934 15.9436 -0.00879266 14.4849C-0.0214698 13.026 0.540188 11.6202 1.55371 10.5708L1.5664 10.5571L4.26367 7.85987L4.48046 7.65479C4.9984 7.18953 5.59995 6.82554 6.2539 6.58154C7.00131 6.30274 7.80002 6.18771 8.5957 6.24463ZM14.4932 0.000490313C15.952 0.0132383 17.3483 0.599784 18.3799 1.63135C19.4111 2.66291 19.9961 4.05855 20.0088 5.51709C20.0213 6.9758 19.4597 8.38089 18.4463 9.43018C18.4421 9.43455 18.4379 9.43955 18.4336 9.44385L15.7363 12.1401C15.1723 12.7044 14.4936 13.1416 13.7461 13.4204C12.9987 13.6992 12.2 13.8143 11.4043 13.7573C10.6085 13.7003 9.83391 13.4728 9.13379 13.0903C8.43372 12.7078 7.82452 12.1784 7.34668 11.5396L6.70605 10.6841L8.41796 9.40381L9.05761 10.2593C9.35182 10.6526 9.72719 10.9788 10.1582 11.2144C10.5893 11.4499 11.0667 11.5894 11.5566 11.6245C12.0467 11.6596 12.5396 11.5892 13 11.4175C13.46 11.2458 13.8774 10.9766 14.2246 10.6294L16.9092 7.94483C17.5331 7.29862 17.8789 6.43294 17.8711 5.53467C17.8631 4.63663 17.5031 3.77722 16.8682 3.14209C16.2329 2.50691 15.3729 2.14701 14.4746 2.13916C13.5764 2.13138 12.7106 2.47615 12.0644 3.1001L9.77148 5.38037L8.26464 3.86377L10.5684 1.57373L10.5791 1.56299C11.6284 0.549519 13.0344 -0.0121254 14.4932 0.000490313Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_4663_216844"},p.createElement("rect",{width:20,height:20,fill:"white"})))),J1=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M17.1914 2.07426C18.4044 2.07443 19.4802 2.84592 19.8564 3.95122C19.9762 4.15149 20.02 4.38002 19.9912 4.59966C19.9968 4.67013 20 4.74143 20 4.81352V15.1866C19.9995 16.7323 18.7005 17.9256 17.1914 17.9258H2.80859C1.29952 17.9256 0.000453441 16.7323 0 15.1866V4.81352C1.53234e-05 4.74143 0.00323412 4.67013 0.00878906 4.59966C-0.0199639 4.38019 0.0230616 4.15138 0.142578 3.95122C0.518727 2.84576 1.59545 2.07443 2.80859 2.07426H17.1914ZM2.02246 15.1866C2.02294 15.5414 2.34114 15.9032 2.80859 15.9034H17.1914C17.6589 15.9032 17.9771 15.5414 17.9775 15.1866V6.52153L10.6162 12.1846C10.2529 12.4639 9.74713 12.4639 9.38379 12.1846L2.02246 6.52055V15.1866ZM2.80859 4.09673C2.63443 4.0968 2.48046 4.14623 2.35645 4.22758L10 10.1065L17.6426 4.22758C17.5187 4.1465 17.3652 4.0968 17.1914 4.09673H2.80859Z",fill:"currentColor"})),e0=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M6.88086 11.6914V20H11.4121V11.6914H14.791L15.4941 7.87109H11.4121V6.51953C11.4121 4.5 12.2051 3.72656 14.252 3.72656C14.8887 3.72656 15.4004 3.74219 15.6973 3.77344V0.308594C15.1387 0.15625 13.7715 0 12.9824 0C8.80664 0 6.88086 1.97266 6.88086 6.22656V7.87109H4.30273V11.6914H6.88086Z",fill:"currentColor"})),t0=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{clipPath:"url(#clip0_29_5304)"},p.createElement("path",{d:"M14.4443 0C17.5126 0 20 2.48742 20 5.55566V14.4443C20 17.5126 17.5126 20 14.4443 20H5.55566C2.48742 20 0 17.5126 0 14.4443V5.55566C0 2.48742 2.48742 0 5.55566 0H14.4443ZM5.55566 2.22266C3.71471 2.22266 2.22266 3.71471 2.22266 5.55566V14.4443C2.22266 16.2853 3.71471 17.7773 5.55566 17.7773H14.4443C16.2853 17.7773 17.7773 16.2853 17.7773 14.4443V5.55566C17.7773 3.71471 16.2853 2.22266 14.4443 2.22266H5.55566ZM7.88867 5.81934C8.75992 5.36728 9.7527 5.20173 10.7236 5.3457C11.7138 5.49268 12.6301 5.9543 13.3379 6.66211C14.0457 7.36993 14.5073 8.28623 14.6543 9.27637C14.7983 10.2473 14.6327 11.2401 14.1807 12.1113C13.7286 12.9823 13.0133 13.6886 12.1367 14.1299C11.26 14.5712 10.2659 14.7253 9.29688 14.5693C8.32785 14.4134 7.43328 13.9548 6.73926 13.2607C6.04524 12.5667 5.58664 11.6721 5.43066 10.7031C5.27475 9.73406 5.42883 8.74002 5.87012 7.86328C6.31136 6.98674 7.01766 6.2714 7.88867 5.81934ZM10.3965 7.54297C9.88813 7.46771 9.36828 7.55436 8.91211 7.79102C8.45596 8.02776 8.08661 8.40329 7.85547 8.8623C7.62435 9.32148 7.5434 9.84208 7.625 10.3496C7.70668 10.8572 7.94699 11.3259 8.31055 11.6895C8.67411 12.053 9.14277 12.2933 9.65039 12.375C10.1579 12.4566 10.6785 12.3756 11.1377 12.1445C11.5967 11.9134 11.9722 11.544 12.209 11.0879C12.4456 10.6317 12.5323 10.1119 12.457 9.60352C12.3801 9.08473 12.1374 8.60425 11.7666 8.2334C11.3958 7.86255 10.9153 7.6199 10.3965 7.54297ZM14.8975 4C15.5111 4 16.0088 4.49768 16.0088 5.11133C16.0087 5.72488 15.511 6.22266 14.8975 6.22266H14.8887C14.2752 6.22255 13.7775 5.72481 13.7773 5.11133C13.7773 4.49774 14.2751 4.0001 14.8887 4H14.8975Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_29_5304"},p.createElement("rect",{width:20,height:20,fill:"white"})))),n0=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{clipPath:"url(#clip0_29_5301)"},p.createElement("path",{d:"M4.47768 20H0.330357V6.64732H4.47768V20ZM2.40179 4.82589C1.07589 4.82589 0 3.72768 0 2.40179C0 1.76339 0.254464 1.15625 0.705357 0.705357C1.15625 0.254464 1.76786 0 2.40179 0C3.03571 0 3.64732 0.254464 4.09821 0.705357C4.54911 1.15625 4.80357 1.76786 4.80357 2.40179C4.80357 3.72768 3.72768 4.82589 2.40179 4.82589ZM19.9955 20H15.8571V13.5C15.8571 11.9509 15.8259 9.96429 13.7009 9.96429C11.5446 9.96429 11.2143 11.6473 11.2143 13.3884V20H7.07143V6.64732H11.0491V8.46875H11.1071C11.6607 7.41964 13.0134 6.3125 15.0313 6.3125C19.2277 6.3125 20 9.07589 20 12.6652V20H19.9955Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_29_5301"},p.createElement("rect",{width:20,height:20,fill:"white"})))),r0=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{clipPath:"url(#clip0_29_5302)"},p.createElement("path",{d:"M15.7512 0.960923H18.818L12.1179 8.61864L20 19.0391H13.8284L8.99458 12.7191L3.46359 19.0391H0.394938L7.5613 10.8483L0 0.960923H6.32828L10.6976 6.73759L15.7512 0.960923ZM14.6748 17.2035H16.3742L5.4049 2.70013H3.58133L14.6748 17.2035Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_29_5302"},p.createElement("rect",{width:20,height:20,fill:"white"})))),o0=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.2564 2.78418C10.4202 2.78488 10.6561 2.78626 10.9429 2.78906C11.517 2.79467 12.2996 2.80566 13.1275 2.82812C13.9543 2.85057 14.8328 2.88452 15.5991 2.93555C16.2553 2.97926 16.8685 3.03732 17.2974 3.12109L17.4693 3.15918L17.4917 3.16504C18.0001 3.30898 18.4626 3.58461 18.8306 3.96387C19.1983 4.34318 19.4601 4.81371 19.5884 5.32617L18.9693 5.48047L19.5972 5.36816C19.8737 6.90116 20.0089 8.45696 19.9995 10.0146L19.9946 10.5898C19.9689 11.9337 19.8358 13.2743 19.5972 14.5977C19.5947 14.6114 19.5918 14.6261 19.5884 14.6396C19.46 15.1522 19.1984 15.6226 18.8306 16.002C18.4626 16.3813 18.0003 16.6568 17.4917 16.8008L17.4829 16.8037C17.051 16.9192 16.3534 16.9951 15.604 17.0498C14.8364 17.1058 13.9559 17.1424 13.1284 17.167C12.3002 17.1916 11.5181 17.2048 10.9439 17.2109C10.6568 17.214 10.4204 17.2151 10.2564 17.2158C10.1749 17.2162 10.1106 17.2167 10.0669 17.2168H9.93117C9.88755 17.2167 9.8231 17.2162 9.74172 17.2158C9.57784 17.2151 9.34193 17.214 9.05519 17.2109C8.4809 17.2048 7.69808 17.1916 6.86965 17.167C6.04235 17.1424 5.16258 17.1058 4.39504 17.0498C3.64585 16.9952 2.94825 16.9191 2.51613 16.8037L2.51125 16.8027C2.0134 16.6664 1.55889 16.403 1.19191 16.04C0.824822 15.6767 0.557084 15.2243 0.415545 14.7275C0.409846 14.7075 0.40558 14.6865 0.401873 14.666C0.124956 13.1308 -0.00927314 11.5727 0.000505705 10.0127C-0.00668415 8.46691 0.127577 6.92363 0.401873 5.40234L0.410662 5.36035C0.539027 4.8475 0.800385 4.37654 1.16847 3.99707C1.53642 3.61794 1.998 3.34211 2.50637 3.19824L2.51613 3.19629C2.94823 3.08087 3.64573 3.00486 4.39504 2.9502C5.1626 2.89422 6.04232 2.85662 6.86965 2.83203C7.69808 2.80742 8.48089 2.79521 9.05519 2.78906C9.34194 2.786 9.57784 2.78495 9.74172 2.78418C9.8231 2.7838 9.88755 2.7833 9.93117 2.7832H10.0669C10.1106 2.78329 10.1749 2.78383 10.2564 2.78418ZM8.39992 6.67773C8.20248 6.56553 7.95956 6.56757 7.7632 6.68164C7.56692 6.79591 7.44591 7.00628 7.44582 7.2334V12.7988C7.44583 13.026 7.56685 13.2363 7.7632 13.3506C7.95958 13.4647 8.20243 13.4667 8.39992 13.3545L13.2935 10.5703C13.4925 10.4567 13.6157 10.2448 13.6157 10.0156C13.6155 9.78646 13.4926 9.57433 13.2935 9.46094L8.39992 6.67773Z",fill:"currentColor"}));function $e({className:e="",href:t,onClick:n,socialPlatform:r,variant:o="basic"}){let s=e0,i="Share on Facebook";switch(r){case"copy":s=Q1,i="Copy link";break;case"email":s=J1,i="Share via Email";break;case"instagram":s=t0,i="Share on Instagram";break;case"linkedin":s=n0,i="Share on LinkedIn";break;case"x":s=r0,i="Share on X";break;case"youtube":s=o0,i="Share on YouTube";break}const a=`button-social button-social-${o} ${e}`;return t?u.jsx("a",{"aria-label":i,className:a,href:t,children:u.jsx(s,{})}):u.jsx("button",{"aria-label":i,className:a,onClick:n,children:u.jsx(s,{})})}const dr="polygon(100% 0, 100% calc(100% - 48px), calc(100% - 48px) 100%, 0 100%, 0 0)",s0={"connect-reversed":"reversed-connect","digital-reversed":"reversed-digital"},i0="enterprise";function Cc(e,t){return e?u.jsx("img",{...e}):t||null}function $o(e="connect"){return s0[e]??i0}function a0(e="connect"){return e==="connect"||e==="connect-reversed"?"small-connect":"small-digital"}function Sc(e="connect"){return e==="connect"||e==="connect-reversed"?"primary":"primary-digital"}function c0(e="connect"){return{"connect-reversed":"connect","digital-reversed":"digital"}[e]??"basic"}function l0(e="connect"){return{"connect-reversed":"connect","digital-reversed":"digital"}[e]??"basic"}function u0({className:e="",copy:t,name:n,id:r,isBookmarked:o,onBookmark:s,personTitle:i,title:a,type:c,variant:l="connect"}){const d=$o(l);return u.jsxs("div",{className:K("card-single-double-content-type-one",`card-single-double-content-${l}`,e),children:[!!(c||a)&&u.jsxs("div",{className:"mb-4 in-data-[layout=double]:mb-0",children:[!!c&&u.jsx("div",{className:"b-xs mb-1 uppercase",children:c}),!!a&&u.jsx("div",{className:"card-single-double-title hs-10",children:a})]}),!!t&&u.jsx("div",{className:"mb-4 in-data-[layout=double]:mb-0",children:t}),u.jsxs("div",{className:"flex items-end justify-between",children:[u.jsxs("div",{className:"flex flex-col gap-1 text-charcoal-700 in-data-[reversed=true]:text-white/80",children:[!!n&&u.jsx("div",{className:"b-sm",children:n}),!!i&&u.jsx("div",{className:"b-xs",children:i})]}),s&&!!r&&u.jsx(Rt,{className:"z-2",variant:d,children:u.jsx("button",{"aria-label":o?"Remove bookmark":"Bookmark this item",onClick:()=>s(r),children:o?u.jsx(Jn,{className:"size-4"}):u.jsx(Qn,{className:"size-4"})})})]})]})}function d0({className:e="",copy:t,date:n,id:r,isBookmarked:o,location:s,onBookmark:i,title:a,type:c,variant:l="connect"}){const d=$o(l);return u.jsxs("div",{className:K("card-single-double-content-type-one",`card-single-double-content-${l}`,e),children:[!!(c||a)&&u.jsxs("div",{className:"mb-4 in-data-[layout=double]:mb-0",children:[!!c&&u.jsx("div",{className:"b-xs mb-1 uppercase",children:c}),!!a&&u.jsx("div",{className:"card-single-double-title hs-10",children:a})]}),!!t&&u.jsx("div",{className:"mb-4 in-data-[layout=double]:mb-0",children:t}),u.jsxs("div",{className:"flex items-center justify-between",children:[!!(n||s)&&u.jsxs("div",{className:"b-xs flex gap-2 items-center text-charcoal-700 in-data-[reversed=true]:text-white/80",children:[n,!!(n&&s)&&u.jsx("span",{className:"bg-smoke h-3.5 w-0.5 in-data-[reversed=true]:bg-white/30"}),s]}),i&&!!r&&u.jsx(Rt,{className:"z-2",variant:d,children:u.jsx("button",{"aria-label":o?"Remove bookmark":"Bookmark this item",onClick:()=>i(r),children:o?u.jsx(Jn,{className:"size-4"}):u.jsx(Qn,{className:"size-4"})})})]})]})}const Ec=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M10.3809 4.57129H4.66699C4.56609 4.57129 4.46888 4.61135 4.39746 4.68262C4.32607 4.754 4.28619 4.8512 4.28613 4.95215V13.333L4.29297 13.4082C4.30763 13.4814 4.34392 13.549 4.39746 13.6025C4.4689 13.674 4.56596 13.7139 4.66699 13.7139H13.0479C13.1488 13.7138 13.246 13.6739 13.3174 13.6025C13.3887 13.5311 13.4287 13.4339 13.4287 13.333V7.61914H15.7139V13.333C15.7139 14.0403 15.4327 14.7187 14.9326 15.2188C14.4326 15.7187 13.7549 15.9999 13.0479 16H4.66699C3.95975 16 3.28135 15.7188 2.78125 15.2188C2.28115 14.7187 2 14.0403 2 13.333V4.95215C2.00006 4.24509 2.28134 3.5674 2.78125 3.06738C3.28135 2.56729 3.95975 2.28613 4.66699 2.28613H10.3809V4.57129ZM16.8574 0C17.4884 0.000154828 17.9998 0.511619 18 1.14258V6.85742H15.7139V3.90234L9.28418 10.332L7.66797 8.71582L14.0977 2.28613H11.1426V0H16.8574Z",fill:"currentColor"}));function f0({className:e="",copy:t,date:n,id:r,isBookmarked:o,isExternalLink:s,timeToRead:i,onBookmark:a,title:c,type:l,variant:d="connect"}){const f=$o(d);return u.jsxs("div",{className:K("card-single-double-content-type-one",`card-single-double-content-${d}`,e),children:[!!(l||c)&&u.jsxs("div",{className:"mb-4 in-data-[layout=double]:mb-0",children:[!!l&&u.jsxs("div",{className:"b-xs flex justify-between mb-1 uppercase",children:[l," ",s&&u.jsx(Ec,{className:"size-3"})]}),!!c&&u.jsx("div",{className:"card-single-double-title hs-10",children:c})]}),!!t&&u.jsx("div",{className:"mb-4 in-data-[layout=double]:mb-0",children:t}),u.jsxs("div",{className:"flex items-center justify-between",children:[!!(n||i)&&u.jsxs("div",{className:"b-xs flex gap-2 items-center text-charcoal-700 in-data-[reversed=true]:text-white/80",children:[n,!!(n&&i)&&u.jsx("span",{className:"bg-smoke h-3.5 w-0.5 in-data-[reversed=true]:bg-white/30"}),i]}),a&&!!r&&u.jsx(Rt,{className:"z-2",variant:f,children:u.jsx("button",{"aria-label":o?"Remove bookmark":"Bookmark this item",onClick:()=>a(r),children:o?u.jsx(Jn,{className:"size-4"}):u.jsx(Qn,{className:"size-4"})})})]})]})}function p0({addressLine1:e,addressLine2:t,button:n,city:r,className:o="",fax:s,phone:i,state:a,title:c,variant:l="connect",zip:d}){var w,v;const f=typeof s=="string"?s:(w=Ie(s))==null?void 0:w.href,m=f==null?void 0:f.replace("tel:",""),h=typeof i=="string"?i:(v=Ie(i))==null?void 0:v.href,y=h==null?void 0:h.replace("tel:",""),g=Sc(l),b=l0(l);return u.jsxs("div",{className:K("card-single-double-content-type-two",`card-single-double-content-${l}`,o),style:{clipPath:dr},children:[!!c&&u.jsx("div",{className:"card-single-double-title hs-10 mb-4",children:c}),!!(e||t||r||a||d)&&u.jsxs("div",{className:"flex flex-col mb-4",children:[e,t,!!(r||a||d)&&u.jsxs("div",{children:[r,!!(r&&(a||d))&&", ",a,!!(a&&d)&&" ",d]})]}),u.jsxs("div",{className:"flex flex-col gap-1 items-start mb-2",children:[!!h&&u.jsx(Ne,{className:"b-xs font-bold",variant:b,children:u.jsxs("a",{href:h,children:[u.jsx(Ca,{className:"size-3"}),y]})}),!!f&&u.jsx(Ne,{className:"b-xs font-bold",variant:b,children:u.jsxs("a",{href:f,children:[u.jsx(wa,{className:"size-3"}),m]})})]}),!!n&&u.jsx(We,{variant:g,children:n})]})}function m0({caseStudy:e,event:t,imageClassName:n,insight:r,layout:o,person:s,variant:i="connect"}){const[a,c]=R.useState(!1),l=e??t??r??s,{image:d,imageNode:f,video:m,videoDescription:h,videoLabel:y}=l??{},g=Cc(d,f),b=a0(i),w=K("h-45",o==="double"&&"h-auto",s&&"h-68");return g?u.jsxs("div",{className:K("mb-5 in-data-[layout=double]:mb-0 relative z-2 [&_img]:object-cover [&_img]:size-full",w,n),style:{clipPath:dr},children:[g,m&&u.jsxs(u.Fragment,{children:[u.jsx(gr,{ariaDescription:h,ariaLabel:y,backgroundVideo:m,onOpenChange:c,open:a}),u.jsx("div",{className:"absolute bottom-1 left-3",children:u.jsx(tn,{isPlaying:a,label:y?`Play video: ${y}`:"Play video",onClick:()=>c(v=>!v),variant:b})})]})]}):null}function h0({button:e,className:t="",copy:n,date:r,isExternalLink:o,title:s,type:i,variant:a="connect"}){const c=Sc(a);return u.jsxs("div",{className:K("card-single-double-content-type-two",`card-single-double-content-${a}`,t),style:{clipPath:dr},children:[!!i&&u.jsxs("div",{className:"b-xs flex justify-between mb-1 uppercase",children:[i," ",o&&u.jsx(Ec,{className:"size-3"})]}),!!s&&u.jsx("div",{className:"card-single-double-title hs-10 mb-4",children:s}),!!n&&u.jsx("div",{className:"mb-4 in-data-[layout=double]:mb-6",children:n}),u.jsxs("div",{className:"flex flex-col gap-4 items-start",children:[!!r&&u.jsx("div",{className:"b-xs text-charcoal-700 in-data-[reversed=true]:text-white/80",children:r}),!!e&&u.jsx(We,{variant:c,children:e})]})]})}function g0({bio:e,className:t="",name:n,linkedInUrl:r,location:o,quote:s,title:i,variant:a="connect"}){var d;const c=typeof r=="string"?r:(d=Ie(r))==null?void 0:d.href,l=c0(a);return u.jsxs("div",{className:K("card-single-double-content-type-one",`card-single-double-content-${a}`,t),children:[!!(n||i)&&u.jsxs("div",{className:K("in-data-[layout=double]:mb-0",e?"mb-4":"mb-2"),children:[!!n&&u.jsx("div",{className:"card-single-double-title hs-10 mb-1",children:n}),!!i&&u.jsx("div",{className:"b-xs uppercase",children:i})]}),!!e&&u.jsx("div",{className:"mb-4 in-data-[layout=double]:mb-0",children:e}),u.jsxs("div",{className:"flex gap-4 items-end justify-between",children:[!!(s||o)&&u.jsxs("div",{className:"b-xs flex flex-col gap-1 text-charcoal-700 in-data-[reversed=true]:text-white/80",children:[!!s&&u.jsx("div",{children:s}),!!o&&u.jsx("div",{children:o})]}),!!c&&u.jsx($e,{className:"z-2",href:c,socialPlatform:"linkedin",variant:l})]})]})}function v0({className:e="",copy:t,image:n,imageNode:r,title:o,variant:s="connect"}){const i=Cc(n,r);return u.jsxs("div",{className:K("card-single-double-content-type-two",`card-single-double-content-${s}`,e),style:{clipPath:dr},children:[!!i&&u.jsx("div",{className:"mb-4 size-15 [&_img]:object-cover [&_img]:size-full",children:i}),!!o&&u.jsx("div",{className:"card-single-double-title hs-10 mb-4",children:o}),!!t&&u.jsx("div",{className:"mb-4",children:t})]})}const b0={caseStudy:u0,event:d0,insight:f0,location:p0,page:h0,person:g0,service:v0};function y0({caseStudy:e,className:t="",contentClassName:n="",event:r,imageAndContentContainerClassName:o="",imageClassName:s="",insight:i,layout:a,link:c,location:l,page:d,person:f,service:m,variant:h="connect"}){const y=Ie(c),g=!!(y!=null&&y.target),b=h==="connect-reversed"||h==="digital-reversed",w={className:n,isExternalLink:g,variant:h},v={caseStudy:e,event:r,insight:i,location:l,page:d,person:f,service:m};return u.jsxs("div",{className:K("card-single-double",`card-single-double-${h}`,"group",t),"data-layout":a,"data-reversed":b,"data-variant":h,children:[!!c&&u.jsx("div",{className:"[&_a]:absolute [&_a]:inset-0 [&_a]:outline-hidden [&_a]:z-1",children:c}),u.jsxs("div",{className:K("in-data-[layout=double]:flex in-data-[layout=double]:gap-5",o),children:[u.jsx(m0,{caseStudy:e,event:r,imageClassName:s,insight:i,layout:a,person:f,variant:h}),Object.entries(v).map(([x,C])=>{if(!C)return null;const E=b0[x];return u.jsx(E,{...C,...w},x)})]})]})}function ci(e,[t,n]){return Math.min(n,Math.max(t,e))}function li(e){const t=x0(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(C0);if(c){const l=c.props.children,d=a.map(f=>f===c?p.Children.count(l)>1?p.Children.only(null):p.isValidElement(l)?l.props.children:null:f);return u.jsx(t,{...i,ref:o,children:p.isValidElement(l)?p.cloneElement(l,void 0,d):null})}return u.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function x0(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=E0(o),a=S0(s,o.props);return o.type!==p.Fragment&&(a.ref=r?at(r,i):i),p.cloneElement(o,a)}return p.Children.count(o)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var w0=Symbol("radix.slottable");function C0(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===w0}function S0(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const c=s(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function E0(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function P0(e){const t=e+"CollectionProvider",[n,r]=Xt(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=g=>{const{scope:b,children:w}=g,v=R.useRef(null),x=R.useRef(new Map).current;return u.jsx(o,{scope:b,itemMap:x,collectionRef:v,children:w})};i.displayName=t;const a=e+"CollectionSlot",c=li(a),l=R.forwardRef((g,b)=>{const{scope:w,children:v}=g,x=s(a,w),C=se(b,x.collectionRef);return u.jsx(c,{ref:C,children:v})});l.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",m=li(d),h=R.forwardRef((g,b)=>{const{scope:w,children:v,...x}=g,C=R.useRef(null),E=se(b,C),S=s(d,w);return R.useEffect(()=>(S.itemMap.set(C,{ref:C,...x}),()=>void S.itemMap.delete(C))),u.jsx(m,{[f]:"",ref:E,children:v})});h.displayName=d;function y(g){const b=s(e+"CollectionConsumer",g);return R.useCallback(()=>{const v=b.collectionRef.current;if(!v)return[];const x=Array.from(v.querySelectorAll(`[${f}]`));return Array.from(b.itemMap.values()).sort((S,P)=>x.indexOf(S.ref.current)-x.indexOf(P.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:l,ItemSlot:h},y,r]}var N0=p.createContext(void 0);function A0(e){const t=p.useContext(N0);return e||t||"ltr"}function R0(e){const t=T0(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(k0);if(c){const l=c.props.children,d=a.map(f=>f===c?p.Children.count(l)>1?p.Children.only(null):p.isValidElement(l)?l.props.children:null:f);return u.jsx(t,{...i,ref:o,children:p.isValidElement(l)?p.cloneElement(l,void 0,d):null})}return u.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function T0(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=O0(o),a=I0(s,o.props);return o.type!==p.Fragment&&(a.ref=r?at(r,i):i),p.cloneElement(o,a)}return p.Children.count(o)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var j0=Symbol("radix.slottable");function k0(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===j0}function I0(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const c=s(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function O0(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function M0(e){const t=p.useRef({value:e,previous:e});return p.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Pc=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"}),L0="VisuallyHidden",_0=p.forwardRef((e,t)=>u.jsx(re.span,{...e,ref:t,style:{...Pc,...e.style}}));_0.displayName=L0;var D0=[" ","Enter","ArrowUp","ArrowDown"],V0=[" ","Enter"],tt="Select",[fr,pr,F0]=P0(tt),[Tt]=Xt(tt,[F0,or]),mr=or(),[B0,qe]=Tt(tt),[$0,H0]=Tt(tt),Nc=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:s,value:i,defaultValue:a,onValueChange:c,dir:l,name:d,autoComplete:f,disabled:m,required:h,form:y}=e,g=mr(t),[b,w]=p.useState(null),[v,x]=p.useState(null),[C,E]=p.useState(!1),S=A0(l),[P,N]=Dn({prop:r,defaultProp:o??!1,onChange:s,caller:tt}),[j,_]=Dn({prop:i,defaultProp:a,onChange:c,caller:tt}),D=p.useRef(null),B=b?y||!!b.closest("form"):!0,[W,H]=p.useState(new Set),I=Array.from(W).map(T=>T.props.value).join(";");return u.jsx(Wa,{...g,children:u.jsxs(B0,{required:h,scope:t,trigger:b,onTriggerChange:w,valueNode:v,onValueNodeChange:x,valueNodeHasChildren:C,onValueNodeHasChildrenChange:E,contentId:Xe(),value:j,onValueChange:_,open:P,onOpenChange:N,dir:S,triggerPointerDownPosRef:D,disabled:m,children:[u.jsx(fr.Provider,{scope:t,children:u.jsx($0,{scope:e.__scopeSelect,onNativeOptionAdd:p.useCallback(T=>{H(O=>new Set(O).add(T))},[]),onNativeOptionRemove:p.useCallback(T=>{H(O=>{const A=new Set(O);return A.delete(T),A})},[]),children:n})}),B?u.jsxs(Uc,{"aria-hidden":!0,required:h,tabIndex:-1,name:d,autoComplete:f,value:j,onChange:T=>_(T.target.value),disabled:m,form:y,children:[j===void 0?u.jsx("option",{value:""}):null,Array.from(W)]},I):null]})})};Nc.displayName=tt;var Ac="SelectTrigger",Rc=p.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,s=mr(n),i=qe(Ac,n),a=i.disabled||r,c=se(t,i.onTriggerChange),l=pr(n),d=p.useRef("touch"),[f,m,h]=Gc(g=>{const b=l().filter(x=>!x.disabled),w=b.find(x=>x.value===i.value),v=Zc(b,g,w);v!==void 0&&i.onValueChange(v.value)}),y=g=>{a||(i.onOpenChange(!0),h()),g&&(i.triggerPointerDownPosRef.current={x:Math.round(g.pageX),y:Math.round(g.pageY)})};return u.jsx(Mo,{asChild:!0,...s,children:u.jsx(re.button,{type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":qc(i.value)?"":void 0,...o,ref:c,onClick:ne(o.onClick,g=>{g.currentTarget.focus(),d.current!=="mouse"&&y(g)}),onPointerDown:ne(o.onPointerDown,g=>{d.current=g.pointerType;const b=g.target;b.hasPointerCapture(g.pointerId)&&b.releasePointerCapture(g.pointerId),g.button===0&&g.ctrlKey===!1&&g.pointerType==="mouse"&&(y(g),g.preventDefault())}),onKeyDown:ne(o.onKeyDown,g=>{const b=f.current!=="";!(g.ctrlKey||g.altKey||g.metaKey)&&g.key.length===1&&m(g.key),!(b&&g.key===" ")&&D0.includes(g.key)&&(y(),g.preventDefault())})})})});Rc.displayName=Ac;var Tc="SelectValue",jc=p.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:s,placeholder:i="",...a}=e,c=qe(Tc,n),{onValueNodeHasChildrenChange:l}=c,d=s!==void 0,f=se(t,c.onValueNodeChange);return de(()=>{l(d)},[l,d]),u.jsx(re.span,{...a,ref:f,style:{pointerEvents:"none"},children:qc(c.value)?u.jsx(u.Fragment,{children:i}):s})});jc.displayName=Tc;var z0="SelectIcon",kc=p.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return u.jsx(re.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});kc.displayName=z0;var W0="SelectPortal",Ic=e=>u.jsx(sr,{asChild:!0,...e});Ic.displayName=W0;var nt="SelectContent",Oc=p.forwardRef((e,t)=>{const n=qe(nt,e.__scopeSelect),[r,o]=p.useState();if(de(()=>{o(new DocumentFragment)},[]),!n.open){const s=r;return s?Wn.createPortal(u.jsx(Mc,{scope:e.__scopeSelect,children:u.jsx(fr.Slot,{scope:e.__scopeSelect,children:u.jsx("div",{children:e.children})})}),s):null}return u.jsx(Lc,{...e,ref:t})});Oc.displayName=nt;var be=10,[Mc,Ge]=Tt(nt),U0="SelectContentImpl",q0=R0("SelectContent.RemoveScroll"),Lc=p.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:i,side:a,sideOffset:c,align:l,alignOffset:d,arrowPadding:f,collisionBoundary:m,collisionPadding:h,sticky:y,hideWhenDetached:g,avoidCollisions:b,...w}=e,v=qe(nt,n),[x,C]=p.useState(null),[E,S]=p.useState(null),P=se(t,L=>C(L)),[N,j]=p.useState(null),[_,D]=p.useState(null),B=pr(n),[W,H]=p.useState(!1),I=p.useRef(!1);p.useEffect(()=>{if(x)return Lo(x)},[x]),ko();const T=p.useCallback(L=>{const[q,...ee]=B().map(k=>k.ref.current),[G]=ee.slice(-1),$=document.activeElement;for(const k of L)if(k===$||(k==null||k.scrollIntoView({block:"nearest"}),k===q&&E&&(E.scrollTop=0),k===G&&E&&(E.scrollTop=E.scrollHeight),k==null||k.focus(),document.activeElement!==$))return},[B,E]),O=p.useCallback(()=>T([N,x]),[T,N,x]);p.useEffect(()=>{W&&O()},[W,O]);const{onOpenChange:A,triggerPointerDownPosRef:M}=v;p.useEffect(()=>{if(x){let L={x:0,y:0};const q=G=>{var $,k;L={x:Math.abs(Math.round(G.pageX)-((($=M.current)==null?void 0:$.x)??0)),y:Math.abs(Math.round(G.pageY)-(((k=M.current)==null?void 0:k.y)??0))}},ee=G=>{L.x<=10&&L.y<=10?G.preventDefault():x.contains(G.target)||A(!1),document.removeEventListener("pointermove",q),M.current=null};return M.current!==null&&(document.addEventListener("pointermove",q),document.addEventListener("pointerup",ee,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",q),document.removeEventListener("pointerup",ee,{capture:!0})}}},[x,A,M]),p.useEffect(()=>{const L=()=>A(!1);return window.addEventListener("blur",L),window.addEventListener("resize",L),()=>{window.removeEventListener("blur",L),window.removeEventListener("resize",L)}},[A]);const[U,z]=Gc(L=>{const q=B().filter($=>!$.disabled),ee=q.find($=>$.ref.current===document.activeElement),G=Zc(q,L,ee);G&&setTimeout(()=>G.ref.current.focus())}),X=p.useCallback((L,q,ee)=>{const G=!I.current&&!ee;(v.value!==void 0&&v.value===q||G)&&(j(L),G&&(I.current=!0))},[v.value]),J=p.useCallback(()=>x==null?void 0:x.focus(),[x]),Q=p.useCallback((L,q,ee)=>{const G=!I.current&&!ee;(v.value!==void 0&&v.value===q||G)&&D(L)},[v.value]),ce=r==="popper"?ao:_c,le=ce===ao?{side:a,sideOffset:c,align:l,alignOffset:d,arrowPadding:f,collisionBoundary:m,collisionPadding:h,sticky:y,hideWhenDetached:g,avoidCollisions:b}:{};return u.jsx(Mc,{scope:n,content:x,viewport:E,onViewportChange:S,itemRefCallback:X,selectedItem:N,onItemLeave:J,itemTextRefCallback:Q,focusSelectedItem:O,selectedItemText:_,position:r,isPositioned:W,searchRef:U,children:u.jsx(ar,{as:q0,allowPinchZoom:!0,children:u.jsx(rr,{asChild:!0,trapped:v.open,onMountAutoFocus:L=>{L.preventDefault()},onUnmountAutoFocus:ne(o,L=>{var q;(q=v.trigger)==null||q.focus({preventScroll:!0}),L.preventDefault()}),children:u.jsx(nr,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:L=>L.preventDefault(),onDismiss:()=>v.onOpenChange(!1),children:u.jsx(ce,{role:"listbox",id:v.contentId,"data-state":v.open?"open":"closed",dir:v.dir,onContextMenu:L=>L.preventDefault(),...w,...le,onPlaced:()=>H(!0),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",...w.style},onKeyDown:ne(w.onKeyDown,L=>{const q=L.ctrlKey||L.altKey||L.metaKey;if(L.key==="Tab"&&L.preventDefault(),!q&&L.key.length===1&&z(L.key),["ArrowUp","ArrowDown","Home","End"].includes(L.key)){let G=B().filter($=>!$.disabled).map($=>$.ref.current);if(["ArrowUp","End"].includes(L.key)&&(G=G.slice().reverse()),["ArrowUp","ArrowDown"].includes(L.key)){const $=L.target,k=G.indexOf($);G=G.slice(k+1)}setTimeout(()=>T(G)),L.preventDefault()}})})})})})})});Lc.displayName=U0;var G0="SelectItemAlignedPosition",_c=p.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,s=qe(nt,n),i=Ge(nt,n),[a,c]=p.useState(null),[l,d]=p.useState(null),f=se(t,P=>d(P)),m=pr(n),h=p.useRef(!1),y=p.useRef(!0),{viewport:g,selectedItem:b,selectedItemText:w,focusSelectedItem:v}=i,x=p.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&l&&g&&b&&w){const P=s.trigger.getBoundingClientRect(),N=l.getBoundingClientRect(),j=s.valueNode.getBoundingClientRect(),_=w.getBoundingClientRect();if(s.dir!=="rtl"){const $=_.left-N.left,k=j.left-$,Z=P.left-k,te=P.width+Z,ie=Math.max(te,N.width),ue=window.innerWidth-be,fe=ci(k,[be,Math.max(be,ue-ie)]);a.style.minWidth=te+"px",a.style.left=fe+"px"}else{const $=N.right-_.right,k=window.innerWidth-j.right-$,Z=window.innerWidth-P.right-k,te=P.width+Z,ie=Math.max(te,N.width),ue=window.innerWidth-be,fe=ci(k,[be,Math.max(be,ue-ie)]);a.style.minWidth=te+"px",a.style.right=fe+"px"}const D=m(),B=window.innerHeight-be*2,W=g.scrollHeight,H=window.getComputedStyle(l),I=parseInt(H.borderTopWidth,10),T=parseInt(H.paddingTop,10),O=parseInt(H.borderBottomWidth,10),A=parseInt(H.paddingBottom,10),M=I+T+W+A+O,U=Math.min(b.offsetHeight*5,M),z=window.getComputedStyle(g),X=parseInt(z.paddingTop,10),J=parseInt(z.paddingBottom,10),Q=P.top+P.height/2-be,ce=B-Q,le=b.offsetHeight/2,L=b.offsetTop+le,q=I+T+L,ee=M-q;if(q<=Q){const $=D.length>0&&b===D[D.length-1].ref.current;a.style.bottom="0px";const k=l.clientHeight-g.offsetTop-g.offsetHeight,Z=Math.max(ce,le+($?J:0)+k+O),te=q+Z;a.style.height=te+"px"}else{const $=D.length>0&&b===D[0].ref.current;a.style.top="0px";const Z=Math.max(Q,I+g.offsetTop+($?X:0)+le)+ee;a.style.height=Z+"px",g.scrollTop=q-Q+g.offsetTop}a.style.margin=`${be}px 0`,a.style.minHeight=U+"px",a.style.maxHeight=B+"px",r==null||r(),requestAnimationFrame(()=>h.current=!0)}},[m,s.trigger,s.valueNode,a,l,g,b,w,s.dir,r]);de(()=>x(),[x]);const[C,E]=p.useState();de(()=>{l&&E(window.getComputedStyle(l).zIndex)},[l]);const S=p.useCallback(P=>{P&&y.current===!0&&(x(),v==null||v(),y.current=!1)},[x,v]);return u.jsx(Y0,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:h,onScrollButtonChange:S,children:u.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:u.jsx(re.div,{...o,ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});_c.displayName=G0;var Z0="SelectPopperPosition",ao=p.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=be,...s}=e,i=mr(n);return u.jsx(Ua,{...i,...s,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...s.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)"}})});ao.displayName=Z0;var[Y0,Ho]=Tt(nt,{}),co="SelectViewport",Dc=p.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,s=Ge(co,n),i=Ho(co,n),a=se(t,s.onViewportChange),c=p.useRef(0);return u.jsxs(u.Fragment,{children:[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}),u.jsx(fr.Slot,{scope:n,children:u.jsx(re.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:ne(o.onScroll,l=>{const d=l.currentTarget,{contentWrapper:f,shouldExpandOnScrollRef:m}=i;if(m!=null&&m.current&&f){const h=Math.abs(c.current-d.scrollTop);if(h>0){const y=window.innerHeight-be*2,g=parseFloat(f.style.minHeight),b=parseFloat(f.style.height),w=Math.max(g,b);if(w<y){const v=w+h,x=Math.min(y,v),C=v-x;f.style.height=x+"px",f.style.bottom==="0px"&&(d.scrollTop=C>0?C:0,f.style.justifyContent="flex-end")}}}c.current=d.scrollTop})})})]})});Dc.displayName=co;var Vc="SelectGroup",[K0,X0]=Tt(Vc),Q0=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Xe();return u.jsx(K0,{scope:n,id:o,children:u.jsx(re.div,{role:"group","aria-labelledby":o,...r,ref:t})})});Q0.displayName=Vc;var Fc="SelectLabel",J0=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=X0(Fc,n);return u.jsx(re.div,{id:o.id,...r,ref:t})});J0.displayName=Fc;var Hn="SelectItem",[ev,Bc]=Tt(Hn),$c=p.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:s,...i}=e,a=qe(Hn,n),c=Ge(Hn,n),l=a.value===r,[d,f]=p.useState(s??""),[m,h]=p.useState(!1),y=se(t,v=>{var x;return(x=c.itemRefCallback)==null?void 0:x.call(c,v,r,o)}),g=Xe(),b=p.useRef("touch"),w=()=>{o||(a.onValueChange(r),a.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return u.jsx(ev,{scope:n,value:r,disabled:o,textId:g,isSelected:l,onItemTextChange:p.useCallback(v=>{f(x=>x||((v==null?void 0:v.textContent)??"").trim())},[]),children:u.jsx(fr.ItemSlot,{scope:n,value:r,disabled:o,textValue:d,children:u.jsx(re.div,{role:"option","aria-labelledby":g,"data-highlighted":m?"":void 0,"aria-selected":l&&m,"data-state":l?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...i,ref:y,onFocus:ne(i.onFocus,()=>h(!0)),onBlur:ne(i.onBlur,()=>h(!1)),onClick:ne(i.onClick,()=>{b.current!=="mouse"&&w()}),onPointerUp:ne(i.onPointerUp,()=>{b.current==="mouse"&&w()}),onPointerDown:ne(i.onPointerDown,v=>{b.current=v.pointerType}),onPointerMove:ne(i.onPointerMove,v=>{var x;b.current=v.pointerType,o?(x=c.onItemLeave)==null||x.call(c):b.current==="mouse"&&v.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ne(i.onPointerLeave,v=>{var x;v.currentTarget===document.activeElement&&((x=c.onItemLeave)==null||x.call(c))}),onKeyDown:ne(i.onKeyDown,v=>{var C;((C=c.searchRef)==null?void 0:C.current)!==""&&v.key===" "||(V0.includes(v.key)&&w(),v.key===" "&&v.preventDefault())})})})})});$c.displayName=Hn;var _t="SelectItemText",Hc=p.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...s}=e,i=qe(_t,n),a=Ge(_t,n),c=Bc(_t,n),l=H0(_t,n),[d,f]=p.useState(null),m=se(t,w=>f(w),c.onItemTextChange,w=>{var v;return(v=a.itemTextRefCallback)==null?void 0:v.call(a,w,c.value,c.disabled)}),h=d==null?void 0:d.textContent,y=p.useMemo(()=>u.jsx("option",{value:c.value,disabled:c.disabled,children:h},c.value),[c.disabled,c.value,h]),{onNativeOptionAdd:g,onNativeOptionRemove:b}=l;return de(()=>(g(y),()=>b(y)),[g,b,y]),u.jsxs(u.Fragment,{children:[u.jsx(re.span,{id:c.textId,...s,ref:m}),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?Wn.createPortal(s.children,i.valueNode):null]})});Hc.displayName=_t;var zc="SelectItemIndicator",tv=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return Bc(zc,n).isSelected?u.jsx(re.span,{"aria-hidden":!0,...r,ref:t}):null});tv.displayName=zc;var lo="SelectScrollUpButton",nv=p.forwardRef((e,t)=>{const n=Ge(lo,e.__scopeSelect),r=Ho(lo,e.__scopeSelect),[o,s]=p.useState(!1),i=se(t,r.onScrollButtonChange);return de(()=>{if(n.viewport&&n.isPositioned){let a=function(){const l=c.scrollTop>0;s(l)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?u.jsx(Wc,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop-c.offsetHeight)}}):null});nv.displayName=lo;var uo="SelectScrollDownButton",rv=p.forwardRef((e,t)=>{const n=Ge(uo,e.__scopeSelect),r=Ho(uo,e.__scopeSelect),[o,s]=p.useState(!1),i=se(t,r.onScrollButtonChange);return de(()=>{if(n.viewport&&n.isPositioned){let a=function(){const l=c.scrollHeight-c.clientHeight,d=Math.ceil(c.scrollTop)<l;s(d)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?u.jsx(Wc,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop+c.offsetHeight)}}):null});rv.displayName=uo;var Wc=p.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,s=Ge("SelectScrollButton",n),i=p.useRef(null),a=pr(n),c=p.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return p.useEffect(()=>()=>c(),[c]),de(()=>{var d;const l=a().find(f=>f.ref.current===document.activeElement);(d=l==null?void 0:l.ref.current)==null||d.scrollIntoView({block:"nearest"})},[a]),u.jsx(re.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:ne(o.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(r,50))}),onPointerMove:ne(o.onPointerMove,()=>{var l;(l=s.onItemLeave)==null||l.call(s),i.current===null&&(i.current=window.setInterval(r,50))}),onPointerLeave:ne(o.onPointerLeave,()=>{c()})})}),ov="SelectSeparator",sv=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return u.jsx(re.div,{"aria-hidden":!0,...r,ref:t})});sv.displayName=ov;var fo="SelectArrow",iv=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=mr(n),s=qe(fo,n),i=Ge(fo,n);return s.open&&i.position==="popper"?u.jsx(qa,{...o,...r,ref:t}):null});iv.displayName=fo;var av="SelectBubbleInput",Uc=p.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const o=p.useRef(null),s=se(r,o),i=M0(t);return p.useEffect(()=>{const a=o.current;if(!a)return;const c=window.HTMLSelectElement.prototype,d=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==t&&d){const f=new Event("change",{bubbles:!0});d.call(a,t),a.dispatchEvent(f)}},[i,t]),u.jsx(re.select,{...n,style:{...Pc,...n.style},ref:s,defaultValue:t})});Uc.displayName=av;function qc(e){return e===""||e===void 0}function Gc(e){const t=et(e),n=p.useRef(""),r=p.useRef(0),o=p.useCallback(i=>{const a=n.current+i;t(a),(function c(l){n.current=l,window.clearTimeout(r.current),l!==""&&(r.current=window.setTimeout(()=>c(""),1e3))})(a)},[t]),s=p.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return p.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,s]}function Zc(e,t,n){const o=t.length>1&&Array.from(t).every(l=>l===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let i=cv(e,Math.max(s,0));o.length===1&&(i=i.filter(l=>l!==n));const c=i.find(l=>l.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==n?c:void 0}function cv(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var lv=Nc,uv=Rc,dv=jc,fv=kc,pv=Ic,mv=Oc,hv=Dc,gv=$c,vv=Hc;const bv=e=>p.createElement("svg",{width:20,height:13,viewBox:"0 0 20 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M20 3.00415L10 13.0041L0 3.00415L3.00415 0L10 6.99585L16.9959 0L20 3.00415Z",fill:"currentColor"}));function Yc({children:e,className:t="",value:n,variant:r}){return u.jsx(gv,{className:`dropdown-menu-item dropdown-menu-item-${r} ${t}`,value:n,children:u.jsx(vv,{children:e})})}function Kc({children:e,className:t="",placeholder:n,variant:r,...o}){return u.jsxs(lv,{...o,children:[u.jsxs(uv,{className:`dropdown-menu-trigger dropdown-menu-trigger-${r} ${t}`,children:[u.jsx(dv,{placeholder:n}),u.jsx(fv,{children:u.jsx(bv,{className:"size-4"})})]}),u.jsx(pv,{children:u.jsx(mv,{className:`dropdown-menu-content dropdown-menu-content-${r}`,position:"popper",sideOffset:2,children:u.jsx(hv,{children:R.Children.map(e,s=>R.isValidElement(s)?R.cloneElement(s,{variant:r}):s)})})})]})}const ui=40,Xc=R.forwardRef((e,t)=>{const{cardClassName:n="",children:r,className:o="",navigationClassName:s="",paginationVariant:i,parentSetActiveIndex:a,trackClassName:c="",useNavigation:l}=e,[d,f]=R.useState(0),m=R.useRef(0),h=R.useRef(0),y=R.useRef(!1),g=R.useRef([]),b=R.useRef(0),w=R.useRef(null),v=R.useRef(null),x=R.Children.count(r),C="duration-500 ease-in-out h-70 min-[552px]:h-80 min-w-60 min-[552px]:min-w-[calc(50%-20px)] transition-all";let E;x===1?E="min-w-full h-80":x===2?E=C:E=[C,"lg:min-w-[calc(33.33%-20px)] xl:min-w-[calc(25%-26.66px)] lg:data-[active=true]:min-w-[calc(66.66%-20px)] xl:data-[active=true]:min-w-[calc(50%-26.66px)]"].join(" ");const S=A=>"touches"in A?A.touches[0].clientX:A.pageX,P=A=>"changedTouches"in A?A.changedTouches[0].clientX:A.pageX,N=()=>{if(!v.current)return 0;const A=window.getComputedStyle(v.current);return parseFloat(A.columnGap||A.gap||"0")},j=A=>Math.min(Math.max(d+A,0),x-1),_=R.useCallback(()=>{const A=g.current.find(z=>z.dataset.active==="false");if(A)return A.offsetWidth;if(!v.current)return 0;const M=document.createElement("div");M.className=K(E,n),M.style.visibility="hidden",M.style.position="absolute",v.current.appendChild(M);const U=M.offsetWidth;return v.current.removeChild(M),U},[n,E]),D=A=>{const M=b.current,U=h.current;return-(A*(M+U))},B=A=>{A.preventDefault(),y.current=!0,m.current=S(A),v.current&&(v.current.style.transition="none")},W=A=>{if(!y.current||!v.current)return;const U=S(A)-m.current;v.current.style.transform=`translateX(${D(d)+U}px)`},H=A=>{if(!y.current)return;y.current=!1;const U=P(A)-m.current;let z=d;U<-ui&&(z=j(1)),U>ui&&(z=j(-1)),f(z),v.current&&(v.current.style.transition="transform 0.5s cubic-bezier(0.4,0,0.2,1)",v.current.style.transform=`translateX(${D(z)}px)`)},I=R.useCallback(()=>{d>0&&f(d-1)},[d]),T=R.useCallback(()=>{d<x-1&&f(d+1)},[d,x]),O=R.useCallback(()=>{f(0),v.current.style.transition="none",v.current.style.transform="translateX(0px)",w.current&&clearTimeout(w.current),w.current=setTimeout(()=>{b.current=_(),h.current=N()},500)},[_]);return R.useEffect(()=>{v.current&&(v.current.style.transition="transform 0.5s cubic-bezier(0.4,0,0.2,1)",v.current.style.transform=`translateX(${D(d)}px)`),a&&a(d)},[d,a]),R.useEffect(()=>{g.current=g.current.slice(0,x)},[x]),R.useLayoutEffect(()=>{O();const A=new ResizeObserver(O);return v.current&&A.observe(v.current),()=>A.disconnect()},[O]),R.useImperativeHandle(t,()=>({prev:I,next:T}),[I,T]),u.jsxs("div",{className:K("overflow-hidden w-full",o),children:[u.jsx("div",{className:K("flex gap-8 md:gap-10 cursor-grab will-change-transform",c),onMouseDown:B,onMouseLeave:H,onMouseMove:W,onMouseUp:H,onTouchCancel:H,onTouchEnd:H,onTouchMove:W,onTouchStart:B,ref:v,children:R.Children.map(r,(A,M)=>{const U=M===d;return u.jsx("div",{className:K(E,n),"data-active":U,ref:z=>{z&&(g.current[M]=z)},children:A},M)})}),l&&u.jsx(vr,{activeIndex:d,className:s,count:x,onNext:T,onPrevious:I,variant:i})]})});function Qc({children:e,className:t="",variant:n="stroke-btm-connect",...r}){return u.jsx(en,{...r,className:`link-anchor link-anchor-${n} ${t}`,children:u.jsx(ur,{children:e})})}function yv(e){const t=xv(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(Cv);if(c){const l=c.props.children,d=a.map(f=>f===c?p.Children.count(l)>1?p.Children.only(null):p.isValidElement(l)?l.props.children:null:f);return u.jsx(t,{...i,ref:o,children:p.isValidElement(l)?p.cloneElement(l,void 0,d):null})}return u.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function xv(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=Ev(o),a=Sv(s,o.props);return o.type!==p.Fragment&&(a.ref=r?at(r,i):i),p.cloneElement(o,a)}return p.Children.count(o)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var wv=Symbol("radix.slottable");function Cv(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===wv}function Sv(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const c=s(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Ev(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var hr="Dialog",[Jc]=Xt(hr),[Pv,Ce]=Jc(hr),el=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:i=!0}=e,a=p.useRef(null),c=p.useRef(null),[l,d]=Dn({prop:r,defaultProp:o??!1,onChange:s,caller:hr});return u.jsx(Pv,{scope:t,triggerRef:a,contentRef:c,contentId:Xe(),titleId:Xe(),descriptionId:Xe(),open:l,onOpenChange:d,onOpenToggle:p.useCallback(()=>d(f=>!f),[d]),modal:i,children:n})};el.displayName=hr;var tl="DialogTrigger",nl=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(tl,n),s=se(t,o.triggerRef);return u.jsx(re.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Uo(o.open),...r,ref:s,onClick:ne(e.onClick,o.onOpenToggle)})});nl.displayName=tl;var zo="DialogPortal",[Nv,rl]=Jc(zo,{forceMount:void 0}),ol=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,s=Ce(zo,t);return u.jsx(Nv,{scope:t,forceMount:n,children:p.Children.map(r,i=>u.jsx(At,{present:n||s.open,children:u.jsx(sr,{asChild:!0,container:o,children:i})}))})};ol.displayName=zo;var zn="DialogOverlay",Av=p.forwardRef((e,t)=>{const n=rl(zn,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Ce(zn,e.__scopeDialog);return s.modal?u.jsx(At,{present:r||s.open,children:u.jsx(Tv,{...o,ref:t})}):null});Av.displayName=zn;var Rv=yv("DialogOverlay.RemoveScroll"),Tv=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(zn,n);return u.jsx(ar,{as:Rv,allowPinchZoom:!0,shards:[o.contentRef],children:u.jsx(re.div,{"data-state":Uo(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),rt="DialogContent",sl=p.forwardRef((e,t)=>{const n=rl(rt,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Ce(rt,e.__scopeDialog);return u.jsx(At,{present:r||s.open,children:s.modal?u.jsx(jv,{...o,ref:t}):u.jsx(kv,{...o,ref:t})})});sl.displayName=rt;var jv=p.forwardRef((e,t)=>{const n=Ce(rt,e.__scopeDialog),r=p.useRef(null),o=se(t,n.contentRef,r);return p.useEffect(()=>{const s=r.current;if(s)return Lo(s)},[]),u.jsx(il,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ne(e.onCloseAutoFocus,s=>{var i;s.preventDefault(),(i=n.triggerRef.current)==null||i.focus()}),onPointerDownOutside:ne(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,a=i.button===0&&i.ctrlKey===!0;(i.button===2||a)&&s.preventDefault()}),onFocusOutside:ne(e.onFocusOutside,s=>s.preventDefault())})}),kv=p.forwardRef((e,t)=>{const n=Ce(rt,e.__scopeDialog),r=p.useRef(!1),o=p.useRef(!1);return u.jsx(il,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var i,a;(i=e.onCloseAutoFocus)==null||i.call(e,s),s.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{var c,l;(c=e.onInteractOutside)==null||c.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;((l=n.triggerRef.current)==null?void 0:l.contains(i))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),il=p.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,...i}=e,a=Ce(rt,n),c=p.useRef(null),l=se(t,c);return ko(),u.jsxs(u.Fragment,{children:[u.jsx(rr,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:u.jsx(nr,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":Uo(a.open),...i,ref:l,onDismiss:()=>a.onOpenChange(!1)})}),u.jsxs(u.Fragment,{children:[u.jsx(Iv,{titleId:a.titleId}),u.jsx(Mv,{contentRef:c,descriptionId:a.descriptionId})]})]})}),Wo="DialogTitle",al=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(Wo,n);return u.jsx(re.h2,{id:o.titleId,...r,ref:t})});al.displayName=Wo;var cl="DialogDescription",ll=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(cl,n);return u.jsx(re.p,{id:o.descriptionId,...r,ref:t})});ll.displayName=cl;var ul="DialogClose",dl=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(ul,n);return u.jsx(re.button,{type:"button",...r,ref:t,onClick:ne(e.onClick,()=>o.onOpenChange(!1))})});dl.displayName=ul;function Uo(e){return e?"open":"closed"}var fl="DialogTitleWarning",[Jv,pl]=Mm(fl,{contentName:rt,titleName:Wo,docsSlug:"dialog"}),Iv=({titleId:e})=>{const t=pl(fl),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
55
55
 
56
56
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
57
57
 
58
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return p.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Ev="DialogDescriptionWarning",Pv=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${al(Ev).contentName}}.`;return p.useEffect(()=>{var s;const o=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Nv=Zc,Av=Xc,Rv=Qc,Tv=Jc,jv=tl,kv=rl,Iv=sl;function cl({ariaDescription:e,ariaLabel:t,children:n,className:r="",closeIconVariant:o="enterprise",onOpenChange:s,open:i=!1,trigger:a,variant:c="connect"}){Hg(i);let l={};s&&(l={onOpenChange:s,open:i});const d=c==="connect"?"bg-white":"bg-cloud";return u.jsxs(Nv,{...l,modal:!0,children:[a&&u.jsx(Av,{asChild:!0,children:a}),u.jsx(Rv,{children:u.jsxs(Tv,{className:X("fixed inset-0 left-0 overflow-x-clip overflow-y-scroll top-0",d,r),children:[t&&u.jsx(jv,{className:"sr-only",children:t}),e&&u.jsx(kv,{className:"sr-only",children:e}),u.jsx(De,{className:"h-18 w-full",children:u.jsx("div",{className:"absolute right-5 md:right-15 lg:right-30 top-10 z-10",children:u.jsx(Rt,{variant:o,children:u.jsx(Iv,{"aria-label":"Close modal",children:u.jsx(pc,{})})})})}),n]})})]})}function gr({backgroundVideo:e,...t}){return u.jsx(cl,{...t,className:"overflow-hidden",children:u.jsx("div",{className:"absolute h-[min(calc(100vh-216px),calc(100vw*9/16))] left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-[min(100vw,calc((100vh-216px)*16/9))]",children:u.jsx(Bo,{...e})})})}function De({children:e,className:t="",detailWidth:n,outerClassName:r,sideColPadded:o}){const s=n?"max-w-detail-page":"max-w-page",i=o?"in-data-[col=two]:lg:pl-20!":"in-data-[col=two]:lg:pl-0!",a=u.jsx("div",{className:X("mx-auto overflow-hidden px-5 md:px-15 lg:px-30 relative w-full print:px-10",i,s,t),children:e});return r===void 0?a:u.jsx("div",{className:X("in-data-[col=two]:flex-1 in-data-[col=two]:min-w-0",r),children:a})}const Ov=e=>p.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M17.5861 14L24.7656 7L17.5861 0L3.22717 14L17.5861 28L24.7656 21L17.5861 14Z",fill:"currentColor"})),Mv=e=>p.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M10.4139 14L3.23438 7L10.4139 0L24.7728 14L10.4139 28L3.23438 21L10.4139 14Z",fill:"currentColor"}));function ui({activeIndex:e,count:t}){return t===0?null:u.jsxs("div",{className:"font-bold b-lg uppercase",children:[e+1," of ",t]})}function vr({activeIndex:e=0,canScrollNext:t=!0,canScrollPrevious:n=!0,className:r="",count:o=0,onNext:s,onPrevious:i,textVariant:a="no-text",variant:c="connect"}){let l="pagination-next-connect",d="pagination-prev-connect";return c==="connect-reversed"?(l="pagination-reversed-connect",d="pagination-reversed-connect"):c==="digital"?(l="pagination-next-digital",d="pagination-prev-digital"):c==="digital-reversed"&&(l="pagination-reversed-digital",d="pagination-reversed-digital"),u.jsxs("div",{className:`flex gap-4 items-center ${r}`,children:[a==="left-text"&&u.jsx(ui,{activeIndex:e,count:o}),u.jsxs("div",{className:"flex items-center",children:[u.jsx(We,{variant:d,children:u.jsxs("button",{disabled:o!==0&&e===0||!n,onClick:i,children:[u.jsx(Ov,{}),u.jsx("span",{className:"sr-only",children:"Previous slide"})]})}),u.jsx(We,{variant:l,children:u.jsxs("button",{disabled:o!==0&&e===o-1||!t,onClick:s,children:[u.jsx(Mv,{}),u.jsx("span",{className:"sr-only",children:"Next slide"})]})})]}),a==="right-text"&&u.jsx(ui,{activeIndex:e,count:o})]})}const Lv=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M8 20H4V0H8V20ZM16 20H12V0H16V20Z",fill:"currentColor"})),_v=e=>p.createElement("svg",{width:10,height:12,viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M0.793651 12C0.304233 12 0 11.596 0 10.9793V1.01359C0 0.396929 0.304233 0 0.793651 0C1.0582 0 1.28307 0.10632 1.54762 0.269344L9.25926 5.05375C9.8082 5.39398 10 5.62079 10 5.99646C10 6.37212 9.8082 6.59894 9.25926 6.94625L1.54762 11.7236C1.28307 11.8866 1.0582 12 0.793651 12Z",fill:"currentColor"}));function tn({className:e="",isPlaying:t,label:n,onClick:r,variant:o}){return u.jsx("button",{"aria-label":n,className:`play-button play-button-${o} ${e}`,"data-playing":t,onClick:r,children:t?u.jsx(Lv,{}):u.jsx(_v,{})})}function ll({align:e,trigger:t,variant:n}){let r="bg-white",o="basic";return n==="digital"&&(r="bg-black",o="digital"),u.jsxs(jg,{children:[u.jsx(kg,{asChild:!0,children:t}),u.jsxs(Ig,{align:e,className:`border-2 border-smoke p-4 rounded-lg w-fit ${r}`,children:[u.jsxs("div",{className:"flex gap-4",children:[u.jsx($e,{onClick:vp,socialPlatform:"facebook",variant:o}),u.jsx($e,{onClick:bp,socialPlatform:"x",variant:o}),u.jsx($e,{onClick:xp,socialPlatform:"linkedin",variant:o}),u.jsx($e,{onClick:()=>gp(),socialPlatform:"email",variant:o}),u.jsx($e,{onClick:hp,socialPlatform:"copy",variant:o})]}),u.jsx(Og,{className:`border-r-2 border-b-2 border-smoke ${r}`})]})]})}const Dv=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M13.4979 20L3.49793 10L13.4979 0L16.5021 3.00415L9.50622 10L16.5021 16.9959L13.4979 20Z",fill:"currentColor"}));function Vv({activeValue:e,children:t,className:n="",value:r}){if(!e||e!==r)return null;const o=`tab-${r}`,s=`panel-${r}`;return u.jsx("div",{"aria-labelledby":o,className:n,id:s,role:"tabpanel",children:t})}function Fv({activeValue:e,children:t,className:n="",onValueChange:r,value:o,variant:s}){if(!r)return null;const i=e===o?"active":"inactive",a=`tab-${o}`,c=`panel-${o}`;return u.jsx(Sa,{className:"basis-auto",children:u.jsx("button",{"aria-controls":c,"aria-selected":i==="active",className:`tabs-line-trigger tabs-line-trigger-${s} ${n}`,"data-state":i,id:a,onClick:()=>r(o),role:"tab",children:t})})}function Bv({className:e="",content:t,defaultValue:n,triggers:r,variant:o="connect"}){const[s,i]=R.useState(n);return u.jsxs("div",{children:[u.jsx("div",{className:`tabs-line-list tabs-line-list-${o} ${e}`,children:u.jsxs(wa,{className:"flex",opts:{align:"start"},children:[u.jsx(Cm,{className:`tabs-line-pagination tabs-line-pagination-${o}`,children:u.jsx(Dv,{})}),u.jsx(Ca,{role:"tablist",children:R.Children.map(r,a=>R.isValidElement(a)?R.cloneElement(a,{activeValue:s,onValueChange:i,variant:o}):a)}),u.jsx(Sm,{className:`tabs-line-pagination tabs-line-pagination-${o}`,children:u.jsx(ic,{})})]})}),R.Children.map(t,a=>R.isValidElement(a)?R.cloneElement(a,{activeValue:s}):a)]})}function Ne({children:e,className:t="",displayStars:n,variant:r="basic",...o}){return u.jsxs(en,{...o,className:[`text-cta text-cta-${r}`,X("font-black uppercase",t)].join(" "),children:[n?u.jsx($n,{}):null,u.jsx(ur,{children:e}),n?u.jsx($n,{}):null]})}function qo({children:e,className:t=""}){return u.jsx("div",{className:`wysiwyg ${t}`,children:e})}function $v({ariaDescription:e,ariaLabel:t,backgroundVideo:n,thumbnail:r,variant:o}){const[s,i]=R.useState(!1);let a="large-connect";return o==="digital"&&(a="large-digital"),u.jsxs(u.Fragment,{children:[u.jsxs("div",{className:"relative print:hidden",children:[u.jsx(qo,{children:r}),u.jsx("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",children:u.jsx(tn,{className:"scale-80 xs:scale-100",label:"Play Video",onClick:()=>i(!0),isPlaying:!1,variant:a})})]}),u.jsx(gr,{ariaDescription:e,ariaLabel:t,backgroundVideo:n,open:s,onOpenChange:c=>i(c),variant:o})]})}exports.BackgroundVideo=Bo;exports.Button=We;exports.ButtonIcon=Rt;exports.ButtonLogo=H1;exports.ButtonSocial=$e;exports.CardSingleDouble=u0;exports.ContentAccordion=Rp;exports.ContentAccordionItem=Ap;exports.ContentCarouselMultiple=kp;exports.ContentCarouselMultipleCard=Ip;exports.ContentPrimaryFeatureDetail=$p;exports.ContentQuote=Dg;exports.ContentQuoteItem=Fg;exports.DropdownMenu=Wc;exports.DropdownMenuOption=zc;exports.ExpandingCarousel=Uc;exports.LinkAnchor=qc;exports.Modal=cl;exports.ModalVideo=gr;exports.PageActions=I1;exports.PageActionsLinkItem=j1;exports.PageMargins=De;exports.Pagination=vr;exports.PlayButton=tn;exports.Share=ll;exports.TabsLine=Bv;exports.TabsLineContent=Vv;exports.TabsLineTrigger=Fv;exports.TextCta=Ne;exports.Wysiwyg=qo;exports.WysiwygVideo=$v;
58
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return p.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Ov="DialogDescriptionWarning",Mv=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${pl(Ov).contentName}}.`;return p.useEffect(()=>{var s;const o=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Lv=el,_v=nl,Dv=ol,Vv=sl,Fv=al,Bv=ll,$v=dl;function ml({ariaDescription:e,ariaLabel:t,children:n,className:r="",closeIconVariant:o="enterprise",onOpenChange:s,open:i=!1,trigger:a,variant:c="connect"}){Xg(i);let l={};s&&(l={onOpenChange:s,open:i});const d=c==="connect"?"bg-white":"bg-cloud";return u.jsxs(Lv,{...l,modal:!0,children:[a&&u.jsx(_v,{asChild:!0,children:a}),u.jsx(Dv,{children:u.jsxs(Vv,{className:K("fixed inset-0 left-0 overflow-x-clip overflow-y-scroll top-0",d,r),children:[t&&u.jsx(Fv,{className:"sr-only",children:t}),e&&u.jsx(Bv,{className:"sr-only",children:e}),u.jsx(De,{className:"h-18 w-full",children:u.jsx("div",{className:"absolute right-5 md:right-15 lg:right-30 top-10 z-10",children:u.jsx(Rt,{variant:o,children:u.jsx($v,{"aria-label":"Close modal",children:u.jsx(yc,{})})})})}),n]})})]})}function gr({backgroundVideo:e,...t}){return u.jsx(ml,{...t,className:"overflow-hidden",children:u.jsx("div",{className:"absolute h-[min(calc(100vh-216px),calc(100vw*9/16))] left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-[min(100vw,calc((100vh-216px)*16/9))]",children:u.jsx(Bo,{...e})})})}function De({children:e,className:t="",detailWidth:n,outerClassName:r,sideColPadded:o}){const s=n?"max-w-detail-page":"max-w-page",i=o?"in-data-[col=two]:lg:pl-20!":"in-data-[col=two]:lg:pl-0!",a=u.jsx("div",{className:K("mx-auto overflow-hidden px-5 md:px-15 lg:px-30 relative w-full print:px-10",i,s,t),children:e});return r===void 0?a:u.jsx("div",{className:K("in-data-[col=two]:flex-1 in-data-[col=two]:min-w-0",r),children:a})}const Hv=e=>p.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M17.5861 14L24.7656 7L17.5861 0L3.22717 14L17.5861 28L24.7656 21L17.5861 14Z",fill:"currentColor"})),zv=e=>p.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M10.4139 14L3.23438 7L10.4139 0L24.7728 14L10.4139 28L3.23438 21L10.4139 14Z",fill:"currentColor"}));function di({activeIndex:e,count:t}){return t===0?null:u.jsxs("div",{className:"font-bold b-lg uppercase",children:[e+1," of ",t]})}function vr({activeIndex:e=0,canScrollNext:t=!0,canScrollPrevious:n=!0,className:r="",count:o=0,onNext:s,onPrevious:i,textVariant:a="no-text",variant:c="connect"}){let l="pagination-next-connect",d="pagination-prev-connect";return c==="connect-reversed"?(l="pagination-reversed-connect",d="pagination-reversed-connect"):c==="digital"?(l="pagination-next-digital",d="pagination-prev-digital"):c==="digital-reversed"&&(l="pagination-reversed-digital",d="pagination-reversed-digital"),u.jsxs("div",{className:`flex gap-4 items-center ${r}`,children:[a==="left-text"&&u.jsx(di,{activeIndex:e,count:o}),u.jsxs("div",{className:"flex items-center",children:[u.jsx(We,{variant:d,children:u.jsxs("button",{disabled:o!==0&&e===0||!n,onClick:i,children:[u.jsx(Hv,{}),u.jsx("span",{className:"sr-only",children:"Previous slide"})]})}),u.jsx(We,{variant:l,children:u.jsxs("button",{disabled:o!==0&&e===o-1||!t,onClick:s,children:[u.jsx(zv,{}),u.jsx("span",{className:"sr-only",children:"Next slide"})]})})]}),a==="right-text"&&u.jsx(di,{activeIndex:e,count:o})]})}const Wv=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M8 20H4V0H8V20ZM16 20H12V0H16V20Z",fill:"currentColor"})),Uv=e=>p.createElement("svg",{width:10,height:12,viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M0.793651 12C0.304233 12 0 11.596 0 10.9793V1.01359C0 0.396929 0.304233 0 0.793651 0C1.0582 0 1.28307 0.10632 1.54762 0.269344L9.25926 5.05375C9.8082 5.39398 10 5.62079 10 5.99646C10 6.37212 9.8082 6.59894 9.25926 6.94625L1.54762 11.7236C1.28307 11.8866 1.0582 12 0.793651 12Z",fill:"currentColor"}));function tn({className:e="",isPlaying:t,label:n,onClick:r,variant:o}){return u.jsx("button",{"aria-label":n,className:`play-button play-button-${o} ${e}`,"data-playing":t,onClick:r,children:t?u.jsx(Wv,{}):u.jsx(Uv,{})})}function hl({align:e,trigger:t,variant:n}){let r="bg-white",o="basic";return n==="digital"&&(r="bg-black",o="digital"),u.jsxs(Fg,{children:[u.jsx(Bg,{asChild:!0,children:t}),u.jsxs($g,{align:e,className:`border-2 border-smoke p-4 rounded-lg w-fit ${r}`,children:[u.jsxs("div",{className:"flex gap-4",children:[u.jsx($e,{onClick:Sp,socialPlatform:"facebook",variant:o}),u.jsx($e,{onClick:Ep,socialPlatform:"x",variant:o}),u.jsx($e,{onClick:Pp,socialPlatform:"linkedin",variant:o}),u.jsx($e,{onClick:()=>Cp(),socialPlatform:"email",variant:o}),u.jsx($e,{onClick:wp,socialPlatform:"copy",variant:o})]}),u.jsx(Hg,{className:`border-r-2 border-b-2 border-smoke ${r}`})]})]})}const qv=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M13.4979 20L3.49793 10L13.4979 0L16.5021 3.00415L9.50622 10L16.5021 16.9959L13.4979 20Z",fill:"currentColor"}));function Gv({activeValue:e,children:t,className:n="",value:r}){if(!e||e!==r)return null;const o=`tab-${r}`,s=`panel-${r}`;return u.jsx("div",{"aria-labelledby":o,className:n,id:s,role:"tabpanel",children:t})}function Zv({activeValue:e,children:t,className:n="",onValueChange:r,value:o,variant:s}){if(!r)return null;const i=e===o?"active":"inactive",a=`tab-${o}`,c=`panel-${o}`;return u.jsx(Ta,{className:"basis-auto",children:u.jsx("button",{"aria-controls":c,"aria-selected":i==="active",className:`tabs-line-trigger tabs-line-trigger-${s} ${n}`,"data-state":i,id:a,onClick:()=>r(o),role:"tab",children:t})})}function Yv({className:e="",content:t,defaultValue:n,triggers:r,variant:o="connect"}){const[s,i]=R.useState(n);return u.jsxs("div",{children:[u.jsx("div",{className:`tabs-line-list tabs-line-list-${o} ${e}`,children:u.jsxs(Aa,{className:"flex",opts:{align:"start"},children:[u.jsx(km,{className:`tabs-line-pagination tabs-line-pagination-${o}`,children:u.jsx(qv,{})}),u.jsx(Ra,{role:"tablist",children:R.Children.map(r,a=>R.isValidElement(a)?R.cloneElement(a,{activeValue:s,onValueChange:i,variant:o}):a)}),u.jsx(Im,{className:`tabs-line-pagination tabs-line-pagination-${o}`,children:u.jsx(fc,{})})]})}),R.Children.map(t,a=>R.isValidElement(a)?R.cloneElement(a,{activeValue:s}):a)]})}function Ne({children:e,className:t="",displayStars:n,variant:r="basic",...o}){return u.jsxs(en,{...o,className:[`text-cta text-cta-${r}`,K("font-black uppercase",t)].join(" "),children:[n?u.jsx($n,{}):null,u.jsx(ur,{children:e}),n?u.jsx($n,{}):null]})}function qo({children:e,className:t=""}){return u.jsx("div",{className:`wysiwyg ${t}`,children:e})}exports.BackgroundVideo=Bo;exports.Button=We;exports.ButtonIcon=Rt;exports.ButtonLogo=X1;exports.ButtonSocial=$e;exports.CardSingleDouble=y0;exports.ContentAccordion=Dp;exports.ContentAccordionItem=_p;exports.ContentCarouselMultiple=Bp;exports.ContentCarouselMultipleCard=$p;exports.ContentPrimaryFeatureDetail=Kp;exports.ContentQuote=qg;exports.ContentQuoteItem=Zg;exports.DropdownMenu=Kc;exports.DropdownMenuOption=Yc;exports.ExpandingCarousel=Xc;exports.LinkAnchor=Qc;exports.Modal=ml;exports.ModalVideo=gr;exports.PageActions=$1;exports.PageActionsLinkItem=F1;exports.PageMargins=De;exports.Pagination=vr;exports.PlayButton=tn;exports.Share=hl;exports.TabsLine=Yv;exports.TabsLineContent=Gv;exports.TabsLineTrigger=Zv;exports.TextCta=Ne;exports.Wysiwyg=qo;exports.WysiwygVideo=ba;
59
59
  //# sourceMappingURL=index.cjs.js.map