one-north-cla 0.0.16 → 0.0.17
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 +10 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2526 -2524
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";var El=Object.defineProperty;var Pl=(e,t,n)=>t in e?El(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var rn=(e,t,n)=>Pl(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 Nl(e){return e==null?[]:Array.isArray(e)?e:[e]}var Al=e=>e[0],Rl=e=>e[e.length-1],Tl=(e,...t)=>e.concat(t),jl=(e,...t)=>e.filter(n=>!t.includes(n)),kl=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),Il=e=>Object.prototype.toString.call(e),mi=Function.prototype.toString,Ol=mi.call(Object),Ml=e=>{if(!kl(e)||Il(e)!="[object Object]"||Dl(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)==Ol},Ll=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,_l=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,Dl=e=>Ll(e)||_l(e),Vl=e=>e(),Fl=(...e)=>(...t)=>{e.forEach(function(n){n==null||n(...t)})},Ve=e=>typeof e=="number"?`${e}px`:e;function hi(e){if(!Ml(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 Bl(e,t){if(e==null)throw new Error(t())}function $l(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??$l(r,o));throw d.name="ContextError",pi(Error,"captureStackTrace")&>(Error.captureStackTrace)&&Error.captureStackTrace(d,c),d}return l}return[a.Provider,c,a]}const[Hl,po]=ot({name:"AccordionContext",hookName:"useAccordionContext",providerName:"<AccordionProvider />"});var zl=(...e)=>e.map(t=>{var n;return(n=t==null?void 0:t.trim)==null?void 0:n.call(t)}).filter(Boolean).join(" "),Wl=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,ns=e=>{const t={};let n;for(;n=Wl.exec(e);)t[n[1]]=n[2];return t},Ul=(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]=Fl(n[o],t[o]);continue}if(o==="className"||o==="class"){t[o]=zl(t[o],n[o]);continue}if(o==="style"){t[o]=Ul(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 ql(e){return e.includes(it)}function bi(e){return e.startsWith(gi)}function Gl(e){return bi(e)?e.slice(gi.length):e}function yi(e,t){return e?`${e}${it}${t}`:t}function Zl(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}=Zl(e);return rs.set(e,n),vi.set(e,r),n}function Yl(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 Kl(e,t){return Ut(e).has(t)}function os(e,t,n){const r=String(t);if(bi(r)){const o=Gl(r),s=Yl(e,o);if(!s)throw new Error(`Unknown state id: ${o}`);return Sr(e,s)}if(!ql(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(Kl(e,a))return Sr(e,a)}}return Sr(e,r)}function Xl(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 Ql(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 Jl(e,t){return e?e===t||e.startsWith(`${t}${it}`):!1}function eu(e,t,n){return An(e,t).some(r=>{var o;return(o=r.state.tags)==null?void 0:o.includes(n)})}function tu(){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__",nu=Object.defineProperty,ru=(e,t,n)=>t in e?nu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pr=(e,t,n)=>ru(e,typeof t!="symbol"?t+"":t,n),Kr=()=>{},Un=e=>typeof e=="object"&&e!==null,Se=e=>e?"":void 0,ou=1,su=9,iu=11,qt=e=>Un(e)&&e.nodeType===ou&&typeof e.nodeName=="string",wi=e=>Un(e)&&e.nodeType===su,au=e=>Un(e)&&e===e.window,cu=e=>Un(e)&&e.nodeType!==void 0,lu=e=>cu(e)&&e.nodeType===iu&&"host"in e,uu=e=>qt(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1;function du(e){if(!e)return!1;const t=e.getRootNode();return Si(t)===e}function fu(e){return wi(e)?e:au(e)?e.document:(e==null?void 0:e.ownerDocument)??document}function Ci(e){var t;return lu(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 pu(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}var ho=e=>Ei()&&e.test(pu()),mu=e=>Ei()&&e.test(navigator.vendor),hu=()=>ho(/^iPhone/i),gu=()=>ho(/^iPad/i)||Pi()&&navigator.maxTouchPoints>1,vu=()=>hu()||gu(),bu=()=>Pi()||vu(),Pi=()=>ho(/^Mac/i),yu=()=>bu()&&mu(/apple/i);function xu(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=xu(e);return(t==null?void 0:t[0])??e.target}var wu={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},as={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function Cu(e,t={}){const{dir:n="ltr",orientation:r="horizontal"}=t;let o=e.key;return o=wu[o]??o,n==="rtl"&&r==="horizontal"&&o in as&&(o=as[o]),o}var Su=e=>qt(e)&&e.tagName==="IFRAME";function Eu(e){const t=e.getAttribute("tabindex");return t?parseInt(t,10):NaN}var Pu=e=>Eu(e)<0;function Nu(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 Au(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=Nu(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 Ru(e){return!qt(e)||e.closest("[inert]")?!1:e.matches(go)&&uu(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(Su(i)&&i.contentDocument){const a=i.contentDocument.body;s.push(...Ni(a,{getShadowRoot:r}));continue}s.push(i)}if(r){const i=Au(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:Ru(e)&&!Pu(e)}var Tu=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=Tu.create();return t.request(e),t.cleanup}function ju(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 ku(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 Iu(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(ku(s,t))})),()=>{o.forEach(s=>s==null?void 0:s())}}function Ou(e,t){return Array.from((e==null?void 0:e.querySelectorAll(t))??[])}var Ri=e=>e.id;function Mu(e,t,n=Ri){return e.find(r=>n(r)===t)}function Ti(e,t,n=Ri){const r=Mu(e,t,n);return r?e.indexOf(r):-1}function Lu(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 _u(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 Du(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 Vu(e,t){if(!e)return Kr;const n=Object.keys(t).reduce((r,o)=>(r[o]=e.style.getPropertyValue(o),r),{});return Fu(n,t)?Kr:(Object.assign(e.style,t),()=>{Object.assign(e.style,n),e.style.length===0&&e.removeAttribute("style")})}function Fu(e,t){return Object.keys(e).every(n=>e[n]===t[n])}function Bu(e){const t=()=>{var i;return((i=e.getRootNode)==null?void 0:i.call(e))??document},n=()=>fu(t());return{...e,getRootNode:t,getDoc:n,getWin:()=>n().defaultView??window,getActiveElement:()=>Si(t()),isActiveElement:du,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:Vl)(()=>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 $u(e){const t=R.useRef(e);return{get(n){return t.current[n]},set(n,r){t.current[n]=r}}}var Hu=(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 Bu({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=zu(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=>Jl(S.ref.current,T))},hasTag(I){return eu(e,S.ref.current,I)}}),g=$u(((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:Hu,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=>Nl(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=>{Bl(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}=Ql(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}=Xl(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 zu(e){const t=Ii(e);return function(r){return t.current[r]}}function cs(e){queueMicrotask(()=>{Wt.flushSync(()=>e())})}function Wu(e){return new Proxy({},{get(t,n){return n==="style"?r=>e({style:r}).style:e}})}var Oi=Wu(e=>e);const[Uu]=ot({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItemProvider />"});function qu(...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 Gu(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=Gu(a);return R.cloneElement(a,{...st(i,a.props),ref:r?qu(r,c):c})}));return t.displayName=e.displayName||e.name,t},Zu=()=>{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=Zu(),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}]),Yu=e=>Gt()(e,["collapsedHeight","collapsedWidth","defaultOpen","disabled","id","ids","lazyMount","onExitComplete","onOpenChange","open","unmountOnExit"]);var vt=(e,t=[])=>({parts:(...n)=>{if(Ku(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(),Ku=e=>e.length===0,Xu=vt("collapsible").parts("root","trigger","content","indicator"),on=Xu.build(),Qu=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`},Ju=e=>{var t;return((t=e.ids)==null?void 0:t.trigger)??`collapsible:${e.id}:trigger`},kt=e=>e.getById(Xr(e));function ed(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:Qu(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:Ju(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 td=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=Vu(o,{animationFillMode:"forwards"});n=()=>{o.removeEventListener("animationend",a),ju(()=>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=>Du(c,"inert",""));return()=>{a.forEach(c=>c())}};let o=r();const s=Iu(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[Yv,Mi]=ot({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}}),[Kv,Li]=ot({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}}),nd=(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(td,c),d=ed(l,Oi);d.visible&&(s.current=!0);const f=!d.visible&&!s.current&&t||n&&!d.visible&&s.current;return{...d,isUnmounted:f}},[rd,_i]=ot({name:"CollapsibleContext",hookName:"useCollapsibleContext",providerName:"<CollapsibleProvider />"}),Di=R.forwardRef((e,t)=>{const[n,r]=Yu(e),o=nd(n),s=st(o.getRootProps(),r);return u.jsx(rd,{value:o,children:u.jsx(qn.div,{...s,ref:t})})});Di.displayName="CollapsibleRoot";const od=["top","right","bottom","left"],He=Math.min,he=Math.max,Tn=Math.round,sn=Math.floor,Ae=e=>({x:e,y:e}),sd={left:"right",right:"left",bottom:"top",top:"bottom"},id={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 ad=new Set(["top","bottom"]);function Pe(e){return ad.has(_e(e))?"y":"x"}function yo(e){return vo(Pe(e))}function cd(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 ld(e){const t=jn(e);return[Jr(e),t,Jr(t)]}function Jr(e){return e.replace(/start|end/g,t=>id[t])}const ls=["left","right"],us=["right","left"],ud=["top","bottom"],dd=["bottom","top"];function fd(e,t,n){switch(e){case"top":case"bottom":return n?t?us:ls:t?ls:us;case"left":case"right":return t?ud:dd;default:return[]}}function pd(e,t,n,r){const o=St(e);let s=fd(_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=>sd[t])}function md(e){return{top:0,right:0,bottom:0,left:0,...e}}function Vi(e){return typeof e!="number"?md(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 hd(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 gd=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:hd},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}},vd=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}}}),bd=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)]:ld(a)),S=y!=="none";!m&&S&&E.push(...pd(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=cd(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 od.some(t=>e[t]>=0)}const yd=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 xd(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 wd=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 xd(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}}}}},Cd=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}}}}}},Sd=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}}}},Ed=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 Pd=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)&&!Pd.has(o)}const Nd=new Set(["table","td","th"]);function Ad(e){return Nd.has(Et(e))}const Rd=[":popover-open",":modal"];function Zn(e){return Rd.some(t=>{try{return e.matches(t)}catch{return!1}})}const Td=["transform","translate","scale","rotate","perspective"],jd=["transform","translate","scale","rotate","perspective","filter"],kd=["paint","layout","strict","content"];function xo(e){const t=wo(),n=xe(e)?we(e):e;return Td.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)||jd.some(r=>(n.willChange||"").includes(r))||kd.some(r=>(n.contain||"").includes(r))}function Id(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 Od=new Set(["html","body","#document"]);function wt(e){return Od.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 Md=Ae(0);function zi(e){const t=ge(e);return!wo()||!t.visualViewport?Md:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ld(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=Ld(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 _d(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 Dd(e){return Array.from(e.getClientRects())}function Vd(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 Fd(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 Bd=new Set(["absolute","fixed"]);function $d(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=Fd(e,n);else if(t==="document")r=Vd(Te(e));else if(xe(t))r=$d(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 Hd(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&&Bd.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 zd(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Zn(t)?[]:Hd(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 Wd(e){const{width:t,height:n}=Hi(e);return{width:t,height:n}}function Ud(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&&Ad(r)&&Tr(r);)r=vs(r,t);return r&&wt(r)&&Tr(r)&&!xo(r)?n:r||Id(e)||n}const qd=async function(e){const t=this.getOffsetParent||qi,n=this.getDimensions,r=await n(e.floating);return{reference:Ud(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Gd(e){return we(e).direction==="rtl"}const Zd={convertOffsetParentRelativeRectToViewportRelativeRect:_d,getDocumentElement:Te,getClippingRect:zd,getOffsetParent:qi,getElementRects:qd,getClientRects:Dd,getDimensions:Wd,getScale:bt,isElement:xe,isRTL:Gd};function Gi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Yd(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 Kd(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?Yd(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 Xd=wd,Qd=Cd,Jd=bd,ef=Ed,tf=yd,bs=vd,nf=Sd,rf=(e,t,n)=>{const r=new Map,o={platform:Zd,...n},s={...o.platform,_c:r};return gd(e,t,{...o,platform:s})},[of,sf]=ot({name:"RenderStrategyContext",hookName:"useRenderStrategyContext",providerName:"<RenderStrategyPropsProvider />"}),af=e=>Gt()(e,["lazyMount","unmountOnExit"]),[cf,Zi]=ot({name:"AccordionItemPropsContext",hookName:"useAccordionItemPropsContext",providerName:"<AccordionItemPropsProvider />"}),lf=Gt(),Yi=R.forwardRef((e,t)=>{const[n,r]=lf(e,["value","disabled"]),o=po(),s=sf(),i=st(o.getItemProps(n),r),a=o.getItemState(n),c=o.getItemContentProps(n);return u.jsx(cf,{value:n,children:u.jsx(Uu,{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 uf=Gt(),Xi=R.forwardRef((e,t)=>{const n=po(),r=Zi(),o=n.getItemContentProps(r),[,s]=uf(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 df=vt("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator"),It=df.build(),In=e=>{var t;return((t=e.ids)==null?void 0:t.root)??`accordion:${e.id}`},ff=(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}`},pf=e=>e.getById(In(e)),Xn=e=>{const n=`[data-controls][data-ownedby='${CSS.escape(In(e))}']:not([disabled])`;return Ou(pf(e),n)},mf=e=>Al(Xn(e)),hf=e=>Rl(Xn(e)),gf=(e,t)=>Lu(Xn(e),On(e,t)),vf=(e,t)=>_u(Xn(e),On(e,t));function bf(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:ff(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||(yu()&&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=Cu(g,{dir:o("dir"),orientation:o("orientation")}),v=b[w];v&&(v(g),g.preventDefault())}})}}}var{and:yf,not:xf}=tu(),wf=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:yf("isExpanded","canToggle"),actions:["collapse"]},{guard:xf("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")?jl(e.get("value"),n.value):[];e.set("value",r)},expand({context:e,prop:t,event:n}){const r=t("multiple")?Tl(e.get("value"),n.value):[n.value];e.set("value",r)},focusFirstTrigger({scope:e}){var t;(t=mf(e))==null||t.focus()},focusLastTrigger({scope:e}){var t;(t=hf(e))==null||t.focus()},focusNextTrigger({context:e,scope:t}){const n=e.get("focusedValue");if(!n)return;const r=gf(t,n);r==null||r.focus()},focusPrevTrigger({context:e,scope:t}){const n=e.get("focusedValue");if(!n)return;const r=vf(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 Cf=e=>{const t=R.useId(),{getRootNode:n}=Mi(),{dir:r}=Li(),o={id:t,dir:r,getRootNode:n,...e},s=ki(wf,o);return bf(s,Oi)},Sf=Gt(),Ji=R.forwardRef((e,t)=>{const[n,r]=af(e),[o,s]=Sf(r,["collapsible","defaultValue","disabled","id","ids","multiple","onFocusChange","onValueChange","orientation","value"]),i=Cf(o),a=st(i.getRootProps(),s);return u.jsx(Hl,{value:i,children:u.jsx(of,{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 Ef(){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 Pf=(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},Nf=(e,t)=>({classGroupId:e,validator:t}),ra=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Mn="-",ys=[],Af="arbitrary..",Rf=e=>{const t=jf(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Tf(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?Pf(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}},Tf=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?Af+r:void 0})(),jf=e=>{const{theme:t,classGroups:n}=e;return kf(n,t)},kf=(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];If(i,t,n,r)}},If=(e,t,n,r)=>{if(typeof e=="string"){Of(e,t,n);return}if(typeof e=="function"){Mf(e,t,n,r);return}Lf(e,t,n,r)},Of=(e,t,n)=>{const r=e===""?t:sa(t,e);r.classGroupId=n},Mf=(e,t,n,r)=>{if(_f(e)){Eo(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Nf(n,e))},Lf=(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},_f=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Df=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=":",Vf=[],ws=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),Ff=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(Vf,!1,i,void 0,!0)}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},Bf=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}},$f=e=>({cache:Df(e.cacheSize),parseClassName:Ff(e),sortModifiers:Bf(e),...Rf(e)}),Hf=/\s+/,zf=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(Hf);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},Wf=(...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},Uf=(e,...t)=>{let n,r,o,s;const i=c=>{const l=t.reduce((d,f)=>f(d),e());return n=$f(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=zf(c,n);return o(c,d),d};return s=i,(...c)=>s(Wf(...c))},qf=[],ae=e=>{const t=n=>n[e]||qf;return t.isThemeGetter=!0,t},aa=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ca=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Gf=/^\d+\/\d+$/,Zf=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yf=/\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$/,Kf=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Xf=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qf=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ut=e=>Gf.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=>Zf.test(e),Jf=()=>!0,ep=e=>Yf.test(e)&&!Kf.test(e),la=()=>!1,tp=e=>Xf.test(e),np=e=>Qf.test(e),rp=e=>!V(e)&&!F(e),op=e=>Pt(e,fa,la),V=e=>aa.test(e),Ye=e=>Pt(e,pa,ep),Ir=e=>Pt(e,lp,Y),Cs=e=>Pt(e,ua,la),sp=e=>Pt(e,da,np),an=e=>Pt(e,ma,tp),F=e=>ca.test(e),Ot=e=>Nt(e,pa),ip=e=>Nt(e,up),Ss=e=>Nt(e,ua),ap=e=>Nt(e,fa),cp=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",lp=e=>e==="number",up=e=>e==="family-name",ma=e=>e==="shadow",dp=()=>{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",ap,op,{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:[Jf],container:[ke],"drop-shadow":[ke],ease:["in","out","in-out"],font:[rp],"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:[ip,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]},cp,sp]}],"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"]}},fp=Uf(dp);function K(...e){return fp(Ef(e))}const pp={"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=pp[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 mp(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 hp={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 ${mp({className:e,type:"background"},hp)?"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 gp(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=gp(t.props.field);if(r)return r;const o=ha(t);return o?Dt(o):""}return""}function vp(e){return e?"href"in e&&typeof e.href=="string"?e:"value"in e?e.value??null:null:null}function bp(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=vp(t.props.field);if(n){const s=bp(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 yp(){const e=window.location.href;return navigator.clipboard.writeText(e)}function xp(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 Cl=Object.defineProperty;var Sl=(e,t,n)=>t in e?Cl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var nn=(e,t,n)=>Sl(e,typeof t!="symbol"?t+"":t,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),R=require("react"),zt=require("react-dom");function ui(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=ui(R),Wn=ui(zt);function El(e){return e==null?[]:Array.isArray(e)?e:[e]}var Pl=e=>e[0],Nl=e=>e[e.length-1],Al=(e,...t)=>e.concat(t),Rl=(e,...t)=>e.filter(n=>!t.includes(n)),Tl=e=>e!=null&&typeof e=="object",wn=e=>typeof e=="string",ht=e=>typeof e=="function",di=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),kl=e=>Object.prototype.toString.call(e),fi=Function.prototype.toString,jl=fi.call(Object),Il=e=>{if(!Tl(e)||kl(e)!="[object Object]"||Ml(e))return!1;const t=Object.getPrototypeOf(e);if(t===null)return!0;const n=di(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&fi.call(n)==jl},Ol=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,Ll=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,Ml=e=>Ol(e)||Ll(e),_l=e=>e(),Dl=(...e)=>(...t)=>{e.forEach(function(n){n==null||n(...t)})},De=e=>typeof e=="number"?`${e}px`:e;function pi(e){if(!Il(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]=pi(o))}return n}function Gr(...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 Vl(e,t){if(e==null)throw new Error(t())}function Fl(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function rt(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??Fl(r,o));throw d.name="ContextError",di(Error,"captureStackTrace")&&ht(Error.captureStackTrace)&&Error.captureStackTrace(d,c),d}return l}return[a.Provider,c,a]}const[Bl,fo]=rt({name:"AccordionContext",hookName:"useAccordionContext",providerName:"<AccordionProvider />"});var $l=(...e)=>e.map(t=>{var n;return(n=t==null?void 0:t.trim)==null?void 0:n.call(t)}).filter(Boolean).join(" "),Hl=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,ts=e=>{const t={};let n;for(;n=Hl.exec(e);)t[n[1]]=n[2];return t},zl=(e,t)=>{if(wn(e)){if(wn(t))return`${e};${t}`;e=ts(e)}else wn(t)&&(t=ts(t));return Object.assign({},e??{},t??{})};function ot(...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]=Dl(n[o],t[o]);continue}if(o==="className"||o==="class"){t[o]=$l(t[o],n[o]);continue}if(o==="style"){t[o]=zl(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 st=".",mi="#",ns=new WeakMap,hi=new WeakMap;function Zr(e){return e.join(st)}function Wl(e){return e.includes(st)}function gi(e){return e.startsWith(mi)}function Ul(e){return gi(e)?e.slice(mi.length):e}function vi(e,t){return e?`${e}${st}${t}`:t}function ql(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=vi(o,c);r(d,l)}};for(const[o,s]of Object.entries(e.states))s&&r(o,s);return{index:t,idIndex:n}}function Wt(e){const t=ns.get(e);if(t)return t;const{index:n,idIndex:r}=ql(e);return ns.set(e,n),hi.set(e,r),n}function Gl(e,t){var n;return Wt(e),(n=hi.get(e))==null?void 0:n.get(t)}function po(e){return e?String(e).split(st).filter(Boolean):[]}function An(e,t){if(!t)return[];const n=Wt(e),r=po(t),o=[],s=[];for(const i of r){s.push(i);const a=Zr(s),c=n.get(a);if(!c)break;o.push({path:a,state:c})}return o}function Sr(e,t){const n=Wt(e),r=po(t);if(!r.length)return t;const o=[];for(const a of r){o.push(a);const c=Zr(o);if(!n.has(c))return t}let s=Zr(o),i=n.get(s);for(;i!=null&&i.initial;){const a=`${s}${st}${i.initial}`,c=n.get(a);if(!c)break;s=a,i=c}return s}function Zl(e,t){return Wt(e).has(t)}function rs(e,t,n){const r=String(t);if(gi(r)){const o=Ul(r),s=Gl(e,o);if(!s)throw new Error(`Unknown state id: ${o}`);return Sr(e,s)}if(!Wl(r)&&n){const o=po(n);for(let s=o.length;s>=1;s--){const i=o.slice(0,s).join(st),a=vi(i,r);if(Zl(e,a))return Sr(e,a)}}return Sr(e,r)}function Yl(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 Kl(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 Xl(e,t){return e?e===t||e.startsWith(`${t}${st}`):!1}function Ql(e,t,n){return An(e,t).some(r=>{var o;return(o=r.state.tags)==null?void 0:o.includes(n)})}function Jl(){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 bi(e){return Wt(e),e}var mt=(e=>(e.NotStarted="Not Started",e.Started="Started",e.Stopped="Stopped",e))(mt||{}),Er="__init__",eu=Object.defineProperty,tu=(e,t,n)=>t in e?eu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pr=(e,t,n)=>tu(e,typeof t!="symbol"?t+"":t,n),Yr=()=>{},Un=e=>typeof e=="object"&&e!==null,Se=e=>e?"":void 0,nu=1,ru=9,ou=11,Ut=e=>Un(e)&&e.nodeType===nu&&typeof e.nodeName=="string",yi=e=>Un(e)&&e.nodeType===ru,su=e=>Un(e)&&e===e.window,iu=e=>Un(e)&&e.nodeType!==void 0,au=e=>iu(e)&&e.nodeType===ou&&"host"in e,cu=e=>Ut(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1;function lu(e){if(!e)return!1;const t=e.getRootNode();return wi(t)===e}function uu(e){return yi(e)?e:su(e)?e.document:(e==null?void 0:e.ownerDocument)??document}function xi(e){var t;return au(e)?xi(e.host):yi(e)?e.defaultView??window:Ut(e)?((t=e.ownerDocument)==null?void 0:t.defaultView)??window:window}function wi(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 os(e){return Nr.has(e)||Nr.set(e,xi(e).getComputedStyle(e)),Nr.get(e)}var Ci=()=>typeof document<"u";function du(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}var mo=e=>Ci()&&e.test(du()),fu=e=>Ci()&&e.test(navigator.vendor),pu=()=>mo(/^iPhone/i),mu=()=>mo(/^iPad/i)||Si()&&navigator.maxTouchPoints>1,hu=()=>pu()||mu(),gu=()=>Si()||hu(),Si=()=>mo(/^Mac/i),vu=()=>gu()&&fu(/apple/i);function bu(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 ss(e){const t=bu(e);return(t==null?void 0:t[0])??e.target}var yu={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},is={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function xu(e,t={}){const{dir:n="ltr",orientation:r="horizontal"}=t;let o=e.key;return o=yu[o]??o,n==="rtl"&&r==="horizontal"&&o in is&&(o=is[o]),o}var wu=e=>Ut(e)&&e.tagName==="IFRAME";function Cu(e){const t=e.getAttribute("tabindex");return t?parseInt(t,10):NaN}var Su=e=>Cu(e)<0;function Eu(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 Pu(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=Eu(c,t);if(l){const d=Array.from(l.querySelectorAll(ho)).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 ho="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 Nu(e){return!Ut(e)||e.closest("[inert]")?!1:e.matches(ho)&&cu(e)}function Ei(e,t={}){if(!e)return[];const{includeContainer:n,getShadowRoot:r}=t,o=Array.from(e.querySelectorAll(ho));n&&Ar(e)&&o.unshift(e);const s=[];for(const i of o)if(Ar(i)){if(wu(i)&&i.contentDocument){const a=i.contentDocument.body;s.push(...Ei(a,{getShadowRoot:r}));continue}s.push(i)}if(r){const i=Pu(s,r,Ar);return!i.length&&n?o:i}return!s.length&&n?o:s}function Ar(e){return Ut(e)&&e.tabIndex>0?!0:Nu(e)&&!Su(e)}var Au=class Pi{constructor(){Pr(this,"id",null),Pr(this,"fn_cleanup"),Pr(this,"cleanup",()=>{this.cancel()})}static create(){return new Pi}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 Cn(e){const t=Au.create();return t.request(e),t.cleanup}function Ru(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 Tu(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 ku(e,t){const{defer:n}=t,r=n?Cn:s=>s(),o=[];return o.push(r(()=>{const s=typeof e=="function"?e():e;o.push(Tu(s,t))})),()=>{o.forEach(s=>s==null?void 0:s())}}function ju(e,t){return Array.from((e==null?void 0:e.querySelectorAll(t))??[])}var Ni=e=>e.id;function Iu(e,t,n=Ni){return e.find(r=>n(r)===t)}function Ai(e,t,n=Ni){const r=Iu(e,t,n);return r?e.indexOf(r):-1}function Ou(e,t,n=!0){let r=Ai(e,t);return r=n?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function Lu(e,t,n=!0){let r=Ai(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 Mu(e,t,n){const r=e.getAttribute(t),o=r!=null;return r===n?Yr:(e.setAttribute(t,n),()=>{o?e.setAttribute(t,r):e.removeAttribute(t)})}function _u(e,t){if(!e)return Yr;const n=Object.keys(t).reduce((r,o)=>(r[o]=e.style.getPropertyValue(o),r),{});return Du(n,t)?Yr:(Object.assign(e.style,t),()=>{Object.assign(e.style,n),e.style.length===0&&e.removeAttribute("style")})}function Du(e,t){return Object.keys(e).every(n=>e[n]===t[n])}function Vu(e){const t=()=>{var i;return((i=e.getRootNode)==null?void 0:i.call(e))??document},n=()=>uu(t());return{...e,getRootNode:t,getDoc:n,getWin:()=>n().defaultView??window,getActiveElement:()=>wi(t()),isActiveElement:lu,getById:i=>t().getElementById(i)}}var Ri=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);Ri(()=>{c.current=a.current},[o,e().value]);const l=f=>{var b,g;const m=c.current,h=ht(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?zt.flushSync:_l)(()=>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 Fu(e){const t=R.useRef(e);return{get(n){return t.current[n]},set(n,r){t.current[n]=r}}}var Bu=(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 Ti(e,t={}){var D,B,W,H;const n=R.useMemo(()=>{const{id:I,ids:T,getRootNode:O}=t;return Vu({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:pi(t),scope:n}))??t,s=$u(o),i=(B=e.context)==null?void 0:B.call(e,{prop:s,bindable:Rn,scope:n,flush:as,getContext(){return c},getComputed(){return P},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=>Xl(S.ref.current,T))},hasTag(I){return Ql(e,S.ref.current,I)}}),g=Fu(((W=e.refs)==null?void 0:W.call(e,{prop:s,context:c}))??{}),y=()=>({state:b(),context:c,event:h(),prop:s,send:_,action:w,guard:v,track:Bu,refs:g,computed:P,flush:as,scope:n,choose:C}),w=I=>{const T=ht(I)?I(y()):I;if(!T)return;const O=T.map(A=>{var U,z;const L=(z=(U=e.implementations)==null?void 0:U.actions)==null?void 0:z[A];return L||Gr(`[zag-js] No implementation found for action "${JSON.stringify(A)}"`),L});for(const A of O)A==null||A(y())},v=I=>{var T,O;return ht(I)?I(y()):(O=(T=e.implementations)==null?void 0:T.guards)==null?void 0:O[I](y())},x=I=>{const T=ht(I)?I(y()):I;if(!T)return;const O=T.map(L=>{var z,X;const U=(X=(z=e.implementations)==null?void 0:z.effects)==null?void 0:X[L];return U||Gr(`[zag-js] No implementation found for effect "${JSON.stringify(L)}"`),U}),A=[];for(const L of O){const U=L==null?void 0:L(y());U&&A.push(U)}return()=>A.forEach(L=>L==null?void 0:L())},C=I=>El(I).find(T=>{let O=!T.guard;return wn(T.guard)?O=!!v(T.guard):ht(T.guard)&&(O=T.guard(y())),O}),P=I=>{Vl(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:P})},S=Rn(()=>({defaultValue:rs(e,e.initialState({prop:s})),onChange(I,T){var L,U;const{exiting:O,entering:A}=Kl(e,T,I,(L=d.current)==null?void 0:L.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)})}})),E=R.useRef(void 0),N=R.useRef(mt.NotStarted);Ri(()=>{queueMicrotask(()=>{const O=N.current===mt.Started;N.current=mt.Started,r(O?"rehydrating...":"initializing...");const A=E.current??S.initial;S.invoke(A,O?S.get():Er)});const I=l.current,T=S.ref.current;return()=>{r("unmounting..."),E.current=T,N.current=mt.Stopped,I.forEach(O=>O==null?void 0:O()),l.current=new Map,d.current=null,queueMicrotask(()=>{w(e.exit)})}},[]);const k=()=>"ref"in S?S.ref.current:S.get(),_=I=>{queueMicrotask(()=>{if(N.current!==mt.Started)return;f.current=m.current,m.current=I;let T=k();const{transitions:O,source:A}=Yl(e,T,I.type),L=C(O);if(!L)return;d.current=L;const U=rs(e,L.target??T,A);r("transition",I.type,L.target||T,`(${L.actions})`),U!==T?zt.flushSync(()=>S.set(U)):L.reenter?S.invoke(T,T):w(L.actions??[])})};return(H=e.watch)==null||H.call(e,y()),{state:b(),send:_,context:c,prop:s,scope:n,refs:g,computed:P,event:h(),getStatus:()=>N.current}}function ki(e){const t=R.useRef(e);return t.current=e,t}function $u(e){const t=ki(e);return function(r){return t.current[r]}}function as(e){queueMicrotask(()=>{zt.flushSync(()=>e())})}function Hu(e){return new Proxy({},{get(t,n){return n==="style"?r=>e({style:r}).style:e}})}var ji=Hu(e=>e);const[zu]=rt({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItemProvider />"});function Wu(...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 Uu(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=Uu(a);return R.cloneElement(a,{...ot(i,a.props),ref:r?Wu(r,c):c})}));return t.displayName=e.displayName||e.name,t},qu=()=>{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=qu(),qt=()=>(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}]),Gu=e=>qt()(e,["collapsedHeight","collapsedWidth","defaultOpen","disabled","id","ids","lazyMount","onExitComplete","onOpenChange","open","unmountOnExit"]);var gt=(e,t=[])=>({parts:(...n)=>{if(Zu(t))return gt(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>gt(e,[...t,...n]),omit:(...n)=>gt(e,t.filter(r=>!n.includes(r))),rename:n=>gt(n,t),keys:()=>t,build:()=>[...new Set(t)].reduce((n,r)=>Object.assign(n,{[r]:{selector:[`&[data-scope="${ct(e)}"][data-part="${ct(r)}"]`,`& [data-scope="${ct(e)}"][data-part="${ct(r)}"]`].join(", "),attrs:{"data-scope":ct(e),"data-part":ct(r)}}}),{})}),ct=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),Zu=e=>e.length===0,Yu=gt("collapsible").parts("root","trigger","content","indicator"),rn=Yu.build(),Ku=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`},Xu=e=>{var t;return((t=e.ids)==null?void 0:t.trigger)??`collapsible:${e.id}:trigger`},jt=e=>e.getById(Kr(e));function Qu(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,y=b!=null,w=g||y,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({...rn.root.attrs,"data-state":c?"open":"closed",dir:i("dir"),id:Ku(s)})},getContentProps(){return t.element({...rn.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":De(f),"--width":De(d),"--collapsed-height":De(h),"--collapsed-width":De(b),...l&&g&&{overflow:"hidden",minHeight:De(h),maxHeight:De(h)},...l&&y&&{overflow:"hidden",minWidth:De(b),maxWidth:De(b)}}})},getTriggerProps(){return t.element({...rn.trigger.attrs,id:Xu(s),dir:i("dir"),type:"button","data-state":c?"open":"closed","data-disabled":Se(m),"aria-controls":Kr(s),"aria-expanded":a||!1,onClick(x){x.defaultPrevented||m||r({type:c?"close":"open"})}})},getIndicatorProps(){return t.element({...rn.indicator.attrs,dir:i("dir"),"data-state":c?"open":"closed","data-disabled":Se(m)})}}}var Ju=bi({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=Cn(()=>{const o=jt(t);if(!o)return;const s=os(o).animationName;if(!s||s==="none"){e({type:"animation.end"});return}const a=c=>{ss(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=Cn(()=>{const o=jt(t);if(!o)return;const s=os(o).animationName;if(!s||s==="none"){e({type:"animation.end"});return}const a=l=>{ss(l)===o&&e({type:"animation.end"})};o.addEventListener("animationend",a);const c=_u(o,{animationFillMode:"forwards"});n=()=>{o.removeEventListener("animationend",a),Ru(()=>c())}});return()=>{r(),n==null||n()}},trackTabbableElements:({scope:e,prop:t})=>{if(!t("collapsedHeight")&&!t("collapsedWidth"))return;const n=jt(e);if(!n)return;const r=()=>{const a=Ei(n).map(c=>Mu(c,"inert",""));return()=>{a.forEach(c=>c())}};let o=r();const s=ku(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=jt(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=Cn(()=>{const s=jt(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,Ii]=rt({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}}),[Yv,Oi]=rt({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}}),ed=(e={})=>{const{lazyMount:t,unmountOnExit:n,...r}=e,o=R.useId(),s=R.useRef(!1),{dir:i}=Oi(),{getRootNode:a}=Ii(),c={id:o,dir:i,getRootNode:a,...r},l=Ti(Ju,c),d=Qu(l,ji);d.visible&&(s.current=!0);const f=!d.visible&&!s.current&&t||n&&!d.visible&&s.current;return{...d,isUnmounted:f}},[td,Li]=rt({name:"CollapsibleContext",hookName:"useCollapsibleContext",providerName:"<CollapsibleProvider />"}),Mi=R.forwardRef((e,t)=>{const[n,r]=Gu(e),o=ed(n),s=ot(o.getRootProps(),r);return u.jsx(td,{value:o,children:u.jsx(qn.div,{...s,ref:t})})});Mi.displayName="CollapsibleRoot";const nd=["top","right","bottom","left"],$e=Math.min,he=Math.max,Tn=Math.round,on=Math.floor,Ae=e=>({x:e,y:e}),rd={left:"right",right:"left",bottom:"top",top:"bottom"},od={start:"end",end:"start"};function Xr(e,t,n){return he(e,$e(t,n))}function Le(e,t){return typeof e=="function"?e(t):e}function Me(e){return e.split("-")[0]}function St(e){return e.split("-")[1]}function go(e){return e==="x"?"y":"x"}function vo(e){return e==="y"?"height":"width"}const sd=new Set(["top","bottom"]);function Pe(e){return sd.has(Me(e))?"y":"x"}function bo(e){return go(Pe(e))}function id(e,t,n){n===void 0&&(n=!1);const r=St(e),o=bo(e),s=vo(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=kn(i)),[i,kn(i)]}function ad(e){const t=kn(e);return[Qr(e),t,Qr(t)]}function Qr(e){return e.replace(/start|end/g,t=>od[t])}const cs=["left","right"],ls=["right","left"],cd=["top","bottom"],ld=["bottom","top"];function ud(e,t,n){switch(e){case"top":case"bottom":return n?t?ls:cs:t?cs:ls;case"left":case"right":return t?cd:ld;default:return[]}}function dd(e,t,n,r){const o=St(e);let s=ud(Me(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Qr)))),s}function kn(e){return e.replace(/left|right|bottom|top/g,t=>rd[t])}function fd(e){return{top:0,right:0,bottom:0,left:0,...e}}function _i(e){return typeof e!="number"?fd(e):{top:e,right:e,bottom:e,left:e}}function jn(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 us(e,t,n){let{reference:r,floating:o}=e;const s=Pe(t),i=bo(t),a=vo(i),c=Me(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 pd(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=_i(h),y=a[m?f==="floating"?"reference":"floating":f],w=jn(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(y)))==null||n?y:y.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},P=jn(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:x,strategy:c}):v);return{top:(w.top-P.top+b.top)/C.y,bottom:(P.bottom-w.bottom+b.bottom)/C.y,left:(w.left-P.left+b.left)/C.x,right:(P.right-w.right+b.right)/C.x}}const md=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}=us(l,r,c),m=r,h={},b=0;for(let y=0;y<a.length;y++){var g;const{name:w,fn:v}=a[y],{x,y:C,data:P,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:pd},elements:{reference:e,floating:t}});d=x??d,f=C??f,h={...h,[w]:{...h[w],...P}},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}=us(l,m,c)),y=-1)}return{x:d,y:f,placement:m,strategy:o,middlewareData:h}},hd=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=_i(d),m={x:n,y:r},h=bo(o),b=vo(h),g=await i.getDimensions(l),y=h==="y",w=y?"top":"left",v=y?"bottom":"right",x=y?"clientHeight":"clientWidth",C=s.reference[b]+s.reference[h]-m[h]-s.floating[b],P=m[h]-s.reference[h],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let E=S?S[x]:0;(!E||!await(i.isElement==null?void 0:i.isElement(S)))&&(E=a.floating[x]||s.floating[b]);const N=C/2-P/2,k=E/2-g[b]/2-1,_=$e(f[w],k),D=$e(f[v],k),B=_,W=E-g[b]-D,H=E/2-g[b]/2+N,I=Xr(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}}}),gd=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,...y}=Le(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const w=Me(o),v=Pe(a),x=Me(a)===a,C=await(c.isRTL==null?void 0:c.isRTL(l.floating)),P=m||(x||!g?[kn(a)]:ad(a)),S=b!=="none";!m&&S&&P.push(...dd(a,g,b,C));const E=[a,...P],N=await c.detectOverflow(t,y),k=[];let _=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&k.push(N[w]),f){const H=id(o,i,C);k.push(N[H[0]],N[H[1]])}if(_=[..._,{placement:o,overflows:k}],!k.every(H=>H<=0)){var D,B;const H=(((D=s.flip)==null?void 0:D.index)||0)+1,I=E[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 L=Pe(A.placement);return L===v||L==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(L=>L>0).reduce((L,U)=>L+U,0)]).sort((A,L)=>A[1]-L[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 ds(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function fs(e){return nd.some(t=>e[t]>=0)}const vd=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=ds(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:fs(a)}}}case"escaped":{const i=await r.detectOverflow(t,{...s,altBoundary:!0}),a=ds(i,n.floating);return{data:{escapedOffsets:a,escaped:fs(a)}}}default:return{}}}}},Di=new Set(["left","top"]);async function bd(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Me(n),a=St(n),c=Pe(n)==="y",l=Di.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 yd=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 bd(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}}}}},xd=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(Me(o)),h=go(m);let b=d[h],g=d[m];if(i){const w=h==="y"?"top":"left",v=h==="y"?"bottom":"right",x=b+f[w],C=b-f[v];b=Xr(x,b,C)}if(a){const w=m==="y"?"top":"left",v=m==="y"?"bottom":"right",x=g+f[w],C=g-f[v];g=Xr(x,g,C)}const y=c.fn({...t,[h]:b,[m]:g});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[h]:i,[m]:a}}}}}},wd=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=go(f);let h=d[m],b=d[f];const g=Le(a,t),y=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]+y.mainAxis,P=s.reference[m]+s.reference[x]-y.mainAxis;h<C?h=C:h>P&&(h=P)}if(l){var w,v;const x=m==="y"?"width":"height",C=Di.has(Me(o)),P=s.reference[f]-s.floating[x]+(C&&((w=i.offset)==null?void 0:w[f])||0)+(C?0:y.crossAxis),S=s.reference[f]+s.reference[x]+(C?0:((v=i.offset)==null?void 0:v[f])||0)-(C?y.crossAxis:0);b<P?b=P:b>S&&(b=S)}return{[m]:h,[f]:b}}}},Cd=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=Me(o),m=St(o),h=Pe(o)==="y",{width:b,height:g}=s.floating;let y,w;f==="top"||f==="bottom"?(y=f,w=m===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(w=f,y=m==="end"?"top":"bottom");const v=g-d.top-d.bottom,x=b-d.left-d.right,C=$e(g-d[y],v),P=$e(b-d[w],x),S=!t.middlewareData.shift;let E=C,N=P;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=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)):E=g-2*(B!==0||W!==0?B+W:he(d.top,d.bottom))}await c({...t,availableWidth:N,availableHeight:E});const k=await i.getDimensions(a.floating);return b!==k.width||g!==k.height?{reset:{rects:!0}}:{}}}};function Gn(){return typeof window<"u"}function Et(e){return Vi(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=(Vi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Vi(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 ps(e){return!Gn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ge(e).ShadowRoot}const Sd=new Set(["inline","contents"]);function Gt(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=we(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Sd.has(o)}const Ed=new Set(["table","td","th"]);function Pd(e){return Ed.has(Et(e))}const Nd=[":popover-open",":modal"];function Zn(e){return Nd.some(t=>{try{return e.matches(t)}catch{return!1}})}const Ad=["transform","translate","scale","rotate","perspective"],Rd=["transform","translate","scale","rotate","perspective","filter"],Td=["paint","layout","strict","content"];function yo(e){const t=xo(),n=xe(e)?we(e):e;return Ad.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)||Rd.some(r=>(n.willChange||"").includes(r))||Td.some(r=>(n.contain||"").includes(r))}function kd(e){let t=He(e);for(;Re(t)&&!wt(t);){if(yo(t))return t;if(Zn(t))return null;t=He(t)}return null}function xo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const jd=new Set(["html","body","#document"]);function wt(e){return jd.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 He(e){if(Et(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ps(e)&&e.host||Te(e);return ps(t)?t.host:t}function Fi(e){const t=He(e);return wt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Re(t)&&Gt(t)?t:Fi(t)}function Vt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Fi(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=ge(o);if(s){const a=Jr(i);return t.concat(i,i.visualViewport||[],Gt(o)?o:[],a&&n?Vt(a):[])}return t.concat(o,Vt(o,[],n))}function Jr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Bi(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 wo(e){return xe(e)?e:e.contextElement}function vt(e){const t=wo(e);if(!Re(t))return Ae(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=Bi(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 Id=Ae(0);function $i(e){const t=ge(e);return!xo()||!t.visualViewport?Id:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Od(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ge(e)?!1:t}function Xe(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=wo(e);let i=Ae(1);t&&(r?xe(r)&&(i=vt(r)):i=vt(e));const a=Od(s,n,r)?$i(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 b=m,g=Jr(b);for(;g&&r&&h!==b;){const y=vt(g),w=g.getBoundingClientRect(),v=we(g),x=w.left+(g.clientLeft+parseFloat(v.paddingLeft))*y.x,C=w.top+(g.clientTop+parseFloat(v.paddingTop))*y.y;c*=y.x,l*=y.y,d*=y.x,f*=y.y,c+=x,l+=C,b=ge(g),g=Jr(b)}}return jn({width:d,height:f,x:c,y:l})}function Kn(e,t){const n=Yn(e).scrollLeft;return t?t.left+n:Xe(Te(e)).left+n}function Hi(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 Ld(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"||Gt(i))&&(c=Yn(r)),Re(r))){const h=Xe(r);l=vt(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}const m=i&&!f&&!s?Hi(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 Md(e){return Array.from(e.getClientRects())}function _d(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 ms=25;function Dd(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=xo();(!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,b=Math.abs(r.clientWidth-f.clientWidth-h);b<=ms&&(s-=b)}else l<=ms&&(s+=l);return{width:s,height:i,x:a,y:c}}const Vd=new Set(["absolute","fixed"]);function Fd(e,t){const n=Xe(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Re(e)?vt(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 hs(e,t,n){let r;if(t==="viewport")r=Dd(e,n);else if(t==="document")r=_d(Te(e));else if(xe(t))r=Fd(t,n);else{const o=$i(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return jn(r)}function zi(e,t){const n=He(e);return n===t||!xe(n)||wt(n)?!1:we(n).position==="fixed"||zi(n,t)}function Bd(e,t){const n=t.get(e);if(n)return n;let r=Vt(e,[],!1).filter(a=>xe(a)&&Et(a)!=="body"),o=null;const s=we(e).position==="fixed";let i=s?He(e):e;for(;xe(i)&&!wt(i);){const a=we(i),c=yo(i);!c&&a.position==="fixed"&&(o=null),(s?!c&&!o:!c&&a.position==="static"&&!!o&&Vd.has(o.position)||Gt(i)&&!c&&zi(e,i))?r=r.filter(d=>d!==i):o=a,i=He(i)}return t.set(e,r),r}function $d(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Zn(t)?[]:Bd(t,this._c):[].concat(n),r],a=i[0],c=i.reduce((l,d)=>{const f=hs(t,d,o);return l.top=he(f.top,l.top),l.right=$e(f.right,l.right),l.bottom=$e(f.bottom,l.bottom),l.left=he(f.left,l.left),l},hs(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Hd(e){const{width:t,height:n}=Bi(e);return{width:t,height:n}}function zd(e,t,n){const r=Re(t),o=Te(t),s=n==="fixed",i=Xe(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"||Gt(o))&&(a=Yn(t)),r){const h=Xe(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?Hi(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 gs(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 Wi(e,t){const n=ge(e);if(Zn(e))return n;if(!Re(e)){let o=He(e);for(;o&&!wt(o);){if(xe(o)&&!Tr(o))return o;o=He(o)}return n}let r=gs(e,t);for(;r&&Pd(r)&&Tr(r);)r=gs(r,t);return r&&wt(r)&&Tr(r)&&!yo(r)?n:r||kd(e)||n}const Wd=async function(e){const t=this.getOffsetParent||Wi,n=this.getDimensions,r=await n(e.floating);return{reference:zd(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Ud(e){return we(e).direction==="rtl"}const qd={convertOffsetParentRelativeRectToViewportRelativeRect:Ld,getDocumentElement:Te,getClippingRect:$d,getOffsetParent:Wi,getElementRects:Wd,getClientRects:Md,getDimensions:Hd,getScale:vt,isElement:xe,isRTL:Ud};function Ui(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Gd(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=on(f),g=on(o.clientWidth-(d+m)),y=on(o.clientHeight-(f+h)),w=on(d),x={rootMargin:-b+"px "+-g+"px "+-y+"px "+-w+"px",threshold:he(0,$e(1,c))||1};let C=!0;function P(S){const E=S[0].intersectionRatio;if(E!==c){if(!C)return i();E?i(!1,E):r=setTimeout(()=>{i(!1,1e-7)},1e3)}E===1&&!Ui(l,e.getBoundingClientRect())&&i(),C=!1}try{n=new IntersectionObserver(P,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(P,x)}n.observe(e)}return i(!0),s}function Zd(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=wo(e),d=o||s?[...l?Vt(l):[],...Vt(t)]:[];d.forEach(w=>{o&&w.addEventListener("scroll",n,{passive:!0}),s&&w.addEventListener("resize",n)});const f=l&&a?Gd(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 b,g=c?Xe(e):null;c&&y();function y(){const w=Xe(e);g&&!Ui(g,w)&&n(),g=w,b=requestAnimationFrame(y)}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 Yd=yd,Kd=xd,Xd=gd,Qd=Cd,Jd=vd,vs=hd,ef=wd,tf=(e,t,n)=>{const r=new Map,o={platform:qd,...n},s={...o.platform,_c:r};return md(e,t,{...o,platform:s})},[nf,rf]=rt({name:"RenderStrategyContext",hookName:"useRenderStrategyContext",providerName:"<RenderStrategyPropsProvider />"}),of=e=>qt()(e,["lazyMount","unmountOnExit"]),[sf,qi]=rt({name:"AccordionItemPropsContext",hookName:"useAccordionItemPropsContext",providerName:"<AccordionItemPropsProvider />"}),af=qt(),Gi=R.forwardRef((e,t)=>{const[n,r]=af(e,["value","disabled"]),o=fo(),s=rf(),i=ot(o.getItemProps(n),r),a=o.getItemState(n),c=o.getItemContentProps(n);return u.jsx(sf,{value:n,children:u.jsx(zu,{value:a,children:u.jsx(Mi,{ref:t,open:a.expanded,ids:{content:c.id},...s,...i})})})});Gi.displayName="AccordionItem";const Zi=R.forwardRef((e,t)=>{const n=Li();if(n.isUnmounted)return null;const r=ot(n.getContentProps(),e);return u.jsx(qn.div,{...r,ref:t})});Zi.displayName="CollapsibleContent";const cf=qt(),Yi=R.forwardRef((e,t)=>{const n=fo(),r=qi(),o=n.getItemContentProps(r),[,s]=cf(o,["hidden","data-state"]),i=ot(s,e);return u.jsx(Zi,{ref:t,...i})});Yi.displayName="AccordionItemContent";const Ki=R.forwardRef((e,t)=>{const n=fo(),r=qi(),o=Li(),s=n.getItemTriggerProps(r),i=ot({...s,"aria-controls":o.isUnmounted?void 0:s["aria-controls"]},e);return u.jsx(qn.button,{...i,ref:t})});Ki.displayName="AccordionItemTrigger";var lf=gt("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator"),It=lf.build(),In=e=>{var t;return((t=e.ids)==null?void 0:t.root)??`accordion:${e.id}`},uf=(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}`},kr=(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}`},df=e=>e.getById(In(e)),Xn=e=>{const n=`[data-controls][data-ownedby='${CSS.escape(In(e))}']:not([disabled])`;return ju(df(e),n)},ff=e=>Pl(Xn(e)),pf=e=>Nl(Xn(e)),mf=(e,t)=>Ou(Xn(e),On(e,t)),hf=(e,t)=>Lu(Xn(e),On(e,t));function gf(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:uf(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:kr(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":kr(s,h),"data-controls":kr(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||(vu()&&g.currentTarget.focus(),n({type:"TRIGGER.CLICK",value:h}))},onKeyDown(g){if(g.defaultPrevented||b.disabled)return;const y={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=xu(g,{dir:o("dir"),orientation:o("orientation")}),v=y[w];v&&(v(g),g.preventDefault())}})}}}var{and:vf,not:bf}=Jl(),yf=bi({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:vf("isExpanded","canToggle"),actions:["collapse"]},{guard:bf("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")?Rl(e.get("value"),n.value):[];e.set("value",r)},expand({context:e,prop:t,event:n}){const r=t("multiple")?Al(e.get("value"),n.value):[n.value];e.set("value",r)},focusFirstTrigger({scope:e}){var t;(t=ff(e))==null||t.focus()},focusLastTrigger({scope:e}){var t;(t=pf(e))==null||t.focus()},focusNextTrigger({context:e,scope:t}){const n=e.get("focusedValue");if(!n)return;const r=mf(t,n);r==null||r.focus()},focusPrevTrigger({context:e,scope:t}){const n=e.get("focusedValue");if(!n)return;const r=hf(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&&(Gr("The value of accordion should be a single value when multiple is false."),e.set("value",[e.get("value")[0]]))}}}});const xf=e=>{const t=R.useId(),{getRootNode:n}=Ii(),{dir:r}=Oi(),o={id:t,dir:r,getRootNode:n,...e},s=Ti(yf,o);return gf(s,ji)},wf=qt(),Xi=R.forwardRef((e,t)=>{const[n,r]=of(e),[o,s]=wf(r,["collapsible","defaultValue","disabled","id","ids","multiple","onFocusChange","onValueChange","orientation","value"]),i=xf(o),a=ot(i.getRootProps(),s);return u.jsx(Bl,{value:i,children:u.jsx(nf,{value:n,children:u.jsx(qn.div,{...a,ref:t})})})});Xi.displayName="AccordionRoot";const Qi={cloud:"bg-cloud",navy:"bg-navy-1000",white:"bg-white"};function Co(e){return e==="connect"?"white":"cloud"}function Ji(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 ea(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=ea(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Cf(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=ea(e))&&(r&&(r+=" "),r+=t);return r}const Sf=(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},Ef=(e,t)=>({classGroupId:e,validator:t}),ta=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Ln="-",bs=[],Pf="arbitrary..",Nf=e=>{const t=Rf(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Af(i);const a=i.split(Ln),c=a[0]===""&&a.length>1?1:0;return na(a,c,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const c=r[i],l=n[i];return c?l?Sf(l,c):c:l||bs}return n[i]||bs}}},na=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],s=n.nextPart.get(o);if(s){const l=na(e,t+1,s);if(l)return l}const i=n.validators;if(i===null)return;const a=t===0?e.join(Ln):e.slice(t).join(Ln),c=i.length;for(let l=0;l<c;l++){const d=i[l];if(d.validator(a))return d.classGroupId}},Af=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?Pf+r:void 0})(),Rf=e=>{const{theme:t,classGroups:n}=e;return Tf(n,t)},Tf=(e,t)=>{const n=ta();for(const r in e){const o=e[r];So(o,n,r,t)}return n},So=(e,t,n,r)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];kf(i,t,n,r)}},kf=(e,t,n,r)=>{if(typeof e=="string"){jf(e,t,n);return}if(typeof e=="function"){If(e,t,n,r);return}Of(e,t,n,r)},jf=(e,t,n)=>{const r=e===""?t:ra(t,e);r.classGroupId=n},If=(e,t,n,r)=>{if(Lf(e)){So(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Ef(n,e))},Of=(e,t,n,r)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,c]=o[i];So(c,ra(t,a),n,r)}},ra=(e,t)=>{let n=e;const r=t.split(Ln),o=r.length;for(let s=0;s<o;s++){const i=r[s];let a=n.nextPart.get(i);a||(a=ta(),n.nextPart.set(i,a)),n=a}return n},Lf=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Mf=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)}}},eo="!",ys=":",_f=[],xs=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),Df=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 y=o[g];if(i===0&&a===0){if(y===ys){s.push(o.slice(c,g)),c=g+1;continue}if(y==="/"){l=g;continue}}y==="["?i++:y==="]"?i--:y==="("?a++:y===")"&&a--}const f=s.length===0?o:o.slice(c);let m=f,h=!1;f.endsWith(eo)?(m=f.slice(0,-1),h=!0):f.startsWith(eo)&&(m=f.slice(1),h=!0);const b=l&&l>c?l-c:void 0;return xs(s,h,m,b)};if(t){const o=t+ys,s=r;r=i=>i.startsWith(o)?s(i.slice(o.length)):xs(_f,!1,i,void 0,!0)}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},Vf=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}},Ff=e=>({cache:Mf(e.cacheSize),parseClassName:Df(e),sortModifiers:Vf(e),...Nf(e)}),Bf=/\s+/,$f=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(Bf);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 y=!!g,w=r(y?b.substring(0,g):b);if(!w){if(!y){c=d+(c.length>0?" "+c:c);continue}if(w=r(b),!w){c=d+(c.length>0?" "+c:c);continue}y=!1}const v=m.length===0?"":m.length===1?m[0]:s(m).join(":"),x=h?v+eo:v,C=x+w;if(i.indexOf(C)>-1)continue;i.push(C);const P=o(w,y);for(let S=0;S<P.length;++S){const E=P[S];i.push(x+E)}c=d+(c.length>0?" "+c:c)}return c},Hf=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=oa(n))&&(o&&(o+=" "),o+=r);return o},oa=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=oa(e[r]))&&(n&&(n+=" "),n+=t);return n},zf=(e,...t)=>{let n,r,o,s;const i=c=>{const l=t.reduce((d,f)=>f(d),e());return n=Ff(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=$f(c,n);return o(c,d),d};return s=i,(...c)=>s(Hf(...c))},Wf=[],ae=e=>{const t=n=>n[e]||Wf;return t.isThemeGetter=!0,t},sa=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ia=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Uf=/^\d+\/\d+$/,qf=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Gf=/\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$/,Zf=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Yf=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Kf=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,lt=e=>Uf.test(e),Y=e=>!!e&&!Number.isNaN(Number(e)),Ve=e=>!!e&&Number.isInteger(Number(e)),jr=e=>e.endsWith("%")&&Y(e.slice(0,-1)),je=e=>qf.test(e),Xf=()=>!0,Qf=e=>Gf.test(e)&&!Zf.test(e),aa=()=>!1,Jf=e=>Yf.test(e),ep=e=>Kf.test(e),tp=e=>!V(e)&&!F(e),np=e=>Pt(e,ua,aa),V=e=>sa.test(e),Ze=e=>Pt(e,da,Qf),Ir=e=>Pt(e,ap,Y),ws=e=>Pt(e,ca,aa),rp=e=>Pt(e,la,ep),sn=e=>Pt(e,fa,Jf),F=e=>ia.test(e),Ot=e=>Nt(e,da),op=e=>Nt(e,cp),Cs=e=>Nt(e,ca),sp=e=>Nt(e,ua),ip=e=>Nt(e,la),an=e=>Nt(e,fa,!0),Pt=(e,t,n)=>{const r=sa.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Nt=(e,t,n=!1)=>{const r=ia.exec(e);return r?r[1]?t(r[1]):n:!1},ca=e=>e==="position"||e==="percentage",la=e=>e==="image"||e==="url",ua=e=>e==="length"||e==="size"||e==="bg-size",da=e=>e==="length",ap=e=>e==="number",cp=e=>e==="family-name",fa=e=>e==="shadow",lp=()=>{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"),y=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"],P=()=>[...C(),F,V],S=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],N=()=>[F,V,c],k=()=>[lt,"full","auto",...N()],_=()=>[Ve,"none","subgrid",F,V],D=()=>["auto",{span:["full",Ve,F,V]},Ve,F,V],B=()=>[Ve,"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=()=>[lt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],A=()=>[e,F,V],L=()=>[...C(),Cs,ws,{position:[F,V]}],U=()=>["no-repeat",{repeat:["","x","y","space","round"]}],z=()=>["auto","cover","contain",sp,np,{size:[F,V]}],X=()=>[jr,Ot,Ze],J=()=>["","none","full",l,F,V],Q=()=>["",Y,Ot,Ze],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"],M=()=>[Y,jr,Cs,ws],q=()=>["","none",b,F,V],ee=()=>["none",Y,F,V],G=()=>["none",Y,F,V],$=()=>[Y,F,V],j=()=>[lt,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[je],breakpoint:[je],color:[Xf],container:[je],"drop-shadow":[je],ease:["in","out","in-out"],font:[tp],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[je],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[je],shadow:[je],spacing:["px",Y],text:[je],"text-shadow":[je],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",lt,V,F,y]}],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:P()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[Ve,"auto",F,V]}],basis:[{basis:[lt,"full","auto",a,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Y,lt,"auto","initial","none",V]}],grow:[{grow:["",Y,F,V]}],shrink:[{shrink:["",Y,F,V]}],order:[{order:[Ve,"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,Ze]}],"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",jr,V]}],"font-family":[{font:[op,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,Ze]}],"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:L()}],"bg-repeat":[{bg:U()}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ve,F,V],radial:["",F,V],conic:[Ve,F,V]},ip,rp]}],"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,Ze]}],"outline-color":[{outline:A()}],shadow:[{shadow:["","none",d,an,sn]}],"shadow-color":[{shadow:A()}],"inset-shadow":[{"inset-shadow":["none",f,an,sn]}],"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,Ze]}],"ring-offset-color":[{"ring-offset":A()}],"inset-ring-w":[{"inset-ring":Q()}],"inset-ring-color":[{"inset-ring":A()}],"text-shadow":[{"text-shadow":["none",m,an,sn]}],"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":M()}],"mask-image-linear-to-pos":[{"mask-linear-to":M()}],"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":M()}],"mask-image-t-to-pos":[{"mask-t-to":M()}],"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":M()}],"mask-image-r-to-pos":[{"mask-r-to":M()}],"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":M()}],"mask-image-b-to-pos":[{"mask-b-to":M()}],"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":M()}],"mask-image-l-to-pos":[{"mask-l-to":M()}],"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":M()}],"mask-image-x-to-pos":[{"mask-x-to":M()}],"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":M()}],"mask-image-y-to-pos":[{"mask-y-to":M()}],"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":M()}],"mask-image-radial-to-pos":[{"mask-radial-to":M()}],"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":M()}],"mask-image-conic-to-pos":[{"mask-conic-to":M()}],"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:L()}],"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,an,sn]}],"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":P()}],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:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:j()}],"translate-x":[{"translate-x":j()}],"translate-y":[{"translate-y":j()}],"translate-z":[{"translate-z":j()}],"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,Ze,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"]}},up=zf(lp);function K(...e){return up(Cf(e))}const dp={"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 Ss(e){const{className:t,type:n}=e,r=dp[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 Es(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 Ps([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 fp(e,t,n=4.5){const r=Ss(e),o=Ss(t),s=Es(r),i=Es(o),a=Ps(s),c=Ps(i),l=Math.max(a,c),d=Math.min(a,c);return(l+.05)/(d+.05)>=n}const pp={className:"text-smoke",type:"text"};function Zt(e,t,n,r){const o={containerStrokeClasses:"",detailPageStrokeClasses:""};if(!t||n==="connect")return o;const c=`border-b-2 print:border-transparent ${fp({className:e,type:"background"},pp)?"border-white/30":"border-smoke"}`;return{containerStrokeClasses:r?"":c,detailPageStrokeClasses:r?c:""}}const Or="pt-15 lg:pt-20";function Eo(e,t,n){return n==="digital"&&e==="navy"||n==="connect"&&e==="cloud"||n==="digital"&&t?Or:""}function pa(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 mp(e){const t={};return e["aria-describedby"]!==void 0&&(t["aria-describedby"]=e["aria-describedby"]),e["aria-label"]!==void 0&&(t["aria-label"]=e["aria-label"]),e["aria-labelledby"]!==void 0&&(t["aria-labelledby"]=e["aria-labelledby"]),e.className!==void 0&&(t.className=e.className),e.download!==void 0&&(t.download=e.download),e.id!==void 0&&(t.id=e.id),e.rel!==void 0&&(t.rel=e.rel),e.target!==void 0&&(t.target=e.target),e.title!==void 0&&(t.title=e.title),t}function hp(e){return e?"href"in e&&typeof e.href=="string"?e:"value"in e?e.value??null:null:null}function gp(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 bt(e){if(!e||typeof e=="boolean")return null;if(Array.isArray(e)){for(const t of e){const n=bt(t);if(n)return n}return null}if(R.isValidElement(e)){const t=e,n=mp(t.props);if(typeof t.props.href=="string")return{href:t.props.href,target:n.target??"",...n};const r=hp(t.props.field);if(r){const i=gp(r);if(i)return{href:i,target:n.target??r.target??"",...n}}const o=bt(t.props.children);if(o)return o;const s=pa(t);if(s){const i=bt(s);if(i)return i}return null}return null}function vp(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 Sn(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(Sn).join("");if(R.isValidElement(e)){const t=e,n=Sn(t.props.children);if(n)return n;const r=vp(t.props.field);if(r)return r;const o=pa(t);return o?Sn(o):""}return""}function bp(){const e=window.location.href;return navigator.clipboard.writeText(e)}function yp(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 wp(){const e=encodeURIComponent(window.location.href);window.open(`https://www.facebook.com/sharer/sharer.php?u=${e}`,"_blank")}function Cp(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 Sp(){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 Ep({className:e,...t}){return u.jsx(Yi,{"data-slot":"accordion-item",className:e,...t})}function Pp({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 Np="(min-width: 1024px)",Ap='[data-slot="accordion-item"]',Rp="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(e){e.forEach(t=>{t.style.position="",t.style.top="",t.style.left="",t.style.width=""})}function Rs(e){return Array.from(e.querySelectorAll(Ap))}function Tp(e,t,n){if(!n.matches){e.style.height="",e.style.position="",ba(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 jp(e){const t=window.matchMedia(Np);let n=[],r=null;const o=()=>{r===null&&(r=window.requestAnimationFrame(()=>{r=null,Tp(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),ba(n),e.style.height="",e.style.position=""}}function kp(){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 Ip({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 Op({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(Ep,{className:"print:hidden",disabled:t,value:o,children:[u.jsxs(Pp,{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",a),children:[u.jsx("div",{className:"flex-1 text-left",children:r}),u.jsx(kp,{})]}),u.jsx(va,{className:K("flex flex-col items-start gap-6 pb-16.5 pt-4 px-5 @lg:px-10 *:max-w-225",i),style:{clipPath:Rp},children:e})]}),u.jsx(Ip,{triggerText:r,children:e})]})}function Mp({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 jp(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 Lp(e){return e===1?{carouselNavigationClasses:"hidden",carouselNavigationContainerClasses:"justify-end"}:e===2?{carouselNavigationClasses:"md:hidden",carouselNavigationContainerClasses:"md:justify-end"}:{carouselNavigationClasses:"",carouselNavigationContainerClasses:""}}function _p(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 Dp({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}=Lp(f),{resolvedBackground:y,hasSideColPadding:g}=ta(e,a,So(a)),b=ea[y],{buttonIconVariant:w,buttonVariant:v,paginationVariant:x}=_p(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(Yc,{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 Vp({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 Fp({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 Bp({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 $p({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 Hp({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 ya=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"})))),xa=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 zp({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(xa,{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(ya,{className:"size-4"}),o]})})]})]})}function Wp({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 Up="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 qp(e){return e==="digital"?{borderClasses:"border-white/30 print:border-charcoal-100",buttonVariant:"primary-digital",containerStyles:{background:Up,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 Gp({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}=qp(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($p,{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(Bp,{dividerClasses:C,event:i}),d&&u.jsx(Hp,{dividerClasses:C,insight:d}),f&&u.jsx(zp,{dividerClasses:C,person:f,textCtaVariant:E}),u.jsx(We,{variant:v,children:n}),u.jsx(Wp,{email:m,phone:h})]})]}),g&&u.jsx(Fp,{backgroundVideo:e,image:l,variant:y}),t]})}function Zp(e){return Object.prototype.toString.call(e)==="[object Object]"}function js(e){return Zp(e)||Array.isArray(e)}function Yp(){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 Kp(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 Xp(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 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 wa(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?wa(s,i):i}),n),{})}function ro(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function Jp(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 em(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 tm(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 Ca(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 Ca(e,a(),n)}const f={get:a,set:c,add:l,clone:d};return f}function nm(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=Xp(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 rm(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 om(){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 sm(e){function t(r){return e*(r/100)}return{measure:t}}function im(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 am(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 cm(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 lm(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 um(e,t,n){const r=t[0],o=n?r-e:ye(t);return{limit:Je(o,r)}}function dm(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 fm(e){const{max:t,length:n}=e;function r(s){const i=s-t;return n?i/-n:0}return{get:r}}function pm(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 mm(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 hm(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 gm(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 vm(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 Sa(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 bm(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:Sa(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 ym(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 xm(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 wm(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 Cm(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 Sm(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=om(),j=N.measure(t),_=n.map(N.measure),D=tm(c,l),B=D.measureSize(j),W=sm(B),H=Jp(a,B),I=!f&&!!v,T=f||!!v,{slideSizes:O,slideSizesWithGaps:A,startGap:M,endGap:U}=wm(D,j,_,n,T,o),z=Cm(D,B,b,f,j,_,M,U,P),{snaps:X,snapsAligned:J}=pm(D,H,j,_,z),Q=-ye(X)+ye(A),{snapsContained:ce,scrollContainLimit:le}=lm(B,Q,J,v,P),L=I?ce:J,{limit:q}=um(Q,L,f),ee=Ca(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:gl,scrollLooper:vl,slideLooper:bl,dragHandler:yl,animation:xl,eventHandler:Ko,scrollBounds:wl,options:{loop:Xo}},Qo)=>{const Jo=ct.settled(),Cl=!wl.shouldConstrain(),es=Xo?Jo:Jo&&Cl,ts=es&&!yl.pointerDown();ts&&xl.stop();const Sl=Cr.get()*Qo+gl.get()*(1-Qo);nn.set(Sl),Xo&&(vl.loop(ct.direction()),bl.loop()),wr.to(nn.get()),ts&&Ko.emit("settle"),es||Ko.emit("scroll")},te=em(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=am(fe,me,je,Ze,m,ie),br=hm(f,L,Q,q,Ze),yr=gm(te,ee,G,jt,br,Ze,i),Go=fm(q),Zo=zt(),ml=xm(t,n,i,g),{slideRegistry:Yo}=mm(I,v,L,le,z,$),hl=vm(e,n,Yo,yr,jt,Zo,i,S),xr={ownerDocument:r,ownerWindow:o,eventHandler:i,containerRect:j,slideRects:_,animation:te,axis:D,dragHandler:nm(D,e,r,o,Ze,rm(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:im(t,i,o,n,D,x,N),scrollBody:jt,scrollBounds:cm(q,me,Ze,jt,W),scrollLooper:dm(Q,q,me,[fe,me,je,Ze]),scrollProgress:Go,scrollSnapList:L.map(Go.get),scrollSnaps:L,scrollTarget:br,scrollTo:yr,slideLooper:bm(D,B,Q,O,A,X,L,me,n),slideFocus:hl,slidesHandler:ym(t,i,C),slidesInView:ml,slideIndexes:$,slideRegistry:Yo,slidesToScroll:z,target:Ze,translate:Sa(D,t)};return xr}function Em(){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 Pm={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 Nm(e){function t(s,i){return wa(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 Am(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=Nm(o),i=Am(s),a=zt(),c=Em(),{mergeOptions:l,optionsAtMedia:d,optionsMediaQueries:f}=s,{on:m,off:h,emit:y}=c,g=D;let b=!1,w,v=l(Pm,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=Sm(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(()=>{Kp(r.current,t)||(r.current=t,c())},[t,c]),R.useEffect(()=>{if(Yp()&&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 Ea=p.createContext(null);function tr(){const e=p.useContext(Ea);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}function Pa({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(Ea.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 Na({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 Aa({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 Rm({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 Tm({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 jm({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 km(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,Im(o,...t)]}function Im(...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 Om(e){const t=Mm(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(_m);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 Mm(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=Vm(o),a=Dm(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 Lm=Symbol("radix.slottable");function _m(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Lm}function Dm(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 Vm(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 Fm=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],re=Fm.reduce((e,t)=>{const n=Om(`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 Bm(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 $m(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 Hm="DismissableLayer",oo="dismissableLayer.update",zm="dismissableLayer.pointerDownOutside",Wm="dismissableLayer.focusOutside",Ls,Ra=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(Ra),[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=Gm(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=Zm(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 $m(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=Hm;var Um="DismissableLayerBranch",qm=p.forwardRef((e,t)=>{const n=p.useContext(Ra),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})});qm.displayName=Um;function Gm(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(){Ta(zm,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 Zm(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&&Ta(Wm,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 Ta(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?Bm(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},Ym="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||(Km(th(ja(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]=Xm(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=Ym;function Km(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Be(r,{select:t}),document.activeElement!==n)return}function Xm(e){const t=ja(e),n=Fs(t,e),r=Fs(t.reverse(),e);return[n,r]}function ja(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(!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 Jm(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&&Jm(e)&&t&&e.select()}}var Bs=eh();function eh(){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 th(e){return e.filter(t=>t.tagName!=="A")}var de=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},nh=p[" useId ".trim().toString()]||(()=>{}),rh=0;function Xe(e){const[t,n]=p.useState(nh());return de(()=>{n(r=>r??String(rh++))},[e]),e||(t?`radix-${t}`:"")}var oh=typeof document<"u",sh=function(){},En=oh?R.useLayoutEffect:sh;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 ka(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Hs(e,t){const n=ka(e);return Math.round(t*n)/n}function Vr(e){const t=p.useRef(e);return En(()=>{t.current=e}),t}function ih(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),rf(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)",...ka(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 ah=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):{}}}},ch=(e,t)=>({...Xd(e),options:[e,t]}),lh=(e,t)=>({...Qd(e),options:[e,t]}),uh=(e,t)=>({...nf(e),options:[e,t]}),dh=(e,t)=>({...Jd(e),options:[e,t]}),fh=(e,t)=>({...ef(e),options:[e,t]}),ph=(e,t)=>({...tf(e),options:[e,t]}),mh=(e,t)=>({...ah(e),options:[e,t]});var hh="Arrow",Ia=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"})})});Ia.displayName=hh;var gh=Ia;function vh(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",[Oa,or]=Xt(Io),[bh,Ma]=Oa(Io),La=e=>{const{__scopePopper:t,children:n}=e,[r,o]=p.useState(null);return u.jsx(bh,{scope:t,anchor:r,onAnchorChange:o,children:n})};La.displayName=Io;var _a="PopperAnchor",Da=p.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=Ma(_a,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})});Da.displayName=_a;var Oo="PopperContent",[yh,xh]=Oa(Oo),Va=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=Ma(Oo,n),[w,v]=p.useState(null),x=se(t,Z=>v(Z)),[C,E]=p.useState(null),S=vh(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(Ch),altBoundary:B},{refs:H,floatingStyles:I,placement:T,isPositioned:O,middlewareData:A}=ih({strategy:"fixed",placement:j,whileElementsMounted:(...Z)=>Kd(...Z,{animationFrame:h==="always"}),elements:{reference:b.anchor},middleware:[ch({mainAxis:o+N,alignmentAxis:i}),c&&lh({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?uh():void 0,...W}),c&&dh({...W}),fh({...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&&mh({element:C,padding:a}),Sh({arrowWidth:P,arrowHeight:N}),m&&ph({strategy:"referenceHidden",...W})]}),[M,U]=$a(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(yh,{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"}})})})});Va.displayName=Oo;var Fa="PopperArrow",wh={top:"bottom",right:"left",bottom:"top",left:"right"},Ba=p.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=xh(Fa,r),i=wh[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(gh,{...o,ref:n,style:{...o.style,display:"block"}})})});Ba.displayName=Fa;function Ch(e){return e!==null}var Sh=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]=$a(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 $a(e){const[t,n="center"]=e.split("-");return[t,n]}var Ha=La,Mo=Da,za=Va,Wa=Ba,Eh="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=Eh;function Ph(e,t){return p.useReducer((n,r)=>t[n][r]??n,e)}var At=e=>{const{present:t,children:n}=e,r=Nh(t),o=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),s=se(r.ref,Ah(o));return typeof n=="function"||r.isPresent?p.cloneElement(o,{ref:s}):null};At.displayName="Presence";function Nh(e){const[t,n]=p.useState(),r=p.useRef(null),o=p.useRef(e),s=p.useRef("none"),i=e?"mounted":"unmounted",[a,c]=Ph(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 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)}function Rh(e){const t=Th(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(kh);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 Th(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=Oh(o),a=Ih(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 jh=Symbol("radix.slottable");function kh(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===jh}function Ih(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 Oh(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 Mh=p[" useInsertionEffect ".trim().toString()]||de;function Dn({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=Lh({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=_h(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 Lh({defaultProp:e,onChange:t}){const[n,r]=p.useState(e),o=p.useRef(n),s=p.useRef(t);return Mh(()=>{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 _h(e){return typeof e=="function"}var Dh=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,Ua=function(e){return e&&(e.host||Ua(e.parentNode))},Vh=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Ua(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})},Fh=function(e,t,n,r){var o=Vh(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=Dh(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Fh(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 qa(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 Bh(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",$h="with-scroll-bars-hidden",Hh="--removed-body-scroll-bar-size";function Br(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function zh(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 Wh=typeof window<"u"?p.useLayoutEffect:p.useEffect,zs=new WeakMap;function Uh(e,t){var n=zh(null,function(r){return e.forEach(function(o){return Br(o,r)})});return Wh(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 qh(e){return e}function Gh(e,t){t===void 0&&(t=qh);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 Zh(e){e===void 0&&(e={});var t=Gh(null);return t.options=Ee({async:!0,ssr:!1},e),t}var Ga=function(e){var t=e.sideCar,n=qa(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))};Ga.isSideCarExport=!0;function Yh(e,t){return e.useMedium(t),Ga}var Za=Zh(),$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=qa(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=m,S=Uh([n,t]),P=Ee(Ee({},C),o);return p.createElement(p.Fragment,null,d&&p.createElement(E,{sideCar:Za,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 Kh=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Xh(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Kh();return t&&e.setAttribute("nonce",t),e}function Qh(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Jh(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var eg=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Xh())&&(Qh(t,n),Jh(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tg=function(){var e=eg();return function(t,n){p.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ya=function(){var e=tg(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},ng={left:0,top:0,right:0,gap:0},Hr=function(e){return parseInt(e||"",10)||0},rg=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)]},og=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return ng;var t=rg(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])}},sg=Ya(),yt="data-scroll-locked",ig=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(
|
|
3
|
+
${window.location.href}`)}function xp(){const e=encodeURIComponent(window.location.href);window.open(`https://www.facebook.com/sharer/sharer.php?u=${e}`,"_blank")}function wp(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 Cp(){const e=encodeURIComponent(window.location.href);window.open(`https://www.linkedin.com/sharing/share-offsite/?url=${e}`,"_blank")}const ma=p.forwardRef(({className:e,collapsible:t,type:n="single",...r},o)=>{const s=n==="multiple";return u.jsx(Xi,{ref:o,"data-slot":"accordion",className:e,collapsible:s?!0:t,lazyMount:!1,multiple:s,unmountOnExit:!1,...r})});ma.displayName="Accordion";function Sp({className:e,...t}){return u.jsx(Gi,{"data-slot":"accordion-item",className:e,...t})}function Ep({className:e,children:t,...n}){return u.jsx("div",{className:"flex",children:u.jsx(Ki,{"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 ha=p.forwardRef(({className:e,children:t,forceMount:n,style:r,...o},s)=>{const i={...r,"--accordion-content-height":"var(--height)"};return u.jsx(Yi,{"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})})});ha.displayName="AccordionContent";const Pp="(min-width: 1024px)",Np='[data-slot="accordion-item"]',Ap="polygon(100% 0, 100% calc(100% - 66px), calc(100% - 66px) 100%, 0 100%, 0 0)",Ns="absolute bg-white h-[3px] left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-5";function ga(e){e.forEach(t=>{t.style.position="",t.style.top="",t.style.left="",t.style.width=""})}function As(e){return Array.from(e.querySelectorAll(Np))}function Rp(e,t,n){if(!n.matches){e.style.height="",e.style.position="",ga(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 Tp(e){const t=window.matchMedia(Pp);let n=[],r=null;const o=()=>{r===null&&(r=window.requestAnimationFrame(()=>{r=null,Rp(e,As(e),t)}))},s=new ResizeObserver(()=>{o()});s.observe(e);const i=()=>{const l=As(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),ga(n),e.style.height="",e.style.position=""}}function kp(){return u.jsxs("div",{"aria-hidden":"true",className:"relative size-5",children:[u.jsx("div",{className:Ns}),u.jsx("div",{className:K(Ns,"duration-300 in-data-[state=closed]:rotate-90 transition-all")})]})}function jp({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 Ip({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(Sp,{className:"print:hidden",disabled:t,value:o,children:[u.jsxs(Ep,{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",a),children:[u.jsx("div",{className:"flex-1 text-left",children:r}),u.jsx(kp,{})]}),u.jsx(ha,{className:K("flex flex-col items-start gap-6 pb-16.5 pt-4 px-5 @lg:px-10 *:max-w-225",i),style:{clipPath:Ap},children:e})]}),u.jsx(jp,{triggerText:r,children:e})]})}function Op({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=Co(l),{containerStrokeClasses:h,detailPageStrokeClasses:b}=Zt(f,i,l,r),g=Eo(m,i,l);return R.useLayoutEffect(()=>{const y=d.current;if(!(!y||!c))return Tp(y)},[c]),u.jsx(_e,{detailWidth:r,outerClassName:K("@container",f,h,g,t,"print:bg-white"),children:u.jsxs("div",{className:`composite-pb ${b}`,children:[u.jsx("div",{className:"content-accordion-headline",children:s}),u.jsx(ma,{ref:d,className:K("content-accordion-list",c&&"content-accordion-list-two-column"),defaultValue:n,disabled:o,type:"multiple",children:R.Children.map(e,y=>R.isValidElement(y)?R.cloneElement(y,{openBackground:a,variant:l}):y)})]})})}function Lp(e){return e===1?{carouselNavigationClasses:"hidden",carouselNavigationContainerClasses:"justify-end"}:e===2?{carouselNavigationClasses:"md:hidden",carouselNavigationContainerClasses:"md:justify-end"}:{carouselNavigationClasses:"",carouselNavigationContainerClasses:""}}function Mp(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 _p({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}=Lp(f),{resolvedBackground:b,hasSideColPadding:g}=Ji(e,a,Co(a)),y=Qi[b],{buttonIconVariant:w,buttonVariant:v,paginationVariant:x}=Mp(a,b),{containerStrokeClasses:C,detailPageStrokeClasses:P}=Zt(y,i,a,s),S=Eo(b,i,a);return u.jsx(_e,{detailWidth:s,outerClassName:`print:hidden ${y} ${C} ${S} ${r}`,sideColPadded:g,children:u.jsxs("div",{className:`composite-pb ${P}`,children:[u.jsx(Gc,{parentSetActiveIndex:l,ref:d,children:R.Children.map(n,E=>R.isValidElement(E)?R.cloneElement(E,{buttonIconVariant:w}):E)}),u.jsxs("div",{className:`flex items-center justify-between mt-8 ${h}`,children:[u.jsx(vr,{activeIndex:c,className:m,count:f,onNext:()=>{var E;return(E=d.current)==null?void 0:E.next()},onPrevious:()=>{var E;return(E=d.current)==null?void 0:E.prev()},variant:x}),u.jsx(ze,{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 Dp({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(ze,{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 Vp({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(Fo,{...n,ref:s}),u.jsx("div",{className:"absolute inset-0",children:u.jsx(_e,{className:"h-full",children:u.jsx("div",{className:"absolute bottom-8 right-5 md:right-15 lg:right-30",children:u.jsx(en,{label:"play video",onClick:a,isPlaying:r,variant:i})})})})]})]})}function Ft({className:e=""}){return u.jsx("span",{className:`h-3.5 w-0.5 ${e}`})}function Fp({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(Ft,{className:e}),t.location]})}function Bp({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(Uo,{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(Ft,{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(Ft,{className:e}),t.authorTwo]})]})}const va=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"})))),ba=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 Hp({dividerClasses:e="",person:t,textCtaVariant:n}){var o;const r=typeof t.linkedInUrl=="string"?t.linkedInUrl:(o=bt(t.linkedInUrl))==null?void 0:o.href;return u.jsxs("div",{className:"flex flex-col gap-1 mb-6",children:[!!(r||t.location)&&u.jsxs("div",{className:"flex gap-2 items-center",children:[!!r&&u.jsx(Be,{href:r,socialPlatform:"linkedin",variant:n}),!!(r&&t.location)&&u.jsx(Ft,{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})]}),!!(t.phone||t.fax)&&u.jsxs("div",{className:"b-base flex gap-2 items-center text-navy-500",children:[!!t.phone&&u.jsx(Ne,{className:"b-base font-bold print:inline-flex!",variant:n,children:u.jsxs("span",{children:[u.jsx(ba,{className:"size-4"}),t.phone]})}),!!(t.phone&&t.fax)&&u.jsx(Ft,{className:e}),!!t.fax&&u.jsx(Ne,{className:"b-base font-bold print:inline-flex!",variant:n,children:u.jsxs("span",{children:[u.jsx(va,{className:"size-4"}),t.fax]})})]})]})}function zp({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 Wp="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 Up(e){return e==="digital"?{borderClasses:"border-white/30 print:border-charcoal-100",buttonVariant:"primary-digital",containerStyles:{background:Wp,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 qp({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),y=g?"mb-12":"mb-20",{borderClasses:w,buttonVariant:v,containerStyles:x,dividerClasses:C,textCtaVariant:P}=Up(b),S=b==="digital"?"bg-navy-1000":"bg-white",{containerStrokeClasses:E}=Zt(S,c,b);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!",E,o),"data-variant":b,style:x,children:[u.jsxs(_e,{className:`flex flex-col xl:flex-row print:flex-col xl:gap-40 print:gap-0 xl:items-center print:items-stretch ${y}`,children:[u.jsx(Bp,{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(Fp,{dividerClasses:C,event:i}),d&&u.jsx($p,{dividerClasses:C,insight:d}),f&&u.jsx(Hp,{dividerClasses:C,person:f,textCtaVariant:P}),u.jsx(ze,{variant:v,children:n}),u.jsx(zp,{email:m,phone:h})]})]}),g&&u.jsx(Vp,{backgroundVideo:e,image:l,variant:b}),t]})}function Gp(e){return Object.prototype.toString.call(e)==="[object Object]"}function Rs(e){return Gp(e)||Array.isArray(e)}function Zp(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Po(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}`:!Rs(a)||!Rs(c)?a===c:Po(a,c)})}function Ts(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function Yp(e,t){if(e.length!==t.length)return!1;const n=Ts(e),r=Ts(t);return n.every((o,s)=>{const i=r[s];return Po(o,i)})}function No(e){return typeof e=="number"}function to(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 Ao(e){return Math.sign(e)}function Dt(e,t){return oe(e-t)}function Kp(e,t){if(e===0||t===0||oe(e)<=oe(t))return 0;const n=Dt(oe(e),oe(t));return oe(n/e)}function Xp(e){return Math.round(e*100)/100}function Bt(e){return $t(e).map(Number)}function ye(e){return e[Yt(e)]}function Yt(e){return Math.max(0,e.length-1)}function Ro(e,t){return t===Yt(e)}function js(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function $t(e){return Object.keys(e)}function ya(e,t){return[e,t].reduce((n,r)=>($t(r).forEach(o=>{const s=n[o],i=r[o],a=ks(s)&&ks(i);n[o]=a?ya(s,i):i}),n),{})}function no(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function Qp(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 to(e)?n[e](c):e(t,c,l)}return{measure:i}}function Ht(){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 Jp(e,t,n,r){const o=Ht(),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(y){if(!c)return;i||(i=y,n(),n());const w=y-i;for(i=y,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 em(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:y}=b;return r?g:y}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 Qe(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 xa(e,t,n){const{constrain:r}=Qe(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 xa(e,a(),n)}const f={get:a,set:c,add:l,clone:d};return f}function tm(e,t,n,r,o,s,i,a,c,l,d,f,m,h,b,g,y,w,v){const{cross:x,direction:C}=e,P=["INPUT","SELECT","TEXTAREA"],S={passive:!1},E=Ht(),N=Ht(),k=Qe(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,L=!1;function U(j){if(!v)return;function Z(ie){(er(v)||v(j,ie))&&le(ie)}const te=t;E.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(){E.clear(),N.clear()}function X(){const j=L?n:t;N.add(j,"touchmove",M,S).add(j,"touchend",q).add(j,"mousemove",M,S).add(j,"mouseup",q)}function J(j){const Z=j.nodeName||"";return P.includes(Z)}function Q(){return(b?D:_)[L?"mouse":"touch"]}function ce(j,Z){const te=f.add(Ao(j)*-1),ie=d.byDistance(j,!b).distance;return b||oe(j)<k?ie:y&&Z?ie*.5:d.byIndex(te.get(),0).distance}function le(j){const Z=no(j,r);L=Z,A=b&&Z&&!j.buttons&&W,W=Dt(o.get(),i.get())>=2,!(Z&&j.button!==0)&&(J(j.target)||(T=!0,s.pointerDown(j),l.useFriction(0).useDuration(0),o.set(i),X(),H=s.readPoint(j),I=s.readPoint(j,x),m.emit("pointerDown")))}function M(j){if(!no(j,r)&&j.touches.length>=2)return q(j);const te=s.readPoint(j),ie=s.readPoint(j,x),ue=Dt(te,H),fe=Dt(ie,I);if(!O&&!L&&(!j.cancelable||(O=ue>fe,!O)))return q(j);const ke=s.pointerMove(j);ue>g&&(A=!0),l.useFriction(.3).useDuration(.75),a.start(),o.add(C(ke)),j.preventDefault()}function q(j){const te=d.byDistance(0,!1).index!==f.get(),ie=s.pointerUp(j)*Q(),ue=ce(C(ie),te),fe=Kp(ie,ue),ke=B-10*fe,me=w+fe/50;O=!1,T=!1,N.clear(),l.useDuration(ke).useFriction(me),c.distance(ue,!b),L=!1,m.emit("pointerUp")}function ee(j){A&&(j.stopPropagation(),j.preventDefault(),A=!1)}function G(){return T}return{init:U,destroy:z,pointerDown:G}}function nm(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(no(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 rm(){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 om(e){function t(r){return e*(r/100)}return{measure:t}}function sm(e,t,n,r,o,s,i){const a=[e].concat(r);let c,l,d=[],f=!1;function m(y){return o.measureSize(i.measure(y))}function h(y){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,P=r.indexOf(x.target),S=C?l:d[P],E=m(C?e:r[P]);if(oe(E-S)>=.5){y.reInit(),t.emit("resize");break}}}c=new ResizeObserver(v=>{(er(s)||s(y,v))&&w(v)}),n.requestAnimationFrame(()=>{a.forEach(v=>c.observe(v))})}function b(){f=!0,c&&c.disconnect()}return{init:h,destroy:b}}function im(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(),E=!c;let N=0;return E?(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=Ao(N),f=d,P}function h(){const S=r.get()-t.get();return oe(S)<.001}function b(){return c}function g(){return a}function y(){return i}function w(){return x(o)}function v(){return C(s)}function x(S){return c=S,P}function C(S){return l=S,P}const P={direction:g,duration:b,velocity:y,seek:m,settled:h,useBaseFriction:v,useBaseDuration:w,useFriction:C,useDuration:x};return P}function am(e,t,n,r,o){const s=o.measure(10),i=o.measure(50),a=Qe(.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()),y=n.get()-t.get(),w=a.constrain(g/i);n.subtract(y*w),!h&&oe(y)<s&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function f(h){c=!h}return{shouldConstrain:l,constrain:d,toggleActive:f}}function cm(e,t,n,r,o){const s=Qe(-t+e,0),i=f(),a=d(),c=m();function l(b,g){return Dt(b,g)<=1}function d(){const b=i[0],g=ye(i),y=i.lastIndexOf(b),w=i.indexOf(g)+1;return Qe(y,w)}function f(){return n.map((b,g)=>{const{min:y,max:w}=s,v=s.constrain(b),x=!g,C=Ro(n,g);return x?w:C||l(y,v)?y: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 lm(e,t,n){const r=t[0],o=n?r-e:ye(t);return{limit:Qe(o,r)}}function um(e,t,n,r){const s=t.min+.1,i=t.max+.1,{reachedMin:a,reachedMax:c}=Qe(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 dm(e){const{max:t,length:n}=e;function r(s){const i=s-t;return n?i/-n:0}return{get:r}}function fm(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,y)=>g+c[y])}return{snaps:l,snapsAligned:d}}function pm(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,y)=>{const w=!g,v=Ro(y,g);if(w){const x=ye(y[0])+1;return js(x)}if(v){const x=Yt(s)-ye(y)[0]+1;return js(x,ye(y)[0])}return b})}return{slideRegistry:l}}function mm(e,t,n,r,o){const{reachedAny:s,removeOffset:i,constrain:a}=r;function c(b){return b.concat().sort((g,y)=>oe(g)-oe(y))[0]}function l(b){const g=e?i(b):a(b),y=t.map((v,x)=>({diff:d(v-g,0),index:x})).sort((v,x)=>oe(v.diff)-oe(x.diff)),{index:w}=y[0];return{index:w,distance:g}}function d(b,g){const y=[b,b+n,b-n];if(!e)return b;if(!g)return c(y);const w=y.filter(v=>Ao(v)===g);return w.length?c(w):ye(y)-n}function f(b,g){const y=t[b]-o.get(),w=d(y,g);return{index:b,distance:w}}function m(b,g){const y=o.get()+b,{index:w,distance:v}=l(y),x=!e&&s(y);if(!g||x)return{index:w,distance:b};const C=t[w]-v,P=b+d(C,0);return{index:w,distance:P}}return{byDistance:m,byIndex:f,shortcut:d}}function hm(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 gm(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(x=>x.includes(g));No(v)&&(o.useDuration(0),r.index(v,0),i.emit("slideFocus"))}s.add(document,"keydown",f,!1),t.forEach((g,y)=>{s.add(g,"focus",w=>{(er(a)||a(h,w))&&b(y)},c)})}function f(h){h.code==="Tab"&&(l=new Date().getTime())}return{init:d}}function Mt(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 No(c)?c:c.get()}return{get:n,set:r,add:o,subtract:s}}function wa(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=Xp(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 vm(e,t,n,r,o,s,i,a,c){const d=Bt(o),f=Bt(o).reverse(),m=w().concat(v());function h(E,N){return E.reduce((k,_)=>k-o[_],N)}function b(E,N){return E.reduce((k,_)=>h(k,N)>0?k.concat([_]):k,[])}function g(E){return s.map((N,k)=>({start:N-r[k]+.5+E,end:N+t-.5+E}))}function y(E,N,k){const _=g(N);return E.map(D=>{const B=k?0:-n,W=k?n:0,H=k?"end":"start",I=_[D][H];return{index:D,loopPoint:I,slideLocation:Mt(-1),translate:wa(e,c[D]),target:()=>a.get()>I?B:W}})}function w(){const E=i[0],N=b(f,E);return y(N,n,!1)}function v(){const E=t-i[0]-1,N=b(d,E);return y(N,-n,!0)}function x(){return m.every(({index:E})=>{const N=d.filter(k=>k!==E);return h(N,t)<=.1})}function C(){m.forEach(E=>{const{target:N,translate:k,slideLocation:_}=E,D=N();D!==_.get()&&(k.to(D),_.set(D))})}function P(){m.forEach(E=>E.translate.clear())}return{canLoop:x,clear:P,loop:C,loopPoints:m}}function bm(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 ym(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 y=t.indexOf(g.target);o[y]=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 $t(o).reduce((g,y)=>{const w=parseInt(y),{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 xm(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=y();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(ye(r));return parseFloat(v.getPropertyValue(`margin-${c}`))}function y(){return n.map((v,x,C)=>{const P=!x,S=Ro(C,x);return P?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 wm(e,t,n,r,o,s,i,a,c){const{startEdge:l,endEdge:d,direction:f}=e,m=No(n);function h(w,v){return Bt(w).filter(x=>x%v===0).map(x=>w.slice(x,x+v))}function b(w){return w.length?Bt(w).reduce((v,x,C)=>{const P=ye(v)||0,S=P===0,E=x===Yt(w),N=o[l]-s[P][l],k=o[l]-s[x][d],_=!r&&S?f(i):0,D=!r&&E?f(a):0,B=oe(k-D-(N+_));return C&&B>t+c&&v.push(x),E&&v.push(w.length),v},[]).map((v,x,C)=>{const P=Math.max(C[x-1]||0);return w.slice(P,v)}):[]}function g(w){return m?h(w,n):b(w)}return{groupSlides:g}}function Cm(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:y,skipSnaps:w,containScroll:v,watchResize:x,watchSlides:C,watchDrag:P,watchFocus:S}=s,E=2,N=rm(),k=N.measure(t),_=n.map(N.measure),D=em(c,l),B=D.measureSize(k),W=om(B),H=Qp(a,B),I=!f&&!!v,T=f||!!v,{slideSizes:O,slideSizesWithGaps:A,startGap:L,endGap:U}=xm(D,k,_,n,T,o),z=wm(D,B,y,f,k,_,L,U,E),{snaps:X,snapsAligned:J}=fm(D,H,k,_,z),Q=-ye(X)+ye(A),{snapsContained:ce,scrollContainLimit:le}=cm(B,Q,J,v,E),M=I?ce:J,{limit:q}=lm(Q,M,f),ee=xa(Yt(M),d,f),G=ee.clone(),$=Bt(n),j=({dragHandler:at,scrollBody:wr,scrollBounds:Cr,options:{loop:tn}})=>{tn||Cr.constrain(at.pointerDown()),wr.seek()},Z=({scrollBody:at,translate:wr,location:Cr,offsetLocation:tn,previousLocation:ml,scrollLooper:hl,slideLooper:gl,dragHandler:vl,animation:bl,eventHandler:Yo,scrollBounds:yl,options:{loop:Ko}},Xo)=>{const Qo=at.settled(),xl=!yl.shouldConstrain(),Jo=Ko?Qo:Qo&&xl,es=Jo&&!vl.pointerDown();es&&bl.stop();const wl=Cr.get()*Xo+ml.get()*(1-Xo);tn.set(wl),Ko&&(hl.loop(at.direction()),gl.loop()),wr.to(tn.get()),es&&Yo.emit("settle"),Jo||Yo.emit("scroll")},te=Jp(r,o,()=>j(xr),at=>Z(xr,at)),ie=.68,ue=M[ee.get()],fe=Mt(ue),ke=Mt(ue),me=Mt(ue),Ge=Mt(ue),kt=im(fe,me,ke,Ge,m,ie),br=mm(f,M,Q,q,Ge),yr=hm(te,ee,G,kt,br,Ge,i),qo=dm(q),Go=Ht(),fl=ym(t,n,i,g),{slideRegistry:Zo}=pm(I,v,M,le,z,$),pl=gm(e,n,Zo,yr,kt,Go,i,S),xr={ownerDocument:r,ownerWindow:o,eventHandler:i,containerRect:k,slideRects:_,animation:te,axis:D,dragHandler:tm(D,e,r,o,Ge,nm(D,o),fe,te,yr,kt,br,ee,i,W,h,b,w,ie,P),eventStore:Go,percentOfView:W,index:ee,indexPrevious:G,limit:q,location:fe,offsetLocation:me,previousLocation:ke,options:s,resizeHandler:sm(t,i,o,n,D,x,N),scrollBody:kt,scrollBounds:am(q,me,Ge,kt,W),scrollLooper:um(Q,q,me,[fe,me,ke,Ge]),scrollProgress:qo,scrollSnapList:M.map(qo.get),scrollSnaps:M,scrollTarget:br,scrollTo:yr,slideLooper:vm(D,B,Q,O,A,X,M,me,n),slideFocus:pl,slidesHandler:bm(t,i,C),slidesInView:fl,slideIndexes:$,slideRegistry:Zo,slidesToScroll:z,target:Ge,translate:wa(D,t)};return xr}function Sm(){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 Em={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 Pm(e){function t(s,i){return ya(s,i||{})}function n(s){const i=s.breakpoints||{},a=$t(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=>$t(i.breakpoints||{})).reduce((i,a)=>i.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function Nm(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 Mn(e,t,n){const r=e.ownerDocument,o=r.defaultView,s=Pm(o),i=Nm(s),a=Ht(),c=Sm(),{mergeOptions:l,optionsAtMedia:d,optionsMediaQueries:f}=s,{on:m,off:h,emit:b}=c,g=D;let y=!1,w,v=l(Em,Mn.globalOptions),x=l(v),C=[],P,S,E;function N(){const{container:$,slides:j}=x;S=(to($)?e.querySelector($):$)||e.children[0];const te=to(j)?S.querySelectorAll(j):j;E=[].slice.call(te||S.children)}function k($){const j=Cm(e,S,E,r,o,$,c);if($.loop&&!j.slideLooper.canLoop()){const Z=Object.assign({},$,{loop:!1});return k(Z)}return j}function _($,j){y||(v=l(v,$),x=d(v),C=j||C,N(),w=k(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&&E.length&&w.dragHandler.init(G),P=i.init(G,C)))}function D($,j){const Z=z();B(),_(l({startIndex:Z},$),j),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(){y||(y=!0,a.clear(),B(),c.emit("destroy"),c.clear())}function H($,j,Z){!x.active||y||(w.scrollBody.useBaseFriction().useDuration(j===!0?0:x.duration),w.scrollTo.index($,Z||0))}function I($){const j=w.index.add(1).get();H(j,$,-1)}function T($){const j=w.index.add(-1).get();H(j,$,1)}function O(){return w.index.add(1).get()!==z()}function A(){return w.index.add(-1).get()!==z()}function L(){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 P}function le(){return w}function M(){return e}function q(){return S}function ee(){return E}const G={canScrollNext:O,canScrollPrev:A,containerNode:q,internalEngine:le,destroy:W,off:h,on:m,emit:b,plugins:ce,previousScrollSnap:X,reInit:g,rootNode:M,scrollNext:I,scrollPrev:T,scrollProgress:U,scrollSnapList:L,scrollTo:H,selectedScrollSnap:z,slideNodes:ee,slidesInView:J,slidesNotInView:Q};return _(t,n),setTimeout(()=>c.emit("init"),0),G}Mn.globalOptions=void 0;function To(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(()=>{Po(n.current,e)||(n.current=e,c())},[e,c]),R.useEffect(()=>{Yp(r.current,t)||(r.current=t,c())},[t,c]),R.useEffect(()=>{if(Zp()&&i){Mn.globalOptions=To.globalOptions;const l=Mn(i,n.current,r.current);return s(l),()=>l.destroy()}else s(void 0)},[i,s]),[a,o]}To.globalOptions=void 0;const Ca=p.createContext(null);function tr(){const e=p.useContext(Ca);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}function Sa({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:o,children:s,...i}){const[a,c]=To({...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(x=>{x&&(d(x.canScrollPrev()),m(x.canScrollNext()),b(x.selectedScrollSnap()))},[]),y=p.useCallback(()=>{c==null||c.scrollPrev()},[c]),w=p.useCallback(()=>{c==null||c.scrollNext()},[c]),v=p.useCallback(x=>{x.key==="ArrowLeft"?(x.preventDefault(),y()):x.key==="ArrowRight"&&(x.preventDefault(),w())},[y,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(Ca.Provider,{value:{carouselRef:a,api:c,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:y,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 Ea({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 Pa({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 Am({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 Rm({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 Tm({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 Is(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function it(...e){return t=>{let n=!1;const r=e.map(o=>{const s=Is(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():Is(e[o],null)}}}}function se(...e){return p.useCallback(it(...e),e)}function km(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,y=p.useMemo(()=>b,Object.values(b));return u.jsx(g.Provider,{value:y,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,jm(o,...t)]}function jm(...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 Im(e){const t=Om(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(Mm);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 Om(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=Dm(o),a=_m(s,o.props);return o.type!==p.Fragment&&(a.ref=r?it(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 Lm=Symbol("radix.slottable");function Mm(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Lm}function _m(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 Dm(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 Vm=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],re=Vm.reduce((e,t)=>{const n=Im(`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 Fm(e,t){e&&Wn.flushSync(()=>e.dispatchEvent(t))}function Je(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 Bm(e,t=globalThis==null?void 0:globalThis.document){const n=Je(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",ro="dismissableLayer.update",Hm="dismissableLayer.pointerDownOutside",zm="dismissableLayer.focusOutside",Os,Na=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(Na),[d,f]=p.useState(null),m=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=p.useState({}),b=se(t,E=>f(E)),g=Array.from(l.layers),[y]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),w=g.indexOf(y),v=d?g.indexOf(d):-1,x=l.layersWithOutsidePointerEventsDisabled.size>0,C=v>=w,P=qm(E=>{const N=E.target,k=[...l.branches].some(_=>_.contains(N));!C||k||(o==null||o(E),i==null||i(E),E.defaultPrevented||a==null||a())},m),S=Gm(E=>{const N=E.target;[...l.branches].some(_=>_.contains(N))||(s==null||s(E),i==null||i(E),E.defaultPrevented||a==null||a())},m);return Bm(E=>{v===l.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},m),p.useEffect(()=>{if(d)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Os=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=Os)}},[d,m,n,l]),p.useEffect(()=>()=>{d&&(l.layers.delete(d),l.layersWithOutsidePointerEventsDisabled.delete(d),Ls())},[d,l]),p.useEffect(()=>{const E=()=>h({});return document.addEventListener(ro,E),()=>document.removeEventListener(ro,E)},[]),u.jsx(re.div,{...c,ref:b,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,P.onPointerDownCapture)})});nr.displayName=$m;var Wm="DismissableLayerBranch",Um=p.forwardRef((e,t)=>{const n=p.useContext(Na),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})});Um.displayName=Wm;function qm(e,t=globalThis==null?void 0:globalThis.document){const n=Je(e),r=p.useRef(!1),o=p.useRef(()=>{});return p.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let c=function(){Aa(Hm,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 Gm(e,t=globalThis==null?void 0:globalThis.document){const n=Je(e),r=p.useRef(!1);return p.useEffect(()=>{const o=s=>{s.target&&!r.current&&Aa(zm,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(ro);document.dispatchEvent(e)}function Aa(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?Fm(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]??Ms()),document.body.insertAdjacentElement("beforeend",e[1]??Ms()),Lr++,()=>{Lr===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Lr--}},[])}function Ms(){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 Mr="focusScope.autoFocusOnMount",_r="focusScope.autoFocusOnUnmount",_s={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=Je(o),d=Je(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:Fe(f.current,{select:!0})},y=function(x){if(h.paused||!a)return;const C=x.relatedTarget;C!==null&&(a.contains(C)||Fe(f.current,{select:!0}))},w=function(x){if(document.activeElement===document.body)for(const P of x)P.removedNodes.length>0&&Fe(a)};document.addEventListener("focusin",g),document.addEventListener("focusout",y);const v=new MutationObserver(w);return a&&v.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",y),v.disconnect()}}},[r,a,h.paused]),p.useEffect(()=>{if(a){Vs.add(h);const g=document.activeElement;if(!a.contains(g)){const w=new CustomEvent(Mr,_s);a.addEventListener(Mr,l),a.dispatchEvent(w),w.defaultPrevented||(Ym(eh(Ra(a)),{select:!0}),document.activeElement===g&&Fe(a))}return()=>{a.removeEventListener(Mr,l),setTimeout(()=>{const w=new CustomEvent(_r,_s);a.addEventListener(_r,d),a.dispatchEvent(w),w.defaultPrevented||Fe(g??document.body,{select:!0}),a.removeEventListener(_r,d),Vs.remove(h)},0)}}},[a,l,d,h]);const b=p.useCallback(g=>{if(!n&&!r||h.paused)return;const y=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,w=document.activeElement;if(y&&w){const v=g.currentTarget,[x,C]=Km(v);x&&C?!g.shiftKey&&w===C?(g.preventDefault(),n&&Fe(x,{select:!0})):g.shiftKey&&w===x&&(g.preventDefault(),n&&Fe(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 Ym(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Fe(r,{select:t}),document.activeElement!==n)return}function Km(e){const t=Ra(e),n=Ds(t,e),r=Ds(t.reverse(),e);return[n,r]}function Ra(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 Ds(e,t){for(const n of e)if(!Xm(n,{upTo:t}))return n}function Xm(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 Qm(e){return e instanceof HTMLInputElement&&"select"in e}function Fe(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Qm(e)&&t&&e.select()}}var Vs=Jm();function Jm(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Fs(e,t),e.unshift(t)},remove(t){var n;e=Fs(e,t),(n=e[0])==null||n.resume()}}}function Fs(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function eh(e){return e.filter(t=>t.tagName!=="A")}var de=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},th=p[" useId ".trim().toString()]||(()=>{}),nh=0;function Ke(e){const[t,n]=p.useState(th());return de(()=>{n(r=>r??String(nh++))},[e]),e||(t?`radix-${t}`:"")}var rh=typeof document<"u",oh=function(){},En=rh?R.useLayoutEffect:oh;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 Ta(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Bs(e,t){const n=Ta(e);return Math.round(t*n)/n}function Dr(e){const t=p.useRef(e);return En(()=>{t.current=e}),t}function sh(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),[y,w]=p.useState(null),v=p.useCallback(A=>{A!==S.current&&(S.current=A,g(A))},[]),x=p.useCallback(A=>{A!==E.current&&(E.current=A,w(A))},[]),C=s||b,P=i||y,S=p.useRef(null),E=p.useRef(null),N=p.useRef(d),k=c!=null,_=Dr(c),D=Dr(o),B=Dr(l),W=p.useCallback(()=>{if(!S.current||!E.current)return;const A={placement:t,strategy:n,middleware:m};D.current&&(A.platform=D.current),tf(S.current,E.current,A).then(L=>{const U={...L,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),P&&(E.current=P),C&&P){if(_.current)return _.current(C,P,W);W()}},[C,P,W,_,k]);const I=p.useMemo(()=>({reference:S,floating:E,setReference:v,setFloating:x}),[v,x]),T=p.useMemo(()=>({reference:C,floating:P}),[C,P]),O=p.useMemo(()=>{const A={position:n,left:0,top:0};if(!T.floating)return A;const L=Bs(T.floating,d.x),U=Bs(T.floating,d.y);return a?{...A,transform:"translate("+L+"px, "+U+"px)",...Ta(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,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 ih=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?vs({element:r.current,padding:o}).fn(n):{}:r?vs({element:r,padding:o}).fn(n):{}}}},ah=(e,t)=>({...Yd(e),options:[e,t]}),ch=(e,t)=>({...Kd(e),options:[e,t]}),lh=(e,t)=>({...ef(e),options:[e,t]}),uh=(e,t)=>({...Xd(e),options:[e,t]}),dh=(e,t)=>({...Qd(e),options:[e,t]}),fh=(e,t)=>({...Jd(e),options:[e,t]}),ph=(e,t)=>({...ih(e),options:[e,t]});var mh="Arrow",ka=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"})})});ka.displayName=mh;var hh=ka;function gh(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 jo="Popper",[ja,or]=Kt(jo),[vh,Ia]=ja(jo),Oa=e=>{const{__scopePopper:t,children:n}=e,[r,o]=p.useState(null);return u.jsx(vh,{scope:t,anchor:r,onAnchorChange:o,children:n})};Oa.displayName=jo;var La="PopperAnchor",Ma=p.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=Ia(La,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})});Ma.displayName=La;var Io="PopperContent",[bh,yh]=ja(Io),_a=p.forwardRef((e,t)=>{var M,q,ee,G,$,j;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,y=Ia(Io,n),[w,v]=p.useState(null),x=se(t,Z=>v(Z)),[C,P]=p.useState(null),S=gh(C),E=(S==null?void 0:S.width)??0,N=(S==null?void 0:S.height)??0,k=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(wh),altBoundary:B},{refs:H,floatingStyles:I,placement:T,isPositioned:O,middlewareData:A}=sh({strategy:"fixed",placement:k,whileElementsMounted:(...Z)=>Zd(...Z,{animationFrame:h==="always"}),elements:{reference:y.anchor},middleware:[ah({mainAxis:o+N,alignmentAxis:i}),c&&ch({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?lh():void 0,...W}),c&&uh({...W}),dh({...W,apply:({elements:Z,rects:te,availableWidth:ie,availableHeight:ue})=>{const{width:fe,height:ke}=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",`${ke}px`)}}),C&&ph({element:C,padding:a}),Ch({arrowWidth:E,arrowHeight:N}),m&&fh({strategy:"referenceHidden",...W})]}),[L,U]=Fa(T),z=Je(b);de(()=>{O&&(z==null||z())},[O,z]);const X=(M=A.arrow)==null?void 0:M.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(" "),...((j=A.hide)==null?void 0:j.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsx(bh,{scope:n,placedSide:L,onArrowChange:P,arrowX:X,arrowY:J,shouldHideArrow:Q,children:u.jsx(re.div,{"data-side":L,"data-align":U,...g,ref:x,style:{...g.style,animation:O?void 0:"none"}})})})});_a.displayName=Io;var Da="PopperArrow",xh={top:"bottom",right:"left",bottom:"top",left:"right"},Va=p.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=yh(Da,r),i=xh[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(hh,{...o,ref:n,style:{...o.style,display:"block"}})})});Va.displayName=Da;function wh(e){return e!==null}var Ch=e=>({name:"transformOrigin",options:e,fn(t){var y,w,v;const{placement:n,rects:r,middlewareData:o}=t,i=((y=o.arrow)==null?void 0:y.centerOffset)!==0,a=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[l,d]=Fa(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 Fa(e){const[t,n="center"]=e.split("-");return[t,n]}var Ba=Oa,Oo=Ma,$a=_a,Ha=Va,Sh="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?zt.createPortal(u.jsx(re.div,{...r,ref:t}),i):null});sr.displayName=Sh;function Eh(e,t){return p.useReducer((n,r)=>t[n][r]??n,e)}var At=e=>{const{present:t,children:n}=e,r=Ph(t),o=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),s=se(r.ref,Nh(o));return typeof n=="function"||r.isPresent?p.cloneElement(o,{ref:s}):null};At.displayName="Presence";function Ph(e){const[t,n]=p.useState(),r=p.useRef(null),o=p.useRef(e),s=p.useRef("none"),i=e?"mounted":"unmounted",[a,c]=Eh(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const l=cn(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=cn(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=cn(r.current).includes(CSS.escape(h.animationName));if(h.target===t&&g&&(c("ANIMATION_END"),!o.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",l=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},m=h=>{h.target===t&&(s.current=cn(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 cn(e){return(e==null?void 0:e.animationName)||"none"}function Nh(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 Ah(e){const t=Rh(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(kh);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 Rh(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=Ih(o),a=jh(s,o.props);return o.type!==p.Fragment&&(a.ref=r?it(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 Th=Symbol("radix.slottable");function kh(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Th}function jh(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 Ih(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 Oh=p[" useInsertionEffect ".trim().toString()]||de;function Dn({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=Lh({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=Mh(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 Lh({defaultProp:e,onChange:t}){const[n,r]=p.useState(e),o=p.useRef(n),s=p.useRef(t);return Oh(()=>{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 Mh(e){return typeof e=="function"}var _h=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ut=new WeakMap,ln=new WeakMap,un={},Vr=0,za=function(e){return e&&(e.host||za(e.parentNode))},Dh=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=za(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})},Vh=function(e,t,n,r){var o=Dh(t,Array.isArray(e)?e:[e]);un[n]||(un[n]=new WeakMap);var s=un[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=(ut.get(m)||0)+1,y=(s.get(m)||0)+1;ut.set(m,g),s.set(m,y),i.push(m),g===1&&b&&ln.set(m,!0),y===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(),Vr++,function(){i.forEach(function(f){var m=ut.get(f)-1,h=s.get(f)-1;ut.set(f,m),s.set(f,h),m||(ln.has(f)||f.removeAttribute(r),ln.delete(f)),h||f.removeAttribute(n)}),Vr--,Vr||(ut=new WeakMap,ut=new WeakMap,ln=new WeakMap,un={})}},Lo=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=_h(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Vh(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 Wa(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 Fh(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",Bh="with-scroll-bars-hidden",$h="--removed-body-scroll-bar-size";function Fr(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Hh(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 zh=typeof window<"u"?p.useLayoutEffect:p.useEffect,$s=new WeakMap;function Wh(e,t){var n=Hh(null,function(r){return e.forEach(function(o){return Fr(o,r)})});return zh(function(){var r=$s.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(a){s.has(a)||Fr(a,null)}),s.forEach(function(a){o.has(a)||Fr(a,i)})}$s.set(n,e)},[e]),n}function Uh(e){return e}function qh(e,t){t===void 0&&(t=Uh);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 Gh(e){e===void 0&&(e={});var t=qh(null);return t.options=Ee({async:!0,ssr:!1},e),t}var Ua=function(e){var t=e.sideCar,n=Wa(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))};Ua.isSideCarExport=!0;function Zh(e,t){return e.useMedium(t),Ua}var qa=Gh(),Br=function(){},ir=p.forwardRef(function(e,t){var n=p.useRef(null),r=p.useState({onScrollCapture:Br,onWheelCapture:Br,onTouchMoveCapture:Br}),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,y=e.allowPinchZoom,w=e.as,v=w===void 0?"div":w,x=e.gapMode,C=Wa(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=m,S=Wh([n,t]),E=Ee(Ee({},C),o);return p.createElement(p.Fragment,null,d&&p.createElement(P,{sideCar:qa,removeScrollBar:l,shards:f,noRelative:h,noIsolation:b,inert:g,setCallbacks:s,allowPinchZoom:!!y,lockRef:n,gapMode:x}),i?p.cloneElement(p.Children.only(a),Ee(Ee({},E),{ref:S})):p.createElement(v,Ee({},E,{className:c,ref:S}),a))});ir.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ir.classNames={fullWidth:Nn,zeroRight:Pn};var Yh=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Kh(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Yh();return t&&e.setAttribute("nonce",t),e}function Xh(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Qh(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Jh=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Kh())&&(Xh(t,n),Qh(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},eg=function(){var e=Jh();return function(t,n){p.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ga=function(){var e=eg(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},tg={left:0,top:0,right:0,gap:0},$r=function(e){return parseInt(e||"",10)||0},ng=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[$r(n),$r(r),$r(o)]},rg=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return tg;var t=ng(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])}},og=Ga(),yt="data-scroll-locked",sg=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(Bh,` {
|
|
5
5
|
overflow: hidden `).concat(r,`;
|
|
6
6
|
padding-right: `).concat(a,"px ").concat(r,`;
|
|
7
7
|
}
|
|
@@ -35,25 +35,25 @@ ${window.location.href}`)}function wp(){const e=encodeURIComponent(window.locati
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
body[`).concat(yt,`] {
|
|
38
|
-
`).concat(
|
|
38
|
+
`).concat($h,": ").concat(a,`px;
|
|
39
39
|
}
|
|
40
|
-
`)},
|
|
40
|
+
`)},Hs=function(){var e=parseInt(document.body.getAttribute(yt)||"0",10);return isFinite(e)?e:0},ig=function(){p.useEffect(function(){return document.body.setAttribute(yt,(Hs()+1).toString()),function(){var e=Hs()-1;e<=0?document.body.removeAttribute(yt):document.body.setAttribute(yt,e.toString())}},[])},ag=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;ig();var s=p.useMemo(function(){return rg(o)},[o]);return p.createElement(og,{styles:sg(s,!t,o,n?"":"!important")})},oo=!1;if(typeof window<"u")try{var dn=Object.defineProperty({},"passive",{get:function(){return oo=!0,!0}});window.addEventListener("test",dn,dn),window.removeEventListener("test",dn,dn)}catch{oo=!1}var dt=oo?{passive:!1}:!1,cg=function(e){return e.tagName==="TEXTAREA"},Za=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!cg(e)&&n[t]==="visible")},lg=function(e){return Za(e,"overflowY")},ug=function(e){return Za(e,"overflowX")},zs=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Ya(e,r);if(o){var s=Ka(e,r),i=s[1],a=s[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},dg=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},fg=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Ya=function(e,t){return e==="v"?lg(t):ug(t)},Ka=function(e,t){return e==="v"?dg(t):fg(t)},pg=function(e,t){return e==="h"&&t==="rtl"?-1:1},mg=function(e,t,n,r,o){var s=pg(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=Ka(e,a),b=h[0],g=h[1],y=h[2],w=g-y-s*b;(b||w)&&Ya(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},fn=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ws=function(e){return[e.deltaX,e.deltaY]},Us=function(e){return e&&"current"in e?e.current:e},hg=function(e,t){return e[0]===t[0]&&e[1]===t[1]},gg=function(e){return`
|
|
41
41
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
42
42
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
43
|
-
`)},bg=0,pt=[];function yg(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),o=p.useState(bg++)[0],s=p.useState(Ya)[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=Bh([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 hg(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)&&gg(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:xg(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:vg(o)}):null,h?p.createElement(cg,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function xg(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const wg=Yh(Za,yg);var ar=p.forwardRef(function(e,t){return p.createElement(ir,Ee({},e,{ref:t,sideCar:wg}))});ar.classNames=ir.classNames;var cr="Popover",[Ja]=Xt(cr,[or]),Qt=or(),[Cg,Ue]=Ja(cr),ec=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(Ha,{...a,children:u.jsx(Cg,{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})})};ec.displayName=cr;var tc="PopoverAnchor",Sg=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ue(tc,n),s=Qt(n),{onCustomAnchorAdd:i,onCustomAnchorRemove:a}=o;return p.useEffect(()=>(i(),()=>a()),[i,a]),u.jsx(Mo,{...s,...r,ref:t})});Sg.displayName=tc;var nc="PopoverTrigger",rc=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ue(nc,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":lc(o.open),...r,ref:i,onClick:ne(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:u.jsx(Mo,{asChild:!0,...s,children:a})});rc.displayName=nc;var _o="PopoverPortal",[Eg,Pg]=Ja(_o,{forceMount:void 0}),oc=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,s=Ue(_o,t);return u.jsx(Eg,{scope:t,forceMount:n,children:u.jsx(At,{present:n||s.open,children:u.jsx(sr,{asChild:!0,container:o,children:r})})})};oc.displayName=_o;var Ct="PopoverContent",sc=p.forwardRef((e,t)=>{const n=Pg(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(Ag,{...o,ref:t}):u.jsx(Rg,{...o,ref:t})})});sc.displayName=Ct;var Ng=Rh("PopoverContent.RemoveScroll"),Ag=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:Ng,allowPinchZoom:!0,children:u.jsx(ic,{...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})})})}),Rg=p.forwardRef((e,t)=>{const n=Ue(Ct,e.__scopePopover),r=p.useRef(!1),o=p.useRef(!1);return u.jsx(ic,{...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()}})}),ic=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(za,{"data-state":lc(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)"}})})})}),ac="PopoverClose",Tg=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ue(ac,n);return u.jsx(re.button,{type:"button",...r,ref:t,onClick:ne(e.onClick,()=>o.onOpenChange(!1))})});Tg.displayName=ac;var jg="PopoverArrow",cc=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Qt(n);return u.jsx(Wa,{...o,...r,ref:t})});cc.displayName=jg;function lc(e){return e?"open":"closed"}var kg=ec,Ig=rc,Og=oc,Mg=sc,Lg=cc;function _g({...e}){return u.jsx(kg,{"data-slot":"popover",...e})}function Dg({...e}){return u.jsx(Ig,{"data-slot":"popover-trigger",...e})}function Vg({className:e,align:t="center",sideOffset:n=4,...r}){return u.jsx(Og,{children:u.jsx(Mg,{"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 Fg({className:e,...t}){return u.jsx(Lg,{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 Bg(e){return e===1?"hidden":""}function $g(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 Hg(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 zg({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=Bg(c),{paginationVariant:h,textColor:y}=$g(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(Pa,{children:[u.jsx(Na,{className:"gap-10",children:v}),u.jsx(jm,{className:`absolute bottom-0 right-0 ${m}`,variant:h})]})})})}const uc=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"})),Wg="polygon(100% 0, 100% calc(100% - 52px), calc(100% - 52px) 100%, 0 100%, 0 0)";function Ug({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}=Hg(a,e),b=Dt(r),w=Ie(r),v=!!(t||s),x=!!(w&&b),C=d?`Play video: ${d}`:"Play video";return u.jsxs(Aa,{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:Wg},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(uc,{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 qg(){return Object.keys(io).reverse().find(e=>window.matchMedia(io[e]).matches)??"2xs"}function Gg(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(Gg,qg,()=>"2xs")}function Zg(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 Yg=typeof global<"u"&&{}.toString.call(global)==="[object global]",Kg=typeof Bun<"u",Xg=typeof Deno<"u",Qg=typeof WebSocketPair=="function"&&typeof(caches==null?void 0:caches.default)<"u",dc=Yg||Kg||Xg||Qg;function Zs(e,t){return e.indexOf(t.toLowerCase())===0?e:`${t.toLowerCase()}${e.substr(0,1).toUpperCase()}${e.substr(1)}`}function Jg(e){return!!(e&&e.nodeType===1&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}function e1(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 fc(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function t1(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 pc(){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(e1(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 n1=typeof Array.prototype.indexOf<"u",r1=typeof window<"u"&&typeof window.postMessage<"u";if(!dc&&(!n1||!r1))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 o1(e,t){return t={exports:{}},e(t,t.exports),t.exports}/*!
|
|
43
|
+
`)},vg=0,ft=[];function bg(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),o=p.useState(vg++)[0],s=p.useState(Ga)[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=Fh([e.lockRef.current],(e.shards||[]).map(Us),!0).filter(Boolean);return g.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=p.useCallback(function(g,y){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!i.current.allowPinchZoom;var w=fn(g),v=n.current,x="deltaX"in g?g.deltaX:v[0]-w[0],C="deltaY"in g?g.deltaY:v[1]-w[1],P,S=g.target,E=Math.abs(x)>Math.abs(C)?"h":"v";if("touches"in g&&E==="h"&&S.type==="range")return!1;var N=window.getSelection(),k=N&&N.anchorNode,_=k?k===S||k.contains(S):!1;if(_)return!1;var D=zs(E,S);if(!D)return!0;if(D?P=E:(P=E==="v"?"h":"v",D=zs(E,S)),!D)return!1;if(!r.current&&"changedTouches"in g&&(x||C)&&(r.current=P),!P)return!0;var B=r.current||P;return mg(B,y,g,B==="h"?x:C)},[]),c=p.useCallback(function(g){var y=g;if(!(!ft.length||ft[ft.length-1]!==s)){var w="deltaY"in y?Ws(y):fn(y),v=t.current.filter(function(P){return P.name===y.type&&(P.target===y.target||y.target===P.shadowParent)&&hg(P.delta,w)})[0];if(v&&v.should){y.cancelable&&y.preventDefault();return}if(!v){var x=(i.current.shards||[]).map(Us).filter(Boolean).filter(function(P){return P.contains(y.target)}),C=x.length>0?a(y,x[0]):!i.current.noIsolation;C&&y.cancelable&&y.preventDefault()}}},[]),l=p.useCallback(function(g,y,w,v){var x={name:g,delta:y,target:w,should:v,shadowParent:yg(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=fn(g),r.current=void 0},[]),f=p.useCallback(function(g){l(g.type,Ws(g),g.target,a(g,e.lockRef.current))},[]),m=p.useCallback(function(g){l(g.type,fn(g),g.target,a(g,e.lockRef.current))},[]);p.useEffect(function(){return ft.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",c,dt),document.addEventListener("touchmove",c,dt),document.addEventListener("touchstart",d,dt),function(){ft=ft.filter(function(g){return g!==s}),document.removeEventListener("wheel",c,dt),document.removeEventListener("touchmove",c,dt),document.removeEventListener("touchstart",d,dt)}},[]);var h=e.removeScrollBar,b=e.inert;return p.createElement(p.Fragment,null,b?p.createElement(s,{styles:gg(o)}):null,h?p.createElement(ag,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function yg(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const xg=Zh(qa,bg);var ar=p.forwardRef(function(e,t){return p.createElement(ir,Ee({},e,{ref:t,sideCar:xg}))});ar.classNames=ir.classNames;var cr="Popover",[Xa]=Kt(cr,[or]),Xt=or(),[wg,We]=Xa(cr),Qa=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:i=!1}=e,a=Xt(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(Ba,{...a,children:u.jsx(wg,{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})})};Qa.displayName=cr;var Ja="PopoverAnchor",Cg=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=We(Ja,n),s=Xt(n),{onCustomAnchorAdd:i,onCustomAnchorRemove:a}=o;return p.useEffect(()=>(i(),()=>a()),[i,a]),u.jsx(Oo,{...s,...r,ref:t})});Cg.displayName=Ja;var ec="PopoverTrigger",tc=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=We(ec,n),s=Xt(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":ac(o.open),...r,ref:i,onClick:ne(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:u.jsx(Oo,{asChild:!0,...s,children:a})});tc.displayName=ec;var Mo="PopoverPortal",[Sg,Eg]=Xa(Mo,{forceMount:void 0}),nc=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,s=We(Mo,t);return u.jsx(Sg,{scope:t,forceMount:n,children:u.jsx(At,{present:n||s.open,children:u.jsx(sr,{asChild:!0,container:o,children:r})})})};nc.displayName=Mo;var Ct="PopoverContent",rc=p.forwardRef((e,t)=>{const n=Eg(Ct,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,s=We(Ct,e.__scopePopover);return u.jsx(At,{present:r||s.open,children:s.modal?u.jsx(Ng,{...o,ref:t}):u.jsx(Ag,{...o,ref:t})})});rc.displayName=Ct;var Pg=Ah("PopoverContent.RemoveScroll"),Ng=p.forwardRef((e,t)=>{const n=We(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:Pg,allowPinchZoom:!0,children:u.jsx(oc,{...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})})})}),Ag=p.forwardRef((e,t)=>{const n=We(Ct,e.__scopePopover),r=p.useRef(!1),o=p.useRef(!1);return u.jsx(oc,{...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()}})}),oc=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=We(Ct,n),h=Xt(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($a,{"data-state":ac(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)"}})})})}),sc="PopoverClose",Rg=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=We(sc,n);return u.jsx(re.button,{type:"button",...r,ref:t,onClick:ne(e.onClick,()=>o.onOpenChange(!1))})});Rg.displayName=sc;var Tg="PopoverArrow",ic=p.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Xt(n);return u.jsx(Ha,{...o,...r,ref:t})});ic.displayName=Tg;function ac(e){return e?"open":"closed"}var kg=Qa,jg=tc,Ig=nc,Og=rc,Lg=ic;function Mg({...e}){return u.jsx(kg,{"data-slot":"popover",...e})}function _g({...e}){return u.jsx(jg,{"data-slot":"popover-trigger",...e})}function Dg({className:e,align:t="center",sideOffset:n=4,...r}){return u.jsx(Ig,{children:u.jsx(Og,{"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 Vg({className:e,...t}){return u.jsx(Lg,{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 Fg(e){return e===1?"hidden":""}function Bg(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 Hg({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}=Ji(e,a,Co(a)),f=Qi[l],m=Fg(c),{paginationVariant:h,textColor:b}=Bg(a,l),{containerStrokeClasses:g,detailPageStrokeClasses:y}=Zt(f,s,a,o),w=Eo(l,s,a),v=R.Children.map(t,x=>R.isValidElement(x)?R.cloneElement(x,{background:l,variant:a}):x);return u.jsx(_e,{detailWidth:o,outerClassName:K("@container",f,g,w,b,n,"print:bg-white print:text-black"),sideColPadded:d,children:u.jsx("div",{className:`composite-pb ${y}`,children:i?u.jsx("div",{className:"flex flex-col gap-10",children:v}):u.jsxs(Sa,{children:[u.jsx(Ea,{className:"gap-10",children:v}),u.jsx(Tm,{className:`absolute bottom-0 right-0 ${m}`,variant:h})]})})})}const cc=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"})),zg="polygon(100% 0, 100% calc(100% - 52px), calc(100% - 52px) 100%, 0 100%, 0 0)";function Wg({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),y=!!(t||s),w=d?`Play video: ${d}`:"Play video";return u.jsxs(Pa,{className:"basis-full flex flex-col gap-12 @lg:gap-15 print:gap-8",...f,children:[y&&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:zg},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(en,{isPlaying:m,label:w,onClick:()=>h(v=>!v),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})]}),!!r&&u.jsx(Ne,{className:"b-sm uppercase",variant:g,children:u.jsxs("span",{children:[r,u.jsx(cc,{className:"size-3"})]})})]})]})]})}const so={"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 Ug(){return Object.keys(so).reverse().find(e=>window.matchMedia(so[e]).matches)??"2xs"}function qg(e){const t=Object.values(so).map(n=>window.matchMedia(n));return t.forEach(n=>n.addEventListener("change",e)),()=>t.forEach(n=>n.removeEventListener("change",e))}function _o(){return R.useSyncExternalStore(qg,Ug,()=>"2xs")}function Gg(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]",Yg=typeof Bun<"u",Kg=typeof Deno<"u",Xg=typeof WebSocketPair=="function"&&typeof(caches==null?void 0:caches.default)<"u",lc=Zg||Yg||Kg||Xg;function qs(e,t){return e.indexOf(t.toLowerCase())===0?e:`${t.toLowerCase()}${e.substr(0,1).toUpperCase()}${e.substr(1)}`}function Qg(e){return!!(e&&e.nodeType===1&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}function Jg(e){return!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e}function Ie(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function uc(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function e1(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 dc(){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(Jg(r))return`https://vimeo.com/${r}`;if(Ie(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 Gs=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 t1=typeof Array.prototype.indexOf<"u",n1=typeof window<"u"&&typeof window.postMessage<"u";if(!lc&&(!t1||!n1))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 r1(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:xt);var ve=
|
|
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=r1(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",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 s1(e,t){const n=Vn(e,t);if(n.length<1)return!1;const r=n.shift();return Fn(e,t,r),r}function i1(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 a1(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=s1(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 c1=["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 mc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return c1.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 hc(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://${t1(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 l1(){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=mc(r),s=pc(o);hc(s,o,r).then(i=>Vo(i,r)).catch(n)}catch(o){n(o)}})}function u1(){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 d1(){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&&fc(o.src)&&new Fo(o).callMethod("appendVideoMetadata",window.location.href)};window.addEventListener("message",t)}function f1(){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&&fc(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 p1(){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 m1(){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 h1={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1};class g1 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,{...h1,...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)),!Jg(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}a1(this,a)},this._window.addEventListener("message",this._onMessage),this.element.nodeName!=="IFRAME"){const i=mc(t,n),a=pc(i);hc(a,i,t).then(c=>{const l=Vo(c,t);return this.element=l,this._originalElement=t,i1(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 g1(this,t,n);return Ke(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",()=>Ke(this,"notifyTimingObjectDisconnect")),r}}dc||(pe=m1(),l1(),u1(),d1(),f1(),p1());function v1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mn={exports:{}},Wr,Ks;function b1(){if(Ks)return Wr;Ks=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,P,S){return Object.defineProperty(x,C,{value:P,writable:!0,configurable:S!==!1})}}catch{n=function(C,P,S){return C[P]=S,C}}o=(function(){var x,C,P;function S(E,N){this.fn=E,this.self=N,this.next=void 0}return{add:function(N,k){P=new S(N,k),C?C.next=P:x=P,C=P,P=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 P,S;try{x===!1?C.reject(v.msg):(x===!0?P=v.msg:P=x.call(void 0,v.msg),P===C.promise?C.reject(TypeError("Promise-chain cycle")):(S=c(P))?S.call(P,C.resolve,C.reject):C.resolve(P))}catch(E){C.reject(E)}}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 P=new b(C);try{x.call(v,function(){f.apply(P,arguments)},function(){m.apply(P,arguments)})}catch(S){m.call(P,S)}}):(C.msg=v,C.state=1,C.chain.length>0&&a(l,C))}catch(P){m.call(new b(C),P)}}}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,P){for(var S=0;S<x.length;S++)(function(N){v.resolve(x[N]).then(function(_){C(N,_)},P)})(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 y(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(P,S){var E={success:typeof P=="function"?P:!0,failure:typeof S=="function"?S:!1};return E.promise=new this.constructor(function(k,_){if(typeof k!="function"||typeof _!="function")throw TypeError("Not a function");E.resolve=k,E.reject=_}),x.chain.push(E),x.state!==0&&a(l,x),E.promise},this.catch=function(P){return this.then(void 0,P)};try{v.call(void 0,function(P){f.call(x,P)},function(P){m.call(x,P)})}catch(C){m.call(x,C)}}var w=n({},"constructor",y,!1);return y.prototype=w,n(w,"__NPO__",0,!1),n(y,"resolve",function(x){var C=this;return x&&typeof x=="object"&&x.__NPO__===1?x:new C(function(S,E){if(typeof S!="function"||typeof E!="function")throw TypeError("Not a function");S(x)})}),n(y,"reject",function(x){return new this(function(P,S){if(typeof P!="function"||typeof S!="function")throw TypeError("Not a function");S(x)})}),n(y,"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,E){if(typeof S!="function"||typeof E!="function")throw TypeError("Not a function");var N=x.length,k=Array(N),_=0;h(C,x,function(B,W){k[B]=W,++_===N&&S(k)},E)})}),n(y,"race",function(x){var C=this;return s.call(x)!="[object Array]"?C.reject(TypeError("Not an array")):new C(function(S,E){if(typeof S!="function"||typeof E!="function")throw TypeError("Not a function");h(C,x,function(k,_){S(_)},E)})}),y})});const Oe=new WeakMap;function Lt(e,t,n){const r=Oe.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),Oe.set(e.element,r)}function Vn(e,t){return(Oe.get(e.element)||{})[t]||[]}function Fn(e,t,n){const r=Oe.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],Oe.set(e.element,r),!0;const o=r[t].indexOf(n);return o!==-1&&r[t].splice(o,1),Oe.set(e.element,r),r[t]&&r[t].length===0}function o1(e,t){const n=Vn(e,t);if(n.length<1)return!1;const r=n.shift();return Fn(e,t,r),r}function s1(e,t){const n=Oe.get(e);Oe.set(t,n),Oe.delete(e)}function Qt(e){if(typeof e=="string")try{e=JSON.parse(e)}catch(t){return console.warn(t),{}}return e}function Ye(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 i1(e,t){t=Qt(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=o1(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 a1=["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 fc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return a1.reduce((n,r)=>{const o=e.getAttribute(`data-vimeo-${r}`);return(o||o==="")&&(n[r]=o===""?1:o),n},t)}function Do(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 pc(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(!Ie(e))throw new TypeError(`“${e}” is not a vimeo.com url.`);let i=`https://${e1(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){Do(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 c1(){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=fc(r),s=dc(o);pc(s,o,r).then(i=>Do(i,r)).catch(n)}catch(o){n(o)}})}function l1(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoPlayerResizeEmbeds_)return;window.VimeoPlayerResizeEmbeds_=!0;const t=n=>{if(!Ie(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 u1(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoSeoMetadataAppended)return;window.VimeoSeoMetadataAppended=!0;const t=n=>{if(!Ie(n.origin))return;const r=Qt(n.data);if(!r||r.event!=="ready")return;const o=n.source?lr(n.source,e):null;o&&uc(o.src)&&new Vo(o).callMethod("appendVideoMetadata",window.location.href)};window.addEventListener("message",t)}function d1(){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(!Ie(r.origin))return;const o=Qt(r.data);if(!o||o.event!=="ready")return;const s=r.source?lr(r.source,e):null;if(s&&uc(s.src)){const i=new Vo(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 f1(){if(window.VimeoDRMEmbedsUpdated)return;window.VimeoDRMEmbedsUpdated=!0;const e=t=>{if(!Ie(t.origin))return;const n=Qt(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 p1(){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 m1={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1};class h1 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();nn(this,"logger");nn(this,"speedAdjustment",0);nn(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,{...m1,...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=Gs(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=Gs(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,y=c,w=g<y?(y-g)/2:y;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 pt=new WeakMap,Hr=new WeakMap;let pe={};class Vo{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)),!Qg(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"&&!Ie(t.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(pt.has(t))return pt.get(t);this._window=t.ownerDocument.defaultView,this.element=t,this.origin="*";const r=new ve((o,s)=>{if(this._onMessage=i=>{if(!Ie(i.origin)||this.element.contentWindow!==i.source)return;this.origin==="*"&&(this.origin=i.origin);const a=Qt(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}i1(this,a)},this._window.addEventListener("message",this._onMessage),this.element.nodeName!=="IFRAME"){const i=fc(t,n),a=dc(i);pc(a,i,t).then(c=>{const l=Do(c,t);return this.element=l,this._originalElement=t,s1(t,l),pt.set(this.element,this),c}).catch(s)}});if(Hr.set(this,r),pt.set(this.element,this),this.element.nodeName==="IFRAME"&&Ye(this,"ping"),pe.isEnabled){const o=()=>pe.exit();this.fullscreenchangeHandler=()=>{pe.isFullscreen?Lt(this,"event:exitFullscreen",o):Fn(this,"event:exitFullscreen",o),this.ready().then(()=>{Ye(this,"fullscreenchange",pe.isFullscreen)})},pe.on("fullscreenchange",this.fullscreenchangeHandler)}return this}static isVimeoUrl(t){return Ie(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(()=>{Lt(this,t,{resolve:s,reject:i}),r.length===0?r={}:r.length===1&&(r=r[0]),Ye(this,t,r)}).catch(i))}get(t){return new ve((n,r)=>(t=qs(t,"get"),this.ready().then(()=>{Lt(this,t,{resolve:n,reject:r}),Ye(this,t)}).catch(r)))}set(t,n){return new ve((r,o)=>{if(t=qs(t,"set"),n==null)throw new TypeError("There must be a value to set.");return this.ready().then(()=>{Lt(this,t,{resolve:r,reject:o}),Ye(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(()=>{}),Lt(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=Hr.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(Hr.delete(this),pt.delete(this.element),this._originalElement&&(pt.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 h1(this,t,n);return Ye(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",()=>Ye(this,"notifyTimingObjectDisconnect")),r}}lc||(pe=p1(),c1(),l1(),u1(),d1(),f1());function g1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pn={exports:{}},zr,Zs;function v1(){if(Zs)return zr;Zs=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 y1(){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 x1(){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=y1(),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 w1(){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=x1()(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 C1(){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 S1(){return ti||(ti=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=C1(),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 E1(){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 P1(){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 N1(){return oi||(oi=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=w1(),r=d(n),o=S1(),s=d(o),i=E1(),a=d(i),c=P1(),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 A1(){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 R1(){return ii||(ii=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=A1(),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 T1(){return ai||(ai=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=b1(),r=c(n),o=N1(),s=c(o),i=R1(),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 j1=T1();const k1=v1(j1);function I1({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=k1(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 gc({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 vc=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"})))),O1=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"})),M1=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 L1({audioSource:e,contactCta:t,hasShareOptions:n,printCtaText:r,shareVariant:o,textCtaVariant:s}){const[i,a]=R.useState(!1),c=i?vc:O1,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(pl,{trigger:u.jsx(Ne,{className:"b-xs font-bold uppercase",variant:s,children:u.jsxs("button",{children:[u.jsx(M1,{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 _1({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(Kc,{className:s,variant:o,children:e})}):u.jsx(Gc,{value:t,variant:n,children:Dt(e)})}function D1({children:e,variant:t,onValueChange:n,placeholder:r,value:o}){const s=Do();if(s==="xl")return null;const i=u.jsx(gc,{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(Zc,{className:"after:hidden bg-transparent!",onValueChange:n,placeholder:r,value:o,variant:t,children:i}):null}function V1({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(gc,{variant:d,children:t})}),u.jsx(L1,{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(D1,{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}=I1({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 F1=Symbol.for("react.lazy"),Bn=p[" use ".trim().toString()];function B1(e){return typeof e=="object"&&e!==null&&"then"in e}function bc(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===F1&&"_payload"in e&&B1(e._payload)}function $1(e){const t=H1(e),n=p.forwardRef((r,o)=>{let{children:s,...i}=r;bc(s)&&typeof Bn=="function"&&(s=Bn(s._payload));const a=p.Children.toArray(s),c=a.find(W1);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=$1("Slot");function H1(e){const t=p.forwardRef((n,r)=>{let{children:o,...s}=n;if(bc(o)&&typeof Bn=="function"&&(o=Bn(o._payload)),p.isValidElement(o)){const i=q1(o),a=U1(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 yc=Symbol("radix.slottable");function z1(e){const t=({children:n})=>u.jsx(u.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=yc,t}var ur=z1("Slottable");function W1(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===yc}function U1(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 q1(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 G1=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 Z1({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(G1,{}))})}const 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("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"})))),K1=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"})),X1=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"})))),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("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"})))),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("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"})))),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("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=X1,i="Share on Facebook";switch(r){case"copy":s=Y1,i="Copy link";break;case"email":s=K1,i="Share via Email";break;case"instagram":s=Q1,i="Share on Instagram";break;case"linkedin":s=J1,i="Share on LinkedIn";break;case"x":s=e0,i="Share on X";break;case"youtube":s=t0,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)",n0={"connect-reversed":"reversed-connect","digital-reversed":"reversed-digital"},r0="enterprise";function xc(e,t){return e?u.jsx("img",{...e}):t||null}function $o(e="connect"){return n0[e]??r0}function o0(e="connect"){return e==="connect"||e==="connect-reversed"?"small-connect":"small-digital"}function wc(e="connect"){return e==="connect"||e==="connect-reversed"?"primary":"primary-digital"}function s0(e="connect"){return{"connect-reversed":"connect","digital-reversed":"digital"}[e]??"basic"}function i0(e="connect"){return{"connect-reversed":"connect","digital-reversed":"digital"}[e]??"basic"}function a0({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 c0({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 Cc=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 l0({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(Cc,{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 u0({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=wc(l),b=i0(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(xa,{className:"size-3"}),y]})}),!!f&&u.jsx(Ne,{className:"b-xs font-bold",variant:b,children:u.jsxs("a",{href:f,children:[u.jsx(ya,{className:"size-3"}),m]})})]}),!!n&&u.jsx(We,{variant:g,children:n})]})}function d0({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=xc(d,f),b=o0(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 f0({button:e,className:t="",copy:n,date:r,isExternalLink:o,title:s,type:i,variant:a="connect"}){const c=wc(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(Cc,{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 p0({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=s0(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 m0({className:e="",copy:t,image:n,imageNode:r,title:o,variant:s="connect"}){const i=xc(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 h0={caseStudy:a0,event:c0,insight:l0,location:u0,page:f0,person:p0,service:m0};function g0({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(d0,{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=h0[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=v0(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(y0);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 v0(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=w0(o),a=x0(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 b0=Symbol("radix.slottable");function y0(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===b0}function x0(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 w0(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 C0(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 S0=p.createContext(void 0);function E0(e){const t=p.useContext(S0);return e||t||"ltr"}function P0(e){const t=N0(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(R0);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 N0(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=j0(o),a=T0(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 A0=Symbol("radix.slottable");function R0(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===A0}function T0(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 j0(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 k0(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 Sc=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"}),I0="VisuallyHidden",O0=p.forwardRef((e,t)=>u.jsx(re.span,{...e,ref:t,style:{...Sc,...e.style}}));O0.displayName=I0;var M0=[" ","Enter","ArrowUp","ArrowDown"],L0=[" ","Enter"],tt="Select",[fr,pr,_0]=C0(tt),[Tt]=Xt(tt,[_0,or]),mr=or(),[D0,qe]=Tt(tt),[V0,F0]=Tt(tt),Ec=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=E0(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(Ha,{...g,children:u.jsxs(D0,{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(V0,{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(zc,{"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]})})};Ec.displayName=tt;var Pc="SelectTrigger",Nc=p.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,s=mr(n),i=qe(Pc,n),a=i.disabled||r,c=se(t,i.onTriggerChange),l=pr(n),d=p.useRef("touch"),[f,m,h]=Uc(g=>{const b=l().filter(x=>!x.disabled),w=b.find(x=>x.value===i.value),v=qc(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":Wc(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===" ")&&M0.includes(g.key)&&(y(),g.preventDefault())})})})});Nc.displayName=Pc;var Ac="SelectValue",Rc=p.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:s,placeholder:i="",...a}=e,c=qe(Ac,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:Wc(c.value)?u.jsx(u.Fragment,{children:i}):s})});Rc.displayName=Ac;var B0="SelectIcon",Tc=p.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return u.jsx(re.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});Tc.displayName=B0;var $0="SelectPortal",jc=e=>u.jsx(sr,{asChild:!0,...e});jc.displayName=$0;var nt="SelectContent",kc=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(Ic,{scope:e.__scopeSelect,children:u.jsx(fr.Slot,{scope:e.__scopeSelect,children:u.jsx("div",{children:e.children})})}),s):null}return u.jsx(Oc,{...e,ref:t})});kc.displayName=nt;var be=10,[Ic,Ge]=Tt(nt),H0="SelectContentImpl",z0=P0("SelectContent.RemoveScroll"),Oc=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]=Uc(L=>{const q=B().filter($=>!$.disabled),ee=q.find($=>$.ref.current===document.activeElement),G=qc(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:Mc,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(Ic,{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:z0,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()}})})})})})})});Oc.displayName=H0;var W0="SelectItemAlignedPosition",Mc=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(q0,{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}})})})});Mc.displayName=W0;var U0="SelectPopperPosition",ao=p.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=be,...s}=e,i=mr(n);return u.jsx(za,{...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=U0;var[q0,Ho]=Tt(nt,{}),co="SelectViewport",Lc=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})})})]})});Lc.displayName=co;var _c="SelectGroup",[G0,Z0]=Tt(_c),Y0=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Xe();return u.jsx(G0,{scope:n,id:o,children:u.jsx(re.div,{role:"group","aria-labelledby":o,...r,ref:t})})});Y0.displayName=_c;var Dc="SelectLabel",K0=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Z0(Dc,n);return u.jsx(re.div,{id:o.id,...r,ref:t})});K0.displayName=Dc;var Hn="SelectItem",[X0,Vc]=Tt(Hn),Fc=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(X0,{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===" "||(L0.includes(v.key)&&w(),v.key===" "&&v.preventDefault())})})})})});Fc.displayName=Hn;var _t="SelectItemText",Bc=p.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...s}=e,i=qe(_t,n),a=Ge(_t,n),c=Vc(_t,n),l=F0(_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]})});Bc.displayName=_t;var $c="SelectItemIndicator",Q0=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return Vc($c,n).isSelected?u.jsx(re.span,{"aria-hidden":!0,...r,ref:t}):null});Q0.displayName=$c;var lo="SelectScrollUpButton",J0=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(Hc,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop-c.offsetHeight)}}):null});J0.displayName=lo;var uo="SelectScrollDownButton",ev=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(Hc,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop+c.offsetHeight)}}):null});ev.displayName=uo;var Hc=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()})})}),tv="SelectSeparator",nv=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return u.jsx(re.div,{"aria-hidden":!0,...r,ref:t})});nv.displayName=tv;var fo="SelectArrow",rv=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(Wa,{...o,...r,ref:t}):null});rv.displayName=fo;var ov="SelectBubbleInput",zc=p.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const o=p.useRef(null),s=se(r,o),i=k0(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:{...Sc,...n.style},ref:s,defaultValue:t})});zc.displayName=ov;function Wc(e){return e===""||e===void 0}function Uc(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 qc(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=sv(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 sv(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var iv=Ec,av=Nc,cv=Rc,lv=Tc,uv=jc,dv=kc,fv=Lc,pv=Fc,mv=Bc;const hv=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 Gc({children:e,className:t="",value:n,variant:r}){return u.jsx(pv,{className:`dropdown-menu-item dropdown-menu-item-${r} ${t}`,value:n,children:u.jsx(mv,{children:e})})}function Zc({children:e,className:t="",placeholder:n,variant:r,...o}){return u.jsxs(iv,{...o,children:[u.jsxs(av,{className:`dropdown-menu-trigger dropdown-menu-trigger-${r} ${t}`,children:[u.jsx(cv,{placeholder:n}),u.jsx(lv,{children:u.jsx(hv,{className:"size-4"})})]}),u.jsx(uv,{children:u.jsx(dv,{className:`dropdown-menu-content dropdown-menu-content-${r}`,position:"popper",sideOffset:2,children:u.jsx(fv,{children:R.Children.map(e,s=>R.isValidElement(s)?R.cloneElement(s,{variant:r}):s)})})})]})}const ui=40,Yc=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 Kc({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 gv(e){const t=vv(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(yv);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 vv(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=wv(o),a=xv(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 bv=Symbol("radix.slottable");function yv(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===bv}function xv(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 wv(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",[Xc]=Xt(hr),[Cv,Ce]=Xc(hr),Qc=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(Cv,{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})};Qc.displayName=hr;var Jc="DialogTrigger",el=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(Jc,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)})});el.displayName=Jc;var zo="DialogPortal",[Sv,tl]=Xc(zo,{forceMount:void 0}),nl=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,s=Ce(zo,t);return u.jsx(Sv,{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})}))})};nl.displayName=zo;var zn="DialogOverlay",Ev=p.forwardRef((e,t)=>{const n=tl(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(Nv,{...o,ref:t})}):null});Ev.displayName=zn;var Pv=gv("DialogOverlay.RemoveScroll"),Nv=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(zn,n);return u.jsx(ar,{as:Pv,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",rl=p.forwardRef((e,t)=>{const n=tl(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(Av,{...o,ref:t}):u.jsx(Rv,{...o,ref:t})})});rl.displayName=rt;var Av=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(ol,{...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())})}),Rv=p.forwardRef((e,t)=>{const n=Ce(rt,e.__scopeDialog),r=p.useRef(!1),o=p.useRef(!1);return u.jsx(ol,{...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()}})}),ol=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(Tv,{titleId:a.titleId}),u.jsx(kv,{contentRef:c,descriptionId:a.descriptionId})]})]})}),Wo="DialogTitle",sl=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(Wo,n);return u.jsx(re.h2,{id:o.titleId,...r,ref:t})});sl.displayName=Wo;var il="DialogDescription",al=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(il,n);return u.jsx(re.p,{id:o.descriptionId,...r,ref:t})});al.displayName=il;var cl="DialogClose",ll=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(cl,n);return u.jsx(re.button,{type:"button",...r,ref:t,onClick:ne(e.onClick,()=>o.onOpenChange(!1))})});ll.displayName=cl;function Uo(e){return e?"open":"closed"}var ul="DialogTitleWarning",[Xv,dl]=km(ul,{contentName:rt,titleName:Wo,docsSlug:"dialog"}),Tv=({titleId:e})=>{const t=dl(ul),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},zr=e,zr}var mn={exports:{}},hn={exports:{}},Wr,Ys;function b1(){if(Ys)return Wr;Ys=1;var e=1e3,t=e*60,n=t*60,r=n*24,o=r*7,s=r*365.25;Wr=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 Wr}var Ur,Ks;function y1(){if(Ks)return Ur;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=b1(),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 y(...w){if(!y.enabled)return;const v=y,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 P=0;w[0]=w[0].replace(/%([a-zA-Z%])/g,(E,N)=>{if(E==="%%")return"%";P++;const k=r.formatters[N];if(typeof k=="function"){const _=w[P];E=k.call(v,_),w.splice(P,1),P--}return E}),r.formatArgs.call(v,w),(v.log||r.log).apply(v,w)}return y.namespace=f,y.useColors=r.useColors(),y.color=r.selectColor(f),y.extend=o,y.destroy=r.destroy,Object.defineProperty(y,"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(y),y}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,y=0;for(;h<f.length;)if(b<m.length&&(m[b]===f[h]||m[b]==="*"))m[b]==="*"?(g=b,y=h,b++):(h++,b++);else if(g!==-1)b=g+1,y++,h=y;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 Ur=e,Ur}var Xs;function x1(){return Xs||(Xs=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=y1()(t);const{formatters:a}=e.exports;a.j=function(c){try{return JSON.stringify(c)}catch(l){return"[UnexpectedJSONParseError]: "+l.message}}})(hn,hn.exports)),hn.exports}var gn={exports:{}},vn={exports:{}},Qs;function w1(){return Qs||(Qs=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})(vn,vn.exports)),vn.exports}var Js;function C1(){return Js||(Js=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={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})(gn,gn.exports)),gn.exports}var bn={exports:{}},ei;function S1(){return ei||(ei=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default})(bn,bn.exports)),bn.exports}var yn={exports:{}},ti;function E1(){return ti||(ti=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 ni;function P1(){return ni||(ni=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=x1(),r=d(n),o=C1(),s=d(o),i=S1(),a=d(i),c=E1(),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 y="on"+g.slice(0,1).toUpperCase()+g.slice(1);b[y]=w=>{f('event "%s"',y,w),h.trigger(g,w)}}return b},m.promisifyPlayer=(h,b=!1)=>{const g={};for(const y of l.default)b&&s.default[y]?g[y]=(...w)=>h.then(v=>{const x=s.default[y],C=v.getPlayerState(),P=v[y].apply(v,w);return x.stateChangeRequired||Array.isArray(x.acceptableStates)&&!x.acceptableStates.includes(C)?new Promise(S=>{const E=()=>{const N=v.getPlayerState();let k;typeof x.timeout=="number"&&(k=setTimeout(()=>{v.removeEventListener("onStateChange",E),S()},x.timeout)),Array.isArray(x.acceptableStates)&&x.acceptableStates.includes(N)&&(v.removeEventListener("onStateChange",E),clearTimeout(k),S())};v.addEventListener("onStateChange",E)}).then(()=>P):P}):g[y]=(...w)=>h.then(v=>v[y].apply(v,w));return g},t.default=m,e.exports=t.default})(mn,mn.exports)),mn.exports}var xn={exports:{}},qr,ri;function N1(){if(ri)return qr;ri=1,qr=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 qr}var oi;function A1(){return oi||(oi=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=N1(),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})(xn,xn.exports)),xn.exports}var si;function R1(){return si||(si=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=v1(),r=c(n),o=P1(),s=c(o),i=A1(),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(y=>{typeof d=="object"&&d.playVideo instanceof Function?y(d):l.then(w=>{const v=new w.Player(d,f);return h.on("ready",()=>{y(v)}),null})}),g=s.default.promisifyPlayer(b,m);return g.on=h.on,g.off=h.off,g},e.exports=t.default})(pn,pn.exports)),pn.exports}var T1=R1();const k1=g1(T1);function j1({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),y=R.useCallback((P,S)=>{var E,N;return S==="youtube"?((E=P.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/)([^&\n?#]+)/))==null?void 0:E[1])??null:S==="vimeo"?((N=P.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 E=()=>{g(!0),a==null||a()},N=()=>{g(!1),c==null||c()},k=()=>{g(!1),l==null||l()},_=()=>{d==null||d(new Error("HTML5 video error"))};return S.addEventListener("play",E),S.addEventListener("pause",N),S.addEventListener("ended",k),S.addEventListener("error",_),i.current.innerHTML="",i.current.appendChild(S),h.current=S,()=>{S.pause(),S.removeEventListener("play",E),S.removeEventListener("pause",N),S.removeEventListener("ended",k),S.removeEventListener("error",_),S.remove(),h.current=null}}const P=y(e,t);if(P)try{if(t==="youtube"){const S=document.createElement("div");i.current.appendChild(S),m.current=k1(S,{videoId:P,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:P}:{}}}),m.current.on("stateChange",({data:E})=>{E===1?(g(!0),a==null||a()):E===2?(g(!1),c==null||c()):E===0&&(g(!1),l==null||l())}),m.current.on("ready",()=>{var E,N;r&&((E=m.current)==null||E.mute()),n&&((N=m.current)==null||N.playVideo())}),m.current.on("error",E=>{d==null||d(new Error(`Youtube error: ${JSON.stringify(E,null,2)??"Unknown error"}`))})}t==="vimeo"&&(f.current=new Vo(i.current,{id:P,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,y,a,c,l,d]);R.useEffect(()=>{const P=i.current,S=w();return()=>{var E,N,k;S==null||S(),(E=f.current)==null||E.destroy(),(k=(N=m.current)==null?void 0:N.destroy)==null||k.call(N),f.current=null,m.current=null,h.current=null,P==null||P.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()=>{b?await x():await v()},[b,v,x]);return{isPlaying:b,play:v,pause:x,togglePlayback:C}}function mc({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 hc=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"})))),I1=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"})),O1=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 L1({audioSource:e,contactCta:t,hasShareOptions:n,printCtaText:r,shareVariant:o,textCtaVariant:s}){const[i,a]=R.useState(!1),c=i?hc:I1,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(dl,{trigger:u.jsx(Ne,{className:"b-xs font-bold uppercase",variant:s,children:u.jsxs("button",{children:[u.jsx(O1,{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 M1({children:e,value:t,variant:n}){const r=_o(),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(Zc,{className:s,variant:o,children:e})}):u.jsx(Uc,{value:t,variant:n,children:Sn(e)})}function _1({children:e,variant:t,onValueChange:n,placeholder:r,value:o}){const s=_o();if(s==="xl")return null;const i=u.jsx(mc,{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(qc,{className:"after:hidden bg-transparent!",onValueChange:n,placeholder:r,value:o,variant:t,children:i}):null}function D1({audioSource:e,children:t,className:n="",contactCta:r,hasShareOptions:o,horizontalStroke:s,onValueChange:i,placeholder:a,printCtaText:c,value:l,variant:d}){const f=_o(),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}=Zt(b,s,d),y=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(_e,{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(mc,{variant:d,children:t})}),u.jsx(L1,{audioSource:e,contactCta:r,hasShareOptions:o,printCtaText:c,shareVariant:y,textCtaVariant:w})]})}),!!t&&u.jsxs(u.Fragment,{children:[u.jsx("div",{className:`h-0.5 w-full xl:hidden ${h}`}),u.jsx(_e,{children:u.jsx(_1,{variant:d,onValueChange:i,placeholder:a,value:l,children:t})})]})]})}const Fo=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}=j1({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 V1=Symbol.for("react.lazy"),Bn=p[" use ".trim().toString()];function F1(e){return typeof e=="object"&&e!==null&&"then"in e}function gc(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===V1&&"_payload"in e&&F1(e._payload)}function B1(e){const t=$1(e),n=p.forwardRef((r,o)=>{let{children:s,...i}=r;gc(s)&&typeof Bn=="function"&&(s=Bn(s._payload));const a=p.Children.toArray(s),c=a.find(z1);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 Jt=B1("Slot");function $1(e){const t=p.forwardRef((n,r)=>{let{children:o,...s}=n;if(gc(o)&&typeof Bn=="function"&&(o=Bn(o._payload)),p.isValidElement(o)){const i=U1(o),a=W1(s,o.props);return o.type!==p.Fragment&&(a.ref=r?it(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 vc=Symbol("radix.slottable");function H1(e){const t=({children:n})=>u.jsx(u.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=vc,t}var ur=H1("Slottable");function z1(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===vc}function W1(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 U1(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 ze({children:e,className:t="",displayStars:n,variant:r="primary",...o}){return u.jsxs(Jt,{...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(Jt,{...r,className:`button-icon button-icon-${n} ${t}`,children:u.jsx(ur,{children:e})})}const q1=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 G1({children:e,className:t="",variant:n="basic",...r}){return u.jsx(Jt,{...r,className:`button-logo button-logo-${n} ${t}`,children:R.cloneElement(e,{},u.jsx(q1,{}))})}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"})))),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",{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"})),K1=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"})),X1=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"})))),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_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"})))),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("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"})))),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",{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 Be({className:e="",href:t,onClick:n,socialPlatform:r,variant:o="basic"}){let s=K1,i="Share on Facebook";switch(r){case"copy":s=Z1,i="Copy link";break;case"email":s=Y1,i="Share via Email";break;case"instagram":s=X1,i="Share on Instagram";break;case"linkedin":s=Q1,i="Share on LinkedIn";break;case"x":s=J1,i="Share on X";break;case"youtube":s=e0,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)",t0={"connect-reversed":"reversed-connect","digital-reversed":"reversed-digital"},n0="enterprise";function bc(e,t){return e?u.jsx("img",{...e}):t||null}function Bo(e="connect"){return t0[e]??n0}function r0(e="connect"){return e==="connect"||e==="connect-reversed"?"small-connect":"small-digital"}function yc(e="connect"){return e==="connect"||e==="connect-reversed"?"primary":"primary-digital"}function o0(e="connect"){return{"connect-reversed":"connect","digital-reversed":"digital"}[e]??"basic"}function s0(e="connect"){return{"connect-reversed":"connect","digital-reversed":"digital"}[e]??"basic"}function i0({className:e="",copy:t,name:n,id:r,isBookmarked:o,onBookmark:s,personTitle:i,title:a,type:c,variant:l="connect"}){const d=Bo(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 a0({className:e="",copy:t,date:n,id:r,isBookmarked:o,location:s,onBookmark:i,title:a,type:c,variant:l="connect"}){const d=Bo(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 xc=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 c0({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=Bo(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(xc,{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 l0({addressLine1:e,addressLine2:t,button:n,city:r,className:o="",fax:s,phone:i,state:a,title:c,variant:l="connect",zip:d}){const f=yc(l),m=s0(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:[!!i&&u.jsx(Ne,{className:"b-xs font-bold",variant:m,children:u.jsxs("span",{children:[u.jsx(ba,{className:"size-3"}),i]})}),!!s&&u.jsx(Ne,{className:"b-xs font-bold",variant:m,children:u.jsxs("span",{children:[u.jsx(va,{className:"size-3"}),s]})})]}),!!n&&u.jsx(ze,{variant:f,children:n})]})}function u0({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=bc(d,f),y=r0(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:b,backgroundVideo:m,onOpenChange:c,open:a}),u.jsx("div",{className:"absolute bottom-1 left-3",children:u.jsx(en,{isPlaying:a,label:b?`Play video: ${b}`:"Play video",onClick:()=>c(v=>!v),variant:y})})]})]}):null}function d0({button:e,className:t="",copy:n,date:r,isExternalLink:o,title:s,type:i,variant:a="connect"}){const c=yc(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(xc,{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(ze,{variant:c,children:e})]})]})}function f0({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=bt(r))==null?void 0:d.href,l=o0(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(Be,{className:"z-2",href:c,socialPlatform:"linkedin",variant:l})]})]})}function p0({className:e="",copy:t,image:n,imageNode:r,title:o,variant:s="connect"}){const i=bc(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 m0={caseStudy:i0,event:a0,insight:c0,location:l0,page:d0,person:f0,service:p0};function h0({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=bt(c),g=!!(b!=null&&b.target),y=h==="connect-reversed"||h==="digital-reversed",w=!!(l!=null&&l.button||l!=null&&l.phone||l!=null&&l.fax),v=!!(d!=null&&d.button),x=!!c&&!w&&!v,C={className:n,isExternalLink:g,variant:h},P={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":y,"data-should-use-root-link":x,"data-variant":h,children:[x&&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(u0,{caseStudy:e,event:r,imageClassName:s,insight:i,layout:a,person:f,variant:h}),Object.entries(P).map(([S,E])=>{if(!E)return null;const N=m0[S];return u.jsx(N,{...E,...C},S)})]})]})}function ii(e,[t,n]){return Math.min(n,Math.max(t,e))}function ai(e){const t=g0(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(b0);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 g0(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=x0(o),a=y0(s,o.props);return o.type!==p.Fragment&&(a.ref=r?it(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 v0=Symbol("radix.slottable");function b0(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===v0}function y0(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 x0(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 w0(e){const t=e+"CollectionProvider",[n,r]=Kt(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=g=>{const{scope:y,children:w}=g,v=R.useRef(null),x=R.useRef(new Map).current;return u.jsx(o,{scope:y,itemMap:x,collectionRef:v,children:w})};i.displayName=t;const a=e+"CollectionSlot",c=ai(a),l=R.forwardRef((g,y)=>{const{scope:w,children:v}=g,x=s(a,w),C=se(y,x.collectionRef);return u.jsx(c,{ref:C,children:v})});l.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",m=ai(d),h=R.forwardRef((g,y)=>{const{scope:w,children:v,...x}=g,C=R.useRef(null),P=se(y,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:P,children:v})});h.displayName=d;function b(g){const y=s(e+"CollectionConsumer",g);return R.useCallback(()=>{const v=y.collectionRef.current;if(!v)return[];const x=Array.from(v.querySelectorAll(`[${f}]`));return Array.from(y.itemMap.values()).sort((S,E)=>x.indexOf(S.ref.current)-x.indexOf(E.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:i,Slot:l,ItemSlot:h},b,r]}var C0=p.createContext(void 0);function S0(e){const t=p.useContext(C0);return e||t||"ltr"}function E0(e){const t=P0(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(A0);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 P0(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=T0(o),a=R0(s,o.props);return o.type!==p.Fragment&&(a.ref=r?it(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 N0=Symbol("radix.slottable");function A0(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===N0}function R0(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 T0(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 k0(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 wc=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"}),j0="VisuallyHidden",I0=p.forwardRef((e,t)=>u.jsx(re.span,{...e,ref:t,style:{...wc,...e.style}}));I0.displayName=j0;var O0=[" ","Enter","ArrowUp","ArrowDown"],L0=[" ","Enter"],et="Select",[fr,pr,M0]=w0(et),[Tt]=Kt(et,[M0,or]),mr=or(),[_0,Ue]=Tt(et),[D0,V0]=Tt(et),Cc=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),[y,w]=p.useState(null),[v,x]=p.useState(null),[C,P]=p.useState(!1),S=S0(l),[E,N]=Dn({prop:r,defaultProp:o??!1,onChange:s,caller:et}),[k,_]=Dn({prop:i,defaultProp:a,onChange:c,caller:et}),D=p.useRef(null),B=y?b||!!y.closest("form"):!0,[W,H]=p.useState(new Set),I=Array.from(W).map(T=>T.props.value).join(";");return u.jsx(Ba,{...g,children:u.jsxs(_0,{required:h,scope:t,trigger:y,onTriggerChange:w,valueNode:v,onValueNodeChange:x,valueNodeHasChildren:C,onValueNodeHasChildrenChange:P,contentId:Ke(),value:k,onValueChange:_,open:E,onOpenChange:N,dir:S,triggerPointerDownPosRef:D,disabled:m,children:[u.jsx(fr.Provider,{scope:t,children:u.jsx(D0,{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($c,{"aria-hidden":!0,required:h,tabIndex:-1,name:d,autoComplete:f,value:k,onChange:T=>_(T.target.value),disabled:m,form:b,children:[k===void 0?u.jsx("option",{value:""}):null,Array.from(W)]},I):null]})})};Cc.displayName=et;var Sc="SelectTrigger",Ec=p.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,s=mr(n),i=Ue(Sc,n),a=i.disabled||r,c=se(t,i.onTriggerChange),l=pr(n),d=p.useRef("touch"),[f,m,h]=zc(g=>{const y=l().filter(x=>!x.disabled),w=y.find(x=>x.value===i.value),v=Wc(y,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(Oo,{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":Hc(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 y=g.target;y.hasPointerCapture(g.pointerId)&&y.releasePointerCapture(g.pointerId),g.button===0&&g.ctrlKey===!1&&g.pointerType==="mouse"&&(b(g),g.preventDefault())}),onKeyDown:ne(o.onKeyDown,g=>{const y=f.current!=="";!(g.ctrlKey||g.altKey||g.metaKey)&&g.key.length===1&&m(g.key),!(y&&g.key===" ")&&O0.includes(g.key)&&(b(),g.preventDefault())})})})});Ec.displayName=Sc;var Pc="SelectValue",Nc=p.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:s,placeholder:i="",...a}=e,c=Ue(Pc,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:Hc(c.value)?u.jsx(u.Fragment,{children:i}):s})});Nc.displayName=Pc;var F0="SelectIcon",Ac=p.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return u.jsx(re.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});Ac.displayName=F0;var B0="SelectPortal",Rc=e=>u.jsx(sr,{asChild:!0,...e});Rc.displayName=B0;var tt="SelectContent",Tc=p.forwardRef((e,t)=>{const n=Ue(tt,e.__scopeSelect),[r,o]=p.useState();if(de(()=>{o(new DocumentFragment)},[]),!n.open){const s=r;return s?Wn.createPortal(u.jsx(kc,{scope:e.__scopeSelect,children:u.jsx(fr.Slot,{scope:e.__scopeSelect,children:u.jsx("div",{children:e.children})})}),s):null}return u.jsx(jc,{...e,ref:t})});Tc.displayName=tt;var be=10,[kc,qe]=Tt(tt),$0="SelectContentImpl",H0=E0("SelectContent.RemoveScroll"),jc=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:y,...w}=e,v=Ue(tt,n),[x,C]=p.useState(null),[P,S]=p.useState(null),E=se(t,M=>C(M)),[N,k]=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(M=>{const[q,...ee]=B().map(j=>j.ref.current),[G]=ee.slice(-1),$=document.activeElement;for(const j of M)if(j===$||(j==null||j.scrollIntoView({block:"nearest"}),j===q&&P&&(P.scrollTop=0),j===G&&P&&(P.scrollTop=P.scrollHeight),j==null||j.focus(),document.activeElement!==$))return},[B,P]),O=p.useCallback(()=>T([N,x]),[T,N,x]);p.useEffect(()=>{W&&O()},[W,O]);const{onOpenChange:A,triggerPointerDownPosRef:L}=v;p.useEffect(()=>{if(x){let M={x:0,y:0};const q=G=>{var $,j;M={x:Math.abs(Math.round(G.pageX)-((($=L.current)==null?void 0:$.x)??0)),y:Math.abs(Math.round(G.pageY)-(((j=L.current)==null?void 0:j.y)??0))}},ee=G=>{M.x<=10&&M.y<=10?G.preventDefault():x.contains(G.target)||A(!1),document.removeEventListener("pointermove",q),L.current=null};return L.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,L]),p.useEffect(()=>{const M=()=>A(!1);return window.addEventListener("blur",M),window.addEventListener("resize",M),()=>{window.removeEventListener("blur",M),window.removeEventListener("resize",M)}},[A]);const[U,z]=zc(M=>{const q=B().filter($=>!$.disabled),ee=q.find($=>$.ref.current===document.activeElement),G=Wc(q,M,ee);G&&setTimeout(()=>G.ref.current.focus())}),X=p.useCallback((M,q,ee)=>{const G=!I.current&&!ee;(v.value!==void 0&&v.value===q||G)&&(k(M),G&&(I.current=!0))},[v.value]),J=p.useCallback(()=>x==null?void 0:x.focus(),[x]),Q=p.useCallback((M,q,ee)=>{const G=!I.current&&!ee;(v.value!==void 0&&v.value===q||G)&&D(M)},[v.value]),ce=r==="popper"?io:Ic,le=ce===io?{side:a,sideOffset:c,align:l,alignOffset:d,arrowPadding:f,collisionBoundary:m,collisionPadding:h,sticky:b,hideWhenDetached:g,avoidCollisions:y}:{};return u.jsx(kc,{scope:n,content:x,viewport:P,onViewportChange:S,itemRefCallback:X,selectedItem:N,onItemLeave:J,itemTextRefCallback:Q,focusSelectedItem:O,selectedItemText:_,position:r,isPositioned:W,searchRef:U,children:u.jsx(ar,{as:H0,allowPinchZoom:!0,children:u.jsx(rr,{asChild:!0,trapped:v.open,onMountAutoFocus:M=>{M.preventDefault()},onUnmountAutoFocus:ne(o,M=>{var q;(q=v.trigger)==null||q.focus({preventScroll:!0}),M.preventDefault()}),children:u.jsx(nr,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:M=>M.preventDefault(),onDismiss:()=>v.onOpenChange(!1),children:u.jsx(ce,{role:"listbox",id:v.contentId,"data-state":v.open?"open":"closed",dir:v.dir,onContextMenu:M=>M.preventDefault(),...w,...le,onPlaced:()=>H(!0),ref:E,style:{display:"flex",flexDirection:"column",outline:"none",...w.style},onKeyDown:ne(w.onKeyDown,M=>{const q=M.ctrlKey||M.altKey||M.metaKey;if(M.key==="Tab"&&M.preventDefault(),!q&&M.key.length===1&&z(M.key),["ArrowUp","ArrowDown","Home","End"].includes(M.key)){let G=B().filter($=>!$.disabled).map($=>$.ref.current);if(["ArrowUp","End"].includes(M.key)&&(G=G.slice().reverse()),["ArrowUp","ArrowDown"].includes(M.key)){const $=M.target,j=G.indexOf($);G=G.slice(j+1)}setTimeout(()=>T(G)),M.preventDefault()}})})})})})})});jc.displayName=$0;var z0="SelectItemAlignedPosition",Ic=p.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,s=Ue(tt,n),i=qe(tt,n),[a,c]=p.useState(null),[l,d]=p.useState(null),f=se(t,E=>d(E)),m=pr(n),h=p.useRef(!1),b=p.useRef(!0),{viewport:g,selectedItem:y,selectedItemText:w,focusSelectedItem:v}=i,x=p.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&l&&g&&y&&w){const E=s.trigger.getBoundingClientRect(),N=l.getBoundingClientRect(),k=s.valueNode.getBoundingClientRect(),_=w.getBoundingClientRect();if(s.dir!=="rtl"){const $=_.left-N.left,j=k.left-$,Z=E.left-j,te=E.width+Z,ie=Math.max(te,N.width),ue=window.innerWidth-be,fe=ii(j,[be,Math.max(be,ue-ie)]);a.style.minWidth=te+"px",a.style.left=fe+"px"}else{const $=N.right-_.right,j=window.innerWidth-k.right-$,Z=window.innerWidth-E.right-j,te=E.width+Z,ie=Math.max(te,N.width),ue=window.innerWidth-be,fe=ii(j,[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),L=I+T+W+A+O,U=Math.min(y.offsetHeight*5,L),z=window.getComputedStyle(g),X=parseInt(z.paddingTop,10),J=parseInt(z.paddingBottom,10),Q=E.top+E.height/2-be,ce=B-Q,le=y.offsetHeight/2,M=y.offsetTop+le,q=I+T+M,ee=L-q;if(q<=Q){const $=D.length>0&&y===D[D.length-1].ref.current;a.style.bottom="0px";const j=l.clientHeight-g.offsetTop-g.offsetHeight,Z=Math.max(ce,le+($?J:0)+j+O),te=q+Z;a.style.height=te+"px"}else{const $=D.length>0&&y===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,y,w,s.dir,r]);de(()=>x(),[x]);const[C,P]=p.useState();de(()=>{l&&P(window.getComputedStyle(l).zIndex)},[l]);const S=p.useCallback(E=>{E&&b.current===!0&&(x(),v==null||v(),b.current=!1)},[x,v]);return u.jsx(U0,{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}})})})});Ic.displayName=z0;var W0="SelectPopperPosition",io=p.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=be,...s}=e,i=mr(n);return u.jsx($a,{...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)"}})});io.displayName=W0;var[U0,$o]=Tt(tt,{}),ao="SelectViewport",Oc=p.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,s=qe(ao,n),i=$o(ao,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),y=parseFloat(f.style.height),w=Math.max(g,y);if(w<b){const v=w+h,x=Math.min(b,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})})})]})});Oc.displayName=ao;var Lc="SelectGroup",[q0,G0]=Tt(Lc),Z0=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Ke();return u.jsx(q0,{scope:n,id:o,children:u.jsx(re.div,{role:"group","aria-labelledby":o,...r,ref:t})})});Z0.displayName=Lc;var Mc="SelectLabel",Y0=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=G0(Mc,n);return u.jsx(re.div,{id:o.id,...r,ref:t})});Y0.displayName=Mc;var Hn="SelectItem",[K0,_c]=Tt(Hn),Dc=p.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:s,...i}=e,a=Ue(Hn,n),c=qe(Hn,n),l=a.value===r,[d,f]=p.useState(s??""),[m,h]=p.useState(!1),b=se(t,v=>{var x;return(x=c.itemRefCallback)==null?void 0:x.call(c,v,r,o)}),g=Ke(),y=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(K0,{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:b,onFocus:ne(i.onFocus,()=>h(!0)),onBlur:ne(i.onBlur,()=>h(!1)),onClick:ne(i.onClick,()=>{y.current!=="mouse"&&w()}),onPointerUp:ne(i.onPointerUp,()=>{y.current==="mouse"&&w()}),onPointerDown:ne(i.onPointerDown,v=>{y.current=v.pointerType}),onPointerMove:ne(i.onPointerMove,v=>{var x;y.current=v.pointerType,o?(x=c.onItemLeave)==null||x.call(c):y.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===" "||(L0.includes(v.key)&&w(),v.key===" "&&v.preventDefault())})})})})});Dc.displayName=Hn;var _t="SelectItemText",Vc=p.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...s}=e,i=Ue(_t,n),a=qe(_t,n),c=_c(_t,n),l=V0(_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:y}=l;return de(()=>(g(b),()=>y(b)),[g,y,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]})});Vc.displayName=_t;var Fc="SelectItemIndicator",X0=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return _c(Fc,n).isSelected?u.jsx(re.span,{"aria-hidden":!0,...r,ref:t}):null});X0.displayName=Fc;var co="SelectScrollUpButton",Q0=p.forwardRef((e,t)=>{const n=qe(co,e.__scopeSelect),r=$o(co,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(Bc,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop-c.offsetHeight)}}):null});Q0.displayName=co;var lo="SelectScrollDownButton",J0=p.forwardRef((e,t)=>{const n=qe(lo,e.__scopeSelect),r=$o(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.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(Bc,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop+c.offsetHeight)}}):null});J0.displayName=lo;var Bc=p.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,s=qe("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()})})}),ev="SelectSeparator",tv=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return u.jsx(re.div,{"aria-hidden":!0,...r,ref:t})});tv.displayName=ev;var uo="SelectArrow",nv=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=mr(n),s=Ue(uo,n),i=qe(uo,n);return s.open&&i.position==="popper"?u.jsx(Ha,{...o,...r,ref:t}):null});nv.displayName=uo;var rv="SelectBubbleInput",$c=p.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const o=p.useRef(null),s=se(r,o),i=k0(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:{...wc,...n.style},ref:s,defaultValue:t})});$c.displayName=rv;function Hc(e){return e===""||e===void 0}function zc(e){const t=Je(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 Wc(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=ov(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 ov(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var sv=Cc,iv=Ec,av=Nc,cv=Ac,lv=Rc,uv=Tc,dv=Oc,fv=Dc,pv=Vc;const mv=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 Uc({children:e,className:t="",value:n,variant:r}){return u.jsx(fv,{className:`dropdown-menu-item dropdown-menu-item-${r} ${t}`,value:n,children:u.jsx(pv,{children:e})})}function qc({children:e,className:t="",placeholder:n,variant:r,...o}){return u.jsxs(sv,{...o,children:[u.jsxs(iv,{className:`dropdown-menu-trigger dropdown-menu-trigger-${r} ${t}`,children:[u.jsx(av,{placeholder:n}),u.jsx(cv,{children:u.jsx(mv,{className:"size-4"})})]}),u.jsx(lv,{children:u.jsx(uv,{className:`dropdown-menu-content dropdown-menu-content-${r}`,position:"popper",sideOffset:2,children:u.jsx(dv,{children:R.Children.map(e,s=>R.isValidElement(s)?R.cloneElement(s,{variant:r}):s)})})})]})}const ci=40,Gc=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([]),y=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 P;x===1?P="min-w-full h-80":x===2?P=C:P=[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,E=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")},k=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 L=document.createElement("div");L.className=K(P,n),L.style.visibility="hidden",L.style.position="absolute",v.current.appendChild(L);const U=L.offsetWidth;return v.current.removeChild(L),U},[n,P]),D=A=>{const L=y.current,U=h.current;return-(A*(L+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=E(A)-m.current;let z=d;U<-ci&&(z=k(1)),U>ci&&(z=k(-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(()=>{y.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,L)=>{const U=L===d;return u.jsx("div",{className:K(P,n),"data-active":U,ref:z=>{z&&(g.current[L]=z)},children:A},L)})}),l&&u.jsx(vr,{activeIndex:d,className:s,count:x,onNext:T,onPrevious:I,variant:i})]})});function Zc({children:e,className:t="",variant:n="stroke-btm-connect",...r}){return u.jsx(Jt,{...r,className:`link-anchor link-anchor-${n} ${t}`,children:u.jsx(ur,{children:e})})}function hv(e){const t=gv(e),n=p.forwardRef((r,o)=>{const{children:s,...i}=r,a=p.Children.toArray(s),c=a.find(bv);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 gv(e){const t=p.forwardRef((n,r)=>{const{children:o,...s}=n;if(p.isValidElement(o)){const i=xv(o),a=yv(s,o.props);return o.type!==p.Fragment&&(a.ref=r?it(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 vv=Symbol("radix.slottable");function bv(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===vv}function yv(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 xv(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",[Yc]=Kt(hr),[wv,Ce]=Yc(hr),Kc=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(wv,{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})};Kc.displayName=hr;var Xc="DialogTrigger",Qc=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(Xc,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":Wo(o.open),...r,ref:s,onClick:ne(e.onClick,o.onOpenToggle)})});Qc.displayName=Xc;var Ho="DialogPortal",[Cv,Jc]=Yc(Ho,{forceMount:void 0}),el=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,s=Ce(Ho,t);return u.jsx(Cv,{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})}))})};el.displayName=Ho;var zn="DialogOverlay",Sv=p.forwardRef((e,t)=>{const n=Jc(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(Pv,{...o,ref:t})}):null});Sv.displayName=zn;var Ev=hv("DialogOverlay.RemoveScroll"),Pv=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(zn,n);return u.jsx(ar,{as:Ev,allowPinchZoom:!0,shards:[o.contentRef],children:u.jsx(re.div,{"data-state":Wo(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),nt="DialogContent",tl=p.forwardRef((e,t)=>{const n=Jc(nt,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Ce(nt,e.__scopeDialog);return u.jsx(At,{present:r||s.open,children:s.modal?u.jsx(Nv,{...o,ref:t}):u.jsx(Av,{...o,ref:t})})});tl.displayName=nt;var Nv=p.forwardRef((e,t)=>{const n=Ce(nt,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(nl,{...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())})}),Av=p.forwardRef((e,t)=>{const n=Ce(nt,e.__scopeDialog),r=p.useRef(!1),o=p.useRef(!1);return u.jsx(nl,{...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()}})}),nl=p.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,...i}=e,a=Ce(nt,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":Wo(a.open),...i,ref:l,onDismiss:()=>a.onOpenChange(!1)})}),u.jsxs(u.Fragment,{children:[u.jsx(Rv,{titleId:a.titleId}),u.jsx(kv,{contentRef:c,descriptionId:a.descriptionId})]})]})}),zo="DialogTitle",rl=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(zo,n);return u.jsx(re.h2,{id:o.titleId,...r,ref:t})});rl.displayName=zo;var ol="DialogDescription",sl=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(ol,n);return u.jsx(re.p,{id:o.descriptionId,...r,ref:t})});sl.displayName=ol;var il="DialogClose",al=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ce(il,n);return u.jsx(re.button,{type:"button",...r,ref:t,onClick:ne(e.onClick,()=>o.onOpenChange(!1))})});al.displayName=il;function Wo(e){return e?"open":"closed"}var cl="DialogTitleWarning",[Kv,ll]=km(cl,{contentName:nt,titleName:zo,docsSlug:"dialog"}),Rv=({titleId:e})=>{const t=ll(cl),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},
|
|
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},Tv="DialogDescriptionWarning",kv=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ll(Tv).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},jv=Kc,Iv=Qc,Ov=el,Lv=tl,Mv=rl,_v=sl,Dv=al;function ul({ariaDescription:e,ariaLabel:t,children:n,className:r="",closeIconVariant:o="enterprise",onOpenChange:s,open:i=!1,trigger:a,variant:c="connect"}){Gg(i);let l={};s&&(l={onOpenChange:s,open:i});const d=c==="connect"?"bg-white":"bg-cloud";return u.jsxs(jv,{...l,modal:!0,children:[a&&u.jsx(Iv,{asChild:!0,children:a}),u.jsx(Ov,{children:u.jsxs(Lv,{className:K("fixed inset-0 left-0 overflow-x-clip overflow-y-scroll top-0",d,r),children:[t&&u.jsx(Mv,{className:"sr-only",children:t}),e&&u.jsx(_v,{className:"sr-only",children:e}),u.jsx(_e,{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(Dv,{"aria-label":"Close modal",children:u.jsx(hc,{})})})})}),n]})})]})}function gr({backgroundVideo:e,...t}){return u.jsx(ul,{...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(Fo,{...e})})})}function _e({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 Vv=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"})),Fv=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 li({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(li,{activeIndex:e,count:o}),u.jsxs("div",{className:"flex items-center",children:[u.jsx(ze,{variant:d,children:u.jsxs("button",{disabled:o!==0&&e===0||!n,onClick:i,children:[u.jsx(Vv,{}),u.jsx("span",{className:"sr-only",children:"Previous slide"})]})}),u.jsx(ze,{variant:l,children:u.jsxs("button",{disabled:o!==0&&e===o-1||!t,onClick:s,children:[u.jsx(Fv,{}),u.jsx("span",{className:"sr-only",children:"Next slide"})]})})]}),a==="right-text"&&u.jsx(li,{activeIndex:e,count:o})]})}const Bv=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 en({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(Bv,{}):u.jsx($v,{})})}function dl({align:e,trigger:t,variant:n}){let r="bg-white",o="basic";return n==="digital"&&(r="bg-black",o="digital"),u.jsxs(Mg,{children:[u.jsx(_g,{asChild:!0,children:t}),u.jsxs(Dg,{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(Be,{onClick:xp,socialPlatform:"facebook",variant:o}),u.jsx(Be,{onClick:wp,socialPlatform:"x",variant:o}),u.jsx(Be,{onClick:Cp,socialPlatform:"linkedin",variant:o}),u.jsx(Be,{onClick:()=>yp(),socialPlatform:"email",variant:o}),u.jsx(Be,{onClick:bp,socialPlatform:"copy",variant:o})]}),u.jsx(Vg,{className:`border-r-2 border-b-2 border-smoke ${r}`})]})]})}const Hv=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 zv({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 Wv({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(Pa,{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 Uv({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(Sa,{className:"flex",opts:{align:"start"},children:[u.jsx(Am,{className:`tabs-line-pagination tabs-line-pagination-${o}`,children:u.jsx(Hv,{})}),u.jsx(Ea,{role:"tablist",children:R.Children.map(r,a=>R.isValidElement(a)?R.cloneElement(a,{activeValue:s,onValueChange:i,variant:o}):a)}),u.jsx(Rm,{className:`tabs-line-pagination tabs-line-pagination-${o}`,children:u.jsx(cc,{})})]})}),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(Jt,{...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 Uo({children:e,className:t=""}){return u.jsx("div",{className:`wysiwyg ${t}`,children:e})}function qv({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(Uo,{children:r}),u.jsx("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",children:u.jsx(en,{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=Fo;exports.Button=ze;exports.ButtonIcon=Rt;exports.ButtonLogo=G1;exports.ButtonSocial=Be;exports.CardSingleDouble=h0;exports.ContentAccordion=Op;exports.ContentAccordionItem=Ip;exports.ContentCarouselMultiple=_p;exports.ContentCarouselMultipleCard=Dp;exports.ContentPrimaryFeatureDetail=qp;exports.ContentQuote=Hg;exports.ContentQuoteItem=Wg;exports.DropdownMenu=qc;exports.DropdownMenuOption=Uc;exports.ExpandingCarousel=Gc;exports.LinkAnchor=Zc;exports.Modal=ul;exports.ModalVideo=gr;exports.PageActions=D1;exports.PageActionsLinkItem=M1;exports.PageMargins=_e;exports.Pagination=vr;exports.PlayButton=en;exports.Share=dl;exports.TabsLine=Uv;exports.TabsLineContent=zv;exports.TabsLineTrigger=Wv;exports.TextCta=Ne;exports.Wysiwyg=Uo;exports.WysiwygVideo=qv;
|
|
59
59
|
//# sourceMappingURL=index.cjs.js.map
|