one-north-cla 0.0.0

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.
@@ -0,0 +1,56 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("react/jsx-runtime"),G=require("react"),xo=require("react-dom");function Co(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 h=Co(G),Eo=Co(xo);function ls(e){return Object.prototype.toString.call(e)==="[object Object]"}function br(e){return ls(e)||Array.isArray(e)}function us(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function qn(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||{})),i=JSON.stringify(Object.keys(t.breakpoints||{}));return o!==i?!1:n.every(s=>{const a=e[s],c=t[s];return typeof a=="function"?`${a}`==`${c}`:!br(a)||!br(c)?a===c:qn(a,c)})}function wr(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function fs(e,t){if(e.length!==t.length)return!1;const n=wr(e),r=wr(t);return n.every((o,i)=>{const s=r[i];return qn(o,s)})}function Un(e){return typeof e=="number"}function In(e){return typeof e=="string"}function sn(e){return typeof e=="boolean"}function xr(e){return Object.prototype.toString.call(e)==="[object Object]"}function K(e){return Math.abs(e)}function Gn(e){return Math.sign(e)}function dt(e,t){return K(e-t)}function ds(e,t){if(e===0||t===0||K(e)<=K(t))return 0;const n=dt(K(e),K(t));return K(n/e)}function ms(e){return Math.round(e*100)/100}function mt(e){return pt(e).map(Number)}function me(e){return e[wt(e)]}function wt(e){return Math.max(0,e.length-1)}function Yn(e,t){return t===wt(e)}function Cr(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function pt(e){return Object.keys(e)}function So(e,t){return[e,t].reduce((n,r)=>(pt(r).forEach(o=>{const i=n[o],s=r[o],a=xr(i)&&xr(s);n[o]=a?So(i,s):s}),n),{})}function _n(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function ps(e,t){const n={start:r,center:o,end:i};function r(){return 0}function o(c){return i(c)/2}function i(c){return t-c}function s(c,l){return In(e)?n[e](c):e(t,c,l)}return{measure:s}}function ht(){let e=[];function t(o,i,s,a={passive:!0}){let c;if("addEventListener"in o)o.addEventListener(i,s,a),c=()=>o.removeEventListener(i,s,a);else{const l=o;l.addListener(s),c=()=>l.removeListener(s)}return e.push(c),r}function n(){e=e.filter(o=>o())}const r={add:t,clear:n};return r}function hs(e,t,n,r){const o=ht(),i=1e3/60;let s=null,a=0,c=0;function l(){o.add(e,"visibilitychange",()=>{e.hidden&&p()})}function f(){m(),o.clear()}function u(y){if(!c)return;s||(s=y,n(),n());const v=y-s;for(s=y,a+=v;a>=i;)n(),a-=i;const b=a/i;r(b),c&&(c=t.requestAnimationFrame(u))}function d(){c||(c=t.requestAnimationFrame(u))}function m(){t.cancelAnimationFrame(c),s=null,a=0,c=0}function p(){s=null,a=0}return{init:l,destroy:f,start:d,stop:m,update:n,render:r}}function gs(e,t){const n=t==="rtl",r=e==="y",o=r?"y":"x",i=r?"x":"y",s=!r&&n?-1:1,a=f(),c=u();function l(p){const{height:g,width:y}=p;return r?g:y}function f(){return r?"top":n?"right":"left"}function u(){return r?"bottom":n?"left":"right"}function d(p){return p*s}return{scroll:o,cross:i,startEdge:a,endEdge:c,measureSize:l,direction:d}}function $e(e=0,t=0){const n=K(e-t);function r(l){return l<e}function o(l){return l>t}function i(l){return r(l)||o(l)}function s(l){return i(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:s,reachedAny:i,reachedMax:o,reachedMin:r,removeOffset:a}}function ko(e,t,n){const{constrain:r}=$e(0,e),o=e+1;let i=s(t);function s(d){return n?K((o+d)%o):r(d)}function a(){return i}function c(d){return i=s(d),u}function l(d){return f().set(a()+d)}function f(){return ko(e,a(),n)}const u={get:a,set:c,add:l,clone:f};return u}function vs(e,t,n,r,o,i,s,a,c,l,f,u,d,m,p,g,y,v,b){const{cross:w,direction:C}=e,E=["INPUT","SELECT","TEXTAREA"],R={passive:!1},k=ht(),S=ht(),N=$e(50,225).constrain(m.measure(20)),D={mouse:300,touch:400},V={mouse:500,touch:600},P=p?43:25;let A=!1,O=0,L=0,M=!1,j=!1,T=!1,B=!1;function H(F){if(!b)return;function q(re){(sn(b)||b(F,re))&&ge(re)}const X=t;k.add(X,"dragstart",re=>re.preventDefault(),R).add(X,"touchmove",()=>{},R).add(X,"touchend",()=>{}).add(X,"touchstart",q).add(X,"mousedown",q).add(X,"touchcancel",Q).add(X,"contextmenu",Q).add(X,"click",ne,!0)}function Y(){k.clear(),S.clear()}function te(){const F=B?n:t;S.add(F,"touchmove",$,R).add(F,"touchend",Q).add(F,"mousemove",$,R).add(F,"mouseup",Q)}function W(F){const q=F.nodeName||"";return E.includes(q)}function Z(){return(p?V:D)[B?"mouse":"touch"]}function le(F,q){const X=u.add(Gn(F)*-1),re=f.byDistance(F,!p).distance;return p||K(F)<N?re:y&&q?re*.5:f.byIndex(X.get(),0).distance}function ge(F){const q=_n(F,r);B=q,T=p&&q&&!F.buttons&&A,A=dt(o.get(),s.get())>=2,!(q&&F.button!==0)&&(W(F.target)||(M=!0,i.pointerDown(F),l.useFriction(0).useDuration(0),o.set(s),te(),O=i.readPoint(F),L=i.readPoint(F,w),d.emit("pointerDown")))}function $(F){if(!_n(F,r)&&F.touches.length>=2)return Q(F);const X=i.readPoint(F),re=i.readPoint(F,w),ue=dt(X,O),de=dt(re,L);if(!j&&!B&&(!F.cancelable||(j=ue>de,!j)))return Q(F);const Ce=i.pointerMove(F);ue>g&&(T=!0),l.useFriction(.3).useDuration(.75),a.start(),o.add(C(Ce)),F.preventDefault()}function Q(F){const X=f.byDistance(0,!1).index!==u.get(),re=i.pointerUp(F)*Z(),ue=le(C(re),X),de=ds(re,ue),Ce=P-10*de,se=v+de/50;j=!1,M=!1,S.clear(),l.useDuration(Ce).useFriction(se),c.distance(ue,!p),B=!1,d.emit("pointerUp")}function ne(F){T&&(F.stopPropagation(),F.preventDefault(),T=!1)}function J(){return M}return{init:H,destroy:Y,pointerDown:J}}function ys(e,t){let r,o;function i(u){return u.timeStamp}function s(u,d){const p=`client${(d||e.scroll)==="x"?"X":"Y"}`;return(_n(u,t)?u:u.touches[0])[p]}function a(u){return r=u,o=u,s(u)}function c(u){const d=s(u)-s(o),m=i(u)-i(r)>170;return o=u,m&&(r=u),d}function l(u){if(!r||!o)return 0;const d=s(o)-s(r),m=i(u)-i(r),p=i(u)-i(o)>170,g=d/m;return m&&!p&&K(g)>.1?g:0}return{pointerDown:a,pointerMove:c,pointerUp:l,readPoint:s}}function bs(){function e(n){const{offsetTop:r,offsetLeft:o,offsetWidth:i,offsetHeight:s}=n;return{top:r,right:o+i,bottom:r+s,left:o,width:i,height:s}}return{measure:e}}function ws(e){function t(r){return e*(r/100)}return{measure:t}}function xs(e,t,n,r,o,i,s){const a=[e].concat(r);let c,l,f=[],u=!1;function d(y){return o.measureSize(s.measure(y))}function m(y){if(!i)return;l=d(e),f=r.map(d);function v(b){for(const w of b){if(u)return;const C=w.target===e,E=r.indexOf(w.target),R=C?l:f[E],k=d(C?e:r[E]);if(K(k-R)>=.5){y.reInit(),t.emit("resize");break}}}c=new ResizeObserver(b=>{(sn(i)||i(y,b))&&v(b)}),n.requestAnimationFrame(()=>{a.forEach(b=>c.observe(b))})}function p(){u=!0,c&&c.disconnect()}return{init:m,destroy:p}}function Cs(e,t,n,r,o,i){let s=0,a=0,c=o,l=i,f=e.get(),u=0;function d(){const R=r.get()-e.get(),k=!c;let S=0;return k?(s=0,n.set(r),e.set(r),S=R):(n.set(e),s+=R/c,s*=l,f+=s,e.add(s),S=f-u),a=Gn(S),u=f,E}function m(){const R=r.get()-t.get();return K(R)<.001}function p(){return c}function g(){return a}function y(){return s}function v(){return w(o)}function b(){return C(i)}function w(R){return c=R,E}function C(R){return l=R,E}const E={direction:g,duration:p,velocity:y,seek:d,settled:m,useBaseFriction:b,useBaseDuration:v,useFriction:C,useDuration:w};return E}function Es(e,t,n,r,o){const i=o.measure(10),s=o.measure(50),a=$e(.1,.99);let c=!1;function l(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function f(m){if(!l())return;const p=e.reachedMin(t.get())?"min":"max",g=K(e[p]-t.get()),y=n.get()-t.get(),v=a.constrain(g/s);n.subtract(y*v),!m&&K(y)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function u(m){c=!m}return{shouldConstrain:l,constrain:f,toggleActive:u}}function Ss(e,t,n,r,o){const i=$e(-t+e,0),s=u(),a=f(),c=d();function l(p,g){return dt(p,g)<=1}function f(){const p=s[0],g=me(s),y=s.lastIndexOf(p),v=s.indexOf(g)+1;return $e(y,v)}function u(){return n.map((p,g)=>{const{min:y,max:v}=i,b=i.constrain(p),w=!g,C=Yn(n,g);return w?v:C||l(y,b)?y:l(v,b)?v:b}).map(p=>parseFloat(p.toFixed(3)))}function d(){if(t<=e+o)return[i.max];if(r==="keepSnaps")return s;const{min:p,max:g}=a;return s.slice(p,g)}return{snapsContained:c,scrollContainLimit:a}}function ks(e,t,n){const r=t[0],o=n?r-e:me(t);return{limit:$e(o,r)}}function Ps(e,t,n,r){const i=t.min+.1,s=t.max+.1,{reachedMin:a,reachedMax:c}=$e(i,s);function l(d){return d===1?c(n.get()):d===-1?a(n.get()):!1}function f(d){if(!l(d))return;const m=e*(d*-1);r.forEach(p=>p.add(m))}return{loop:f}}function As(e){const{max:t,length:n}=e;function r(i){const s=i-t;return n?s/-n:0}return{get:r}}function Rs(e,t,n,r,o){const{startEdge:i,endEdge:s}=e,{groupSlides:a}=o,c=u().map(t.measure),l=d(),f=m();function u(){return a(r).map(g=>me(g)[s]-g[0][i]).map(K)}function d(){return r.map(g=>n[i]-g[i]).map(g=>-K(g))}function m(){return a(l).map(g=>g[0]).map((g,y)=>g+c[y])}return{snaps:l,snapsAligned:f}}function Ts(e,t,n,r,o,i){const{groupSlides:s}=o,{min:a,max:c}=r,l=f();function f(){const d=s(i),m=!e||t==="keepSnaps";return n.length===1?[i]:m?d:d.slice(a,c).map((p,g,y)=>{const v=!g,b=Yn(y,g);if(v){const w=me(y[0])+1;return Cr(w)}if(b){const w=wt(i)-me(y)[0]+1;return Cr(w,me(y)[0])}return p})}return{slideRegistry:l}}function Os(e,t,n,r,o){const{reachedAny:i,removeOffset:s,constrain:a}=r;function c(p){return p.concat().sort((g,y)=>K(g)-K(y))[0]}function l(p){const g=e?s(p):a(p),y=t.map((b,w)=>({diff:f(b-g,0),index:w})).sort((b,w)=>K(b.diff)-K(w.diff)),{index:v}=y[0];return{index:v,distance:g}}function f(p,g){const y=[p,p+n,p-n];if(!e)return p;if(!g)return c(y);const v=y.filter(b=>Gn(b)===g);return v.length?c(v):me(y)-n}function u(p,g){const y=t[p]-o.get(),v=f(y,g);return{index:p,distance:v}}function d(p,g){const y=o.get()+p,{index:v,distance:b}=l(y),w=!e&&i(y);if(!g||w)return{index:v,distance:p};const C=t[v]-b,E=p+f(C,0);return{index:v,distance:E}}return{byDistance:d,byIndex:u,shortcut:f}}function Ms(e,t,n,r,o,i,s){function a(u){const d=u.distance,m=u.index!==t.get();i.add(d),d&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),m&&(n.set(t.get()),t.set(u.index),s.emit("select"))}function c(u,d){const m=o.byDistance(u,d);a(m)}function l(u,d){const m=t.clone().set(u),p=o.byIndex(m.get(),d);a(p)}return{distance:c,index:l}}function Ns(e,t,n,r,o,i,s,a){const c={passive:!0,capture:!0};let l=0;function f(m){if(!a)return;function p(g){if(new Date().getTime()-l>10)return;s.emit("slideFocusStart"),e.scrollLeft=0;const b=n.findIndex(w=>w.includes(g));Un(b)&&(o.useDuration(0),r.index(b,0),s.emit("slideFocus"))}i.add(document,"keydown",u,!1),t.forEach((g,y)=>{i.add(g,"focus",v=>{(sn(a)||a(m,v))&&p(y)},c)})}function u(m){m.code==="Tab"&&(l=new Date().getTime())}return{init:f}}function ft(e){let t=e;function n(){return t}function r(c){t=s(c)}function o(c){t+=s(c)}function i(c){t-=s(c)}function s(c){return Un(c)?c:c.get()}return{get:n,set:r,add:o,subtract:i}}function Po(e,t){const n=e.scroll==="x"?s:a,r=t.style;let o=null,i=!1;function s(d){return`translate3d(${d}px,0px,0px)`}function a(d){return`translate3d(0px,${d}px,0px)`}function c(d){if(i)return;const m=ms(e.direction(d));m!==o&&(r.transform=n(m),o=m)}function l(d){i=!d}function f(){i||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:f,to:c,toggleActive:l}}function Ls(e,t,n,r,o,i,s,a,c){const f=mt(o),u=mt(o).reverse(),d=v().concat(b());function m(k,S){return k.reduce((N,D)=>N-o[D],S)}function p(k,S){return k.reduce((N,D)=>m(N,S)>0?N.concat([D]):N,[])}function g(k){return i.map((S,N)=>({start:S-r[N]+.5+k,end:S+t-.5+k}))}function y(k,S,N){const D=g(S);return k.map(V=>{const P=N?0:-n,A=N?n:0,O=N?"end":"start",L=D[V][O];return{index:V,loopPoint:L,slideLocation:ft(-1),translate:Po(e,c[V]),target:()=>a.get()>L?P:A}})}function v(){const k=s[0],S=p(u,k);return y(S,n,!1)}function b(){const k=t-s[0]-1,S=p(f,k);return y(S,-n,!0)}function w(){return d.every(({index:k})=>{const S=f.filter(N=>N!==k);return m(S,t)<=.1})}function C(){d.forEach(k=>{const{target:S,translate:N,slideLocation:D}=k,V=S();V!==D.get()&&(N.to(V),D.set(V))})}function E(){d.forEach(k=>k.translate.clear())}return{canLoop:w,clear:E,loop:C,loopPoints:d}}function js(e,t,n){let r,o=!1;function i(c){if(!n)return;function l(f){for(const u of f)if(u.type==="childList"){c.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(f=>{o||(sn(n)||n(c,f))&&l(f)}),r.observe(e,{childList:!0})}function s(){r&&r.disconnect(),o=!0}return{init:i,destroy:s}}function Fs(e,t,n,r){const o={};let i=null,s=null,a,c=!1;function l(){a=new IntersectionObserver(p=>{c||(p.forEach(g=>{const y=t.indexOf(g.target);o[y]=g}),i=null,s=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(p=>a.observe(p))}function f(){a&&a.disconnect(),c=!0}function u(p){return pt(o).reduce((g,y)=>{const v=parseInt(y),{isIntersecting:b}=o[v];return(p&&b||!p&&!b)&&g.push(v),g},[])}function d(p=!0){if(p&&i)return i;if(!p&&s)return s;const g=u(p);return p&&(i=g),p||(s=g),g}return{init:l,destroy:f,get:d}}function Is(e,t,n,r,o,i){const{measureSize:s,startEdge:a,endEdge:c}=e,l=n[0]&&o,f=p(),u=g(),d=n.map(s),m=y();function p(){if(!l)return 0;const b=n[0];return K(t[a]-b[a])}function g(){if(!l)return 0;const b=i.getComputedStyle(me(r));return parseFloat(b.getPropertyValue(`margin-${c}`))}function y(){return n.map((b,w,C)=>{const E=!w,R=Yn(C,w);return E?d[w]+f:R?d[w]+u:C[w+1][a]-b[a]}).map(K)}return{slideSizes:d,slideSizesWithGaps:m,startGap:f,endGap:u}}function _s(e,t,n,r,o,i,s,a,c){const{startEdge:l,endEdge:f,direction:u}=e,d=Un(n);function m(v,b){return mt(v).filter(w=>w%b===0).map(w=>v.slice(w,w+b))}function p(v){return v.length?mt(v).reduce((b,w,C)=>{const E=me(b)||0,R=E===0,k=w===wt(v),S=o[l]-i[E][l],N=o[l]-i[w][f],D=!r&&R?u(s):0,V=!r&&k?u(a):0,P=K(N-V-(S+D));return C&&P>t+c&&b.push(w),k&&b.push(v.length),b},[]).map((b,w,C)=>{const E=Math.max(C[w-1]||0);return v.slice(E,b)}):[]}function g(v){return d?m(v,n):p(v)}return{groupSlides:g}}function Ds(e,t,n,r,o,i,s){const{align:a,axis:c,direction:l,startIndex:f,loop:u,duration:d,dragFree:m,dragThreshold:p,inViewThreshold:g,slidesToScroll:y,skipSnaps:v,containScroll:b,watchResize:w,watchSlides:C,watchDrag:E,watchFocus:R}=i,k=2,S=bs(),N=S.measure(t),D=n.map(S.measure),V=gs(c,l),P=V.measureSize(N),A=ws(P),O=ps(a,P),L=!u&&!!b,M=u||!!b,{slideSizes:j,slideSizesWithGaps:T,startGap:B,endGap:H}=Is(V,N,D,n,M,o),Y=_s(V,P,y,u,N,D,B,H,k),{snaps:te,snapsAligned:W}=Rs(V,O,N,D,Y),Z=-me(te)+me(T),{snapsContained:le,scrollContainLimit:ge}=Ss(P,Z,W,b,k),$=L?le:W,{limit:Q}=ks(Z,$,u),ne=ko(wt($),f,u),J=ne.clone(),U=mt(n),F=({dragHandler:We,scrollBody:yn,scrollBounds:bn,options:{loop:Pt}})=>{Pt||bn.constrain(We.pointerDown()),yn.seek()},q=({scrollBody:We,translate:yn,location:bn,offsetLocation:Pt,previousLocation:ts,scrollLooper:ns,slideLooper:rs,dragHandler:os,animation:is,eventHandler:mr,scrollBounds:ss,options:{loop:pr}},hr)=>{const gr=We.settled(),as=!ss.shouldConstrain(),vr=pr?gr:gr&&as,yr=vr&&!os.pointerDown();yr&&is.stop();const cs=bn.get()*hr+ts.get()*(1-hr);Pt.set(cs),pr&&(ns.loop(We.direction()),rs.loop()),yn.to(Pt.get()),yr&&mr.emit("settle"),vr||mr.emit("scroll")},X=hs(r,o,()=>F(vn),We=>q(vn,We)),re=.68,ue=$[ne.get()],de=ft(ue),Ce=ft(ue),se=ft(ue),_e=ft(ue),ct=Cs(de,se,Ce,_e,d,re),hn=Os(u,$,Z,Q,_e),gn=Ms(X,ne,J,ct,hn,_e,s),ur=As(Q),fr=ht(),Ji=Fs(t,n,s,g),{slideRegistry:dr}=Ts(L,b,$,ge,Y,U),es=Ns(e,n,dr,gn,ct,fr,s,R),vn={ownerDocument:r,ownerWindow:o,eventHandler:s,containerRect:N,slideRects:D,animation:X,axis:V,dragHandler:vs(V,e,r,o,_e,ys(V,o),de,X,gn,ct,hn,ne,s,A,m,p,v,re,E),eventStore:fr,percentOfView:A,index:ne,indexPrevious:J,limit:Q,location:de,offsetLocation:se,previousLocation:Ce,options:i,resizeHandler:xs(t,s,o,n,V,w,S),scrollBody:ct,scrollBounds:Es(Q,se,_e,ct,A),scrollLooper:Ps(Z,Q,se,[de,se,Ce,_e]),scrollProgress:ur,scrollSnapList:$.map(ur.get),scrollSnaps:$,scrollTarget:hn,scrollTo:gn,slideLooper:Ls(V,P,Z,j,T,te,$,se,n),slideFocus:es,slidesHandler:js(t,s,C),slidesInView:Ji,slideIndexes:U,slideRegistry:dr,slidesToScroll:Y,target:_e,translate:Po(V,t)};return vn}function Vs(){let e={},t;function n(l){t=l}function r(l){return e[l]||[]}function o(l){return r(l).forEach(f=>f(t,l)),c}function i(l,f){return e[l]=r(l).concat([f]),c}function s(l,f){return e[l]=r(l).filter(u=>u!==f),c}function a(){e={}}const c={init:n,emit:o,off:s,on:i,clear:a};return c}const Bs={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 zs(e){function t(i,s){return So(i,s||{})}function n(i){const s=i.breakpoints||{},a=pt(s).filter(c=>e.matchMedia(c).matches).map(c=>s[c]).reduce((c,l)=>t(c,l),{});return t(i,a)}function r(i){return i.map(s=>pt(s.breakpoints||{})).reduce((s,a)=>s.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function $s(e){let t=[];function n(i,s){return t=s.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(i,e)),s.reduce((a,c)=>Object.assign(a,{[c.name]:c}),{})}function r(){t=t.filter(i=>i.destroy())}return{init:n,destroy:r}}function Zt(e,t,n){const r=e.ownerDocument,o=r.defaultView,i=zs(o),s=$s(i),a=ht(),c=Vs(),{mergeOptions:l,optionsAtMedia:f,optionsMediaQueries:u}=i,{on:d,off:m,emit:p}=c,g=V;let y=!1,v,b=l(Bs,Zt.globalOptions),w=l(b),C=[],E,R,k;function S(){const{container:U,slides:F}=w;R=(In(U)?e.querySelector(U):U)||e.children[0];const X=In(F)?R.querySelectorAll(F):F;k=[].slice.call(X||R.children)}function N(U){const F=Ds(e,R,k,r,o,U,c);if(U.loop&&!F.slideLooper.canLoop()){const q=Object.assign({},U,{loop:!1});return N(q)}return F}function D(U,F){y||(b=l(b,U),w=f(b),C=F||C,S(),v=N(w),u([b,...C.map(({options:q})=>q)]).forEach(q=>a.add(q,"change",V)),w.active&&(v.translate.to(v.location.get()),v.animation.init(),v.slidesInView.init(),v.slideFocus.init(J),v.eventHandler.init(J),v.resizeHandler.init(J),v.slidesHandler.init(J),v.options.loop&&v.slideLooper.loop(),R.offsetParent&&k.length&&v.dragHandler.init(J),E=s.init(J,C)))}function V(U,F){const q=Y();P(),D(l({startIndex:q},U),F),c.emit("reInit")}function P(){v.dragHandler.destroy(),v.eventStore.clear(),v.translate.clear(),v.slideLooper.clear(),v.resizeHandler.destroy(),v.slidesHandler.destroy(),v.slidesInView.destroy(),v.animation.destroy(),s.destroy(),a.clear()}function A(){y||(y=!0,a.clear(),P(),c.emit("destroy"),c.clear())}function O(U,F,q){!w.active||y||(v.scrollBody.useBaseFriction().useDuration(F===!0?0:w.duration),v.scrollTo.index(U,q||0))}function L(U){const F=v.index.add(1).get();O(F,U,-1)}function M(U){const F=v.index.add(-1).get();O(F,U,1)}function j(){return v.index.add(1).get()!==Y()}function T(){return v.index.add(-1).get()!==Y()}function B(){return v.scrollSnapList}function H(){return v.scrollProgress.get(v.offsetLocation.get())}function Y(){return v.index.get()}function te(){return v.indexPrevious.get()}function W(){return v.slidesInView.get()}function Z(){return v.slidesInView.get(!1)}function le(){return E}function ge(){return v}function $(){return e}function Q(){return R}function ne(){return k}const J={canScrollNext:j,canScrollPrev:T,containerNode:Q,internalEngine:ge,destroy:A,off:m,on:d,emit:p,plugins:le,previousScrollSnap:te,reInit:g,rootNode:$,scrollNext:L,scrollPrev:M,scrollProgress:H,scrollSnapList:B,scrollTo:O,selectedScrollSnap:Y,slideNodes:ne,slidesInView:W,slidesNotInView:Z};return D(t,n),setTimeout(()=>c.emit("init"),0),J}Zt.globalOptions=void 0;function Zn(e={},t=[]){const n=G.useRef(e),r=G.useRef(t),[o,i]=G.useState(),[s,a]=G.useState(),c=G.useCallback(()=>{o&&o.reInit(n.current,r.current)},[o]);return G.useEffect(()=>{qn(n.current,e)||(n.current=e,c())},[e,c]),G.useEffect(()=>{fs(r.current,t)||(r.current=t,c())},[t,c]),G.useEffect(()=>{if(us()&&s){Zt.globalOptions=Zn.globalOptions;const l=Zt(s,n.current,r.current);return i(l),()=>l.destroy()}else i(void 0)},[s,i]),[a,o]}Zn.globalOptions=void 0;const Hs=e=>h.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{d:"M17.5861 14L24.7656 7L17.5861 0L3.22717 14L17.5861 28L24.7656 21L17.5861 14Z",fill:"currentColor"})),Ws=e=>h.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{d:"M10.4139 14L3.23438 7L10.4139 0L24.7728 14L10.4139 28L3.23438 21L10.4139 14Z",fill:"currentColor"}));function Ao(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=Ao(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function qs(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ao(e))&&(r&&(r+=" "),r+=t);return r}const Us=(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},Gs=(e,t)=>({classGroupId:e,validator:t}),Ro=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Xt="-",Er=[],Ys="arbitrary..",Zs=e=>{const t=Ks(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return Xs(s);const a=s.split(Xt),c=a[0]===""&&a.length>1?1:0;return To(a,c,t)},getConflictingClassGroupIds:(s,a)=>{if(a){const c=r[s],l=n[s];return c?l?Us(l,c):c:l||Er}return n[s]||Er}}},To=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],i=n.nextPart.get(o);if(i){const l=To(e,t+1,i);if(l)return l}const s=n.validators;if(s===null)return;const a=t===0?e.join(Xt):e.slice(t).join(Xt),c=s.length;for(let l=0;l<c;l++){const f=s[l];if(f.validator(a))return f.classGroupId}},Xs=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?Ys+r:void 0})(),Ks=e=>{const{theme:t,classGroups:n}=e;return Qs(n,t)},Qs=(e,t)=>{const n=Ro();for(const r in e){const o=e[r];Xn(o,n,r,t)}return n},Xn=(e,t,n,r)=>{const o=e.length;for(let i=0;i<o;i++){const s=e[i];Js(s,t,n,r)}},Js=(e,t,n,r)=>{if(typeof e=="string"){ea(e,t,n);return}if(typeof e=="function"){ta(e,t,n,r);return}na(e,t,n,r)},ea=(e,t,n)=>{const r=e===""?t:Oo(t,e);r.classGroupId=n},ta=(e,t,n,r)=>{if(ra(e)){Xn(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Gs(n,e))},na=(e,t,n,r)=>{const o=Object.entries(e),i=o.length;for(let s=0;s<i;s++){const[a,c]=o[s];Xn(c,Oo(t,a),n,r)}},Oo=(e,t)=>{let n=e;const r=t.split(Xt),o=r.length;for(let i=0;i<o;i++){const s=r[i];let a=n.nextPart.get(s);a||(a=Ro(),n.nextPart.set(s,a)),n=a}return n},ra=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,oa=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(i,s)=>{n[i]=s,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(i){let s=n[i];if(s!==void 0)return s;if((s=r[i])!==void 0)return o(i,s),s},set(i,s){i in n?n[i]=s:o(i,s)}}},Dn="!",Sr=":",ia=[],kr=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),sa=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const i=[];let s=0,a=0,c=0,l;const f=o.length;for(let g=0;g<f;g++){const y=o[g];if(s===0&&a===0){if(y===Sr){i.push(o.slice(c,g)),c=g+1;continue}if(y==="/"){l=g;continue}}y==="["?s++:y==="]"?s--:y==="("?a++:y===")"&&a--}const u=i.length===0?o:o.slice(c);let d=u,m=!1;u.endsWith(Dn)?(d=u.slice(0,-1),m=!0):u.startsWith(Dn)&&(d=u.slice(1),m=!0);const p=l&&l>c?l-c:void 0;return kr(i,m,d,p)};if(t){const o=t+Sr,i=r;r=s=>s.startsWith(o)?i(s.slice(o.length)):kr(ia,!1,s,void 0,!0)}if(n){const o=r;r=i=>n({className:i,parseClassName:o})}return r},aa=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let i=0;i<n.length;i++){const s=n[i],a=s[0]==="[",c=t.has(s);a||c?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(s)):o.push(s)}return o.length>0&&(o.sort(),r.push(...o)),r}},ca=e=>({cache:oa(e.cacheSize),parseClassName:sa(e),sortModifiers:aa(e),...Zs(e)}),la=/\s+/,ua=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i}=t,s=[],a=e.trim().split(la);let c="";for(let l=a.length-1;l>=0;l-=1){const f=a[l],{isExternal:u,modifiers:d,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:g}=n(f);if(u){c=f+(c.length>0?" "+c:c);continue}let y=!!g,v=r(y?p.substring(0,g):p);if(!v){if(!y){c=f+(c.length>0?" "+c:c);continue}if(v=r(p),!v){c=f+(c.length>0?" "+c:c);continue}y=!1}const b=d.length===0?"":d.length===1?d[0]:i(d).join(":"),w=m?b+Dn:b,C=w+v;if(s.indexOf(C)>-1)continue;s.push(C);const E=o(v,y);for(let R=0;R<E.length;++R){const k=E[R];s.push(w+k)}c=f+(c.length>0?" "+c:c)}return c},fa=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=Mo(n))&&(o&&(o+=" "),o+=r);return o},Mo=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Mo(e[r]))&&(n&&(n+=" "),n+=t);return n},da=(e,...t)=>{let n,r,o,i;const s=c=>{const l=t.reduce((f,u)=>u(f),e());return n=ca(l),r=n.cache.get,o=n.cache.set,i=a,a(c)},a=c=>{const l=r(c);if(l)return l;const f=ua(c,n);return o(c,f),f};return i=s,(...c)=>i(fa(...c))},ma=[],ee=e=>{const t=n=>n[e]||ma;return t.isThemeGetter=!0,t},No=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Lo=/^\((?:(\w[\w-]*):)?(.+)\)$/i,pa=/^\d+\/\d+$/,ha=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ga=/\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$/,va=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ya=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ba=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,qe=e=>pa.test(e),z=e=>!!e&&!Number.isNaN(Number(e)),Te=e=>!!e&&Number.isInteger(Number(e)),wn=e=>e.endsWith("%")&&z(e.slice(0,-1)),Ee=e=>ha.test(e),wa=()=>!0,xa=e=>ga.test(e)&&!va.test(e),jo=()=>!1,Ca=e=>ya.test(e),Ea=e=>ba.test(e),Sa=e=>!I(e)&&!_(e),ka=e=>rt(e,_o,jo),I=e=>No.test(e),De=e=>rt(e,Do,xa),xn=e=>rt(e,Oa,z),Pr=e=>rt(e,Fo,jo),Pa=e=>rt(e,Io,Ea),At=e=>rt(e,Vo,Ca),_=e=>Lo.test(e),lt=e=>ot(e,Do),Aa=e=>ot(e,Ma),Ar=e=>ot(e,Fo),Ra=e=>ot(e,_o),Ta=e=>ot(e,Io),Rt=e=>ot(e,Vo,!0),rt=(e,t,n)=>{const r=No.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},ot=(e,t,n=!1)=>{const r=Lo.exec(e);return r?r[1]?t(r[1]):n:!1},Fo=e=>e==="position"||e==="percentage",Io=e=>e==="image"||e==="url",_o=e=>e==="length"||e==="size"||e==="bg-size",Do=e=>e==="length",Oa=e=>e==="number",Ma=e=>e==="family-name",Vo=e=>e==="shadow",Na=()=>{const e=ee("color"),t=ee("font"),n=ee("text"),r=ee("font-weight"),o=ee("tracking"),i=ee("leading"),s=ee("breakpoint"),a=ee("container"),c=ee("spacing"),l=ee("radius"),f=ee("shadow"),u=ee("inset-shadow"),d=ee("text-shadow"),m=ee("drop-shadow"),p=ee("blur"),g=ee("perspective"),y=ee("aspect"),v=ee("ease"),b=ee("animate"),w=()=>["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(),_,I],R=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],S=()=>[_,I,c],N=()=>[qe,"full","auto",...S()],D=()=>[Te,"none","subgrid",_,I],V=()=>["auto",{span:["full",Te,_,I]},Te,_,I],P=()=>[Te,"auto",_,I],A=()=>["auto","min","max","fr",_,I],O=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],L=()=>["start","end","center","stretch","center-safe","end-safe"],M=()=>["auto",...S()],j=()=>[qe,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],T=()=>[e,_,I],B=()=>[...C(),Ar,Pr,{position:[_,I]}],H=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Y=()=>["auto","cover","contain",Ra,ka,{size:[_,I]}],te=()=>[wn,lt,De],W=()=>["","none","full",l,_,I],Z=()=>["",z,lt,De],le=()=>["solid","dashed","dotted","double"],ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$=()=>[z,wn,Ar,Pr],Q=()=>["","none",p,_,I],ne=()=>["none",z,_,I],J=()=>["none",z,_,I],U=()=>[z,_,I],F=()=>[qe,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ee],breakpoint:[Ee],color:[wa],container:[Ee],"drop-shadow":[Ee],ease:["in","out","in-out"],font:[Sa],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ee],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ee],shadow:[Ee],spacing:["px",z],text:[Ee],"text-shadow":[Ee],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",qe,I,_,y]}],container:["container"],columns:[{columns:[z,I,_,a]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"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:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:N()}],"inset-x":[{"inset-x":N()}],"inset-y":[{"inset-y":N()}],start:[{start:N()}],end:[{end:N()}],top:[{top:N()}],right:[{right:N()}],bottom:[{bottom:N()}],left:[{left:N()}],visibility:["visible","invisible","collapse"],z:[{z:[Te,"auto",_,I]}],basis:[{basis:[qe,"full","auto",a,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[z,qe,"auto","initial","none",I]}],grow:[{grow:["",z,_,I]}],shrink:[{shrink:["",z,_,I]}],order:[{order:[Te,"first","last","none",_,I]}],"grid-cols":[{"grid-cols":D()}],"col-start-end":[{col:V()}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":D()}],"row-start-end":[{row:V()}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...O(),"normal"]}],"justify-items":[{"justify-items":[...L(),"normal"]}],"justify-self":[{"justify-self":["auto",...L()]}],"align-content":[{content:["normal",...O()]}],"align-items":[{items:[...L(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...L(),{baseline:["","last"]}]}],"place-content":[{"place-content":O()}],"place-items":[{"place-items":[...L(),"baseline"]}],"place-self":[{"place-self":["auto",...L()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:j()}],w:[{w:[a,"screen",...j()]}],"min-w":[{"min-w":[a,"screen","none",...j()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...j()]}],h:[{h:["screen","lh",...j()]}],"min-h":[{"min-h":["screen","lh","none",...j()]}],"max-h":[{"max-h":["screen","lh",...j()]}],"font-size":[{text:["base",n,lt,De]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,_,xn]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",wn,I]}],"font-family":[{font:[Aa,I,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,_,I]}],"line-clamp":[{"line-clamp":[z,"none",_,xn]}],leading:[{leading:[i,...S()]}],"list-image":[{"list-image":["none",_,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",_,I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:[z,"from-font","auto",_,De]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[z,"auto",_,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_,I]}],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",_,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:B()}],"bg-repeat":[{bg:H()}],"bg-size":[{bg:Y()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Te,_,I],radial:["",_,I],conic:[Te,_,I]},Ta,Pa]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:te()}],"gradient-via-pos":[{via:te()}],"gradient-to-pos":[{to:te()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:W()}],"rounded-s":[{"rounded-s":W()}],"rounded-e":[{"rounded-e":W()}],"rounded-t":[{"rounded-t":W()}],"rounded-r":[{"rounded-r":W()}],"rounded-b":[{"rounded-b":W()}],"rounded-l":[{"rounded-l":W()}],"rounded-ss":[{"rounded-ss":W()}],"rounded-se":[{"rounded-se":W()}],"rounded-ee":[{"rounded-ee":W()}],"rounded-es":[{"rounded-es":W()}],"rounded-tl":[{"rounded-tl":W()}],"rounded-tr":[{"rounded-tr":W()}],"rounded-br":[{"rounded-br":W()}],"rounded-bl":[{"rounded-bl":W()}],"border-w":[{border:Z()}],"border-w-x":[{"border-x":Z()}],"border-w-y":[{"border-y":Z()}],"border-w-s":[{"border-s":Z()}],"border-w-e":[{"border-e":Z()}],"border-w-t":[{"border-t":Z()}],"border-w-r":[{"border-r":Z()}],"border-w-b":[{"border-b":Z()}],"border-w-l":[{"border-l":Z()}],"divide-x":[{"divide-x":Z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...le(),"hidden","none"]}],"divide-style":[{divide:[...le(),"hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:[...le(),"none","hidden"]}],"outline-offset":[{"outline-offset":[z,_,I]}],"outline-w":[{outline:["",z,lt,De]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",f,Rt,At]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",u,Rt,At]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[z,De]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":Z()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",d,Rt,At]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[z,_,I]}],"mix-blend":[{"mix-blend":[...ge(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ge()}],"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":[z]}],"mask-image-linear-from-pos":[{"mask-linear-from":$()}],"mask-image-linear-to-pos":[{"mask-linear-to":$()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":$()}],"mask-image-t-to-pos":[{"mask-t-to":$()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":$()}],"mask-image-r-to-pos":[{"mask-r-to":$()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":$()}],"mask-image-b-to-pos":[{"mask-b-to":$()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":$()}],"mask-image-l-to-pos":[{"mask-l-to":$()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":$()}],"mask-image-x-to-pos":[{"mask-x-to":$()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":$()}],"mask-image-y-to-pos":[{"mask-y-to":$()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[_,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":$()}],"mask-image-radial-to-pos":[{"mask-radial-to":$()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"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":[z]}],"mask-image-conic-from-pos":[{"mask-conic-from":$()}],"mask-image-conic-to-pos":[{"mask-conic-to":$()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:B()}],"mask-repeat":[{mask:H()}],"mask-size":[{mask:Y()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",_,I]}],filter:[{filter:["","none",_,I]}],blur:[{blur:Q()}],brightness:[{brightness:[z,_,I]}],contrast:[{contrast:[z,_,I]}],"drop-shadow":[{"drop-shadow":["","none",m,Rt,At]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",z,_,I]}],"hue-rotate":[{"hue-rotate":[z,_,I]}],invert:[{invert:["",z,_,I]}],saturate:[{saturate:[z,_,I]}],sepia:[{sepia:["",z,_,I]}],"backdrop-filter":[{"backdrop-filter":["","none",_,I]}],"backdrop-blur":[{"backdrop-blur":Q()}],"backdrop-brightness":[{"backdrop-brightness":[z,_,I]}],"backdrop-contrast":[{"backdrop-contrast":[z,_,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",z,_,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[z,_,I]}],"backdrop-invert":[{"backdrop-invert":["",z,_,I]}],"backdrop-opacity":[{"backdrop-opacity":[z,_,I]}],"backdrop-saturate":[{"backdrop-saturate":[z,_,I]}],"backdrop-sepia":[{"backdrop-sepia":["",z,_,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",_,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[z,"initial",_,I]}],ease:[{ease:["linear","initial",v,_,I]}],delay:[{delay:[z,_,I]}],animate:[{animate:["none",b,_,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,_,I]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:ne()}],"rotate-x":[{"rotate-x":ne()}],"rotate-y":[{"rotate-y":ne()}],"rotate-z":[{"rotate-z":ne()}],scale:[{scale:J()}],"scale-x":[{"scale-x":J()}],"scale-y":[{"scale-y":J()}],"scale-z":[{"scale-z":J()}],"scale-3d":["scale-3d"],skew:[{skew:U()}],"skew-x":[{"skew-x":U()}],"skew-y":[{"skew-y":U()}],transform:[{transform:[_,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:F()}],"translate-x":[{"translate-x":F()}],"translate-y":[{"translate-y":F()}],"translate-z":[{"translate-z":F()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"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",_,I]}],"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":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"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",_,I]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[z,lt,De,xn]}],stroke:[{stroke:["none",...T()]}],"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"]}},La=da(Na);function xt(...e){return La(qs(e))}function Rr(e){const{className:t,type:n}=e,r=document.createElement("div");r.className=t,r.style.display="none",document.body.appendChild(r);let o=getComputedStyle(r).backgroundColor;return n==="text"&&(o=getComputedStyle(r).color),document.body.removeChild(r),o}function Tr(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 Or([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),i=r(t),s=r(n);return .2126*o+.7152*i+.0722*s}function ja(e,t,n=4.5){const r=Rr(e),o=Rr(t),i=Tr(r),s=Tr(o),a=Or(i),c=Or(s),l=Math.max(a,c),f=Math.min(a,c);return(l+.05)/(f+.05)>=n}function Fa(){const e=window.location.href;return navigator.clipboard.writeText(e)}function Ia(e,t){const n=e||document.title;let r=t||"";const o=document.querySelector('meta[name="description"]');!t&&o&&(r=o.getAttribute("content")||""),window.location.href=`mailto:?subject=${encodeURIComponent(n)}&body=`+encodeURIComponent(`${r}
2
+
3
+ ${window.location.href}`)}function _a(){const e=encodeURIComponent(window.location.href);window.open(`https://www.facebook.com/sharer/sharer.php?u=${e}`,"_blank")}function Da(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 Va(){const e=encodeURIComponent(window.location.href);window.open(`https://www.linkedin.com/sharing/share-offsite/?url=${e}`,"_blank")}const Bo=h.createContext(null);function Kn(){const e=h.useContext(Bo);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}function Ba({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:o,children:i,...s}){const[a,c]=Zn({...t,axis:e==="horizontal"?"x":"y"},r),[l,f]=h.useState(!1),[u,d]=h.useState(!1),m=h.useCallback(v=>{v&&(f(v.canScrollPrev()),d(v.canScrollNext()))},[]),p=h.useCallback(()=>{c==null||c.scrollPrev()},[c]),g=h.useCallback(()=>{c==null||c.scrollNext()},[c]),y=h.useCallback(v=>{v.key==="ArrowLeft"?(v.preventDefault(),p()):v.key==="ArrowRight"&&(v.preventDefault(),g())},[p,g]);return h.useEffect(()=>{!c||!n||n(c)},[c,n]),h.useEffect(()=>{if(c)return m(c),c.on("reInit",m),c.on("select",m),()=>{c==null||c.off("select",m)}},[c,m]),x.jsx(Bo.Provider,{value:{carouselRef:a,api:c,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:p,scrollNext:g,canScrollPrev:l,canScrollNext:u},children:x.jsx("div",{onKeyDownCapture:y,className:xt("relative",o),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...s,children:i})})}function za({className:e,...t}){const{carouselRef:n}=Kn();return x.jsx("div",{ref:n,className:"overflow-hidden","data-slot":"carousel-content",children:x.jsx("div",{className:xt("flex",e),...t})})}function $a({className:e,...t}){return x.jsx("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:xt("min-w-0 shrink-0 grow-0 basis-full",e),...t})}function Ha({className:e,variant:t,...n}){const{scrollPrev:r,canScrollPrev:o}=Kn();return x.jsx(at,{className:e,"data-slot":"carousel-previous",variant:t,...n,children:x.jsxs("button",{disabled:!o,onClick:r,children:[x.jsx(Hs,{}),x.jsx("span",{className:"sr-only",children:"Previous slide"})]})})}function Wa({className:e,variant:t,...n}){const{scrollNext:r,canScrollNext:o}=Kn();return x.jsx(at,{className:e,"data-slot":"carousel-next",variant:t,...n,children:x.jsxs("button",{disabled:!o,onClick:r,children:[x.jsx(Ws,{}),x.jsx("span",{className:"sr-only",children:"Next slide"})]})})}function Me(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 Mr(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function an(...e){return t=>{let n=!1;const r=e.map(o=>{const i=Mr(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():Mr(e[o],null)}}}}function Fe(...e){return h.useCallback(an(...e),e)}function zo(e,t=[]){let n=[];function r(i,s){const a=h.createContext(s),c=n.length;n=[...n,s];const l=u=>{var v;const{scope:d,children:m,...p}=u,g=((v=d==null?void 0:d[e])==null?void 0:v[c])||a,y=h.useMemo(()=>p,Object.values(p));return x.jsx(g.Provider,{value:y,children:m})};l.displayName=i+"Provider";function f(u,d){var g;const m=((g=d==null?void 0:d[e])==null?void 0:g[c])||a,p=h.useContext(m);if(p)return p;if(s!==void 0)return s;throw new Error(`\`${u}\` must be used within \`${i}\``)}return[l,f]}const o=()=>{const i=n.map(s=>h.createContext(s));return function(a){const c=(a==null?void 0:a[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return o.scopeName=e,[r,qa(o,...t)]}function qa(...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(i){const s=r.reduce((a,{useScope:c,scopeName:l})=>{const u=c(i)[`__scope${l}`];return{...a,...u}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Ua(e){const t=Ga(e),n=h.forwardRef((r,o)=>{const{children:i,...s}=r,a=h.Children.toArray(i),c=a.find(Za);if(c){const l=c.props.children,f=a.map(u=>u===c?h.Children.count(l)>1?h.Children.only(null):h.isValidElement(l)?l.props.children:null:u);return x.jsx(t,{...s,ref:o,children:h.isValidElement(l)?h.cloneElement(l,void 0,f):null})}return x.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function Ga(e){const t=h.forwardRef((n,r)=>{const{children:o,...i}=n;if(h.isValidElement(o)){const s=Ka(o),a=Xa(i,o.props);return o.type!==h.Fragment&&(a.ref=r?an(r,s):s),h.cloneElement(o,a)}return h.Children.count(o)>1?h.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Ya=Symbol("radix.slottable");function Za(e){return h.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ya}function Xa(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const c=i(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Ka(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 Qa=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Re=Qa.reduce((e,t)=>{const n=Ua(`Primitive.${t}`),r=h.forwardRef((o,i)=>{const{asChild:s,...a}=o,c=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),x.jsx(c,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Ja(e,t){e&&Eo.flushSync(()=>e.dispatchEvent(t))}function et(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function ec(e,t=globalThis==null?void 0:globalThis.document){const n=et(e);h.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 tc="DismissableLayer",Vn="dismissableLayer.update",nc="dismissableLayer.pointerDownOutside",rc="dismissableLayer.focusOutside",Nr,$o=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ho=h.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...c}=e,l=h.useContext($o),[f,u]=h.useState(null),d=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=h.useState({}),p=Fe(t,k=>u(k)),g=Array.from(l.layers),[y]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),v=g.indexOf(y),b=f?g.indexOf(f):-1,w=l.layersWithOutsidePointerEventsDisabled.size>0,C=b>=v,E=sc(k=>{const S=k.target,N=[...l.branches].some(D=>D.contains(S));!C||N||(o==null||o(k),s==null||s(k),k.defaultPrevented||a==null||a())},d),R=ac(k=>{const S=k.target;[...l.branches].some(D=>D.contains(S))||(i==null||i(k),s==null||s(k),k.defaultPrevented||a==null||a())},d);return ec(k=>{b===l.layers.size-1&&(r==null||r(k),!k.defaultPrevented&&a&&(k.preventDefault(),a()))},d),h.useEffect(()=>{if(f)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Nr=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(f)),l.layers.add(f),Lr(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=Nr)}},[f,d,n,l]),h.useEffect(()=>()=>{f&&(l.layers.delete(f),l.layersWithOutsidePointerEventsDisabled.delete(f),Lr())},[f,l]),h.useEffect(()=>{const k=()=>m({});return document.addEventListener(Vn,k),()=>document.removeEventListener(Vn,k)},[]),x.jsx(Re.div,{...c,ref:p,style:{pointerEvents:w?C?"auto":"none":void 0,...e.style},onFocusCapture:Me(e.onFocusCapture,R.onFocusCapture),onBlurCapture:Me(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:Me(e.onPointerDownCapture,E.onPointerDownCapture)})});Ho.displayName=tc;var oc="DismissableLayerBranch",ic=h.forwardRef((e,t)=>{const n=h.useContext($o),r=h.useRef(null),o=Fe(t,r);return h.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),x.jsx(Re.div,{...e,ref:o})});ic.displayName=oc;function sc(e,t=globalThis==null?void 0:globalThis.document){const n=et(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let c=function(){Wo(nc,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},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function ac(e,t=globalThis==null?void 0:globalThis.document){const n=et(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&Wo(rc,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Lr(){const e=new CustomEvent(Vn);document.dispatchEvent(e)}function Wo(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Ja(o,i):o.dispatchEvent(i)}var Cn=0;function cc(){h.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??jr()),document.body.insertAdjacentElement("beforeend",e[1]??jr()),Cn++,()=>{Cn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Cn--}},[])}function jr(){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 En="focusScope.autoFocusOnMount",Sn="focusScope.autoFocusOnUnmount",Fr={bubbles:!1,cancelable:!0},lc="FocusScope",qo=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[a,c]=h.useState(null),l=et(o),f=et(i),u=h.useRef(null),d=Fe(t,g=>c(g)),m=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let g=function(w){if(m.paused||!a)return;const C=w.target;a.contains(C)?u.current=C:Oe(u.current,{select:!0})},y=function(w){if(m.paused||!a)return;const C=w.relatedTarget;C!==null&&(a.contains(C)||Oe(u.current,{select:!0}))},v=function(w){if(document.activeElement===document.body)for(const E of w)E.removedNodes.length>0&&Oe(a)};document.addEventListener("focusin",g),document.addEventListener("focusout",y);const b=new MutationObserver(v);return a&&b.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",y),b.disconnect()}}},[r,a,m.paused]),h.useEffect(()=>{if(a){_r.add(m);const g=document.activeElement;if(!a.contains(g)){const v=new CustomEvent(En,Fr);a.addEventListener(En,l),a.dispatchEvent(v),v.defaultPrevented||(uc(hc(Uo(a)),{select:!0}),document.activeElement===g&&Oe(a))}return()=>{a.removeEventListener(En,l),setTimeout(()=>{const v=new CustomEvent(Sn,Fr);a.addEventListener(Sn,f),a.dispatchEvent(v),v.defaultPrevented||Oe(g??document.body,{select:!0}),a.removeEventListener(Sn,f),_r.remove(m)},0)}}},[a,l,f,m]);const p=h.useCallback(g=>{if(!n&&!r||m.paused)return;const y=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,v=document.activeElement;if(y&&v){const b=g.currentTarget,[w,C]=fc(b);w&&C?!g.shiftKey&&v===C?(g.preventDefault(),n&&Oe(w,{select:!0})):g.shiftKey&&v===w&&(g.preventDefault(),n&&Oe(C,{select:!0})):v===b&&g.preventDefault()}},[n,r,m.paused]);return x.jsx(Re.div,{tabIndex:-1,...s,ref:d,onKeyDown:p})});qo.displayName=lc;function uc(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Oe(r,{select:t}),document.activeElement!==n)return}function fc(e){const t=Uo(e),n=Ir(t,e),r=Ir(t.reverse(),e);return[n,r]}function Uo(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 Ir(e,t){for(const n of e)if(!dc(n,{upTo:t}))return n}function dc(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 mc(e){return e instanceof HTMLInputElement&&"select"in e}function Oe(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&mc(e)&&t&&e.select()}}var _r=pc();function pc(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Dr(e,t),e.unshift(t)},remove(t){var n;e=Dr(e,t),(n=e[0])==null||n.resume()}}}function Dr(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function hc(e){return e.filter(t=>t.tagName!=="A")}var Ne=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},gc=h[" useId ".trim().toString()]||(()=>{}),vc=0;function yc(e){const[t,n]=h.useState(gc());return Ne(()=>{n(r=>r??String(vc++))},[e]),e||(t?`radix-${t}`:"")}const bc=["top","right","bottom","left"],Le=Math.min,ae=Math.max,Kt=Math.round,Tt=Math.floor,be=e=>({x:e,y:e}),wc={left:"right",right:"left",bottom:"top",top:"bottom"},xc={start:"end",end:"start"};function Bn(e,t,n){return ae(e,Le(t,n))}function Pe(e,t){return typeof e=="function"?e(t):e}function Ae(e){return e.split("-")[0]}function it(e){return e.split("-")[1]}function Qn(e){return e==="x"?"y":"x"}function Jn(e){return e==="y"?"height":"width"}const Cc=new Set(["top","bottom"]);function ye(e){return Cc.has(Ae(e))?"y":"x"}function er(e){return Qn(ye(e))}function Ec(e,t,n){n===void 0&&(n=!1);const r=it(e),o=er(e),i=Jn(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Qt(s)),[s,Qt(s)]}function Sc(e){const t=Qt(e);return[zn(e),t,zn(t)]}function zn(e){return e.replace(/start|end/g,t=>xc[t])}const Vr=["left","right"],Br=["right","left"],kc=["top","bottom"],Pc=["bottom","top"];function Ac(e,t,n){switch(e){case"top":case"bottom":return n?t?Br:Vr:t?Vr:Br;case"left":case"right":return t?kc:Pc;default:return[]}}function Rc(e,t,n,r){const o=it(e);let i=Ac(Ae(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(zn)))),i}function Qt(e){return e.replace(/left|right|bottom|top/g,t=>wc[t])}function Tc(e){return{top:0,right:0,bottom:0,left:0,...e}}function Go(e){return typeof e!="number"?Tc(e):{top:e,right:e,bottom:e,left:e}}function Jt(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 zr(e,t,n){let{reference:r,floating:o}=e;const i=ye(t),s=er(t),a=Jn(s),c=Ae(t),l=i==="y",f=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let m;switch(c){case"top":m={x:f,y:r.y-o.height};break;case"bottom":m={x:f,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:u};break;case"left":m={x:r.x-o.width,y:u};break;default:m={x:r.x,y:r.y}}switch(it(t)){case"start":m[s]-=d*(n&&l?-1:1);break;case"end":m[s]+=d*(n&&l?-1:1);break}return m}const Oc=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:u}=zr(l,r,c),d=r,m={},p=0;for(let g=0;g<a.length;g++){const{name:y,fn:v}=a[g],{x:b,y:w,data:C,reset:E}=await v({x:f,y:u,initialPlacement:r,placement:d,strategy:o,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});f=b??f,u=w??u,m={...m,[y]:{...m[y],...C}},E&&p<=50&&(p++,typeof E=="object"&&(E.placement&&(d=E.placement),E.rects&&(l=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:f,y:u}=zr(l,d,c)),g=-1)}return{x:f,y:u,placement:d,strategy:o,middlewareData:m}};async function gt(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:m=0}=Pe(t,e),p=Go(m),y=a[d?u==="floating"?"reference":"floating":u],v=Jt(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(y)))==null||n?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:l,rootBoundary:f,strategy:c})),b=u==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),C=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},E=Jt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:w,strategy:c}):b);return{top:(v.top-E.top+p.top)/C.y,bottom:(E.bottom-v.bottom+p.bottom)/C.y,left:(v.left-E.left+p.left)/C.x,right:(E.right-v.right+p.right)/C.x}}const Mc=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:c}=t,{element:l,padding:f=0}=Pe(e,t)||{};if(l==null)return{};const u=Go(f),d={x:n,y:r},m=er(o),p=Jn(m),g=await s.getDimensions(l),y=m==="y",v=y?"top":"left",b=y?"bottom":"right",w=y?"clientHeight":"clientWidth",C=i.reference[p]+i.reference[m]-d[m]-i.floating[p],E=d[m]-i.reference[m],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l));let k=R?R[w]:0;(!k||!await(s.isElement==null?void 0:s.isElement(R)))&&(k=a.floating[w]||i.floating[p]);const S=C/2-E/2,N=k/2-g[p]/2-1,D=Le(u[v],N),V=Le(u[b],N),P=D,A=k-g[p]-V,O=k/2-g[p]/2+S,L=Bn(P,O,A),M=!c.arrow&&it(o)!=null&&O!==L&&i.reference[p]/2-(O<P?D:V)-g[p]/2<0,j=M?O<P?O-P:O-A:0;return{[m]:d[m]+j,data:{[m]:L,centerOffset:O-L-j,...M&&{alignmentOffset:j}},reset:M}}}),Nc=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:c,elements:l}=t,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...y}=Pe(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=Ae(o),b=ye(a),w=Ae(a)===a,C=await(c.isRTL==null?void 0:c.isRTL(l.floating)),E=d||(w||!g?[Qt(a)]:Sc(a)),R=p!=="none";!d&&R&&E.push(...Rc(a,g,p,C));const k=[a,...E],S=await gt(t,y),N=[];let D=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&N.push(S[v]),u){const O=Ec(o,s,C);N.push(S[O[0]],S[O[1]])}if(D=[...D,{placement:o,overflows:N}],!N.every(O=>O<=0)){var V,P;const O=(((V=i.flip)==null?void 0:V.index)||0)+1,L=k[O];if(L&&(!(u==="alignment"?b!==ye(L):!1)||D.every(T=>ye(T.placement)===b?T.overflows[0]>0:!0)))return{data:{index:O,overflows:D},reset:{placement:L}};let M=(P=D.filter(j=>j.overflows[0]<=0).sort((j,T)=>j.overflows[1]-T.overflows[1])[0])==null?void 0:P.placement;if(!M)switch(m){case"bestFit":{var A;const j=(A=D.filter(T=>{if(R){const B=ye(T.placement);return B===b||B==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(B=>B>0).reduce((B,H)=>B+H,0)]).sort((T,B)=>T[1]-B[1])[0])==null?void 0:A[0];j&&(M=j);break}case"initialPlacement":M=a;break}if(o!==M)return{reset:{placement:M}}}return{}}}};function $r(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Hr(e){return bc.some(t=>e[t]>=0)}const Lc=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Pe(e,t);switch(r){case"referenceHidden":{const i=await gt(t,{...o,elementContext:"reference"}),s=$r(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Hr(s)}}}case"escaped":{const i=await gt(t,{...o,altBoundary:!0}),s=$r(i,n.floating);return{data:{escapedOffsets:s,escaped:Hr(s)}}}default:return{}}}}},Yo=new Set(["left","top"]);async function jc(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Ae(n),a=it(n),c=ye(n)==="y",l=Yo.has(s)?-1:1,f=i&&c?-1:1,u=Pe(t,e);let{mainAxis:d,crossAxis:m,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&typeof p=="number"&&(m=a==="end"?p*-1:p),c?{x:m*f,y:d*l}:{x:d*l,y:m*f}}const Fc=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,c=await jc(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:s}}}}},Ic=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:y=>{let{x:v,y:b}=y;return{x:v,y:b}}},...c}=Pe(e,t),l={x:n,y:r},f=await gt(t,c),u=ye(Ae(o)),d=Qn(u);let m=l[d],p=l[u];if(i){const y=d==="y"?"top":"left",v=d==="y"?"bottom":"right",b=m+f[y],w=m-f[v];m=Bn(b,m,w)}if(s){const y=u==="y"?"top":"left",v=u==="y"?"bottom":"right",b=p+f[y],w=p-f[v];p=Bn(b,p,w)}const g=a.fn({...t,[d]:m,[u]:p});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[d]:i,[u]:s}}}}}},_c=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:c=!0,crossAxis:l=!0}=Pe(e,t),f={x:n,y:r},u=ye(o),d=Qn(u);let m=f[d],p=f[u];const g=Pe(a,t),y=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const w=d==="y"?"height":"width",C=i.reference[d]-i.floating[w]+y.mainAxis,E=i.reference[d]+i.reference[w]-y.mainAxis;m<C?m=C:m>E&&(m=E)}if(l){var v,b;const w=d==="y"?"width":"height",C=Yo.has(Ae(o)),E=i.reference[u]-i.floating[w]+(C&&((v=s.offset)==null?void 0:v[u])||0)+(C?0:y.crossAxis),R=i.reference[u]+i.reference[w]+(C?0:((b=s.offset)==null?void 0:b[u])||0)-(C?y.crossAxis:0);p<E?p=E:p>R&&(p=R)}return{[d]:m,[u]:p}}}},Dc=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:c=()=>{},...l}=Pe(e,t),f=await gt(t,l),u=Ae(o),d=it(o),m=ye(o)==="y",{width:p,height:g}=i.floating;let y,v;u==="top"||u==="bottom"?(y=u,v=d===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(v=u,y=d==="end"?"top":"bottom");const b=g-f.top-f.bottom,w=p-f.left-f.right,C=Le(g-f[y],b),E=Le(p-f[v],w),R=!t.middlewareData.shift;let k=C,S=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(S=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(k=b),R&&!d){const D=ae(f.left,0),V=ae(f.right,0),P=ae(f.top,0),A=ae(f.bottom,0);m?S=p-2*(D!==0||V!==0?D+V:ae(f.left,f.right)):k=g-2*(P!==0||A!==0?P+A:ae(f.top,f.bottom))}await c({...t,availableWidth:S,availableHeight:k});const N=await s.getDimensions(a.floating);return p!==N.width||g!==N.height?{reset:{rects:!0}}:{}}}};function cn(){return typeof window<"u"}function st(e){return Zo(e)?(e.nodeName||"").toLowerCase():"#document"}function ce(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function xe(e){var t;return(t=(Zo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Zo(e){return cn()?e instanceof Node||e instanceof ce(e).Node:!1}function pe(e){return cn()?e instanceof Element||e instanceof ce(e).Element:!1}function we(e){return cn()?e instanceof HTMLElement||e instanceof ce(e).HTMLElement:!1}function Wr(e){return!cn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ce(e).ShadowRoot}const Vc=new Set(["inline","contents"]);function Ct(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=he(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Vc.has(o)}const Bc=new Set(["table","td","th"]);function zc(e){return Bc.has(st(e))}const $c=[":popover-open",":modal"];function ln(e){return $c.some(t=>{try{return e.matches(t)}catch{return!1}})}const Hc=["transform","translate","scale","rotate","perspective"],Wc=["transform","translate","scale","rotate","perspective","filter"],qc=["paint","layout","strict","content"];function tr(e){const t=nr(),n=pe(e)?he(e):e;return Hc.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)||Wc.some(r=>(n.willChange||"").includes(r))||qc.some(r=>(n.contain||"").includes(r))}function Uc(e){let t=je(e);for(;we(t)&&!tt(t);){if(tr(t))return t;if(ln(t))return null;t=je(t)}return null}function nr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Gc=new Set(["html","body","#document"]);function tt(e){return Gc.has(st(e))}function he(e){return ce(e).getComputedStyle(e)}function un(e){return pe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function je(e){if(st(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Wr(e)&&e.host||xe(e);return Wr(t)?t.host:t}function Xo(e){const t=je(e);return tt(t)?e.ownerDocument?e.ownerDocument.body:e.body:we(t)&&Ct(t)?t:Xo(t)}function vt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Xo(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=ce(o);if(i){const a=$n(s);return t.concat(s,s.visualViewport||[],Ct(o)?o:[],a&&n?vt(a):[])}return t.concat(o,vt(o,[],n))}function $n(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ko(e){const t=he(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=we(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Kt(n)!==i||Kt(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function rr(e){return pe(e)?e:e.contextElement}function Xe(e){const t=rr(e);if(!we(t))return be(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Ko(t);let s=(i?Kt(n.width):n.width)/r,a=(i?Kt(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Yc=be(0);function Qo(e){const t=ce(e);return!nr()||!t.visualViewport?Yc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zc(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ce(e)?!1:t}function He(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=rr(e);let s=be(1);t&&(r?pe(r)&&(s=Xe(r)):s=Xe(e));const a=Zc(i,n,r)?Qo(i):be(0);let c=(o.left+a.x)/s.x,l=(o.top+a.y)/s.y,f=o.width/s.x,u=o.height/s.y;if(i){const d=ce(i),m=r&&pe(r)?ce(r):r;let p=d,g=$n(p);for(;g&&r&&m!==p;){const y=Xe(g),v=g.getBoundingClientRect(),b=he(g),w=v.left+(g.clientLeft+parseFloat(b.paddingLeft))*y.x,C=v.top+(g.clientTop+parseFloat(b.paddingTop))*y.y;c*=y.x,l*=y.y,f*=y.x,u*=y.y,c+=w,l+=C,p=ce(g),g=$n(p)}}return Jt({width:f,height:u,x:c,y:l})}function fn(e,t){const n=un(e).scrollLeft;return t?t.left+n:He(xe(e)).left+n}function Jo(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-fn(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Xc(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=xe(r),a=t?ln(t.floating):!1;if(r===s||a&&i)return n;let c={scrollLeft:0,scrollTop:0},l=be(1);const f=be(0),u=we(r);if((u||!u&&!i)&&((st(r)!=="body"||Ct(s))&&(c=un(r)),we(r))){const m=He(r);l=Xe(r),f.x=m.x+r.clientLeft,f.y=m.y+r.clientTop}const d=s&&!u&&!i?Jo(s,c):be(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+f.x+d.x,y:n.y*l.y-c.scrollTop*l.y+f.y+d.y}}function Kc(e){return Array.from(e.getClientRects())}function Qc(e){const t=xe(e),n=un(e),r=e.ownerDocument.body,o=ae(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=ae(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+fn(e);const a=-n.scrollTop;return he(r).direction==="rtl"&&(s+=ae(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}const qr=25;function Jc(e,t){const n=ce(e),r=xe(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,c=0;if(o){i=o.width,s=o.height;const f=nr();(!f||f&&t==="fixed")&&(a=o.offsetLeft,c=o.offsetTop)}const l=fn(r);if(l<=0){const f=r.ownerDocument,u=f.body,d=getComputedStyle(u),m=f.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,p=Math.abs(r.clientWidth-u.clientWidth-m);p<=qr&&(i-=p)}else l<=qr&&(i+=l);return{width:i,height:s,x:a,y:c}}const el=new Set(["absolute","fixed"]);function tl(e,t){const n=He(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=we(e)?Xe(e):be(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,c=o*i.x,l=r*i.y;return{width:s,height:a,x:c,y:l}}function Ur(e,t,n){let r;if(t==="viewport")r=Jc(e,n);else if(t==="document")r=Qc(xe(e));else if(pe(t))r=tl(t,n);else{const o=Qo(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Jt(r)}function ei(e,t){const n=je(e);return n===t||!pe(n)||tt(n)?!1:he(n).position==="fixed"||ei(n,t)}function nl(e,t){const n=t.get(e);if(n)return n;let r=vt(e,[],!1).filter(a=>pe(a)&&st(a)!=="body"),o=null;const i=he(e).position==="fixed";let s=i?je(e):e;for(;pe(s)&&!tt(s);){const a=he(s),c=tr(s);!c&&a.position==="fixed"&&(o=null),(i?!c&&!o:!c&&a.position==="static"&&!!o&&el.has(o.position)||Ct(s)&&!c&&ei(e,s))?r=r.filter(f=>f!==s):o=a,s=je(s)}return t.set(e,r),r}function rl(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?ln(t)?[]:nl(t,this._c):[].concat(n),r],a=s[0],c=s.reduce((l,f)=>{const u=Ur(t,f,o);return l.top=ae(u.top,l.top),l.right=Le(u.right,l.right),l.bottom=Le(u.bottom,l.bottom),l.left=ae(u.left,l.left),l},Ur(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function ol(e){const{width:t,height:n}=Ko(e);return{width:t,height:n}}function il(e,t,n){const r=we(t),o=xe(t),i=n==="fixed",s=He(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const c=be(0);function l(){c.x=fn(o)}if(r||!r&&!i)if((st(t)!=="body"||Ct(o))&&(a=un(t)),r){const m=He(t,!0,i,t);c.x=m.x+t.clientLeft,c.y=m.y+t.clientTop}else o&&l();i&&!r&&o&&l();const f=o&&!r&&!i?Jo(o,a):be(0),u=s.left+a.scrollLeft-c.x-f.x,d=s.top+a.scrollTop-c.y-f.y;return{x:u,y:d,width:s.width,height:s.height}}function kn(e){return he(e).position==="static"}function Gr(e,t){if(!we(e)||he(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return xe(e)===n&&(n=n.ownerDocument.body),n}function ti(e,t){const n=ce(e);if(ln(e))return n;if(!we(e)){let o=je(e);for(;o&&!tt(o);){if(pe(o)&&!kn(o))return o;o=je(o)}return n}let r=Gr(e,t);for(;r&&zc(r)&&kn(r);)r=Gr(r,t);return r&&tt(r)&&kn(r)&&!tr(r)?n:r||Uc(e)||n}const sl=async function(e){const t=this.getOffsetParent||ti,n=this.getDimensions,r=await n(e.floating);return{reference:il(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function al(e){return he(e).direction==="rtl"}const cl={convertOffsetParentRelativeRectToViewportRelativeRect:Xc,getDocumentElement:xe,getClippingRect:rl,getOffsetParent:ti,getElementRects:sl,getClientRects:Kc,getDimensions:ol,getScale:Xe,isElement:pe,isRTL:al};function ni(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ll(e,t){let n=null,r;const o=xe(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),i();const l=e.getBoundingClientRect(),{left:f,top:u,width:d,height:m}=l;if(a||t(),!d||!m)return;const p=Tt(u),g=Tt(o.clientWidth-(f+d)),y=Tt(o.clientHeight-(u+m)),v=Tt(f),w={rootMargin:-p+"px "+-g+"px "+-y+"px "+-v+"px",threshold:ae(0,Le(1,c))||1};let C=!0;function E(R){const k=R[0].intersectionRatio;if(k!==c){if(!C)return s();k?s(!1,k):r=setTimeout(()=>{s(!1,1e-7)},1e3)}k===1&&!ni(l,e.getBoundingClientRect())&&s(),C=!1}try{n=new IntersectionObserver(E,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,w)}n.observe(e)}return s(!0),i}function ul(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,l=rr(e),f=o||i?[...l?vt(l):[],...vt(t)]:[];f.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const u=l&&a?ll(l,n):null;let d=-1,m=null;s&&(m=new ResizeObserver(v=>{let[b]=v;b&&b.target===l&&m&&(m.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(t)})),n()}),l&&!c&&m.observe(l),m.observe(t));let p,g=c?He(e):null;c&&y();function y(){const v=He(e);g&&!ni(g,v)&&n(),g=v,p=requestAnimationFrame(y)}return n(),()=>{var v;f.forEach(b=>{o&&b.removeEventListener("scroll",n),i&&b.removeEventListener("resize",n)}),u==null||u(),(v=m)==null||v.disconnect(),m=null,c&&cancelAnimationFrame(p)}}const fl=Fc,dl=Ic,ml=Nc,pl=Dc,hl=Lc,Yr=Mc,gl=_c,vl=(e,t,n)=>{const r=new Map,o={platform:cl,...n},i={...o.platform,_c:r};return Oc(e,t,{...o,platform:i})};var yl=typeof document<"u",bl=function(){},Ht=yl?G.useLayoutEffect:bl;function en(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(!en(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 i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!en(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function ri(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Zr(e,t){const n=ri(e);return Math.round(t*n)/n}function Pn(e){const t=h.useRef(e);return Ht(()=>{t.current=e}),t}function wl(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:c,open:l}=e,[f,u]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,m]=h.useState(r);en(d,r)||m(r);const[p,g]=h.useState(null),[y,v]=h.useState(null),b=h.useCallback(T=>{T!==R.current&&(R.current=T,g(T))},[]),w=h.useCallback(T=>{T!==k.current&&(k.current=T,v(T))},[]),C=i||p,E=s||y,R=h.useRef(null),k=h.useRef(null),S=h.useRef(f),N=c!=null,D=Pn(c),V=Pn(o),P=Pn(l),A=h.useCallback(()=>{if(!R.current||!k.current)return;const T={placement:t,strategy:n,middleware:d};V.current&&(T.platform=V.current),vl(R.current,k.current,T).then(B=>{const H={...B,isPositioned:P.current!==!1};O.current&&!en(S.current,H)&&(S.current=H,Eo.flushSync(()=>{u(H)}))})},[d,t,n,V,P]);Ht(()=>{l===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,u(T=>({...T,isPositioned:!1})))},[l]);const O=h.useRef(!1);Ht(()=>(O.current=!0,()=>{O.current=!1}),[]),Ht(()=>{if(C&&(R.current=C),E&&(k.current=E),C&&E){if(D.current)return D.current(C,E,A);A()}},[C,E,A,D,N]);const L=h.useMemo(()=>({reference:R,floating:k,setReference:b,setFloating:w}),[b,w]),M=h.useMemo(()=>({reference:C,floating:E}),[C,E]),j=h.useMemo(()=>{const T={position:n,left:0,top:0};if(!M.floating)return T;const B=Zr(M.floating,f.x),H=Zr(M.floating,f.y);return a?{...T,transform:"translate("+B+"px, "+H+"px)",...ri(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:B,top:H}},[n,a,M.floating,f.x,f.y]);return h.useMemo(()=>({...f,update:A,refs:L,elements:M,floatingStyles:j}),[f,A,L,M,j])}const xl=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?Yr({element:r.current,padding:o}).fn(n):{}:r?Yr({element:r,padding:o}).fn(n):{}}}},Cl=(e,t)=>({...fl(e),options:[e,t]}),El=(e,t)=>({...dl(e),options:[e,t]}),Sl=(e,t)=>({...gl(e),options:[e,t]}),kl=(e,t)=>({...ml(e),options:[e,t]}),Pl=(e,t)=>({...pl(e),options:[e,t]}),Al=(e,t)=>({...hl(e),options:[e,t]}),Rl=(e,t)=>({...xl(e),options:[e,t]});var Tl="Arrow",oi=h.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return x.jsx(Re.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:x.jsx("polygon",{points:"0,0 30,0 15,10"})})});oi.displayName=Tl;var Ol=oi;function Ml(e){const[t,n]=h.useState(void 0);return Ne(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,a;if("borderBoxSize"in i){const c=i.borderBoxSize,l=Array.isArray(c)?c[0]:c;s=l.inlineSize,a=l.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var or="Popper",[ii,si]=zo(or),[Nl,ai]=ii(or),ci=e=>{const{__scopePopper:t,children:n}=e,[r,o]=h.useState(null);return x.jsx(Nl,{scope:t,anchor:r,onAnchorChange:o,children:n})};ci.displayName=or;var li="PopperAnchor",ui=h.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=ai(li,n),s=h.useRef(null),a=Fe(t,s),c=h.useRef(null);return h.useEffect(()=>{const l=c.current;c.current=(r==null?void 0:r.current)||s.current,l!==c.current&&i.onAnchorChange(c.current)}),r?null:x.jsx(Re.div,{...o,ref:a})});ui.displayName=li;var ir="PopperContent",[Ll,jl]=ii(ir),fi=h.forwardRef((e,t)=>{var $,Q,ne,J,U,F;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:d=!1,updatePositionStrategy:m="optimized",onPlaced:p,...g}=e,y=ai(ir,n),[v,b]=h.useState(null),w=Fe(t,q=>b(q)),[C,E]=h.useState(null),R=Ml(C),k=(R==null?void 0:R.width)??0,S=(R==null?void 0:R.height)??0,N=r+(i!=="center"?"-"+i:""),D=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},V=Array.isArray(l)?l:[l],P=V.length>0,A={padding:D,boundary:V.filter(Il),altBoundary:P},{refs:O,floatingStyles:L,placement:M,isPositioned:j,middlewareData:T}=wl({strategy:"fixed",placement:N,whileElementsMounted:(...q)=>ul(...q,{animationFrame:m==="always"}),elements:{reference:y.anchor},middleware:[Cl({mainAxis:o+S,alignmentAxis:s}),c&&El({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?Sl():void 0,...A}),c&&kl({...A}),Pl({...A,apply:({elements:q,rects:X,availableWidth:re,availableHeight:ue})=>{const{width:de,height:Ce}=X.reference,se=q.floating.style;se.setProperty("--radix-popper-available-width",`${re}px`),se.setProperty("--radix-popper-available-height",`${ue}px`),se.setProperty("--radix-popper-anchor-width",`${de}px`),se.setProperty("--radix-popper-anchor-height",`${Ce}px`)}}),C&&Rl({element:C,padding:a}),_l({arrowWidth:k,arrowHeight:S}),d&&Al({strategy:"referenceHidden",...A})]}),[B,H]=pi(M),Y=et(p);Ne(()=>{j&&(Y==null||Y())},[j,Y]);const te=($=T.arrow)==null?void 0:$.x,W=(Q=T.arrow)==null?void 0:Q.y,Z=((ne=T.arrow)==null?void 0:ne.centerOffset)!==0,[le,ge]=h.useState();return Ne(()=>{v&&ge(window.getComputedStyle(v).zIndex)},[v]),x.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...L,transform:j?L.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:le,"--radix-popper-transform-origin":[(J=T.transformOrigin)==null?void 0:J.x,(U=T.transformOrigin)==null?void 0:U.y].join(" "),...((F=T.hide)==null?void 0:F.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:x.jsx(Ll,{scope:n,placedSide:B,onArrowChange:E,arrowX:te,arrowY:W,shouldHideArrow:Z,children:x.jsx(Re.div,{"data-side":B,"data-align":H,...g,ref:w,style:{...g.style,animation:j?void 0:"none"}})})})});fi.displayName=ir;var di="PopperArrow",Fl={top:"bottom",right:"left",bottom:"top",left:"right"},mi=h.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=jl(di,r),s=Fl[i.placedSide];return x.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:x.jsx(Ol,{...o,ref:n,style:{...o.style,display:"block"}})})});mi.displayName=di;function Il(e){return e!==null}var _l=e=>({name:"transformOrigin",options:e,fn(t){var y,v,b;const{placement:n,rects:r,middlewareData:o}=t,s=((y=o.arrow)==null?void 0:y.centerOffset)!==0,a=s?0:e.arrowWidth,c=s?0:e.arrowHeight,[l,f]=pi(n),u={start:"0%",center:"50%",end:"100%"}[f],d=(((v=o.arrow)==null?void 0:v.x)??0)+a/2,m=(((b=o.arrow)==null?void 0:b.y)??0)+c/2;let p="",g="";return l==="bottom"?(p=s?u:`${d}px`,g=`${-c}px`):l==="top"?(p=s?u:`${d}px`,g=`${r.floating.height+c}px`):l==="right"?(p=`${-c}px`,g=s?u:`${m}px`):l==="left"&&(p=`${r.floating.width+c}px`,g=s?u:`${m}px`),{data:{x:p,y:g}}}});function pi(e){const[t,n="center"]=e.split("-");return[t,n]}var Dl=ci,hi=ui,Vl=fi,Bl=mi,zl="Portal",gi=h.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=h.useState(!1);Ne(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?xo.createPortal(x.jsx(Re.div,{...r,ref:t}),s):null});gi.displayName=zl;function $l(e,t){return h.useReducer((n,r)=>t[n][r]??n,e)}var sr=e=>{const{present:t,children:n}=e,r=Hl(t),o=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),i=Fe(r.ref,Wl(o));return typeof n=="function"||r.isPresent?h.cloneElement(o,{ref:i}):null};sr.displayName="Presence";function Hl(e){const[t,n]=h.useState(),r=h.useRef(null),o=h.useRef(e),i=h.useRef("none"),s=e?"mounted":"unmounted",[a,c]=$l(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const l=Ot(r.current);i.current=a==="mounted"?l:"none"},[a]),Ne(()=>{const l=r.current,f=o.current;if(f!==e){const d=i.current,m=Ot(l);e?c("MOUNT"):m==="none"||(l==null?void 0:l.display)==="none"?c("UNMOUNT"):c(f&&d!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),Ne(()=>{if(t){let l;const f=t.ownerDocument.defaultView??window,u=m=>{const g=Ot(r.current).includes(CSS.escape(m.animationName));if(m.target===t&&g&&(c("ANIMATION_END"),!o.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",l=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},d=m=>{m.target===t&&(i.current=Ot(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{f.clearTimeout(l),t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:h.useCallback(l=>{r.current=l?getComputedStyle(l):null,n(l)},[])}}function Ot(e){return(e==null?void 0:e.animationName)||"none"}function Wl(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 ql(e){const t=Ul(e),n=h.forwardRef((r,o)=>{const{children:i,...s}=r,a=h.Children.toArray(i),c=a.find(Yl);if(c){const l=c.props.children,f=a.map(u=>u===c?h.Children.count(l)>1?h.Children.only(null):h.isValidElement(l)?l.props.children:null:u);return x.jsx(t,{...s,ref:o,children:h.isValidElement(l)?h.cloneElement(l,void 0,f):null})}return x.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function Ul(e){const t=h.forwardRef((n,r)=>{const{children:o,...i}=n;if(h.isValidElement(o)){const s=Xl(o),a=Zl(i,o.props);return o.type!==h.Fragment&&(a.ref=r?an(r,s):s),h.cloneElement(o,a)}return h.Children.count(o)>1?h.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Gl=Symbol("radix.slottable");function Yl(e){return h.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Gl}function Zl(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const c=i(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Xl(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 Kl=h[" useInsertionEffect ".trim().toString()]||Ne;function Ql({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=Jl({defaultProp:t,onChange:n}),a=e!==void 0,c=a?e:o;{const f=h.useRef(e!==void 0);h.useEffect(()=>{const u=f.current;u!==a&&console.warn(`${r} is changing from ${u?"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.`),f.current=a},[a,r])}const l=h.useCallback(f=>{var u;if(a){const d=eu(f)?f(e):f;d!==e&&((u=s.current)==null||u.call(s,d))}else i(f)},[a,e,i,s]);return[c,l]}function Jl({defaultProp:e,onChange:t}){const[n,r]=h.useState(e),o=h.useRef(n),i=h.useRef(t);return Kl(()=>{i.current=t},[t]),h.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function eu(e){return typeof e=="function"}var tu=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ue=new WeakMap,Mt=new WeakMap,Nt={},An=0,vi=function(e){return e&&(e.host||vi(e.parentNode))},nu=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=vi(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})},ru=function(e,t,n,r){var o=nu(t,Array.isArray(e)?e:[e]);Nt[n]||(Nt[n]=new WeakMap);var i=Nt[n],s=[],a=new Set,c=new Set(o),l=function(u){!u||a.has(u)||(a.add(u),l(u.parentNode))};o.forEach(l);var f=function(u){!u||c.has(u)||Array.prototype.forEach.call(u.children,function(d){if(a.has(d))f(d);else try{var m=d.getAttribute(r),p=m!==null&&m!=="false",g=(Ue.get(d)||0)+1,y=(i.get(d)||0)+1;Ue.set(d,g),i.set(d,y),s.push(d),g===1&&p&&Mt.set(d,!0),y===1&&d.setAttribute(n,"true"),p||d.setAttribute(r,"true")}catch(v){console.error("aria-hidden: cannot operate on ",d,v)}})};return f(t),a.clear(),An++,function(){s.forEach(function(u){var d=Ue.get(u)-1,m=i.get(u)-1;Ue.set(u,d),i.set(u,m),d||(Mt.has(u)||u.removeAttribute(r),Mt.delete(u)),m||u.removeAttribute(n)}),An--,An||(Ue=new WeakMap,Ue=new WeakMap,Mt=new WeakMap,Nt={})}},ou=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=tu(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),ru(r,o,n,"aria-hidden")):function(){return null}},ve=function(){return ve=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ve.apply(this,arguments)};function yi(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 iu(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Wt="right-scroll-bar-position",qt="width-before-scroll-bar",su="with-scroll-bars-hidden",au="--removed-body-scroll-bar-size";function Rn(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function cu(e,t){var n=G.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 lu=typeof window<"u"?h.useLayoutEffect:h.useEffect,Xr=new WeakMap;function uu(e,t){var n=cu(null,function(r){return e.forEach(function(o){return Rn(o,r)})});return lu(function(){var r=Xr.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(a){i.has(a)||Rn(a,null)}),i.forEach(function(a){o.has(a)||Rn(a,s)})}Xr.set(n,e)},[e]),n}function fu(e){return e}function du(e,t){t===void 0&&(t=fu);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(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(i),s=n}var c=function(){var f=s;s=[],f.forEach(i)},l=function(){return Promise.resolve().then(c)};l(),n={push:function(f){s.push(f),l()},filter:function(f){return s=s.filter(f),n}}}};return o}function mu(e){e===void 0&&(e={});var t=du(null);return t.options=ve({async:!0,ssr:!1},e),t}var bi=function(e){var t=e.sideCar,n=yi(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 h.createElement(r,ve({},n))};bi.isSideCarExport=!0;function pu(e,t){return e.useMedium(t),bi}var wi=mu(),Tn=function(){},dn=h.forwardRef(function(e,t){var n=h.useRef(null),r=h.useState({onScrollCapture:Tn,onWheelCapture:Tn,onTouchMoveCapture:Tn}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,c=e.className,l=e.removeScrollBar,f=e.enabled,u=e.shards,d=e.sideCar,m=e.noRelative,p=e.noIsolation,g=e.inert,y=e.allowPinchZoom,v=e.as,b=v===void 0?"div":v,w=e.gapMode,C=yi(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=d,R=uu([n,t]),k=ve(ve({},C),o);return h.createElement(h.Fragment,null,f&&h.createElement(E,{sideCar:wi,removeScrollBar:l,shards:u,noRelative:m,noIsolation:p,inert:g,setCallbacks:i,allowPinchZoom:!!y,lockRef:n,gapMode:w}),s?h.cloneElement(h.Children.only(a),ve(ve({},k),{ref:R})):h.createElement(b,ve({},k,{className:c,ref:R}),a))});dn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};dn.classNames={fullWidth:qt,zeroRight:Wt};var hu=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function gu(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=hu();return t&&e.setAttribute("nonce",t),e}function vu(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function yu(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var bu=function(){var e=0,t=null;return{add:function(n){e==0&&(t=gu())&&(vu(t,n),yu(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},wu=function(){var e=bu();return function(t,n){h.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},xi=function(){var e=wu(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},xu={left:0,top:0,right:0,gap:0},On=function(e){return parseInt(e||"",10)||0},Cu=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[On(n),On(r),On(o)]},Eu=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return xu;var t=Cu(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])}},Su=xi(),Ke="data-scroll-locked",ku=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
4
+ .`.concat(su,` {
5
+ overflow: hidden `).concat(r,`;
6
+ padding-right: `).concat(a,"px ").concat(r,`;
7
+ }
8
+ body[`).concat(Ke,`] {
9
+ overflow: hidden `).concat(r,`;
10
+ overscroll-behavior: contain;
11
+ `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
12
+ padding-left: `.concat(o,`px;
13
+ padding-top: `).concat(i,`px;
14
+ padding-right: `).concat(s,`px;
15
+ margin-left:0;
16
+ margin-top:0;
17
+ margin-right: `).concat(a,"px ").concat(r,`;
18
+ `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
19
+ }
20
+
21
+ .`).concat(Wt,` {
22
+ right: `).concat(a,"px ").concat(r,`;
23
+ }
24
+
25
+ .`).concat(qt,` {
26
+ margin-right: `).concat(a,"px ").concat(r,`;
27
+ }
28
+
29
+ .`).concat(Wt," .").concat(Wt,` {
30
+ right: 0 `).concat(r,`;
31
+ }
32
+
33
+ .`).concat(qt," .").concat(qt,` {
34
+ margin-right: 0 `).concat(r,`;
35
+ }
36
+
37
+ body[`).concat(Ke,`] {
38
+ `).concat(au,": ").concat(a,`px;
39
+ }
40
+ `)},Kr=function(){var e=parseInt(document.body.getAttribute(Ke)||"0",10);return isFinite(e)?e:0},Pu=function(){h.useEffect(function(){return document.body.setAttribute(Ke,(Kr()+1).toString()),function(){var e=Kr()-1;e<=0?document.body.removeAttribute(Ke):document.body.setAttribute(Ke,e.toString())}},[])},Au=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Pu();var i=h.useMemo(function(){return Eu(o)},[o]);return h.createElement(Su,{styles:ku(i,!t,o,n?"":"!important")})},Hn=!1;if(typeof window<"u")try{var Lt=Object.defineProperty({},"passive",{get:function(){return Hn=!0,!0}});window.addEventListener("test",Lt,Lt),window.removeEventListener("test",Lt,Lt)}catch{Hn=!1}var Ge=Hn?{passive:!1}:!1,Ru=function(e){return e.tagName==="TEXTAREA"},Ci=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Ru(e)&&n[t]==="visible")},Tu=function(e){return Ci(e,"overflowY")},Ou=function(e){return Ci(e,"overflowX")},Qr=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Ei(e,r);if(o){var i=Si(e,r),s=i[1],a=i[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Mu=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Nu=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Ei=function(e,t){return e==="v"?Tu(t):Ou(t)},Si=function(e,t){return e==="v"?Mu(t):Nu(t)},Lu=function(e,t){return e==="h"&&t==="rtl"?-1:1},ju=function(e,t,n,r,o){var i=Lu(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,c=t.contains(a),l=!1,f=s>0,u=0,d=0;do{if(!a)break;var m=Si(e,a),p=m[0],g=m[1],y=m[2],v=g-y-i*p;(p||v)&&Ei(e,a)&&(u+=v,d+=p);var b=a.parentNode;a=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(f&&Math.abs(u)<1||!f&&Math.abs(d)<1)&&(l=!0),l},jt=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Jr=function(e){return[e.deltaX,e.deltaY]},eo=function(e){return e&&"current"in e?e.current:e},Fu=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Iu=function(e){return`
41
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
42
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
43
+ `)},_u=0,Ye=[];function Du(e){var t=h.useRef([]),n=h.useRef([0,0]),r=h.useRef(),o=h.useState(_u++)[0],i=h.useState(xi)[0],s=h.useRef(e);h.useEffect(function(){s.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=iu([e.lockRef.current],(e.shards||[]).map(eo),!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=h.useCallback(function(g,y){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!s.current.allowPinchZoom;var v=jt(g),b=n.current,w="deltaX"in g?g.deltaX:b[0]-v[0],C="deltaY"in g?g.deltaY:b[1]-v[1],E,R=g.target,k=Math.abs(w)>Math.abs(C)?"h":"v";if("touches"in g&&k==="h"&&R.type==="range")return!1;var S=window.getSelection(),N=S&&S.anchorNode,D=N?N===R||N.contains(R):!1;if(D)return!1;var V=Qr(k,R);if(!V)return!0;if(V?E=k:(E=k==="v"?"h":"v",V=Qr(k,R)),!V)return!1;if(!r.current&&"changedTouches"in g&&(w||C)&&(r.current=E),!E)return!0;var P=r.current||E;return ju(P,y,g,P==="h"?w:C)},[]),c=h.useCallback(function(g){var y=g;if(!(!Ye.length||Ye[Ye.length-1]!==i)){var v="deltaY"in y?Jr(y):jt(y),b=t.current.filter(function(E){return E.name===y.type&&(E.target===y.target||y.target===E.shadowParent)&&Fu(E.delta,v)})[0];if(b&&b.should){y.cancelable&&y.preventDefault();return}if(!b){var w=(s.current.shards||[]).map(eo).filter(Boolean).filter(function(E){return E.contains(y.target)}),C=w.length>0?a(y,w[0]):!s.current.noIsolation;C&&y.cancelable&&y.preventDefault()}}},[]),l=h.useCallback(function(g,y,v,b){var w={name:g,delta:y,target:v,should:b,shadowParent:Vu(v)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(C){return C!==w})},1)},[]),f=h.useCallback(function(g){n.current=jt(g),r.current=void 0},[]),u=h.useCallback(function(g){l(g.type,Jr(g),g.target,a(g,e.lockRef.current))},[]),d=h.useCallback(function(g){l(g.type,jt(g),g.target,a(g,e.lockRef.current))},[]);h.useEffect(function(){return Ye.push(i),e.setCallbacks({onScrollCapture:u,onWheelCapture:u,onTouchMoveCapture:d}),document.addEventListener("wheel",c,Ge),document.addEventListener("touchmove",c,Ge),document.addEventListener("touchstart",f,Ge),function(){Ye=Ye.filter(function(g){return g!==i}),document.removeEventListener("wheel",c,Ge),document.removeEventListener("touchmove",c,Ge),document.removeEventListener("touchstart",f,Ge)}},[]);var m=e.removeScrollBar,p=e.inert;return h.createElement(h.Fragment,null,p?h.createElement(i,{styles:Iu(o)}):null,m?h.createElement(Au,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Vu(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Bu=pu(wi,Du);var ki=h.forwardRef(function(e,t){return h.createElement(dn,ve({},e,{ref:t,sideCar:Bu}))});ki.classNames=dn.classNames;var mn="Popover",[Pi]=zo(mn,[si]),Et=si(),[zu,Ie]=Pi(mn),Ai=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:s=!1}=e,a=Et(t),c=h.useRef(null),[l,f]=h.useState(!1),[u,d]=Ql({prop:r,defaultProp:o??!1,onChange:i,caller:mn});return x.jsx(Dl,{...a,children:x.jsx(zu,{scope:t,contentId:yc(),triggerRef:c,open:u,onOpenChange:d,onOpenToggle:h.useCallback(()=>d(m=>!m),[d]),hasCustomAnchor:l,onCustomAnchorAdd:h.useCallback(()=>f(!0),[]),onCustomAnchorRemove:h.useCallback(()=>f(!1),[]),modal:s,children:n})})};Ai.displayName=mn;var Ri="PopoverAnchor",$u=h.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ie(Ri,n),i=Et(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:a}=o;return h.useEffect(()=>(s(),()=>a()),[s,a]),x.jsx(hi,{...i,...r,ref:t})});$u.displayName=Ri;var Ti="PopoverTrigger",Oi=h.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ie(Ti,n),i=Et(n),s=Fe(t,o.triggerRef),a=x.jsx(Re.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Ii(o.open),...r,ref:s,onClick:Me(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:x.jsx(hi,{asChild:!0,...i,children:a})});Oi.displayName=Ti;var ar="PopoverPortal",[Hu,Wu]=Pi(ar,{forceMount:void 0}),Mi=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=Ie(ar,t);return x.jsx(Hu,{scope:t,forceMount:n,children:x.jsx(sr,{present:n||i.open,children:x.jsx(gi,{asChild:!0,container:o,children:r})})})};Mi.displayName=ar;var nt="PopoverContent",Ni=h.forwardRef((e,t)=>{const n=Wu(nt,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=Ie(nt,e.__scopePopover);return x.jsx(sr,{present:r||i.open,children:i.modal?x.jsx(Uu,{...o,ref:t}):x.jsx(Gu,{...o,ref:t})})});Ni.displayName=nt;var qu=ql("PopoverContent.RemoveScroll"),Uu=h.forwardRef((e,t)=>{const n=Ie(nt,e.__scopePopover),r=h.useRef(null),o=Fe(t,r),i=h.useRef(!1);return h.useEffect(()=>{const s=r.current;if(s)return ou(s)},[]),x.jsx(ki,{as:qu,allowPinchZoom:!0,children:x.jsx(Li,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Me(e.onCloseAutoFocus,s=>{var a;s.preventDefault(),i.current||(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:Me(e.onPointerDownOutside,s=>{const a=s.detail.originalEvent,c=a.button===0&&a.ctrlKey===!0,l=a.button===2||c;i.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:Me(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})})}),Gu=h.forwardRef((e,t)=>{const n=Ie(nt,e.__scopePopover),r=h.useRef(!1),o=h.useRef(!1);return x.jsx(Li,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var s,a;(s=e.onCloseAutoFocus)==null||s.call(e,i),i.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var c,l;(c=e.onInteractOutside)==null||c.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;((l=n.triggerRef.current)==null?void 0:l.contains(s))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),Li=h.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:s,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:f,...u}=e,d=Ie(nt,n),m=Et(n);return cc(),x.jsx(qo,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:x.jsx(Ho,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>d.onOpenChange(!1),children:x.jsx(Vl,{"data-state":Ii(d.open),role:"dialog",id:d.contentId,...m,...u,ref:t,style:{...u.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)"}})})})}),ji="PopoverClose",Yu=h.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ie(ji,n);return x.jsx(Re.button,{type:"button",...r,ref:t,onClick:Me(e.onClick,()=>o.onOpenChange(!1))})});Yu.displayName=ji;var Zu="PopoverArrow",Fi=h.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Et(n);return x.jsx(Bl,{...o,...r,ref:t})});Fi.displayName=Zu;function Ii(e){return e?"open":"closed"}var Xu=Ai,Ku=Oi,Qu=Mi,Ju=Ni,ef=Fi;function tf({...e}){return x.jsx(Xu,{"data-slot":"popover",...e})}function nf({...e}){return x.jsx(Ku,{"data-slot":"popover-trigger",...e})}function rf({className:e,align:t="center",sideOffset:n=4,...r}){return x.jsx(Qu,{children:x.jsx(Ju,{"data-slot":"popover-content",align:t,sideOffset:n,className:xt("bg-popover text-popover-foreground data-[state=open]:animate-popover-in data-[state=closed]:animate-popover-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg p-4 outline-hidden",e),...r})})}function of({...e}){return x.jsx(ef,{"data-slot":"popover-arrow",...e})}const sf=e=>h.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.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:"white"})),af=e=>h.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.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:"white"}));function cf({button:e,headline:t,id:n,image:r,isBookmarked:o,onBookmark:i}){return x.jsxs("div",{className:"relative size-full",children:[x.jsx("div",{className:"absolute bg-black/50 size-full"}),x.jsx("div",{className:"absolute size-full [&_img]:object-cover [&_img]:size-full mix-blend-multiply",children:r}),x.jsxs("div",{className:"absolute bottom-6 left-0 px-6 w-full",children:[x.jsx("div",{className:"b-lg mb-6 text-white",children:t}),x.jsxs("div",{className:"flex gap-6 items-center justify-between",children:[x.jsx(at,{variant:"tertiary-reversed",children:e}),x.jsx("button",{onClick:()=>i(n),children:o?x.jsx(af,{}):x.jsx(sf,{})})]})]})]})}function lf(e){const t="h-70 min-[552px]:h-80 basis-60 min-[552px]:basis-[calc(50%-20px)]";let n;return e.count===1?n="basis-full h-80":e.count===2?n=t:n=[t,e.index===0?"lg:basis-[calc(66.66%-13.33px)] xl:basis-[calc(50%-15px)]":"lg:basis-[calc(33.33%-26.66px)] xl:basis-[calc(25%-30px)]"].join(" "),x.jsx($a,{className:n,children:x.jsx(cf,{...e})})}function uf({backgroundColor:e="",button:t,children:n,className:r="",horizontalStroke:o,variant:i}){const s=G.Children.count(n);let a="",c="";s===1?(a="hidden",c="justify-end"):s===2&&(a="md:hidden",c="md:justify-end");const l=!!(e&&!ja({className:e,type:"background"},{className:"bg-navy-500",type:"background"}));let f,u,d;return l?i==="digital"?(f="reversed-digital",u="pagination-reversed-digital",d="pagination-reversed-digital"):(f="reversed-connect",u="pagination-reversed-connect",d="pagination-reversed-connect"):(f="secondary",u="pagination-next-connect",d="pagination-prev-connect"),x.jsx("div",{className:`py-15 lg:py-20 ${e} ${r} ${o?"border-b-2 border-smoke":""}`,children:x.jsx(kt,{children:x.jsxs(Ba,{opts:{align:"start"},children:[x.jsx(za,{className:"gap-8 md:gap-10",children:G.Children.map(n,(m,p)=>G.isValidElement(m)?G.cloneElement(m,{count:s,index:p}):m)}),x.jsxs("div",{className:`flex items-center justify-between mt-8 ${c}`,children:[x.jsxs("div",{className:a,children:[x.jsx(Ha,{variant:d}),x.jsx(Wa,{variant:u})]}),x.jsx(at,{variant:f,children:t})]})]})})})}function ff({imageBackground:e,variant:t,videoBackground:n}){const[r,o]=G.useState((n==null?void 0:n.autoplay)??!1),i=G.useRef(null),s=t==="connect"?"mini-connect":"mini-digital",a=()=>{i.current&&(i.current.togglePlayback(),o(!i.current.isPlaying))};return x.jsxs("div",{className:"min-h-85 overflow-hidden relative w-full",children:[!!e&&x.jsx("div",{className:"h-85 [&_img]:object-cover [&_img]:size-full",children:e}),!!n&&x.jsxs(x.Fragment,{children:[x.jsx(Ui,{...n,ref:i}),x.jsx("div",{className:"absolute inset-0 flex justify-center",children:x.jsx(kt,{children:x.jsx("div",{className:"absolute bottom-8 right-5 md:right-15",children:x.jsx(Ki,{label:"play video",onClick:a,isPlaying:r,variant:s})})})})]})]})}function df({event:e}){return x.jsx(x.Fragment,{children:!!e&&x.jsxs("div",{className:"flex gap-2 items-center mb-6",children:[e==null?void 0:e.date,!!(e!=null&&e.location)&&x.jsxs(x.Fragment,{children:[x.jsx("span",{className:"bg-smoke h-3.5 w-0.5"}),e==null?void 0:e.location]})]})})}function mf({category:e,copy:t,headline:n,person:r}){return x.jsx(x.Fragment,{children:r?x.jsxs("div",{className:"flex gap-10 grow items-center mb-6 xl:mb-0",children:[!!(r!=null&&r.image)&&x.jsx("img",{...r.image,className:"rounded-full size-30"}),x.jsxs("div",{className:"flex flex-col gap-6",children:[x.jsx("div",{className:"b-lg uppercase",children:r.title}),x.jsxs("div",{className:"font-bold leading-[116.667%] text-5xl lg:text-8xl",children:[r.firstName," ",r.lastName]})]})]}):x.jsxs("div",{className:"flex flex-col gap-6 grow mb-6 xl:mb-0",children:[x.jsx("div",{className:"b-lg uppercase",children:e}),x.jsx("div",{className:"font-bold leading-[116.667%] [&_h1]:leading-[115.385%] text-5xl lg:text-8xl [&_h1]:lg:text-9xl",children:n}),!!t&&x.jsx("div",{className:"b-base",children:t})]})})}function pf({insight:e}){return x.jsx(x.Fragment,{children:!!e&&x.jsxs("div",{className:"flex flex-col gap-1 mb-6",children:[x.jsxs("div",{className:"flex gap-2 items-center",children:[e==null?void 0:e.date,!!(e!=null&&e.timeToRead)&&x.jsxs(x.Fragment,{children:[x.jsx("span",{className:"bg-smoke h-3.5 w-0.5"}),e==null?void 0:e.timeToRead]})]}),!!(e!=null&&e.authorOne)&&x.jsxs("div",{className:"flex gap-2 items-center",children:[e==null?void 0:e.authorOne,!!(e!=null&&e.authorTwo)&&x.jsxs(x.Fragment,{children:[x.jsx("span",{className:"bg-smoke h-3.5 w-0.5"}),e==null?void 0:e.authorTwo]})]})]})})}const hf=e=>h.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("g",{clipPath:"url(#clip0_129_64910)"},h.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"})),h.createElement("defs",null,h.createElement("clipPath",{id:"clip0_129_64910"},h.createElement("rect",{width:20,height:20,fill:"white"})))),gf=e=>h.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("g",{clipPath:"url(#clip0_32_9938)"},h.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"})),h.createElement("defs",null,h.createElement("clipPath",{id:"clip0_32_9938"},h.createElement("rect",{width:20,height:20,fill:"white"}))));function vf({person:e,textColor:t,textCtaVariant:n}){return x.jsx(x.Fragment,{children:!!e&&x.jsxs("div",{className:"flex flex-col gap-1 mb-6",children:[!!(e!=null&&e.linkedInUrl||e!=null&&e.location)&&x.jsxs("div",{className:"flex gap-2 items-center",children:[!!(e!=null&&e.linkedInUrl)&&x.jsx(ze,{href:e==null?void 0:e.linkedInUrl,socialPlatform:"linkedin",variant:n}),!!(e!=null&&e.linkedInUrl&&(e!=null&&e.location))&&x.jsx("span",{className:"bg-smoke h-3.5 w-0.5"}),!!(e!=null&&e.location)&&x.jsx("span",{className:`b-base text-charcoal-800 ${t}`,children:e==null?void 0:e.location})]}),!!(e!=null&&e.phone||e!=null&&e.fax)&&x.jsxs("div",{className:"b-base flex gap-2 items-center text-navy-500",children:[!!(e!=null&&e.phone)&&x.jsx(Je,{className:"b-base font-bold",variant:n,children:x.jsxs("a",{href:e==null?void 0:e.phone,children:[x.jsx(gf,{className:"size-4"}),e==null?void 0:e.phone]})}),!!(e!=null&&e.phone&&(e!=null&&e.fax))&&x.jsx("span",{className:"bg-smoke h-3.5 w-0.5"}),!!(e!=null&&e.fax)&&x.jsx(Je,{className:"b-base font-bold",variant:n,children:x.jsxs("a",{href:e==null?void 0:e.fax,children:[x.jsx(hf,{className:"size-4"}),e==null?void 0:e.fax]})})]})]})})}const yf=e=>h.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.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"}),h.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 bf({contactCta:e,hasShareOptions:t,printCta:n,textCtaVariant:r,variant:o}){return x.jsxs(kt,{className:"flex gap-4 items-center justify-end py-5",children:[t&&x.jsx(Qi,{trigger:x.jsx(Je,{asChild:!0,className:"b-xs font-bold uppercase",variant:r,children:x.jsxs("button",{children:[x.jsx(yf,{className:"size-4"}),"Share"]})}),variant:o}),!!e&&x.jsx(Je,{className:"b-xs font-bold uppercase",variant:r,children:e}),!!n&&x.jsx(Je,{className:"b-xs font-bold uppercase",variant:r,children:n})]})}function wf({button:e,category:t,className:n,contactCta:r,copy:o,event:i,hasShareOptions:s,headline:a,horizontalStroke:c,imageBackground:l,insight:f,person:u,printCta:d,variant:m="connect",videoBackground:p}){const g=m==="connect"?"primary":"primary-digital",y=m==="connect"?"basic":"digital",v=m==="digital"?"text-white!":"";return m==="digital"&&!p&&!l?null:x.jsxs("div",{className:`${n} ${v} ${c?"border-b-2 border-smoke":""}`,children:[x.jsxs(kt,{className:"flex flex-col xl:flex-row xl:gap-40 xl:items-center mb-12",children:[x.jsx(mf,{category:t,copy:o,headline:a,person:u}),x.jsxs("div",{className:"border-t-2 border-charcoal-100 max-w-76 min-w-76 pt-6",children:[x.jsx(df,{event:i}),x.jsx(pf,{insight:f}),x.jsx(vf,{person:u,textColor:v,textCtaVariant:y}),x.jsx(at,{variant:g,children:e})]})]}),x.jsx(ff,{imageBackground:l,variant:m,videoBackground:p}),x.jsx(bf,{contactCta:r,hasShareOptions:s,printCta:d,textCtaVariant:y,variant:m})]})}/*! @vimeo/player v2.30.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function xf(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,s,a=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(f){l=!0,o=f}finally{try{if(!c&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw o}}return a}}function to(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function no(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?to(Object(n),!0).forEach(function(r){Ut(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):to(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function oe(){oe=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(P,A,O){P[A]=O.value},o=typeof Symbol=="function"?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag";function c(P,A,O){return Object.defineProperty(P,A,{value:O,enumerable:!0,configurable:!0,writable:!0}),P[A]}try{c({},"")}catch{c=function(A,O,L){return A[O]=L}}function l(P,A,O,L){var M=A&&A.prototype instanceof d?A:d,j=Object.create(M.prototype),T=new N(L||[]);return r(j,"_invoke",{value:E(P,O,T)}),j}function f(P,A,O){try{return{type:"normal",arg:P.call(A,O)}}catch(L){return{type:"throw",arg:L}}}e.wrap=l;var u={};function d(){}function m(){}function p(){}var g={};c(g,i,function(){return this});var y=Object.getPrototypeOf,v=y&&y(y(D([])));v&&v!==t&&n.call(v,i)&&(g=v);var b=p.prototype=d.prototype=Object.create(g);function w(P){["next","throw","return"].forEach(function(A){c(P,A,function(O){return this._invoke(A,O)})})}function C(P,A){function O(M,j,T,B){var H=f(P[M],P,j);if(H.type!=="throw"){var Y=H.arg,te=Y.value;return te&&typeof te=="object"&&n.call(te,"__await")?A.resolve(te.__await).then(function(W){O("next",W,T,B)},function(W){O("throw",W,T,B)}):A.resolve(te).then(function(W){Y.value=W,T(Y)},function(W){return O("throw",W,T,B)})}B(H.arg)}var L;r(this,"_invoke",{value:function(M,j){function T(){return new A(function(B,H){O(M,j,B,H)})}return L=L?L.then(T,T):T()}})}function E(P,A,O){var L="suspendedStart";return function(M,j){if(L==="executing")throw new Error("Generator is already running");if(L==="completed"){if(M==="throw")throw j;return V()}for(O.method=M,O.arg=j;;){var T=O.delegate;if(T){var B=R(T,O);if(B){if(B===u)continue;return B}}if(O.method==="next")O.sent=O._sent=O.arg;else if(O.method==="throw"){if(L==="suspendedStart")throw L="completed",O.arg;O.dispatchException(O.arg)}else O.method==="return"&&O.abrupt("return",O.arg);L="executing";var H=f(P,A,O);if(H.type==="normal"){if(L=O.done?"completed":"suspendedYield",H.arg===u)continue;return{value:H.arg,done:O.done}}H.type==="throw"&&(L="completed",O.method="throw",O.arg=H.arg)}}}function R(P,A){var O=A.method,L=P.iterator[O];if(L===void 0)return A.delegate=null,O==="throw"&&P.iterator.return&&(A.method="return",A.arg=void 0,R(P,A),A.method==="throw")||O!=="return"&&(A.method="throw",A.arg=new TypeError("The iterator does not provide a '"+O+"' method")),u;var M=f(L,P.iterator,A.arg);if(M.type==="throw")return A.method="throw",A.arg=M.arg,A.delegate=null,u;var j=M.arg;return j?j.done?(A[P.resultName]=j.value,A.next=P.nextLoc,A.method!=="return"&&(A.method="next",A.arg=void 0),A.delegate=null,u):j:(A.method="throw",A.arg=new TypeError("iterator result is not an object"),A.delegate=null,u)}function k(P){var A={tryLoc:P[0]};1 in P&&(A.catchLoc=P[1]),2 in P&&(A.finallyLoc=P[2],A.afterLoc=P[3]),this.tryEntries.push(A)}function S(P){var A=P.completion||{};A.type="normal",delete A.arg,P.completion=A}function N(P){this.tryEntries=[{tryLoc:"root"}],P.forEach(k,this),this.reset(!0)}function D(P){if(P){var A=P[i];if(A)return A.call(P);if(typeof P.next=="function")return P;if(!isNaN(P.length)){var O=-1,L=function M(){for(;++O<P.length;)if(n.call(P,O))return M.value=P[O],M.done=!1,M;return M.value=void 0,M.done=!0,M};return L.next=L}}return{next:V}}function V(){return{value:void 0,done:!0}}return m.prototype=p,r(b,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:m,configurable:!0}),m.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(P){var A=typeof P=="function"&&P.constructor;return!!A&&(A===m||(A.displayName||A.name)==="GeneratorFunction")},e.mark=function(P){return Object.setPrototypeOf?Object.setPrototypeOf(P,p):(P.__proto__=p,c(P,a,"GeneratorFunction")),P.prototype=Object.create(b),P},e.awrap=function(P){return{__await:P}},w(C.prototype),c(C.prototype,s,function(){return this}),e.AsyncIterator=C,e.async=function(P,A,O,L,M){M===void 0&&(M=Promise);var j=new C(l(P,A,O,L),M);return e.isGeneratorFunction(A)?j:j.next().then(function(T){return T.done?T.value:j.next()})},w(b),c(b,a,"Generator"),c(b,i,function(){return this}),c(b,"toString",function(){return"[object Generator]"}),e.keys=function(P){var A=Object(P),O=[];for(var L in A)O.push(L);return O.reverse(),function M(){for(;O.length;){var j=O.pop();if(j in A)return M.value=j,M.done=!1,M}return M.done=!0,M}},e.values=D,N.prototype={constructor:N,reset:function(P){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!P)for(var A in this)A.charAt(0)==="t"&&n.call(this,A)&&!isNaN(+A.slice(1))&&(this[A]=void 0)},stop:function(){this.done=!0;var P=this.tryEntries[0].completion;if(P.type==="throw")throw P.arg;return this.rval},dispatchException:function(P){if(this.done)throw P;var A=this;function O(H,Y){return j.type="throw",j.arg=P,A.next=H,Y&&(A.method="next",A.arg=void 0),!!Y}for(var L=this.tryEntries.length-1;L>=0;--L){var M=this.tryEntries[L],j=M.completion;if(M.tryLoc==="root")return O("end");if(M.tryLoc<=this.prev){var T=n.call(M,"catchLoc"),B=n.call(M,"finallyLoc");if(T&&B){if(this.prev<M.catchLoc)return O(M.catchLoc,!0);if(this.prev<M.finallyLoc)return O(M.finallyLoc)}else if(T){if(this.prev<M.catchLoc)return O(M.catchLoc,!0)}else{if(!B)throw new Error("try statement without catch or finally");if(this.prev<M.finallyLoc)return O(M.finallyLoc)}}}},abrupt:function(P,A){for(var O=this.tryEntries.length-1;O>=0;--O){var L=this.tryEntries[O];if(L.tryLoc<=this.prev&&n.call(L,"finallyLoc")&&this.prev<L.finallyLoc){var M=L;break}}M&&(P==="break"||P==="continue")&&M.tryLoc<=A&&A<=M.finallyLoc&&(M=null);var j=M?M.completion:{};return j.type=P,j.arg=A,M?(this.method="next",this.next=M.finallyLoc,u):this.complete(j)},complete:function(P,A){if(P.type==="throw")throw P.arg;return P.type==="break"||P.type==="continue"?this.next=P.arg:P.type==="return"?(this.rval=this.arg=P.arg,this.method="return",this.next="end"):P.type==="normal"&&A&&(this.next=A),u},finish:function(P){for(var A=this.tryEntries.length-1;A>=0;--A){var O=this.tryEntries[A];if(O.finallyLoc===P)return this.complete(O.completion,O.afterLoc),S(O),u}},catch:function(P){for(var A=this.tryEntries.length-1;A>=0;--A){var O=this.tryEntries[A];if(O.tryLoc===P){var L=O.completion;if(L.type==="throw"){var M=L.arg;S(O)}return M}}throw new Error("illegal catch attempt")},delegateYield:function(P,A,O){return this.delegate={iterator:D(P),resultName:A,nextLoc:O},this.method==="next"&&(this.arg=void 0),u}},e}function ro(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(l){n(l);return}a.done?t(c):Promise.resolve(c).then(r,o)}function Be(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(c){ro(i,r,o,s,a,"next",c)}function a(c){ro(i,r,o,s,a,"throw",c)}s(void 0)})}}function _i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Bi(r.key),r)}}function Di(e,t,n){return t&&oo(e.prototype,t),n&&oo(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ut(e,t,n){return t=Bi(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bt(e,t)}function yt(e){return yt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},yt(e)}function bt(e,t){return bt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},bt(e,t)}function Vi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Gt(e,t,n){return Vi()?Gt=Reflect.construct.bind():Gt=function(o,i,s){var a=[null];a.push.apply(a,i);var c=Function.bind.apply(o,a),l=new c;return s&&bt(l,s.prototype),l},Gt.apply(null,arguments)}function Ef(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Wn(e){var t=typeof Map=="function"?new Map:void 0;return Wn=function(r){if(r===null||!Ef(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Gt(r,arguments,yt(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),bt(o,r)},Wn(e)}function Yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sf(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Yt(e)}function kf(e){var t=Vi();return function(){var r=yt(e),o;if(t){var i=yt(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Sf(this,o)}}function Pf(e,t){return Af(e)||xf(e,t)||Rf(e,t)||Tf()}function Af(e){if(Array.isArray(e))return e}function Rf(e,t){if(e){if(typeof e=="string")return io(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return io(e,t)}}function io(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Tf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
44
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Of(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Bi(e){var t=Of(e,"string");return typeof t=="symbol"?t:String(t)}var Mf=typeof global<"u"&&{}.toString.call(global)==="[object global]",Nf=typeof Bun<"u",Lf=typeof Deno<"u",zi=Mf||Nf||Lf;function so(e,t){return e.indexOf(t.toLowerCase())===0?e:"".concat(t.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function jf(e){return!!(e&&e.nodeType===1&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}function Ff(e){return!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e}function Se(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function $i(e){var t=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return t.test(e)}function If(e){for(var t=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(t&&t[1]||"").replace("player.",""),r=[".videoji.hk",".vimeo.work",".videoji.cn"],o=0,i=r;o<i.length;o++){var s=i[o];if(n.endsWith(s))return n}return"vimeo.com"}function Hi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},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(Ff(r))return"https://vimeo.com/".concat(r);if(Se(r))return r.replace("http:","https:");throw t?new TypeError("“".concat(t,"” is not a valid video id.")):new TypeError("“".concat(r,"” is not a vimeo.com url."))}var ao=function(t,n,r){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",s=typeof n=="string"?[n]:n;return s.forEach(function(a){t[o](a,r)}),{cancel:function(){return s.forEach(function(c){return t[i](c,r)})}}};function pn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;if(!e||!t||typeof t.querySelectorAll!="function")return null;for(var n=t.querySelectorAll("iframe"),r=0;r<n.length;r++)if(n[r]&&n[r].contentWindow===e)return n[r];return null}var _f=typeof Array.prototype.indexOf<"u",Df=typeof window<"u"&&typeof window.postMessage<"u";if(!zi&&(!_f||!Df))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Qe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vf(e,t){return t={exports:{}},e(t,t.exports),t.exports}/*!
45
+ * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
46
+ * https://github.com/polygonplanet/weakmap-polyfill
47
+ * Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
48
+ * @license MIT
49
+ */(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(i,s,a){n?Object.defineProperty(i,s,{configurable:!0,writable:!0,value:a}):i[s]=a};e.WeakMap=(function(){function i(){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(i.prototype,"delete",function(l){if(s(this,"delete"),!o(l))return!1;var f=l[this._id];return f&&f[0]===l?(delete l[this._id],!0):!1}),r(i.prototype,"get",function(l){if(s(this,"get"),!!o(l)){var f=l[this._id];if(f&&f[0]===l)return f[1]}}),r(i.prototype,"has",function(l){if(s(this,"has"),!o(l))return!1;var f=l[this._id];return!!(f&&f[0]===l)}),r(i.prototype,"set",function(l,f){if(s(this,"set"),!o(l))throw new TypeError("Invalid value used as weak map key");var u=l[this._id];return u&&u[0]===l?(u[1]=f,this):(r(l,this._id,[l,f]),this)});function s(l,f){if(!o(l)||!t.call(l,"_id"))throw new TypeError(f+" method called on incompatible receiver "+typeof l)}function a(l){return l+"_"+c()+"."+c()}function c(){return Math.random().toString().substring(2)}return r(i,"_polyfill",!0),i})();function o(i){return Object(i)===i}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Qe);var fe=Vf(function(e){/*! Native Promise Only
50
+ v0.8.1 (c) Kyle Simpson
51
+ MIT License: http://getify.mit-license.org
52
+ */(function(n,r,o){r[n]=r[n]||o(),e.exports&&(e.exports=r[n])})("Promise",Qe,function(){var n,r,o,i=Object.prototype.toString,s=typeof setImmediate<"u"?function(w){return setImmediate(w)}:setTimeout;try{Object.defineProperty({},"x",{}),n=function(w,C,E,R){return Object.defineProperty(w,C,{value:E,writable:!0,configurable:R!==!1})}}catch{n=function(C,E,R){return C[E]=R,C}}o=(function(){var w,C,E;function R(k,S){this.fn=k,this.self=S,this.next=void 0}return{add:function(S,N){E=new R(S,N),C?C.next=E:w=E,C=E,E=void 0},drain:function(){var S=w;for(w=C=r=void 0;S;)S.fn.call(S.self),S=S.next}}})();function a(b,w){o.add(b,w),r||(r=s(o.drain))}function c(b){var w,C=typeof b;return b!=null&&(C=="object"||C=="function")&&(w=b.then),typeof w=="function"?w:!1}function l(){for(var b=0;b<this.chain.length;b++)f(this,this.state===1?this.chain[b].success:this.chain[b].failure,this.chain[b]);this.chain.length=0}function f(b,w,C){var E,R;try{w===!1?C.reject(b.msg):(w===!0?E=b.msg:E=w.call(void 0,b.msg),E===C.promise?C.reject(TypeError("Promise-chain cycle")):(R=c(E))?R.call(E,C.resolve,C.reject):C.resolve(E))}catch(k){C.reject(k)}}function u(b){var w,C=this;if(!C.triggered){C.triggered=!0,C.def&&(C=C.def);try{(w=c(b))?a(function(){var E=new p(C);try{w.call(b,function(){u.apply(E,arguments)},function(){d.apply(E,arguments)})}catch(R){d.call(E,R)}}):(C.msg=b,C.state=1,C.chain.length>0&&a(l,C))}catch(E){d.call(new p(C),E)}}}function d(b){var w=this;w.triggered||(w.triggered=!0,w.def&&(w=w.def),w.msg=b,w.state=2,w.chain.length>0&&a(l,w))}function m(b,w,C,E){for(var R=0;R<w.length;R++)(function(S){b.resolve(w[S]).then(function(D){C(S,D)},E)})(R)}function p(b){this.def=b,this.triggered=!1}function g(b){this.promise=b,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function y(b){if(typeof b!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var w=new g(this);this.then=function(E,R){var k={success:typeof E=="function"?E:!0,failure:typeof R=="function"?R:!1};return k.promise=new this.constructor(function(N,D){if(typeof N!="function"||typeof D!="function")throw TypeError("Not a function");k.resolve=N,k.reject=D}),w.chain.push(k),w.state!==0&&a(l,w),k.promise},this.catch=function(E){return this.then(void 0,E)};try{b.call(void 0,function(E){u.call(w,E)},function(E){d.call(w,E)})}catch(C){d.call(w,C)}}var v=n({},"constructor",y,!1);return y.prototype=v,n(v,"__NPO__",0,!1),n(y,"resolve",function(w){var C=this;return w&&typeof w=="object"&&w.__NPO__===1?w:new C(function(R,k){if(typeof R!="function"||typeof k!="function")throw TypeError("Not a function");R(w)})}),n(y,"reject",function(w){return new this(function(E,R){if(typeof E!="function"||typeof R!="function")throw TypeError("Not a function");R(w)})}),n(y,"all",function(w){var C=this;return i.call(w)!="[object Array]"?C.reject(TypeError("Not an array")):w.length===0?C.resolve([]):new C(function(R,k){if(typeof R!="function"||typeof k!="function")throw TypeError("Not a function");var S=w.length,N=Array(S),D=0;m(C,w,function(P,A){N[P]=A,++D===S&&R(N)},k)})}),n(y,"race",function(w){var C=this;return i.call(w)!="[object Array]"?C.reject(TypeError("Not an array")):new C(function(R,k){if(typeof R!="function"||typeof k!="function")throw TypeError("Not a function");m(C,w,function(N,D){R(D)},k)})}),y})}),ke=new WeakMap;function ut(e,t,n){var r=ke.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),ke.set(e.element,r)}function tn(e,t){var n=ke.get(e.element)||{};return n[t]||[]}function nn(e,t,n){var r=ke.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],ke.set(e.element,r),!0;var o=r[t].indexOf(n);return o!==-1&&r[t].splice(o,1),ke.set(e.element,r),r[t]&&r[t].length===0}function Bf(e,t){var n=tn(e,t);if(n.length<1)return!1;var r=n.shift();return nn(e,t,r),r}function zf(e,t){var n=ke.get(e);ke.set(t,n),ke.delete(e)}function St(e){if(typeof e=="string")try{e=JSON.parse(e)}catch(t){return console.warn(t),{}}return e}function Ve(e,t,n){if(!(!e.element.contentWindow||!e.element.contentWindow.postMessage)){var r={method:t};n!==void 0&&(r.value=n);var 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 $f(e,t){t=St(t);var n=[],r;if(t.event){if(t.event==="error"){var o=tn(e,t.data.method);o.forEach(function(s){var a=new Error(t.data.message);a.name=t.data.name,s.reject(a),nn(e,t.data.method,s)})}n=tn(e,"event:".concat(t.event)),r=t.data}else if(t.method){var i=Bf(e,t.method);i&&(n.push(i),r=t.value)}n.forEach(function(s){try{if(typeof s=="function"){s.call(e,r);return}s.resolve(r)}catch{}})}var Hf=["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 Wi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Hf.reduce(function(n,r){var o=e.getAttribute("data-vimeo-".concat(r));return(o||o==="")&&(n[r]=o===""?1:o),n},t)}function cr(e,t){var n=e.html;if(!t)throw new TypeError("An element must be provided");if(t.getAttribute("data-vimeo-initialized")!==null)return t.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function qi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise(function(r,o){if(!Se(e))throw new TypeError("“".concat(e,"” is not a vimeo.com url."));var i=If(e),s="https://".concat(i,"/api/oembed.json?url=").concat(encodeURIComponent(e));for(var a in t)t.hasOwnProperty(a)&&(s+="&".concat(a,"=").concat(encodeURIComponent(t[a])));var c="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;c.open("GET",s,!0),c.onload=function(){if(c.status===404){o(new Error("“".concat(e,"” was not found.")));return}if(c.status===403){o(new Error("“".concat(e,"” is not embeddable.")));return}try{var l=JSON.parse(c.responseText);if(l.domain_status_code===403){cr(l,n),o(new Error("“".concat(e,"” is not embeddable.")));return}r(l)}catch(f){o(f)}},c.onerror=function(){var l=c.status?" (".concat(c.status,")"):"";o(new Error("There was an error fetching the embed code from Vimeo".concat(l,".")))},c.send()})}function Wf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=function(o){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(o))};t.forEach(function(r){try{if(r.getAttribute("data-vimeo-defer")!==null)return;var o=Wi(r),i=Hi(o);qi(i,o,r).then(function(s){return cr(s,r)}).catch(n)}catch(s){n(s)}})}function qf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var t=function(r){if(Se(r.origin)&&!(!r.data||r.data.event!=="spacechange")){var o=r.source?pn(r.source,e):null;if(o){var i=o.parentElement;i.style.paddingBottom="".concat(r.data.data[0].bottom,"px")}}};window.addEventListener("message",t)}}function Uf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var t=function(r){if(Se(r.origin)){var o=St(r.data);if(!(!o||o.event!=="ready")){var i=r.source?pn(r.source,e):null;if(i&&$i(i.src)){var s=new lr(i);s.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",t)}}function Gf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var t=function(o){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(o))},n=function(o){if(Se(o.origin)){var i=St(o.data);if(!(!i||i.event!=="ready")){var s=o.source?pn(o.source,e):null;if(s&&$i(s.src)){var a=new lr(s);a.getVideoId().then(function(c){var l=new RegExp("[?&]vimeo_t_".concat(c,"=([^&#]*)")).exec(window.location.href);if(l&&l[1]){var f=decodeURI(l[1]);a.setCurrentTime(f)}}).catch(t)}}}};window.addEventListener("message",n)}}function Yf(){if(!window.VimeoDRMEmbedsUpdated){window.VimeoDRMEmbedsUpdated=!0;var e=function(n){if(Se(n.origin)){var r=St(n.data);if(!(!r||r.event!=="drminitfailed")){var o=n.source?pn(n.source):null;if(o){var i=o.getAttribute("allow")||"",s=i.includes("encrypted-media");if(!s){o.setAttribute("allow","".concat(i,"; encrypted-media"));var a=new URL(o.getAttribute("src"));a.searchParams.set("forcereload","drm"),o.setAttribute("src",a.toString());return}}}}};window.addEventListener("message",e)}}function Zf(){var e=(function(){for(var r,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"]],i=0,s=o.length,a={};i<s;i++)if(r=o[i],r&&r[1]in document){for(i=0;i<r.length;i++)a[o[0][i]]=r[i];return a}return!1})(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},n={request:function(o){return new Promise(function(i,s){var a=function l(){n.off("fullscreenchange",l),i()};n.on("fullscreenchange",a),o=o||document.documentElement;var c=o[e.requestFullscreen]();c instanceof Promise&&c.then(a).catch(s)})},exit:function(){return new Promise(function(o,i){if(!n.isFullscreen){o();return}var s=function c(){n.off("fullscreenchange",c),o()};n.on("fullscreenchange",s);var a=document[e.exitFullscreen]();a instanceof Promise&&a.then(s).catch(i)})},on:function(o,i){var s=t[o];s&&document.addEventListener(s,i)},off:function(o,i){var s=t[o];s&&document.removeEventListener(s,i)}};return Object.defineProperties(n,{isFullscreen:{get:function(){return!!document[e.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[e.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[e.fullscreenEnabled]}}}),n}var Xf={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},Kf=(function(e){Cf(n,e);var t=kf(n);function n(r,o){var i,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;return _i(this,n),i=t.call(this),Ut(Yt(i),"logger",void 0),Ut(Yt(i),"speedAdjustment",0),Ut(Yt(i),"adjustSpeed",(function(){var c=Be(oe().mark(function l(f,u){var d;return oe().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(i.speedAdjustment!==u){p.next=2;break}return p.abrupt("return");case 2:return p.next=4,f.getPlaybackRate();case 4:return p.t0=p.sent,p.t1=i.speedAdjustment,p.t2=p.t0-p.t1,p.t3=u,d=p.t2+p.t3,i.log("New playbackRate: ".concat(d)),p.next=12,f.setPlaybackRate(d);case 12:i.speedAdjustment=u;case 13:case"end":return p.stop()}},l)}));return function(l,f){return c.apply(this,arguments)}})()),i.logger=a,i.init(o,r,no(no({},Xf),s)),i}return Di(n,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(function(){var r=Be(oe().mark(function i(s,a,c){var l=this,f,u,d;return oe().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,this.waitForTOReadyState(s,"open");case 2:if(c.role!=="viewer"){p.next=10;break}return p.next=5,this.updatePlayer(s,a,c);case 5:f=ao(s,"change",function(){return l.updatePlayer(s,a,c)}),u=this.maintainPlaybackPosition(s,a,c),this.addEventListener("disconnect",function(){u.cancel(),f.cancel()}),p.next=14;break;case 10:return p.next=12,this.updateTimingObject(s,a);case 12:d=ao(a,["seeked","play","pause","ratechange"],function(){return l.updateTimingObject(s,a)},"on","off"),this.addEventListener("disconnect",function(){return d.cancel()});case 14:case"end":return p.stop()}},i,this)}));function o(i,s,a){return r.apply(this,arguments)}return o})()},{key:"updateTimingObject",value:(function(){var r=Be(oe().mark(function i(s,a){var c,l,f,u,d;return oe().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,Promise.all([a.getCurrentTime(),a.getPaused(),a.getPlaybackRate()]);case 2:c=p.sent,l=Pf(c,3),f=l[0],u=l[1],d=l[2],s.update({position:f,velocity:u?0:d});case 8:case"end":return p.stop()}},i)}));function o(i,s){return r.apply(this,arguments)}return o})()},{key:"updatePlayer",value:(function(){var r=Be(oe().mark(function i(s,a,c){var l,f,u;return oe().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(l=s.query(),f=l.position,u=l.velocity,typeof f=="number"&&a.setCurrentTime(f),typeof u!="number"){m.next=25;break}if(u!==0){m.next=11;break}return m.next=6,a.getPaused();case 6:if(m.t0=m.sent,m.t0!==!1){m.next=9;break}a.pause();case 9:m.next=25;break;case 11:if(!(u>0)){m.next=25;break}return m.next=14,a.getPaused();case 14:if(m.t1=m.sent,m.t1!==!0){m.next=19;break}return m.next=18,a.play().catch((function(){var p=Be(oe().mark(function g(y){return oe().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(!(y.name==="NotAllowedError"&&c.autoPlayMuted)){b.next=5;break}return b.next=3,a.setMuted(!0);case 3:return b.next=5,a.play().catch(function(w){return console.error("Couldn't play the video from TimingSrcConnector. Error:",w)});case 5:case"end":return b.stop()}},g)}));return function(g){return p.apply(this,arguments)}})());case 18:this.updatePlayer(s,a,c);case 19:return m.next=21,a.getPlaybackRate();case 21:if(m.t2=m.sent,m.t3=u,m.t2===m.t3){m.next=25;break}a.setPlaybackRate(u);case 25:case"end":return m.stop()}},i,this)}));function o(i,s,a){return r.apply(this,arguments)}return o})()},{key:"maintainPlaybackPosition",value:function(o,i,s){var a=this,c=s.allowedDrift,l=s.maxAllowedDrift,f=s.minCheckInterval,u=s.maxRateAdjustment,d=s.maxTimeToCatchUp,m=Math.min(d,Math.max(f,l))*1e3,p=(function(){var y=Be(oe().mark(function v(){var b,w,C,E,R;return oe().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:if(S.t0=o.query().velocity===0,S.t0){S.next=6;break}return S.next=4,i.getPaused();case 4:S.t1=S.sent,S.t0=S.t1===!0;case 6:if(!S.t0){S.next=8;break}return S.abrupt("return");case 8:return S.t2=o.query().position,S.next=11,i.getCurrentTime();case 11:if(S.t3=S.sent,b=S.t2-S.t3,w=Math.abs(b),a.log("Drift: ".concat(b)),!(w>l)){S.next=22;break}return S.next=18,a.adjustSpeed(i,0);case 18:i.setCurrentTime(o.query().position),a.log("Resync by currentTime"),S.next=29;break;case 22:if(!(w>c)){S.next=29;break}return C=w/d,E=u,R=C<E?(E-C)/2:E,S.next=28,a.adjustSpeed(i,R*Math.sign(b));case 28:a.log("Resync by playbackRate");case 29:case"end":return S.stop()}},v)}));return function(){return y.apply(this,arguments)}})(),g=setInterval(function(){return p()},m);return{cancel:function(){return clearInterval(g)}}}},{key:"log",value:function(o){var i;(i=this.logger)===null||i===void 0||i.call(this,"TimingSrcConnector: ".concat(o))}},{key:"waitForTOReadyState",value:function(o,i){return new Promise(function(s){var a=function c(){o.readyState===i?s():o.addEventListener("readystatechange",c,{once:!0})};a()})}}]),n})(Wn(EventTarget)),Ze=new WeakMap,Mn=new WeakMap,ie={},lr=(function(){function e(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(_i(this,e),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)),!jf(t))throw new TypeError("You must pass either a valid element or a valid id.");if(t.nodeName!=="IFRAME"){var o=t.querySelector("iframe");o&&(t=o)}if(t.nodeName==="IFRAME"&&!Se(t.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(Ze.has(t))return Ze.get(t);this._window=t.ownerDocument.defaultView,this.element=t,this.origin="*";var i=new fe(function(a,c){if(n._onMessage=function(u){if(!(!Se(u.origin)||n.element.contentWindow!==u.source)){n.origin==="*"&&(n.origin=u.origin);var d=St(u.data),m=d&&d.event==="error",p=m&&d.data&&d.data.method==="ready";if(p){var g=new Error(d.data.message);g.name=d.data.name,c(g);return}var y=d&&d.event==="ready",v=d&&d.method==="ping";if(y||v){n.element.setAttribute("data-ready","true"),a();return}$f(n,d)}},n._window.addEventListener("message",n._onMessage),n.element.nodeName!=="IFRAME"){var l=Wi(t,r),f=Hi(l);qi(f,l,t).then(function(u){var d=cr(u,t);return n.element=d,n._originalElement=t,zf(t,d),Ze.set(n.element,n),u}).catch(c)}});if(Mn.set(this,i),Ze.set(this.element,this),this.element.nodeName==="IFRAME"&&Ve(this,"ping"),ie.isEnabled){var s=function(){return ie.exit()};this.fullscreenchangeHandler=function(){ie.isFullscreen?ut(n,"event:exitFullscreen",s):nn(n,"event:exitFullscreen",s),n.ready().then(function(){Ve(n,"fullscreenchange",ie.isFullscreen)})},ie.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return Di(e,[{key:"callMethod",value:function(n){for(var r=this,o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];if(n==null)throw new TypeError("You must pass a method name.");return new fe(function(a,c){return r.ready().then(function(){ut(r,n,{resolve:a,reject:c}),i.length===0?i={}:i.length===1&&(i=i[0]),Ve(r,n,i)}).catch(c)})}},{key:"get",value:function(n){var r=this;return new fe(function(o,i){return n=so(n,"get"),r.ready().then(function(){ut(r,n,{resolve:o,reject:i}),Ve(r,n)}).catch(i)})}},{key:"set",value:function(n,r){var o=this;return new fe(function(i,s){if(n=so(n,"set"),r==null)throw new TypeError("There must be a value to set.");return o.ready().then(function(){ut(o,n,{resolve:i,reject:s}),Ve(o,n,r)}).catch(s)})}},{key:"on",value:function(n,r){if(!n)throw new TypeError("You must pass an event name.");if(!r)throw new TypeError("You must pass a callback function.");if(typeof r!="function")throw new TypeError("The callback must be a function.");var o=tn(this,"event:".concat(n));o.length===0&&this.callMethod("addEventListener",n).catch(function(){}),ut(this,"event:".concat(n),r)}},{key:"off",value:function(n,r){if(!n)throw new TypeError("You must pass an event name.");if(r&&typeof r!="function")throw new TypeError("The callback must be a function.");var o=nn(this,"event:".concat(n),r);o&&this.callMethod("removeEventListener",n).catch(function(i){})}},{key:"loadVideo",value:function(n){return this.callMethod("loadVideo",n)}},{key:"ready",value:function(){var n=Mn.get(this)||new fe(function(r,o){o(new Error("Unknown player. Probably unloaded."))});return fe.resolve(n)}},{key:"addCuePoint",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:n,data:r})}},{key:"removeCuePoint",value:function(n){return this.callMethod("removeCuePoint",n)}},{key:"enableTextTrack",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!n)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:n,kind:r,showing:o})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"selectAudioTrack",value:function(n,r){if(!n)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:n,kind:r})}},{key:"selectDefaultAudioTrack",value:function(){return this.callMethod("selectDefaultAudioTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return ie.isEnabled?ie.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return ie.isEnabled?ie.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return ie.isEnabled?fe.resolve(ie.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var n=this;return new fe(function(r){if(Mn.delete(n),Ze.delete(n.element),n._originalElement&&(Ze.delete(n._originalElement),n._originalElement.removeAttribute("data-vimeo-initialized")),n.element&&n.element.nodeName==="IFRAME"&&n.element.parentNode&&(n.element.parentNode.parentNode&&n._originalElement&&n._originalElement!==n.element.parentNode?n.element.parentNode.parentNode.removeChild(n.element.parentNode):n.element.parentNode.removeChild(n.element)),n.element&&n.element.nodeName==="DIV"&&n.element.parentNode){n.element.removeAttribute("data-vimeo-initialized");var o=n.element.querySelector("iframe");o&&o.parentNode&&(o.parentNode.parentNode&&n._originalElement&&n._originalElement!==o.parentNode?o.parentNode.parentNode.removeChild(o.parentNode):o.parentNode.removeChild(o))}n._window.removeEventListener("message",n._onMessage),ie.isEnabled&&ie.off("fullscreenchange",n.fullscreenchangeHandler),r()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(n){return this.set("autopause",n)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(n){return this.set("cameraProps",n)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return fe.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(n){return this.set("color",n)}},{key:"setColors",value:function(n){if(!Array.isArray(n))return new fe(function(i,s){return s(new TypeError("Argument must be an array."))});var r=new fe(function(i){return i(null)}),o=[n[0]?this.set("colorOne",n[0]):r,n[1]?this.set("colorTwo",n[1]):r,n[2]?this.set("colorThree",n[2]):r,n[3]?this.set("colorFour",n[3]):r];return fe.all(o)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(n){return this.set("currentTime",n)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(n){return this.set("loop",n)}},{key:"setMuted",value:function(n){return this.set("muted",n)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(n){return this.set("playbackRate",n)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(n){return this.set("quality",n)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getAudioTracks",value:function(){return this.get("audioTracks")}},{key:"getEnabledAudioTrack",value:function(){return this.get("enabledAudioTrack")}},{key:"getDefaultAudioTrack",value:function(){return this.get("defaultAudioTrack")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(n){return this.set("volume",n)}},{key:"setTimingSrc",value:(function(){var t=Be(oe().mark(function r(o,i){var s=this,a;return oe().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(o){l.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return l.next=4,this.ready();case 4:return a=new Kf(this,o,i),Ve(this,"notifyTimingObjectConnect"),a.addEventListener("disconnect",function(){return Ve(s,"notifyTimingObjectDisconnect")}),l.abrupt("return",a);case 8:case"end":return l.stop()}},r,this)}));function n(r,o){return t.apply(this,arguments)}return n})()}],[{key:"isVimeoUrl",value:function(n){return Se(n)}}]),e})();zi||(ie=Zf(),Wf(),qf(),Uf(),Gf(),Yf());function Qf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ft={exports:{}},Nn,co;function Jf(){if(co)return Nn;co=1;var e;/**
53
+ * @link https://github.com/gajus/sister for the canonical source repository
54
+ * @license https://github.com/gajus/sister/blob/master/LICENSE BSD 3-Clause
55
+ */return e=function(){var t={},n={};return t.on=function(r,o){var i={name:r,handler:o};return n[r]=n[r]||[],n[r].unshift(i),i},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 i=n[r],s;if(i)for(s=i.length;s--;)i[s].handler(o)},t},Nn=e,Nn}var It={exports:{}},_t={exports:{}},Ln,lo;function ed(){if(lo)return Ln;lo=1;var e=1e3,t=e*60,n=t*60,r=n*24,o=r*7,i=r*365.25;Ln=function(f,u){u=u||{};var d=typeof f;if(d==="string"&&f.length>0)return s(f);if(d==="number"&&isFinite(f))return u.long?c(f):a(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))};function s(f){if(f=String(f),!(f.length>100)){var u=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(f);if(u){var d=parseFloat(u[1]),m=(u[2]||"ms").toLowerCase();switch(m){case"years":case"year":case"yrs":case"yr":case"y":return d*i;case"weeks":case"week":case"w":return d*o;case"days":case"day":case"d":return d*r;case"hours":case"hour":case"hrs":case"hr":case"h":return d*n;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function a(f){var u=Math.abs(f);return u>=r?Math.round(f/r)+"d":u>=n?Math.round(f/n)+"h":u>=t?Math.round(f/t)+"m":u>=e?Math.round(f/e)+"s":f+"ms"}function c(f){var u=Math.abs(f);return u>=r?l(f,u,r,"day"):u>=n?l(f,u,n,"hour"):u>=t?l(f,u,t,"minute"):u>=e?l(f,u,e,"second"):f+" ms"}function l(f,u,d,m){var p=u>=d*1.5;return Math.round(f/d)+" "+m+(p?"s":"")}return Ln}var jn,uo;function td(){if(uo)return jn;uo=1;function e(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=i,r.enabled=c,r.humanize=ed(),r.destroy=f,Object.keys(t).forEach(u=>{r[u]=t[u]}),r.names=[],r.skips=[],r.formatters={};function n(u){let d=0;for(let m=0;m<u.length;m++)d=(d<<5)-d+u.charCodeAt(m),d|=0;return r.colors[Math.abs(d)%r.colors.length]}r.selectColor=n;function r(u){let d,m=null,p,g;function y(...v){if(!y.enabled)return;const b=y,w=Number(new Date),C=w-(d||w);b.diff=C,b.prev=d,b.curr=w,d=w,v[0]=r.coerce(v[0]),typeof v[0]!="string"&&v.unshift("%O");let E=0;v[0]=v[0].replace(/%([a-zA-Z%])/g,(k,S)=>{if(k==="%%")return"%";E++;const N=r.formatters[S];if(typeof N=="function"){const D=v[E];k=N.call(b,D),v.splice(E,1),E--}return k}),r.formatArgs.call(b,v),(b.log||r.log).apply(b,v)}return y.namespace=u,y.useColors=r.useColors(),y.color=r.selectColor(u),y.extend=o,y.destroy=r.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:()=>m!==null?m:(p!==r.namespaces&&(p=r.namespaces,g=r.enabled(u)),g),set:v=>{m=v}}),typeof r.init=="function"&&r.init(y),y}function o(u,d){const m=r(this.namespace+(typeof d>"u"?":":d)+u);return m.log=this.log,m}function i(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];const d=(typeof u=="string"?u:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const m of d)m[0]==="-"?r.skips.push(m.slice(1)):r.names.push(m)}function s(u,d){let m=0,p=0,g=-1,y=0;for(;m<u.length;)if(p<d.length&&(d[p]===u[m]||d[p]==="*"))d[p]==="*"?(g=p,y=m,p++):(m++,p++);else if(g!==-1)p=g+1,y++,m=y;else return!1;for(;p<d.length&&d[p]==="*";)p++;return p===d.length}function a(){const u=[...r.names,...r.skips.map(d=>"-"+d)].join(",");return r.enable(""),u}function c(u){for(const d of r.skips)if(s(u,d))return!1;for(const d of r.names)if(s(u,d))return!0;return!1}function l(u){return u instanceof Error?u.stack||u.message:u}function f(){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 jn=e,jn}var fo;function nd(){return fo||(fo=1,(function(e,t){t.formatArgs=r,t.save=o,t.load=i,t.useColors=n,t.storage=s(),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 f=0,u=0;c[0].replace(/%[a-zA-Z%]/g,d=>{d!=="%%"&&(f++,d==="%c"&&(u=f))}),c.splice(u,0,l)}t.log=console.debug||console.log||(()=>{});function o(c){try{c?t.storage.setItem("debug",c):t.storage.removeItem("debug")}catch{}}function i(){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 s(){try{return localStorage}catch{}}e.exports=td()(t);const{formatters:a}=e.exports;a.j=function(c){try{return JSON.stringify(c)}catch(l){return"[UnexpectedJSONParseError]: "+l.message}}})(_t,_t.exports)),_t.exports}var Dt={exports:{}},Vt={exports:{}},mo;function rd(){return mo||(mo=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})(Vt,Vt.exports)),Vt.exports}var po;function od(){return po||(po=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=rd(),r=o(n);function o(i){return i&&i.__esModule?i:{default:i}}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})(Dt,Dt.exports)),Dt.exports}var Bt={exports:{}},ho;function id(){return ho||(ho=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default})(Bt,Bt.exports)),Bt.exports}var zt={exports:{}},go;function sd(){return go||(go=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})(zt,zt.exports)),zt.exports}var vo;function ad(){return vo||(vo=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=nd(),r=f(n),o=od(),i=f(o),s=id(),a=f(s),c=sd(),l=f(c);function f(m){return m&&m.__esModule?m:{default:m}}const u=(0,r.default)("youtube-player"),d={};d.proxyEvents=m=>{const p={};for(const g of a.default){const y="on"+g.slice(0,1).toUpperCase()+g.slice(1);p[y]=v=>{u('event "%s"',y,v),m.trigger(g,v)}}return p},d.promisifyPlayer=(m,p=!1)=>{const g={};for(const y of l.default)p&&i.default[y]?g[y]=(...v)=>m.then(b=>{const w=i.default[y],C=b.getPlayerState(),E=b[y].apply(b,v);return w.stateChangeRequired||Array.isArray(w.acceptableStates)&&!w.acceptableStates.includes(C)?new Promise(R=>{const k=()=>{const S=b.getPlayerState();let N;typeof w.timeout=="number"&&(N=setTimeout(()=>{b.removeEventListener("onStateChange",k),R()},w.timeout)),Array.isArray(w.acceptableStates)&&w.acceptableStates.includes(S)&&(b.removeEventListener("onStateChange",k),clearTimeout(N),R())};b.addEventListener("onStateChange",k)}).then(()=>E):E}):g[y]=(...v)=>m.then(b=>b[y].apply(b,v));return g},t.default=d,e.exports=t.default})(It,It.exports)),It.exports}var $t={exports:{}},Fn,yo;function cd(){if(yo)return Fn;yo=1,Fn=function(o,i,s){var a=document.head||document.getElementsByTagName("head")[0],c=document.createElement("script");typeof i=="function"&&(s=i,i={}),i=i||{},s=s||function(){},c.type=i.type||"text/javascript",c.charset=i.charset||"utf8",c.async="async"in i?!!i.async:!0,c.src=o,i.attrs&&e(c,i.attrs),i.text&&(c.text=""+i.text);var l="onload"in c?t:n;l(c,s),c.onload||t(c,s),a.appendChild(c)};function e(r,o){for(var i in o)r.setAttribute(i,o[i])}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 Fn}var bo;function ld(){return bo||(bo=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=cd(),r=o(n);function o(i){return i&&i.__esModule?i:{default:i}}t.default=i=>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",f=>{f&&i.trigger("error",f)})}const c=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{c&&c(),a(window.YT)}}),e.exports=t.default})($t,$t.exports)),$t.exports}var wo;function ud(){return wo||(wo=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Jf(),r=c(n),o=ad(),i=c(o),s=ld(),a=c(s);function c(f){return f&&f.__esModule?f:{default:f}}let l;t.default=(f,u={},d=!1)=>{const m=(0,r.default)();if(l||(l=(0,a.default)(m)),u.events)throw new Error("Event handlers cannot be overwritten.");if(typeof f=="string"&&!document.getElementById(f))throw new Error('Element "'+f+'" does not exist.');u.events=i.default.proxyEvents(m);const p=new Promise(y=>{typeof f=="object"&&f.playVideo instanceof Function?y(f):l.then(v=>{const b=new v.Player(f,u);return m.on("ready",()=>{y(b)}),null})}),g=i.default.promisifyPlayer(p,d);return g.on=m.on,g.off=m.off,g},e.exports=t.default})(Ft,Ft.exports)),Ft.exports}var fd=ud();const dd=Qf(fd);function md({src:e,provider:t,autoplay:n=!1,muted:r=!1,loop:o=!1,showControls:i=!1,containerRef:s,onPlay:a,onPause:c,onEnded:l,onError:f}){const u=G.useRef(null),d=G.useRef(null),[m,p]=G.useState(!1),g=G.useCallback((C,E)=>{var R,k;return E==="youtube"?((R=C.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/)([^&\n?#]+)/))==null?void 0:R[1])??null:E==="vimeo"?((k=C.match(/vimeo\.com\/(\d+)/))==null?void 0:k[1])??null:null},[]),y=G.useCallback(()=>{if(!e||!t||!s.current)return;const C=g(e,t);if(C)try{t==="youtube"&&(d.current=dd(s.current,{videoId:C,playerVars:{autoplay:n?1:0,controls:i?1:0,rel:0,modestbranding:1,playsinline:1,loop:o?1:0,...i?{}:{background:1}}}),d.current.on("stateChange",({data:E})=>{E===1?(p(!0),a==null||a()):E===2?(p(!1),c==null||c()):E===0&&(p(!1),l==null||l())}),d.current.on("ready",()=>{var E;r&&((E=d.current)==null||E.mute())})),t==="vimeo"&&(u.current=new lr(s.current,{id:C,autoplay:n,muted:r,loop:o,controls:i,background:!i}),u.current.on("play",()=>{p(!0),a==null||a()}),u.current.on("pause",()=>{p(!1),c==null||c()}),u.current.on("ended",()=>{o||(p(!1),l==null||l())}),u.current.on("error",E=>f==null?void 0:f(new Error(`Vimeo error: ${E.message}`))))}catch(E){f==null||f(E)}},[e,t,s,n,r,o,i,g,a,c,l,f]);G.useEffect(()=>(y(),()=>{var C,E,R;(C=u.current)==null||C.destroy(),(R=(E=d.current)==null?void 0:E.destroy)==null||R.call(E)}),[y]);const v=G.useCallback(async()=>{u.current?await u.current.play():d.current&&await d.current.playVideo()},[]),b=G.useCallback(async()=>{u.current?await u.current.pause():d.current&&await d.current.pauseVideo()},[]),w=G.useCallback(async()=>{m?await b():await v()},[m,v,b]);return{isPlaying:m,play:v,pause:b,togglePlayback:w}}const Ui=G.forwardRef((e,t)=>{const{className:n="",videoSource:r,videoProvider:o,...i}=e,s=G.useRef(null),{isPlaying:a,play:c,pause:l,togglePlayback:f}=md({containerRef:s,src:r,provider:o,...i});return G.useImperativeHandle(t,()=>({play:c,pause:l,togglePlayback:f,isPlaying:a}),[c,l,f,a]),!r||!o?null:x.jsx("div",{className:n,children:x.jsx("div",{ref:s,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"})})});var pd=Symbol.for("react.lazy"),rn=h[" use ".trim().toString()];function hd(e){return typeof e=="object"&&e!==null&&"then"in e}function Gi(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===pd&&"_payload"in e&&hd(e._payload)}function gd(e){const t=vd(e),n=h.forwardRef((r,o)=>{let{children:i,...s}=r;Gi(i)&&typeof rn=="function"&&(i=rn(i._payload));const a=h.Children.toArray(i),c=a.find(bd);if(c){const l=c.props.children,f=a.map(u=>u===c?h.Children.count(l)>1?h.Children.only(null):h.isValidElement(l)?l.props.children:null:u);return x.jsx(t,{...s,ref:o,children:h.isValidElement(l)?h.cloneElement(l,void 0,f):null})}return x.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var Yi=gd("Slot");function vd(e){const t=h.forwardRef((n,r)=>{let{children:o,...i}=n;if(Gi(o)&&typeof rn=="function"&&(o=rn(o._payload)),h.isValidElement(o)){const s=xd(o),a=wd(i,o.props);return o.type!==h.Fragment&&(a.ref=r?an(r,s):s),h.cloneElement(o,a)}return h.Children.count(o)>1?h.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Zi=Symbol("radix.slottable");function yd(e){const t=({children:n})=>x.jsx(x.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Zi,t}var Xi=yd("Slottable");function bd(e){return h.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Zi}function wd(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const c=i(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function xd(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 on=e=>h.createElement("svg",{width:19,height:20,viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.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"}),h.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 at({asChild:e,children:t,className:n="",displayStars:r,variant:o="primary",...i}){if(!t)return null;const s=e?Yi:"div";return x.jsxs(s,{...i,className:`button button-${o} ${n}`,children:[r?x.jsx(on,{}):null,x.jsx(Xi,{children:t}),r?x.jsx(on,{}):null]})}const Cd=e=>h.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("g",{clipPath:"url(#clip0_3157_256984)"},h.createElement("path",{d:"M16.8926 6.03125C18.6087 6.03137 19.9997 7.4226 20 9.13867V16.8926C19.9999 18.6088 18.6088 19.9999 16.8926 20H9.13867C7.42258 19.9997 6.03137 18.6087 6.03125 16.8926V9.13867C6.03151 7.42268 7.42267 6.0315 9.13867 6.03125H16.8926ZM9.13867 8.7998C8.95211 8.80006 8.80007 8.95212 8.7998 9.13867V16.8926C8.79992 17.0793 8.95203 17.2302 9.13867 17.2305H16.8926C17.0793 17.2303 17.2303 17.0793 17.2305 16.8926V9.13867C17.2302 8.95204 17.0792 8.79993 16.8926 8.7998H9.13867ZM10.8623 0C11.6863 0.000123014 12.4769 0.327602 13.0596 0.910156C13.6422 1.49295 13.9688 2.28431 13.9688 3.1084V3.96875H11.2002V3.1084C11.2002 3.01878 11.1648 2.93161 11.1016 2.86816C11.0382 2.80495 10.9518 2.76965 10.8623 2.76953H3.1084C3.01863 2.76953 2.93164 2.80469 2.86816 2.86816C2.80469 2.93164 2.76953 3.01863 2.76953 3.1084V10.8623C2.76966 10.9518 2.80496 11.0382 2.86816 11.1016C2.93161 11.1648 3.01878 11.2002 3.1084 11.2002H3.96875V13.9688H3.1084C2.28431 13.9688 1.49295 13.6422 0.910156 13.0596C0.327606 12.4769 0.000128711 11.6862 0 10.8623V3.1084C0 2.28417 0.327336 1.49298 0.910156 0.910156C1.49298 0.327336 2.28416 0 3.1084 0H10.8623Z",fill:"currentColor"})),h.createElement("defs",null,h.createElement("clipPath",{id:"clip0_3157_256984"},h.createElement("rect",{width:20,height:20,fill:"white"})))),Ed=e=>h.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.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"})),Sd=e=>h.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.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"})),kd=e=>h.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("g",{clipPath:"url(#clip0_29_5304)"},h.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"})),h.createElement("defs",null,h.createElement("clipPath",{id:"clip0_29_5304"},h.createElement("rect",{width:20,height:20,fill:"white"})))),Pd=e=>h.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("g",{clipPath:"url(#clip0_29_5301)"},h.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"})),h.createElement("defs",null,h.createElement("clipPath",{id:"clip0_29_5301"},h.createElement("rect",{width:20,height:20,fill:"white"})))),Ad=e=>h.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("g",{clipPath:"url(#clip0_29_5302)"},h.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"})),h.createElement("defs",null,h.createElement("clipPath",{id:"clip0_29_5302"},h.createElement("rect",{width:20,height:20,fill:"white"})))),Rd=e=>h.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.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 ze({className:e="",href:t,onClick:n,socialPlatform:r,variant:o="basic"}){let i=Sd;switch(r){case"copy":i=Cd;break;case"email":i=Ed;break;case"instagram":i=kd;break;case"linkedin":i=Pd;break;case"x":i=Ad;break;case"youtube":i=Rd;break}const s=`button-social button-social-${o} ${e}`;return t?x.jsx("a",{className:s,href:t,children:x.jsx(i,{})}):x.jsx("button",{className:s,onClick:n,children:x.jsx(i,{})})}function kt({children:e,className:t=""}){return x.jsx("div",{className:xt("max-w-page mx-auto overflow-hidden px-5 md:px-15 relative w-full",t),children:e})}const Td=e=>h.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{d:"M8 20H4V0H8V20ZM16 20H12V0H16V20Z",fill:"currentColor"})),Od=e=>h.createElement("svg",{width:10,height:12,viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.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 Ki({className:e="",isPlaying:t,label:n,onClick:r,variant:o}){return x.jsx("button",{"aria-label":n,className:`play-button play-button-${o} ${e}`,"data-playing":t,onClick:r,children:t?x.jsx(Td,{}):x.jsx(Od,{})})}function Qi({trigger:e,variant:t}){let n="bg-white",r="basic";return t==="digital"&&(n="bg-black",r="digital"),x.jsxs(tf,{children:[x.jsx(nf,{asChild:!0,children:e}),x.jsxs(rf,{className:`border-2 border-smoke w-fit ${n}`,children:[x.jsxs("div",{className:"flex gap-2",children:[x.jsx(ze,{onClick:_a,socialPlatform:"facebook",variant:r}),x.jsx(ze,{onClick:Da,socialPlatform:"x",variant:r}),x.jsx(ze,{onClick:Va,socialPlatform:"linkedin",variant:r}),x.jsx(ze,{onClick:Ia,socialPlatform:"email",variant:r}),x.jsx(ze,{onClick:Fa,socialPlatform:"copy",variant:r})]}),x.jsx(of,{asChild:!0,children:x.jsx("div",{className:`border-r-2 border-b-2 border-smoke bottom-[5.75px] relative rounded-xs rotate-45 size-2.5 ${n}`})})]})]})}function Je({asChild:e,children:t,className:n="",displayStars:r,variant:o="basic",...i}){if(!t)return null;const s=e?Yi:"div";return x.jsxs(s,{...i,className:`text-cta text-cta-${o} ${n}`,children:[r?x.jsx(on,{}):null,x.jsx(Xi,{children:t}),r?x.jsx(on,{}):null]})}exports.Button=at;exports.ButtonSocial=ze;exports.ContentCarouselMultiple=uf;exports.ContentCarouselMultipleItem=lf;exports.ContentPrimaryFeatureDetail=wf;exports.PageMargins=kt;exports.PlayButton=Ki;exports.Share=Qi;exports.TextCta=Je;exports.VideoBackground=Ui;
56
+ //# sourceMappingURL=index.cjs.js.map