1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,19737,e=>{"use strict";var t=e.i(98134),n=e.i(75201);function r(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function i(e,t){let n=Object.keys(e),a=Object.keys(t);return n.length===a.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let a=e[n],o=t[n];return"function"==typeof a?`${a}`==`${o}`:r(a)&&r(o)?i(a,o):a===o})}function a(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function o(e){return"number"==typeof e}function s(e){return"string"==typeof e}function l(e){return"boolean"==typeof e}function c(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e){return Math.abs(e)}function d(e){return Math.sign(e)}function f(e){return g(e).map(Number)}function p(e){return e[m(e)]}function m(e){return Math.max(0,e.length-1)}function h(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function g(e){return Object.keys(e)}function x(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function v(){let e=[],t={add:function(n,r,i,a={passive:!0}){let o;return"addEventListener"in n?(n.addEventListener(r,i,a),o=()=>n.removeEventListener(r,i,a)):(n.addListener(i),o=()=>n.removeListener(i)),e.push(o),t},clear:function(){e=e.filter(e=>e())}};return t}function b(e=0,t=0){let n=u(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function w(e){let t=e;function n(e){return o(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function y(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style,i=null,a=!1;return{clear:function(){!a&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(a)return;let o=Math.round(100*e.direction(t))/100;o!==i&&(r.transform=n(o),i=o)},toggleActive:function(e){a=!e}}}let j={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 N(e,t,n){let r,i,a,C,k,D,R,S,I=e.ownerDocument,A=I.defaultView,E=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(g(n).forEach(r=>{let i=t[r],a=n[r],o=c(i)&&c(a);t[r]=o?e(i,a):a}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=g(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>g(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(A),P=(S=[],{init:function(e,t){return(S=t.filter(({options:e})=>!1!==E.optionsAtMedia(e).active)).forEach(t=>t.init(e,E)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){S=S.filter(e=>e.destroy())}}),z=v(),O=(i={},a={init:function(e){r=e},emit:function(e){return(i[e]||[]).forEach(t=>t(r,e)),a},off:function(e,t){return i[e]=(i[e]||[]).filter(e=>e!==t),a},on:function(e,t){return i[e]=(i[e]||[]).concat([t]),a},clear:function(){i={}}}),{mergeOptions:_,optionsAtMedia:T,optionsMediaQueries:M}=E,{on:$,off:L,emit:F}=O,H=!1,B=_(j,N.globalOptions),U=_(B),V=[];function q(t,n){H||(U=T(B=_(B,t)),V=n||V,function(){let{container:t,slides:n}=U;D=(s(t)?e.querySelector(t):t)||e.children[0];let r=s(n)?D.querySelectorAll(n):n;R=[].slice.call(r||D.children)}(),C=function t(n){let r=function(e,t,n,r,i,a,c){var j,N;let C,k,D,R,S,I,A,E,P,z,O,_,T,M,{align:$,axis:L,direction:F,startIndex:H,loop:B,duration:U,dragFree:V,dragThreshold:q,inViewThreshold:K,slidesToScroll:G,skipSnaps:W,containScroll:J,watchResize:X,watchSlides:Q,watchDrag:Y,watchFocus:Z}=a,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},et=ee.measure(t),en=n.map(ee.measure),er=(k="rtl"===F,R=(D="y"===L)||!k?1:-1,S=D?"top":k?"right":"left",I=D?"bottom":k?"left":"right",{scroll:D?"y":"x",cross:D?"x":"y",startEdge:S,endEdge:I,measureSize:function(e){let{height:t,width:n}=e;return D?t:n},direction:function(e){return e*R}}),ei=er.measureSize(et),ea={measure:function(e){return e/100*ei}},eo=(j=$,N=ei,C={start:function(){return 0},center:function(e){return(N-e)/2},end:function(e){return N-e}},{measure:function(e,t){return s(j)?C[j](e):j(N,e,t)}}),es=!B&&!!J,{slideSizes:el,slideSizesWithGaps:ec,startGap:eu,endGap:ed}=function(e,t,n,r,i,a){let{measureSize:o,startEdge:s,endEdge:l}=e,c=n[0]&&i,d=function(){if(!c)return 0;let e=n[0];return u(t[s]-e[s])}(),f=c?parseFloat(a.getComputedStyle(p(r)).getPropertyValue(`margin-${l}`)):0,h=n.map(o),g=n.map((e,t,n)=>{let r=t===m(n);return t?r?h[t]+f:n[t+1][s]-e[s]:h[t]+d}).map(u);return{slideSizes:h,slideSizesWithGaps:g,startGap:d,endGap:f}}(er,et,en,n,B||!!J,i),ef=function(e,t,n,r,i,a,s,l,c){let{startEdge:d,endEdge:h,direction:g}=e,x=o(n);return{groupSlides:function(e){return x?f(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?f(e).reduce((n,o,c)=>{let f=p(n)||0,x=o===m(e),v=i[d]-a[f][d],b=i[d]-a[o][h],w=r||0!==f?0:g(s),y=u(b-(!r&&x?g(l):0)-(v+w));return c&&y>t+2&&n.push(o),x&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(er,ei,G,B,et,en,eu,ed,0),{snaps:ep,snapsAligned:em}=function(e,t,n,r,i){let{startEdge:a,endEdge:o}=e,{groupSlides:s}=i,l=s(r).map(e=>p(e)[o]-e[0][a]).map(u).map(t.measure),c=r.map(e=>n[a]-e[a]).map(e=>-u(e)),d=s(c).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:c,snapsAligned:d}}
1(er,eo,et,en,ef),eh=-p(ep)+p(ec),{snapsContained:eg,scrollContainLimit:ex}=function(e,t,n,r,i){let a,o,s=b(-t+e,0),l=n.map((e,t)=>{let{min:r,max:i}=s,a=s.constrain(e),o=t===m(n);return t?o||function(e,t){return 1>=u(e-t)}(r,a)?r:function(e,t){return 1>=u(e-t)}(i,a)?i:a:i}).map(e=>parseFloat(e.toFixed(3))),c=(a=l[0],o=p(l),b(l.lastIndexOf(a),l.indexOf(o)+1));return{snapsContained:function(){if(t<=e+2)return[s.max];if("keepSnaps"===r)return l;let{min:n,max:i}=c;return l.slice(n,i)}(),scrollContainLimit:c}}(ei,eh,em,J,0),ev=es?eg:em,{limit:eb}=(A=ev[0],{limit:b(B?A-eh:p(ev),A)}),ew=function e(t,n,r){let{constrain:i}=b(0,t),a=t+1,o=s(n);function s(e){return r?u((a+e)%a):i(e)}function l(){return e(t,o,r)}let c={get:function(){return o},set:function(e){return o=s(e),c},add:function(e){return l().set(o+e)},clone:l};return c}(m(ev),H,B),ey=ew.clone(),ej=f(n),eN=function(e,t,n,r){let i=v(),a=1e3/60,o=null,s=0,l=0;function c(e){if(!l)return;o||(o=e,n(),n());let i=e-o;for(o=e,s+=i;s>=a;)n(),s-=a;r(s/a),l&&(l=t.requestAnimationFrame(c))}function u(){t.cancelAnimationFrame(l),o=null,s=0,l=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(o=null,s=0)})},destroy:function(){u(),i.clear()},start:function(){l||(l=t.requestAnimationFrame(c))},stop:u,update:n,render:r}}(r,i,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(eM),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:a,slideLooper:o,dragHandler:s,animation:l,eventHandler:c,scrollBounds:u,options:{loop:d}},f)=>{let p=e.settled(),m=!u.shouldConstrain(),h=d?p:p&&m,g=h&&!s.pointerDown();g&&l.stop();let x=n.get()*f+i.get()*(1-f);r.set(x),d&&(a.loop(e.direction()),o.loop()),t.to(r.get()),g&&c.emit("settle"),h||c.emit("scroll")})(eM,e)),eC=ev[ew.get()],ek=w(eC),eD=w(eC),eR=w(eC),eS=w(eC),eI=function(e,t,n,r,i,a){let o=0,s=0,l=i,c=.68,f=e.get(),p=0;function m(e){return l=e,g}function h(e){return c=e,g}let g={direction:function(){return s},duration:function(){return l},velocity:function(){return o},seek:function(){let t=r.get()-e.get(),i=0;return l?(n.set(e),o+=t/l,o*=c,f+=o,e.add(o),i=f-p):(o=0,n.set(r),e.set(r),i=t),s=d(i),p=f,g},settled:function(){return .001>u(r.get()-t.get())},useBaseFriction:function(){return h(.68)},useBaseDuration:function(){return m(i)},useFriction:h,useDuration:m};return g}(ek,eR,eD,eS,U,0),eA=function(e,t,n,r,i){let{reachedAny:a,removeOffset:o,constrain:s}=r;function l(e){return e.concat().sort((e,t)=>u(e)-u(t))[0]}function c(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return l(i);let a=i.filter(e=>d(e)===r);return a.length?l(a):p(i)-n}return{byDistance:function(n,r){let l=i.get()+n,{index:d,distance:f}=function(n){let r=e?o(n):s(n),{index:i}=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>u(e.diff)-u(t.diff))[0];return{index:i,distance:r}}(l),p=!e&&a(l);if(!r||p)return{index:d,distance:n};let m=n+c(t[d]-f,0);return{index:d,distance:m}},byIndex:function(e,n){let r=c(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:c}}(B,ev,eh,eb,eS),eE=function(e,t,n,r,i,a,o){function s(i){let s=i.distance,l=i.index!==t.get();
1a.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(n.set(t.get()),t.set(i.index),o.emit("select"))}return{distance:function(e,t){s(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);s(i.byIndex(r.get(),n))}}}(eN,ew,ey,eI,eA,eS,c),eP=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eb),ez=v(),eO=(P={},z=null,O=null,_=!1,{init:function(){E=new IntersectionObserver(e=>{_||(e.forEach(e=>{P[n.indexOf(e.target)]=e}),z=null,O=null,c.emit("slidesInView"))},{root:t.parentElement,threshold:K}),n.forEach(e=>E.observe(e))},destroy:function(){E&&E.disconnect(),_=!0},get:function(e=!0){if(e&&z)return z;if(!e&&O)return O;let t=g(P).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=P[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(z=t),e||(O=t),t}}),{slideRegistry:e_}=function(e,t,n,r,i,a){let o,{groupSlides:s}=i,{min:l,max:c}=r;return{slideRegistry:(o=s(a),1===n.length?[a]:e&&"keepSnaps"!==t?o.slice(l,c).map((e,t,n)=>{let r=t===m(n);return t?r?h(m(a)-p(n)[0]+1,p(n)[0]):e:h(p(n[0])+1)}):o)}}(es,J,ev,ex,ef,ej),eT=function(e,t,n,r,i,a,s,c){let u={passive:!0,capture:!0},d=0;function f(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(p){c&&(a.add(document,"keydown",f,!1),t.forEach((t,f)=>{a.add(t,"focus",t=>{(l(c)||c(p,t))&&function(t){if(new Date().getTime()-d>10)return;s.emit("slideFocusStart"),e.scrollLeft=0;let a=n.findIndex(e=>e.includes(t));o(a)&&(i.useDuration(0),r.index(a,0),s.emit("slideFocus"))}(f)},u)}))}}}(e,n,e_,eE,eI,ez,c,Z),eM={ownerDocument:r,ownerWindow:i,eventHandler:c,containerRect:et,slideRects:en,animation:eN,axis:er,dragHandler:function(e,t,n,r,i,a,o,s,c,f,p,m,h,g,w,y,j,N,C){let{cross:k,direction:D}=e,R=["INPUT","SELECT","TEXTAREA"],S={passive:!1},I=v(),A=v(),E=b(50,225).constrain(g.measure(20)),P={mouse:300,touch:400},z={mouse:500,touch:600},O=w?43:25,_=!1,T=0,M=0,$=!1,L=!1,F=!1,H=!1;function B(e){if(!x(e,r)&&e.touches.length>=2)return U(e);let t=a.readPoint(e),n=a.readPoint(e,k),o=u(t-T),l=u(n-M);if(!L&&!H&&(!e.cancelable||!(L=o>l)))return U(e);let c=a.pointerMove(e);o>y&&(F=!0),f.useFriction(.3).useDuration(.75),s.start(),i.add(D(c)),e.preventDefault()}function U(e){var t;let n,r,i=p.byDistance(0,!1).index!==m.get(),o=a.pointerUp(e)*(w?z:P)[H?"mouse":"touch"],s=(t=D(o),n=m.add(-1*d(t)),r=p.byDistance(t,!w).distance,w||u(t)<E?r:j&&i?.5*r:p.byIndex(n.get(),0).distance),l=function(e,t){var n,r;if(0===e||0===t||u(e)<=u(t))return 0;let i=(n=u(e),r=u(t),u(n-r));return u(i/e)}(o,s);L=!1,$=!1,A.clear(),f.useDuration(O-10*l).useFriction(.68+l/50),c.distance(s,!w),H=!1,h.emit("pointerUp")}function V(e){F&&(e.stopPropagation(),e.preventDefault(),F=!1)}return{init:function(e){C&&I.add(t,"dragstart",e=>e.preventDefault(),S).add(t,"touchmove",()=>void 0,S).add(t,"touchend",()=>void 0).add(t,"touchstart",s).add(t,"mousedown",s).add(t,"touchcancel",U).add(t,"contextmenu",U).add(t,"click",V,!0);function s(s){(l(C)||C(e,s))&&function(e){let s,l=x(e,r);if((H=l,F=w&&l&&!e.buttons&&_,_=u(i.get()-o.get())>=2,!l||0===e.button)&&(s=e.target.nodeName||"",!R.includes(s))){let r;$=!0,a.pointerDown(e),f.useFriction(0).useDuration(0),i.set(o),r=H?n:t,A.add(r,"touchmove",B,S).add(r,"touchend",U).add(r,"mousemove",B,S).add(r,"mouseup",U),T=a.readPoint(e),M=a.readPoint(e,k),h.emit("pointerDown")}}(s)}},destroy:function(){I.clear(),A.clear()},pointerDown:function(){return $}}}(er,e,r,i,eS,function(e,t){let n,r;function i(e){return e.timeStamp}function a(n,r){let i=r||e.scroll,a=`client${"x"===i?"X":"Y"}`;return(x(n,t)?n:n.touches[0])[a]}return{pointerDown:function(e){return n=e,r=e,a(e)},pointerMove:function(e){let t=a(e)-a(r),o=i(e)-i(n)>170;return r=e,o&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=a(r)-a(n),o=i(e)-i(n),s=i(e)-i(r)>170,l=t/o;return o&&!s&&u(l)>.1?l:0},readPoint:a}}(er,i),ek,eN,eE,eI,eA,ew,c,ea,V,q,W,0,Y),eventStore:ez,percentOfView:ea,index:ew,indexPrevious:ey,limit:eb,location:ek,offsetLocation:eR,previousLocation:eD,options:a,resizeHandler:function(e,t,n,r,i,a,o){let s,c,d=[e].concat(r),f=[],p=!1;function m(e){return i.measureSize(o.measure(e))}return{init:function(i){a&&(c=m(e),f=r.map(m),s=new ResizeObserver(n=>{(l(a)||a(i,n))&&function(n){for(let a of n){if(p)return;let n=a.target===e,o=r.indexOf(a.target),s=n?c:f[o];if(u(m(n?e:r[o])-s)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>
1{d.forEach(e=>s.observe(e))}))},destroy:function(){p=!0,s&&s.disconnect()}}}(t,c,i,n,er,X,ee),scrollBody:eI,scrollBounds:function(e,t,n,r,i){let a=i.measure(10),o=i.measure(50),s=b(.1,.99),l=!1;function c(){return!l&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:c,constrain:function(i){if(!c())return;let l=e.reachedMin(t.get())?"min":"max",d=u(e[l]-t.get()),f=n.get()-t.get(),p=s.constrain(d/o);n.subtract(f*p),!i&&u(f)<a&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}(eb,eR,eS,eI,ea),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:a}=b(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?a(n.get()):-1===t&&i(n.get())))return;let o=-1*t*e;r.forEach(e=>e.add(o))}}}(eh,eb,eR,[ek,eR,eD,eS]),scrollProgress:eP,scrollSnapList:ev.map(eP.get),scrollSnaps:ev,scrollTarget:eA,scrollTo:eE,slideLooper:function(e,t,n,r,i,a,o,s,l){let c=f(i),u=f(i).reverse(),d=h(m(u,o[0]),n,!1).concat(h(m(c,t-o[0]-1),-n,!0));function p(e,t){return e.reduce((e,t)=>e-i[t],t)}function m(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function h(i,o,c){let u=a.map((e,n)=>({start:e-r[n]+.5+o,end:e+t-.5+o}));return i.map(t=>{let r=c?0:-n,i=c?n:0,a=u[t][c?"end":"start"];return{index:t,loopPoint:a,slideLocation:w(-1),translate:y(e,l[t]),target:()=>s.get()>a?r:i}})}return{canLoop:function(){return d.every(({index:e})=>.1>=p(c.filter(t=>t!==e),t))},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:d}}(er,ei,eh,el,ec,ep,ev,eR,n),slideFocus:eT,slidesHandler:(M=!1,{init:function(e){Q&&(T=new MutationObserver(t=>{!M&&(l(Q)||Q(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),c.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){T&&T.disconnect(),M=!0}}),slidesInView:eO,slideIndexes:ej,slideRegistry:e_,slidesToScroll:ef,target:eS,translate:y(er,t)};return eM}(e,D,R,I,A,n,O);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(U),M([B,...V.map(({options:e})=>e)]).forEach(e=>z.add(e,"change",K)),U.active&&(C.translate.to(C.location.get()),C.animation.init(),C.slidesInView.init(),C.slideFocus.init(X),C.eventHandler.init(X),C.resizeHandler.init(X),C.slidesHandler.init(X),C.options.loop&&C.slideLooper.loop(),D.offsetParent&&R.length&&C.dragHandler.init(X),k=P.init(X,V)))}function K(e,t){let n=J();G(),q(_({startIndex:n},e),t),O.emit("reInit")}function G(){C.dragHandler.destroy(),C.eventStore.clear(),C.translate.clear(),C.slideLooper.clear(),C.resizeHandler.destroy(),C.slidesHandler.destroy(),C.slidesInView.destroy(),C.animation.destroy(),P.destroy(),z.clear()}function W(e,t,n){U.active&&!H&&(C.scrollBody.useBaseFriction().useDuration(!0===t?0:U.duration),C.scrollTo.index(e,n||0))}function J(){return C.index.get()}let X={canScrollNext:function(){return C.index.add(1).get()!==J()},canScrollPrev:function(){return C.index.add(-1).get()!==J()},containerNode:function(){return D},internalEngine:function(){return C},destroy:function(){H||(H=!0,z.clear(),G(),O.emit("destroy"),O.clear())},off:L,on:$,emit:F,plugins:function(){return k},previousScrollSnap:function(){return C.indexPrevious.get()},reInit:K,rootNode:function(){return e},scrollNext:function(e){W(C.index.add(1).get(),e,-1)},scrollPrev:function(e){W(C.index.add(-1).get(),e,1)},scrollProgress:function(){return C.scrollProgress.get(C.offsetLocation.get())},scrollSnapList:function(){return C.scrollSnapList},scrollTo:W,selectedScrollSnap:J,slideNodes:function(){return R},slidesInView:function(){return C.slidesInView.get()},slidesNotInView:function(){return C.slidesInView.get(!1)}};return q(t,n),setTimeout(()=>O.emit("init"),0),X}function C(e={}
1,t=[]){let r=(0,n.useRef)(e),o=(0,n.useRef)(t),[s,l]=(0,n.useState)(),[c,u]=(0,n.useState)(),d=(0,n.useCallback)(()=>{s&&s.reInit(r.current,o.current)},[s]);return(0,n.useEffect)(()=>{i(r.current,e)||(r.current=e,d())},[e,d]),(0,n.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=a(e),r=a(t);return n.every((e,t)=>i(e,r[t]))}(o.current,t)&&(o.current=t,d())},[t,d]),(0,n.useEffect)(()=>{if("u">typeof window&&window.document&&window.document.createElement&&c){N.globalOptions=C.globalOptions;let e=N(c,r.current,o.current);return l(e),()=>e.destroy()}l(void 0)},[c,l]),[u,s]}N.globalOptions=void 0,C.globalOptions=void 0;var k=e.i(98631);let D=(0,k.default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),R=(0,k.default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var S=e.i(47163),I=e.i(67881);let A=n.createContext(null);function E(){let e=n.useContext(A);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}function P({orientation:e="horizontal",opts:r,setApi:i,plugins:a,className:o,children:s,...l}){let[c,u]=C({...r,axis:"horizontal"===e?"x":"y"},a),[d,f]=n.useState(!1),[p,m]=n.useState(!1),h=n.useCallback(e=>{e&&(f(e.canScrollPrev()),m(e.canScrollNext()))},[]),g=n.useCallback(()=>{u?.scrollPrev()},[u]),x=n.useCallback(()=>{u?.scrollNext()},[u]),v=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),g()):"ArrowRight"===e.key&&(e.preventDefault(),x())},[g,x]);return n.useEffect(()=>{u&&i&&i(u)},[u,i]),n.useEffect(()=>{if(u)return h(u),u.on("reInit",h),u.on("select",h),()=>{u?.off("select",h)}},[u,h]),(0,t.jsx)(A.Provider,{value:{carouselRef:c,api:u,opts:r,orientation:e||(r?.axis==="y"?"vertical":"horizontal"),scrollPrev:g,scrollNext:x,canScrollPrev:d,canScrollNext:p},children:(0,t.jsx)("div",{onKeyDownCapture:v,className:(0,S.cn)("relative",o),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...l,children:s})})}function z({className:e,...n}){let{carouselRef:r,orientation:i}=E();return(0,t.jsx)("div",{ref:r,className:"overflow-hidden lg:overflow-visible","data-slot":"carousel-content",children:(0,t.jsx)("div",{className:(0,S.cn)("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",e),...n})})}function O({className:e,...n}){let{orientation:r}=E();return(0,t.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:(0,S.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",e),...n})}function _({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"carousel-nav",className:(0,S.cn)("mt-8 flex justify-center gap-2 lg:mt-16 lg:justify-end lg:gap-4",e),...n})}function T({className:e,variant:n="outline",size:r="icon",children:i,...a}){let{scrollPrev:o,canScrollPrev:s}=E();return(0,t.jsxs)(I.Button,{"data-slot":"carousel-previous",variant:n,size:r,className:(0,S.cn)("border-primary relative inset-0 size-10 translate-none rounded-full",e),disabled:!s,onClick:o,...a,children:[i??(0,t.jsx)(D,{}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}function M({className:e,variant:n="outline",size:r="icon",children:i,...a}){let{scrollNext:o,canScrollNext:s}=E();return(0,t.jsxs)(I.Button,{"data-slot":"carousel-next",variant:n,size:r,className:(0,S.cn)("border-primary relative inset-0 size-10 translate-none rounded-full",e),disabled:!s,onClick:o,...a,children:[i??(0,t.jsx)(R,{}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})}e.s(["Carousel",()=>P,"CarouselContent",()=>z,"CarouselItem",()=>O,"CarouselNav",()=>_,"CarouselNext",()=>M,"CarouselPrevious",()=>T],19737)},44697,e=>{"use strict";var t=e.i(98134),n=e.i(87106);function r({devUnoptimized:e=!0,...r}){return(0,t.jsx)(n.default,{...r,alt:r.alt||"",unoptimized:!1})}e.s(["default",()=>r])},49932,12138,e=>{"use strict";var t=e.i(75201),n=e.i(38082),r=e.i(50888),i=e.i(97245),a=e.i(98134);function o(e){let o=e+"CollectionProvider",[s,l]=(0,n.createContextScope)(o),[c,u]=s(o,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:n,children:r}=e,i=t.default.useRef(null),o=t.default.useRef(new Map).current;return(0,a.jsx)(c,{scope:n,itemMap:o,collectionRef:i,children:r})};d.displayName=o;let f=e+"CollectionSlot",p=(0,i.createSlot)(f),m=t.default.forwardRef((e,t)=>
1{let{scope:n,children:i}=e,o=u(f,n),s=(0,r.useComposedRefs)(t,o.collectionRef);return(0,a.jsx)(p,{ref:s,children:i})});m.displayName=f;let h=e+"CollectionItemSlot",g="data-radix-collection-item",x=(0,i.createSlot)(h),v=t.default.forwardRef((e,n)=>{let{scope:i,children:o,...s}=e,l=t.default.useRef(null),c=(0,r.useComposedRefs)(n,l),d=u(h,i);return t.default.useEffect(()=>(d.itemMap.set(l,{ref:l,...s}),()=>void d.itemMap.delete(l))),(0,a.jsx)(x,{...{[g]:""},ref:c,children:o})});return v.displayName=h,[{Provider:d,Slot:m,ItemSlot:v},function(n){let r=u(e+"CollectionConsumer",n);return t.default.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])},l]}var s=new WeakMap;function l(e,t){var n,r;let i,a,o;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(n=e,r=t,i=n.length,(o=(a=c(r))>=0?a:i+a)<0||o>=i?-1:o);return -1===s?void 0:e[s]}function c(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],s.set(this,!0)}set(e,t){return s.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),a=this.#e.length,o=c(e),s=o>=0?o:a+o,l=s<0||s>=a?-1:s;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,n),this;let u=this.size+ +!i;o<0&&s++;let d=[...this.#e],f=!1;for(let e=s;e<u;e++)if(s===e){let a=d[e];d[e]===t&&(a=d[e+1]),i&&this.delete(t),r=this.get(a),this.set(t,n)}else{f||d[e-1]!==t||(f=!0);let n=d[f?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=l(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=l(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return l(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=0===r&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&1===e.length?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}}),e.s(["createCollection",()=>o],49932);var u=t.createContext(void 0);function d(e){let n=t.useContext(u);return e||n||"ltr"}e.s(["useDirection",()=>d],12138)},81497,e=>{"use strict";var t=e.i(98134),n=e.i(47163),r=e.i(99352),i=e.i(67881);function a({children:e,href:a,target:o,className:s,variant:l="default",size:c="default",...u}){let d=(0,n.cn)((0,i.buttonVariants)({variant:l,size:c,className:s}));return"string"==typeof a&&a.startsWith("#")?(0,t.jsx)("a",{href:a,className:d,onClick:e=>{if("string"!=typeof a||!a.startsWith("#"))return;let t=a.slice(1),n=document.getElementById(t);n&&(e.preventDefault(),n.scrollIntoView({behavior:"smooth",block:"start"}))},...u,children:e}):(0,t.jsx)(r.default,{href:a,target:o,className:d,...u,children:e})}e.s(["default",()=>a])},87836,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BailoutToCSR",{enumerable:!0,get:function(){return i}});let r=e.r(84082);function i({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new r.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,
1configurable:!0});return t}},87982,(e,t,n)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"encodeURIPath",{enumerable:!0,get:function(){return r}})},33925,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PreloadChunks",{enumerable:!0,get:function(){return l}});let r=e.r(98134),i=e.r(29080),a=e.r(89791),o=e.r(87982),s=e.r(88774);function l({moduleIds:e}){if("u">typeof window)return null;let t=a.workAsyncStorage.getStore();if(void 0===t)return null;let n=[];if(t.reactLoadableManifest&&e){let r=t.reactLoadableManifest;for(let t of e){if(!r[t])continue;let e=r[t].files;n.push(...e)}}if(0===n.length)return null;let l=(0,s.getDeploymentIdQueryOrEmptyString)();return(0,r.jsx)(r.Fragment,{children:n.map(e=>{let n=`${t.assetPrefix}/_next/${(0,o.encodeURIPath)(e)}${l}`;return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:n,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,i.preload)(n,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},93024,e=>{"use strict";var t=e.i(98134),n=e.i(44697),r=e.i(85368);e.i(35394);var i=e.i(16471),a=e.i(67881),o=e.i(10999),s=e.i(20712);let l="variable-width-carousel";function c({images:e,container:c=!1}){let u=e.filter(e=>e?.image?.node?.sourceUrl&&e?.image?.node?.mediaDetails?.width&&e?.image?.node?.mediaDetails?.height);return 0===u.length?null:(0,t.jsxs)("div",{className:`${l} relative ${c?"container mx-auto":""}`,children:[(0,t.jsx)(r.Swiper,{slidesPerView:1,spaceBetween:30,modules:[i.Navigation],navigation:{prevEl:`.${l} .carousel-prev`,nextEl:`.${l} .carousel-next`},breakpoints:{768:{slidesPerView:"auto"}},className:"variable-width-image-carousel lg:overflow-visible",children:u.map((e,i)=>{let a=e.imageAspectRatio?.[0]==="portrait"?"lg:aspect-5/6":"lg:aspect-3/2";return(0,t.jsxs)(r.SwiperSlide,{className:"sm:w-fit!",children:[(0,t.jsx)(n.default,{unoptimized:!0,className:`swiper-gallery-img aspect-3/2 ${a}`,src:e.image.node.sourceUrl,alt:e.image.node.altText,width:e.image.node.mediaDetails.width,height:e.image.node.mediaDetails.height}),(0,t.jsx)("span",{className:"mt-4 block text-base",children:e.imageCaption})]},`${e.image.node.sourceUrl}-${i}`)})}),(0,t.jsxs)("div",{className:"mt-2 flex justify-end gap-2 lg:mt-22 lg:gap-4",children:[(0,t.jsx)(a.Button,{variant:"outline",size:"icon",className:"carousel-prev border-primary relative inset-0 size-10 translate-none","aria-label":"Previous slide",children:(0,t.jsx)(o.default,{className:"size-5"})}),(0,t.jsx)(a.Button,{variant:"outline",size:"icon",className:"carousel-next border-primary relative inset-0 size-10 translate-none","aria-label":"Next slide",children:(0,t.jsx)(s.default,{className:"size-5"})})]})]})}e.s(["default",()=>c])},27341,e=>{"use strict";var t=e.i(98134),n=e.i(75201),r=e.i(91967),i=e.i(38082),a=e.i(49932),o=e.i(50888),s=e.i(54041),l=e.i(29103),c=e.i(84080),u=e.i(38185),d=e.i(12138),f="rovingFocusGroup.onEntryFocus",p={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[h,g,x]=(0,a.createCollection)(m),[v,b]=(0,i.createContextScope)(m,[x]),[w,y]=v(m),j=n.forwardRef((e,n)=>(0,t.jsx)(h.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,t.jsx)(h.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,t.jsx)(N,{...e,ref:n})})}));j.displayName=m;var N=n.forwardRef((e,i)=>{let{__scopeRovingFocusGroup:a,orientation:s,loop:h=!1,dir:x,currentTabStopId:v,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:y,onEntryFocus:j,preventScrollOnEntryFocus:N=!1,...C}=e,k=n.useRef(null),D=(0,o.useComposedRefs)(i,k),S=(0,d.useDirection)(x),[I,A]=(0,u.useControllableState)({prop:v,defaultProp:b??null,onChange:y,caller:m}),[E,P]=n.useState(!1),z=(0,c.useCallbackRef)(j),O=g(a),_=n.useRef(!1),[T,M]=n.useState(0);return n.useEffect(()=>{let e=k.current;if(e)return e.addEventListener(f,z),()=>e.removeEventListener(f,z)},[z]),(0,t.jsx)(w,{scope:a,orientation:s,dir:S,loop:h,currentTabStopId:I,onItemFocus:n.useCallback(e=>A(e),[A]),onItemShiftTab:n.useCallback(()=>P(!0),[]),onFocusableItemAdd:n.useCallback(()=>M(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>M(e=>e-1),[]),children:(0,t.jsx)(l.Primitive.div,{tabIndex:E||0===T?-1:0,"data-orientation":s,...C,ref:D,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{_.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!_.current;if(e.target===e.currentTarget&&t&&!E){let t=new CustomEvent(f,p);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=O().filter(e=>
1e.focusable);R([e.find(e=>e.active),e.find(e=>e.id===I),...e].filter(Boolean).map(e=>e.ref.current),N)}}_.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>P(!1))})})}),C="RovingFocusGroupItem",k=n.forwardRef((e,i)=>{let{__scopeRovingFocusGroup:a,focusable:o=!0,active:c=!1,tabStopId:u,children:d,...f}=e,p=(0,s.useId)(),m=u||p,x=y(C,a),v=x.currentTabStopId===m,b=g(a),{onFocusableItemAdd:w,onFocusableItemRemove:j,currentTabStopId:N}=x;return n.useEffect(()=>{if(o)return w(),()=>j()},[o,w,j]),(0,t.jsx)(h.ItemSlot,{scope:a,id:m,focusable:o,active:c,children:(0,t.jsx)(l.Primitive.span,{tabIndex:v?0:-1,"data-orientation":x.orientation,...f,ref:i,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{o?x.onItemFocus(m):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>x.onItemFocus(m)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void x.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let i=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return D[i]}(e,x.orientation,x.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&i.reverse();let a=i.indexOf(e.currentTarget);i=x.loop?(n=i,r=a+1,n.map((e,t)=>n[(r+t)%n.length])):i.slice(a+1)}setTimeout(()=>R(i))}}),children:"function"==typeof d?d({isCurrentTabStop:v,hasTabStop:null!=N}):d})})});k.displayName=C;var D={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function R(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var S=e.i(72502),I="Tabs",[A,E]=(0,i.createContextScope)(I,[b]),P=b(),[z,O]=A(I),_=n.forwardRef((e,n)=>{let{__scopeTabs:r,value:i,onValueChange:a,defaultValue:o,orientation:c="horizontal",dir:f,activationMode:p="automatic",...m}=e,h=(0,d.useDirection)(f),[g,x]=(0,u.useControllableState)({prop:i,onChange:a,defaultProp:o??"",caller:I});return(0,t.jsx)(z,{scope:r,baseId:(0,s.useId)(),value:g,onValueChange:x,orientation:c,dir:h,activationMode:p,children:(0,t.jsx)(l.Primitive.div,{dir:h,"data-orientation":c,...m,ref:n})})});_.displayName=I;var T="TabsList",M=n.forwardRef((e,n)=>{let{__scopeTabs:r,loop:i=!0,...a}=e,o=O(T,r),s=P(r);return(0,t.jsx)(j,{asChild:!0,...s,orientation:o.orientation,dir:o.dir,loop:i,children:(0,t.jsx)(l.Primitive.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:n})})});M.displayName=T;var $="TabsTrigger",L=n.forwardRef((e,n)=>{let{__scopeTabs:i,value:a,disabled:o=!1,...s}=e,c=O($,i),u=P(i),d=B(c.baseId,a),f=U(c.baseId,a),p=a===c.value;return(0,t.jsx)(k,{asChild:!0,...u,focusable:!o,active:p,children:(0,t.jsx)(l.Primitive.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":f,"data-state":p?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:d,...s,ref:n,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{o||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(a)}),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&c.onValueChange(a)}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==c.activationMode;p||o||!e||c.onValueChange(a)})})})});L.displayName=$;var F="TabsContent",H=n.forwardRef((e,r)=>{let{__scopeTabs:i,value:a,forceMount:o,children:s,...c}=e,u=O(F,i),d=B(u.baseId,a),f=U(u.baseId,a),p=a===u.value,m=n.useRef(p);return n.useEffect(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,t.jsx)(S.Presence,{present:o||p,children:({present:n})=>(0,t.jsx)(l.Primitive.div,{"data-state":p?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":d,hidden:!n,id:f,tabIndex:0,...c,ref:r,style:{...e.style,animationDuration:m.current?"0s":void 0},children:n&&s})})});function B(e,t){return`${e}-trigger-${t}`}function U(e,t){return`${e}-content-${t}`}H.displayName=F;var V=e.i(94237),q=e.i(47163);function K({className:e,orientation:n="horizontal",...r}){return(0,t.jsx)(_,{"data-slot":"tabs","data-orientation":n,orientation:n,className:(0,q.cn)("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",e),...r})}let G=(0,V.cva)("rounded-lg p-[3px] group-data-[orientation=horizontal]/tabs:h-9 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col",{variants:{variant:{default:"",line:"gap-1 bg-transparent"}},defaultVariants:{variant:"default"}}),W=n.createContext("default");function J({className:e,variant:n="default",...r}){return(0,t.jsx)(W.Provider,{value:n,children:(0,t.jsx)(M,{"data-slot":"tabs-list","data-variant":n,className:(0,q.cn)(G({variant:n}),e),...r})})}let X=(0,V.cva)("focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground
1/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] items-center justify-center gap-1.5 rounded-md p-4 text-base whitespace-nowrap transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5",{variants:{variant:{default:"data-[state=active]:bg-primary text-primary font-light border border-primary cursor-pointer px-4 py-2 data-[state=active]:text-white rounded-full ",line:"bg-transparent data-[state=active]:text-primary font-medium p-4 data-[state=active]:bg-transparent data-[state=active]:shadow-none dark:data-[state=active]:border-transparent dark:data-[state=active]:bg-transparent data-[state=active]:after:opacity-100"}},defaultVariants:{variant:"default"}});function Q({className:e,...r}){let i=n.useContext(W);return(0,t.jsx)(L,{"data-slot":"tabs-trigger",className:(0,q.cn)(X({variant:i}),e),...r})}function Y({className:e,...n}){return(0,t.jsx)(H,{"data-slot":"tabs-content",className:(0,q.cn)("flex-1 outline-none",e),...n})}e.s(["Tabs",()=>K,"TabsContent",()=>Y,"TabsList",()=>J,"TabsTrigger",()=>Q,"tabsListVariants",()=>G],27341)},66655,e=>{"use strict";var t=e.i(98134),n=e.i(81497);function r({packageName:e,children:r,...i}){return(0,t.jsx)(n.default,{variant:"outline-secondary",className:"w-full",onClick:t=>{sessionStorage.setItem("enquiry-package",e),window.dispatchEvent(new CustomEvent("enquiry-package",{detail:e}));let n=document.querySelector(".wedding-form");n&&(t.preventDefault(),n.scrollIntoView({behavior:"smooth"}))},...i,children:r})}e.s(["default",()=>r])},60035,e=>{"use strict";var t=e.i(98134),n=e.i(44697);e.i(6414);var r=e.i(36427),i=e.i(71668);function a({icons:e,includedExperiences:a}){let{width:o}=(0,i.default)();if(!a||0===a.length)return null;let s=void 0!==o&&o>=1024?4:2,l=a?.length||0;return(0,t.jsxs)("div",{className:"",children:[(0,t.jsx)("h6",{className:`${r.newsReaderFont.className} text-center max-lg:text-2xl`,children:"Included Experiences"}),(0,t.jsx)("div",{className:"mt-[53px] grid grid-cols-4 gap-8 2xl:gap-x-[117px] 2xl:gap-y-12 max-lg:grid-cols-2",children:a.map((r,i)=>{let a=Math.floor(i/s),o=i%s,c=a===Math.floor((l-1)/s),u=c?l-a*s:s,d=o+1,f=1;c&&u<s&&(1===u?(d=4===s?2:1,f=s):2===u?(d=4===s?2+o:1+o,f=1):3===u&&(d=2+o,f=1));let p=Number(r.experienceIcon?.[0]?.replace("id-","")),m=e?.iconItems.find(e=>e.itemIcon?.node.databaseId===p),h=m?.itemIcon?.node,g=m?.iconLabel;return(0,t.jsxs)("div",{className:"grid grid-cols-12 items-center gap-3",style:{gridColumn:`${d} / span ${f}`},children:[h&&(0,t.jsx)(n.default,{className:"col-span-12 max-lg:mx-auto lg:col-span-3 xl:col-span-2 size-10 w-full",src:h.sourceUrl,alt:h.altText,width:40,height:40,sizes:"40px"}),(0,t.jsx)("span",{className:"col-span-12 max-lg:text-center lg:col-span-9 xl:col-span-10",children:g})]},`${g??"experience"}-${i}`)})})]})}e.s(["default",()=>a])},19979,e=>{"use strict";var t=e.i(98134),n=e.i(47163),r=e.i(75201);function i({children:e,className:i,scrollbarClassName:a}){let o=(0,r.useRef)(null),[s,l]=(0,r.useState)({thumbWidthPct:100,thumbLeftPct:0,hasOverflow:!1});return(0,r.useEffect)(()=>{let e=o.current;if(!e)return;let t=0,n=()=>{let e=o.current;if(!e)return;let{scrollLeft:t,scrollWidth:n,clientWidth:r}=e,i=n-r;if(i<=1)return void l(e=>e.hasOverflow||100!==e.thumbWidthPct||0!==e.thumbLeftPct?{thumbWidthPct:100,thumbLeftPct:0,hasOverflow:!1}:e);let a=r/n*100,s=t/i*(100-a);l(e=>e.hasOverflow&&e.thumbWidthPct===a&&e.thumbLeftPct===s?e:{thumbWidthPct:a,thumbLeftPct:s,hasOverflow:!0})},r=()=>{cancelAnimationFrame(t),t=requestAnimationFrame(n)};r(),e.addEventListener("scroll",r,{passive:!0});let i=new ResizeObserver(r);i.observe(e);let a=e.firstElementChild;return a&&i.observe(a),window.addEventListener("resize",r),()=>{cancelAnimationFrame(t),e.removeEventListener("scroll",r),i.disconnect(),window.removeEventListener("resize",r)}},[]),(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("div",{ref:o,className:(0,n.cn)("hide-native-scrollbar mx-auto touch-pan-x overflow-x-auto max-lg:px-6 lg:overflow-visible",i),children:e}),s.hasOverflow?(0,t.jsx)("div",{className:(0,n.cn)("bg-primary/30 relative mx-6 hidden h-[2px] p-0 max-lg:block",a),"aria-hidden":!0,
1children:(0,t.jsx)("div",{className:"bg-primary absolute top-0 h-full",style:{width:`${s.thumbWidthPct}%`,left:`${s.thumbLeftPct}%`}})}):null]})}e.s(["HorizontalScrollArea",()=>i])},90844,e=>{"use strict";var t=e.i(98134),n=e.i(99352),r=e.i(44697),i=e.i(85368);e.i(35394);var a=e.i(30136),a=a,o=e.i(16471),s=e.i(83083),s=s,l=e.i(67881),c=e.i(10999),u=e.i(20712);e.i(6414);var d=e.i(36427);function f({block:e}){let{contentSlider:f}=e,{title:p,ctaLink:m,slides:h}=f,g="content-slider-carousel";return(0,t.jsx)("div",{className:"content-slider mt-16 lg:mt-32",children:(0,t.jsx)("section",{className:"container mx-auto",children:(0,t.jsxs)("div",{className:`${g} relative flex items-center justify-center gap-8 max-lg:flex-col-reverse xl:gap-x-20`,children:[(0,t.jsxs)("div",{className:"flex flex-col gap-y-8 text-center max-lg:w-[85vw] lg:w-5/12 lg:max-w-105",children:[p&&(0,t.jsx)("h5",{className:`${d.newsReaderFont.className}`,children:p}),h&&h.length>0&&(0,t.jsx)(i.Swiper,{className:"description-swiper w-full",modules:[o.Navigation,a.default],navigation:{prevEl:`.${g} .carousel-prev`,nextEl:`.${g} .carousel-next`},slidesPerView:1,spaceBetween:50,children:h.map((e,n)=>(0,t.jsx)(i.SwiperSlide,{children:(0,t.jsx)("p",{children:e.description})},n))}),m&&(0,t.jsx)(n.default,{className:"btn-outline w-fit self-center py-3!",href:m.url,target:m.target,children:m.title}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,t.jsx)(l.Button,{variant:"outline",size:"icon",className:"carousel-prev border-primary relative inset-0 size-10 translate-none","aria-label":"Previous slide",children:(0,t.jsx)(c.default,{className:"size-5"})}),(0,t.jsx)("div",{className:"carousel-pagination w-fit! text-sm"}),(0,t.jsx)(l.Button,{variant:"outline",size:"icon",className:"carousel-next border-primary relative inset-0 size-10 translate-none","aria-label":"Next slide",children:(0,t.jsx)(u.default,{className:"size-5"})})]})]}),(0,t.jsx)("div",{className:"w-full lg:w-7/12 lg:max-w-150",children:h&&h.length>0&&(0,t.jsx)(i.Swiper,{className:"image-swiper",modules:[o.Navigation,s.default,a.default],navigation:{prevEl:`.${g} .carousel-prev`,nextEl:`.${g} .carousel-next`},pagination:{type:"fraction",el:`.${g} .carousel-pagination`},slidesPerView:1,spaceBetween:0,children:h.map(({image:e},n)=>(0,t.jsx)(i.SwiperSlide,{children:(0,t.jsx)(r.default,{className:"aspect-square h-full w-full object-cover",src:e.node.sourceUrl,alt:e.node.altText,width:e.node.mediaDetails.width,height:e.node.mediaDetails.height,sizes:"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 600px"})},`${e.node.sourceUrl}-${n}`))})})]})})})}e.s(["default",()=>f],90844)},71522,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({html:e,height:t=null,width:n=null,children:a,dataNtpc:o=""}){return(0,i.useEffect)(()=>{o&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${o}`}})},[o]),(0,r.jsxs)(r.Fragment,{children:[a,e?(0,r.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=n?`${n}px`:"auto"},"data-ntpc":o,dangerouslySetInnerHTML:{__html:e}}):null]})};let r=e.r(98134),i=e.r(75201)},82397,(e,t,n)=>{t.exports=e.r(13017)},9503,(e,t,n)=>{"use strict";var r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.sendGTMEvent=void 0,n.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:n,dataLayerName:r="dataLayer",auth:l,preview:c,dataLayer:u,nonce:d}=e;s=r;let f=new URL(n||"https://www.googletagmanager.com/gtm.js");return t&&f.searchParams.set("id",t),"dataLayer"!==r&&f.searchParams.set("l",r),l&&f.searchParams.set("gtm_auth",l),c&&(f.searchParams.set("gtm_preview",c),f.searchParams.set("gtm_cookies_win","x")),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:` 2 (function(w,l){ 3 w[l]=w[l]||[]; 4 w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'}); 5 ${u?`w[l].push(${JSON.stringify(u)})`:""} 6 })(window,'${r}');`},nonce:d}),(0,i.jsx)(o.default,{id:"_next-gtm","data-ntpc":"GTM",src:f.href,nonce:d})]})};let i=e.r(98134),a=e.r(75201),o=r(e.r(82397)),s="dataLayer";n.sendGTMEvent=(e,t)=>
6{let n=t||s;window[n]=window[n]||[],window[n].push(e)}},2574,(e,t,n)=>{"use strict";let r;var i=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.GoogleAnalytics=function(e){let{gaId:t,debugMode:n,dataLayerName:i="dataLayer",nonce:l}=e;return void 0===r&&(r=i),(0,o.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:` 7 window['${i}'] = window['${i}'] || []; 8 function gtag(){window['${i}'].push(arguments);} 9 gtag('js', new Date()); 10 11 gtag('config', '${t}' ${n?",{ 'debug_mode': true }":""});`},nonce:l}),(0,a.jsx)(s.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:l})]})},n.sendGAEvent=function(){void 0===r?console.warn("@next/third-parties: GA has not been initialized"):window[r]?window[r].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${r} does not exist`)};let a=e.r(98134),o=e.r(75201),s=i(e.r(82397))},36714,e=>{"use strict";var t=e.i(98134),n=e.i(19737),r=e.i(30374),i=e.i(10999),a=e.i(20712),o=e.i(44697),s=e.i(47163),l=e.i(41039);e.i(6414);var c=e.i(36427);function u({testimonial:e}){return(0,t.jsxs)(r.Dialog,{children:[(0,t.jsxs)(r.DialogTrigger,{className:"inline-flex cursor-pointer items-center gap-2",children:["Read More",(0,t.jsx)(a.default,{className:"size-5"})]}),(0,t.jsxs)(r.DialogContent,{className:"bg-sand-100 max-w-275! gap-0 overflow-hidden overflow-y-auto rounded-none border-none pb-10 shadow-none",children:[(0,t.jsxs)(n.Carousel,{className:"overflow-hidden *:pl-0!",opts:{align:"start"},children:[(0,t.jsx)(n.CarouselContent,{children:e.weddingDetails.weddingImages.nodes.map(e=>(0,t.jsx)(n.CarouselItem,{className:"basis-[81%] lg:basis-[40%]",children:(0,t.jsx)(o.default,{className:"aspect-square object-cover",src:e.sourceUrl,alt:e.altText,width:e.mediaDetails.width,height:e.mediaDetails.height,sizes:"(max-width: 1024px) 81vw, 40vw"})},e.sourceUrl))}),(0,t.jsxs)(n.CarouselNav,{className:"my-6! lg:pr-3",children:[(0,t.jsx)(n.CarouselPrevious,{className:"text-primary! top-auto right-auto left-auto shrink-0",children:(0,t.jsx)(i.default,{className:"size-5"})}),(0,t.jsx)(n.CarouselNext,{className:"text-primary! top-auto right-auto left-auto shrink-0",children:(0,t.jsx)(a.default,{className:"size-5"})})]})]}),(0,t.jsxs)("div",{className:"flex justify-between max-lg:flex-col",children:[(0,t.jsxs)(r.DialogHeader,{className:"text-primary text-left max-lg:mb-6",children:[(0,t.jsx)("span",{className:"uppercase",children:(0,s.formatWeddingDate)(e.weddingDetails.weddingDate)}),(0,t.jsx)(r.DialogTitle,{className:`${c.newsReaderFont.className} text-4xl leading-8 font-light`,children:e.title})]}),(0,t.jsx)(r.DialogDescription,{className:"text-primary text-base lg:w-1/2",dangerouslySetInnerHTML:{__html:(0,l.sanitizeHtml)(e.weddingDetails.weddingDescription)}})]})]})]})}function d({block:e}){let{weddingTestimonialsTitle:r,testimonials:l}=e.weddingTestimonials;if(!l)return null;let d=l.flatMap(e=>e.weddingTestimonial.nodes);return(0,t.jsx)("div",{className:"wedding-testimonials pt-16 lg:pt-32",children:(0,t.jsxs)("section",{className:"container mx-auto",children:[r&&(0,t.jsx)("h2",{className:`${c.newsReaderFont.className} max-lg:leading-sm mb-8 text-center text-3xl font-light lg:mb-16 lg:text-4xl`,children:r}),(0,t.jsxs)(n.Carousel,{opts:{loop:!0,align:"start"},children:[(0,t.jsx)(n.CarouselContent,{className:"-ml-5",children:d.map((e,r)=>(0,t.jsxs)(n.CarouselItem,{className:"pl-5 lg:basis-[40%]",children:[e.featuredImage&&(0,t.jsx)(o.default,{className:"object-cover max-md:h-105 md:aspect-[1.25/1]",src:e.featuredImage.node?.sourceUrl??"",alt:e.featuredImage.node?.altText??"",sizes:"(max-width: 768px) 100vw, 40vw",width:e.featuredImage.node?.mediaDetails?.width??800,height:e.featuredImage.node?.mediaDetails?.height??640}),(0,t.jsxs)("div",{className:"space-y-3 px-6 py-4 text-center",children:[(0,t.jsx)("span",{className:"text-sm font-medium uppercase",children:(0,s.formatWeddingDate)(e.weddingDetails.weddingDate)}),(0,t.jsx)("h4",{className:`${c.newsReaderFont.className} text-2xl font-light`,children:e.title}),(0,t.jsx)("p",{className:"leading-1xs mx-auto max-w-125 tracking-wide",children:e.weddingDetails.weddingShortExcerpt}),(0,t.jsx)(u,{testimonial:e})]})]},`${e.id}-${r}`))}),(0,t.jsxs)(n.CarouselNav,{children:[(0,t.jsx)(n.CarouselPrevious,{children:(0,t.jsx)(i.default,{className:"size-5"})}),(0,t.jsx)(n.CarouselNext,{children:(0,t.jsx)(a.default,{className:"size-5"})})]})]})]})})}e.s(["default",()=>d])},90538,e=>{"use strict";var t=e.i(98134),n=e.i(75201),r=e.i(38082),i=e.i(49932),a=e.i(50888),o=e.i(91967),s=e.i(38185),l=e.i(29103),c=e.i(88577),u=e.i(72502),d=e.i(54041),f="C
11ollapsible",[p,m]=(0,r.createContextScope)(f),[h,g]=p(f),x=n.forwardRef((e,r)=>{let{__scopeCollapsible:i,open:a,defaultOpen:o,disabled:c,onOpenChange:u,...p}=e,[m,g]=(0,s.useControllableState)({prop:a,defaultProp:o??!1,onChange:u,caller:f});return(0,t.jsx)(h,{scope:i,disabled:c,contentId:(0,d.useId)(),open:m,onOpenToggle:n.useCallback(()=>g(e=>!e),[g]),children:(0,t.jsx)(l.Primitive.div,{"data-state":N(m),"data-disabled":c?"":void 0,...p,ref:r})})});x.displayName=f;var v="CollapsibleTrigger",b=n.forwardRef((e,n)=>{let{__scopeCollapsible:r,...i}=e,a=g(v,r);return(0,t.jsx)(l.Primitive.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":N(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...i,ref:n,onClick:(0,o.composeEventHandlers)(e.onClick,a.onOpenToggle)})});b.displayName=v;var w="CollapsibleContent",y=n.forwardRef((e,n)=>{let{forceMount:r,...i}=e,a=g(w,e.__scopeCollapsible);return(0,t.jsx)(u.Presence,{present:r||a.open,children:({present:e})=>(0,t.jsx)(j,{...i,ref:n,present:e})})});y.displayName=w;var j=n.forwardRef((e,r)=>{let{__scopeCollapsible:i,present:o,children:s,...u}=e,d=g(w,i),[f,p]=n.useState(o),m=n.useRef(null),h=(0,a.useComposedRefs)(r,m),x=n.useRef(0),v=x.current,b=n.useRef(0),y=b.current,j=d.open||f,C=n.useRef(j),k=n.useRef(void 0);return n.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.useLayoutEffect)(()=>{let e=m.current;if(e){k.current=k.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();x.current=t.height,b.current=t.width,C.current||(e.style.transitionDuration=k.current.transitionDuration,e.style.animationName=k.current.animationName),p(o)}},[d.open,o]),(0,t.jsx)(l.Primitive.div,{"data-state":N(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!j,...u,ref:h,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:j&&s})});function N(e){return e?"open":"closed"}var C=e.i(12138),k="Accordion",D=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[R,S,I]=(0,i.createCollection)(k),[A,E]=(0,r.createContextScope)(k,[I,m]),P=m(),z=n.default.forwardRef((e,n)=>{let{type:r,...i}=e;return(0,t.jsx)(R.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,t.jsx)(L,{...i,ref:n}):(0,t.jsx)($,{...i,ref:n})})});z.displayName=k;var[O,_]=A(k),[T,M]=A(k,{collapsible:!1}),$=n.default.forwardRef((e,r)=>{let{value:i,defaultValue:a,onValueChange:o=()=>{},collapsible:l=!1,...c}=e,[u,d]=(0,s.useControllableState)({prop:i,defaultProp:a??"",onChange:o,caller:k});return(0,t.jsx)(O,{scope:e.__scopeAccordion,value:n.default.useMemo(()=>u?[u]:[],[u]),onItemOpen:d,onItemClose:n.default.useCallback(()=>l&&d(""),[l,d]),children:(0,t.jsx)(T,{scope:e.__scopeAccordion,collapsible:l,children:(0,t.jsx)(B,{...c,ref:r})})})}),L=n.default.forwardRef((e,r)=>{let{value:i,defaultValue:a,onValueChange:o=()=>{},...l}=e,[c,u]=(0,s.useControllableState)({prop:i,defaultProp:a??[],onChange:o,caller:k}),d=n.default.useCallback(e=>u((t=[])=>[...t,e]),[u]),f=n.default.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return(0,t.jsx)(O,{scope:e.__scopeAccordion,value:c,onItemOpen:d,onItemClose:f,children:(0,t.jsx)(T,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(B,{...l,ref:r})})})}),[F,H]=A(k),B=n.default.forwardRef((e,r)=>{let{__scopeAccordion:i,disabled:s,dir:c,orientation:u="vertical",...d}=e,f=n.default.useRef(null),p=(0,a.useComposedRefs)(f,r),m=S(i),h="ltr"===(0,C.useDirection)(c),g=(0,o.composeEventHandlers)(e.onKeyDown,e=>{if(!D.includes(e.key))return;let t=e.target,n=m().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),i=n.length;if(-1===r)return;e.preventDefault();let a=r,o=i-1,s=()=>{(a=r+1)>o&&(a=0)},l=()=>{(a=r-1)<0&&(a=o)};switch(e.key){case"Home":a=0;break;case"End":a=o;break;case"ArrowRight":"horizontal"===u&&(h?s():l());break;case"ArrowDown":"vertical"===u&&s();break;case"ArrowLeft":"horizontal"===u&&(h?l():s());break;case"ArrowUp":"vertical"===u&&l()}let c=a%i;n[c].ref.current?.focus()});return(0,t.jsx)(F,{scope:i,disabled:s,direction:c,orientation:u,children:(0,t.jsx)(R.Slot,{scope:i,children:(0,t.jsx)(l.Primitive.div,{...d,"data-orientation":u,ref:p,onKeyDown:s?void 0:g})})})}
11),U="AccordionItem",[V,q]=A(U),K=n.default.forwardRef((e,n)=>{let{__scopeAccordion:r,value:i,...a}=e,o=H(U,r),s=_(U,r),l=P(r),c=(0,d.useId)(),u=i&&s.value.includes(i)||!1,f=o.disabled||e.disabled;return(0,t.jsx)(V,{scope:r,open:u,disabled:f,triggerId:c,children:(0,t.jsx)(x,{"data-orientation":o.orientation,"data-state":Z(u),...l,...a,ref:n,disabled:f,open:u,onOpenChange:e=>{e?s.onItemOpen(i):s.onItemClose(i)}})})});K.displayName=U;var G="AccordionHeader",W=n.default.forwardRef((e,n)=>{let{__scopeAccordion:r,...i}=e,a=H(k,r),o=q(G,r);return(0,t.jsx)(l.Primitive.h3,{"data-orientation":a.orientation,"data-state":Z(o.open),"data-disabled":o.disabled?"":void 0,...i,ref:n})});W.displayName=G;var J="AccordionTrigger",X=n.default.forwardRef((e,n)=>{let{__scopeAccordion:r,...i}=e,a=H(k,r),o=q(J,r),s=M(J,r),l=P(r);return(0,t.jsx)(R.ItemSlot,{scope:r,children:(0,t.jsx)(b,{"aria-disabled":o.open&&!s.collapsible||void 0,"data-orientation":a.orientation,id:o.triggerId,...l,...i,ref:n})})});X.displayName=J;var Q="AccordionContent",Y=n.default.forwardRef((e,n)=>{let{__scopeAccordion:r,...i}=e,a=H(k,r),o=q(Q,r),s=P(r);return(0,t.jsx)(y,{role:"region","aria-labelledby":o.triggerId,"data-orientation":a.orientation,...s,...i,ref:n,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function Z(e){return e?"open":"closed"}Y.displayName=Q;var ee=e.i(47163),et=e.i(20712);function en({...e}){return(0,t.jsx)(z,{"data-slot":"accordion",...e})}function er({className:e,...n}){return(0,t.jsx)(K,{"data-slot":"accordion-item",className:(0,ee.cn)("border-b",e),...n})}function ei({className:e,children:n,...r}){return(0,t.jsx)(W,{className:"flex",children:(0,t.jsxs)(X,{"data-slot":"accordion-trigger",className:(0,ee.cn)("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>img]:rotate-270 [&[data-state=open]>svg]:rotate-270",e),...r,children:[n,(0,t.jsx)(et.default,{className:"pointer-events-none size-6 shrink-0 translate-y-0.5 rotate-90 transition-transform duration-200"})]})})}function ea({className:e,children:n,...r}){return(0,t.jsx)(Y,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...r,children:(0,t.jsx)("div",{className:(0,ee.cn)("pt-0 pb-4",e),children:n})})}e.s(["Accordion",()=>en,"AccordionContent",()=>ea,"AccordionItem",()=>er,"AccordionTrigger",()=>ei],90538)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.