1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,489053,t=>{"use strict";t.s(["default",()=>e]);let e=(0,t.i(475254).default)("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},641877,t=>{"use strict";t.s(["default",()=>e]);let e=(0,t.i(475254).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},248256,t=>{"use strict";t.s(["Globe",()=>e.default]);var e=t.i(641877)},178583,t=>{"use strict";t.s(["FileText",()=>e.default]);var e=t.i(489053)},79013,t=>{"use strict";t.s(["Carousel",()=>z,"CarouselContent",()=>A,"CarouselItem",()=>N,"CarouselNext",()=>P,"CarouselPrevious",()=>L,"useCarousel",()=>I],79013);var e=t.i(843476),n=t.i(271645);function r(t){return"[object Object]"===Object.prototype.toString.call(t)||Array.isArray(t)}function i(t,e){let n=Object.keys(t),o=Object.keys(e);return n.length===o.length&&JSON.stringify(Object.keys(t.breakpoints||{}))===JSON.stringify(Object.keys(e.breakpoints||{}))&&n.every(n=>{let o=t[n],u=e[n];return"function"==typeof o?"".concat(o)==="".concat(u):r(o)&&r(u)?i(o,u):o===u})}function o(t){return t.concat().sort((t,e)=>t.name>e.name?1:-1).map(t=>t.options)}function u(t){return"number"==typeof t}function c(t){return"string"==typeof t}function l(t){return"boolean"==typeof t}function a(t){return"[object Object]"===Object.prototype.toString.call(t)}function s(t){return Math.abs(t)}function f(t){return Math.sign(t)}function d(t){return h(t).map(Number)}function p(t){return t[m(t)]}function m(t){return Math.max(0,t.length-1)}function g(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.from(Array(t),(t,n)=>e+n)}function h(t){return Object.keys(t)}function v(t,e){return void 0!==e.MouseEvent&&t instanceof e.MouseEvent}function y(){let t=[],e={add:function(n,r,i){let o,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return"addEventListener"in n?(n.addEventListener(r,i,u),o=()=>n.removeEventListener(r,i,u)):(n.addListener(i),o=()=>n.removeListener(i)),t.push(o),e},clear:function(){t=t.filter(t=>t())}};return e}function b(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=s(t-e);function r(n){return n<t||n>e}return{length:n,max:e,min:t,constrain:function(n){return r(n)?n<t?t:e:n},reachedAny:r,reachedMax:function(t){return t>e},reachedMin:function(e){return e<t},removeOffset:function(t){return n?t-n*Math.ceil((t-e)/n):t}}}function x(t){let e=t;function n(t){return u(t)?t:t.get()}return{get:function(){return e},set:function(t){e=n(t)},add:function(t){e+=n(t)},subtract:function(t){e-=n(t)}}}function w(t,e){let n="x"===t.scroll?function(t){return"translate3d(".concat(t,"px,0px,0px)")}:function(t){return"translate3d(0px,".concat(t,"px,0px)")},r=e.style,i=null,o=!1;return{clear:function(){!o&&(r.transform="",e.getAttribute("style")||e.removeAttribute("style"))},to:function(e){if(o)return;let u=Math.round(100*t.direction(e))/100;u!==i&&(r.transform=n(u),i=u)},toggleActive:function(t){o=!t}}}let k={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 S(t,e,n){let r,i,o,E,M,O=t.ownerDocument,C=O.defaultView,D=function(t){function e(t,e){return function t(e,n){return[e,n].reduce((e,n)=>(h(n).forEach(r=>{let i=e[r],o=n[r],u=a(i)&&a(o);e[r]=u?t(i,o):o}),e),{})}(t,e||{})}return{mergeOptions:e,optionsAtMedia:function(n){let r=n.breakpoints||{},i=h(r).filter(e=>t.matchMedia(e).matches).map(t=>r[t]).reduce((t,n)=>e(t,n),{});return e(n,i)},optionsMediaQueries:function(e){return e.map(t=>h(t.breakpoints||{})).reduce((t,e)=>t.concat(e),[]).map(t.matchMedia)}}}(C),j=(M=[],{init:function(t,e){return(M=e.filter(t=>{let{options:e}=t;return!1!==D.optionsAtMedia(e).active}
1)).forEach(e=>e.init(t,D)),e.reduce((t,e)=>Object.assign(t,{[e.name]:e}),{})},destroy:function(){M=M.filter(t=>t.destroy())}}),I=y(),z=function(){let t,e={},n={init:function(e){t=e},emit:function(r){return(e[r]||[]).forEach(e=>e(t,r)),n},off:function(t,r){return e[t]=(e[t]||[]).filter(t=>t!==r),n},on:function(t,r){return e[t]=(e[t]||[]).concat([r]),n},clear:function(){e={}}};return n}(),{mergeOptions:A,optionsAtMedia:N,optionsMediaQueries:L}=D,{on:P,off:F,emit:T}=z,H=!1,V=A(k,S.globalOptions),B=A(V),R=[];function q(e,n){if(H)return;B=N(V=A(V,e)),R=n||R;let{container:a,slides:k}=B;o=(c(a)?t.querySelector(a):a)||t.children[0];let S=c(k)?o.querySelectorAll(k):k;E=[].slice.call(S||o.children),r=function e(n){let r=function(t,e,n,r,i,o,a){let k,S,{align:E,axis:M,direction:O,startIndex:C,loop:D,duration:j,dragFree:I,dragThreshold:z,inViewThreshold:A,slidesToScroll:N,skipSnaps:L,containScroll:P,watchResize:F,watchSlides:T,watchDrag:H,watchFocus:V}=o,B={measure:function(t){let{offsetTop:e,offsetLeft:n,offsetWidth:r,offsetHeight:i}=t;return{top:e,right:n+r,bottom:e+i,left:n,width:r,height:i}}},R=B.measure(e),q=n.map(B.measure),U=function(t,e){let n="rtl"===e,r="y"===t,i=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(t){let{height:e,width:n}=t;return r?e:n},direction:function(t){return t*i}}}(M,O),X=U.measureSize(R),K={measure:function(t){return t/100*X}},Y=function(t,e){let n={start:function(){return 0},center:function(t){return(e-t)/2},end:function(t){return e-t}};return{measure:function(r,i){return c(t)?n[t](r):t(e,r,i)}}}(E,X),J=!D&&!!P,{slideSizes:G,slideSizesWithGaps:Q,startGap:Z,endGap:W}=function(t,e,n,r,i,o){let{measureSize:u,startEdge:c,endEdge:l}=t,a=n[0]&&i,f=function(){if(!a)return 0;let t=n[0];return s(e[c]-t[c])}(),d=a?parseFloat(o.getComputedStyle(p(r)).getPropertyValue("margin-".concat(l))):0,g=n.map(u),h=n.map((t,e,n)=>{let r=e===m(n);return e?r?g[e]+d:n[e+1][c]-t[c]:g[e]+f}).map(s);return{slideSizes:g,slideSizesWithGaps:h,startGap:f,endGap:d}}(U,R,q,n,D||!!P,i),$=function(t,e,n,r,i,o,c,l,a){let{startEdge:f,endEdge:g,direction:h}=t,v=u(n);return{groupSlides:function(t){return v?d(t).filter(t=>t%n==0).map(e=>t.slice(e,e+n)):t.length?d(t).reduce((n,u,a)=>{let d=p(n)||0,v=u===m(t),y=i[f]-o[d][f],b=i[f]-o[u][g],x=r||0!==d?0:h(c),w=s(b-(!r&&v?h(l):0)-(y+x));return a&&w>e+2&&n.push(u),v&&n.push(t.length),n},[]).map((e,n,r)=>{let i=Math.max(r[n-1]||0);return t.slice(i,e)}):[]}}}(U,X,N,D,R,q,Z,W,0),{snaps:_,snapsAligned:tt}=function(t,e,n,r,i){let{startEdge:o,endEdge:u}=t,{groupSlides:c}=i,l=c(r).map(t=>p(t)[u]-t[0][o]).map(s).map(e.measure),a=r.map(t=>n[o]-t[o]).map(t=>-s(t)),f=c(a).map(t=>t[0]).map((t,e)=>t+l[e]);return{snaps:a,snapsAligned:f}}(U,Y,R,q,$),te=-p(_)+p(Q),{snapsContained:tn,scrollContainLimit:tr}=function(t,e,n,r,i){let o=b(-e+t,0),u=n.map((t,e)=>{let{min:r,max:i}=o,u=o.constrain(t),c=e===m(n);return e?c||function(t,e){return 1>=s(t-e)}(r,u)?r:function(t,e){return 1>=s(t-e)}(i,u)?i:u:i}).map(t=>parseFloat(t.toFixed(3))),c=function(){let t=u[0],e=p(u);return b(u.lastIndexOf(t),u.indexOf(e)+1)}();return{snapsContained:function(){if(e<=t+2)return[o.max];if("keepSnaps"===r)return u;let{min:n,max:i}=c;return u.slice(n,i)}(),scrollContainLimit:c}}(X,te,tt,P,0),ti=J?tn:tt,{limit:to}=function(t,e,n){let r=e[0];return{limit:b(n?r-t:p(e),r)}}(te,ti,D),tu=function t(e,n,r){let{constrain:i}=b(0,e),o=e+1,u=c(n);function c(t){return r?s((o+t)%o):i(t)}function l(){return t(e,u,r)}let a={get:function(){return u},set:function(t){return u=c(t),a},add:function(t){return l().set(u+t)},clone:l};return a}(m(ti),C,D),tc=tu.clone(),tl=d(n),ta=function(t,e,n,r){let i=y(),o=1e3/60,u=null,c=0,l=0;function a(t){if(!l)return;u||(u=t,n(),n());let i=t-u;for(u=t,c+=i;c>=o;)n(),c-=o;r(c/o),l&&(l=e.requestAnimationFrame(a))}function s(){e.cancelAnimationFrame(l),u=null,c=0,l=0}return{init:function(){i.add(t,"visibilitychange",()=>{t.hidden&&(u=null,c=0)})},destroy:function(){s(),i.clear()},start:function(){l||(l=e.requestAnimationFrame(a))},stop:s,update:n,render:r}}(r,i,()=>(t=>{let{dragHandler:e,scrollBody:n,scrollBounds:r,options:{loop:i}}=t;i||r.constrain(e.pointerDown()),n.seek()})(tS),t=>((t,e)=>{let{scrollBody:n,translate:r,location:i,offsetLocation:o,previousLocation:u,scrollLooper:c,slideLooper:l,dragHandler:a,animation:s,eventHandler:f,scrollBounds:d,options:{loop:p}}=t,m=n.settled(),g=!d.shouldConstrain(),h=p?m:m&&g,v=h&&!a.pointerDown();v&&s.stop();let y=i.get()*e+u.get()*(1-e);o.set(y),p&&(c.loop(n.direction()),l.loop()),r.to(o.get()),v&&f.emit("settle"),h||f.emit("scroll")})(tS,t)),ts=ti[tu.get()],tf=x(ts),td=x(ts),tp=x(ts),tm=x(ts),tg=function(t,e,n,r,i,o){let u=0,c=0,l=i,a=.68,d=t.get(),p=0;function m(t){return l=t,h}function g(t){return a=t,h}let h={direction:function(){return c},duration:function(){return l},velocity:function(){return u},seek:function(){let e=r.get()-t.get(),i=0;
1return l?(n.set(t),u+=e/l,u*=a,d+=u,t.add(u),i=d-p):(u=0,n.set(r),t.set(r),i=e),c=f(i),p=d,h},settled:function(){return .001>s(r.get()-e.get())},useBaseFriction:function(){return g(.68)},useBaseDuration:function(){return m(i)},useFriction:g,useDuration:m};return h}(tf,tp,td,tm,j,.68),th=function(t,e,n,r,i){let{reachedAny:o,removeOffset:u,constrain:c}=r;function l(t){return t.concat().sort((t,e)=>s(t)-s(e))[0]}function a(e,r){let i=[e,e+n,e-n];if(!t)return e;if(!r)return l(i);let o=i.filter(t=>f(t)===r);return o.length?l(o):p(i)-n}return{byDistance:function(n,r){let l=i.get()+n,{index:f,distance:d}=function(n){let r=t?u(n):c(n),{index:i}=e.map((t,e)=>({diff:a(t-r,0),index:e})).sort((t,e)=>s(t.diff)-s(e.diff))[0];return{index:i,distance:r}}(l),p=!t&&o(l);if(!r||p)return{index:f,distance:n};let m=n+a(e[f]-d,0);return{index:f,distance:m}},byIndex:function(t,n){let r=a(e[t]-i.get(),n);return{index:t,distance:r}},shortcut:a}}(D,ti,te,to,tm),tv=function(t,e,n,r,i,o,u){function c(i){let c=i.distance,l=i.index!==e.get();o.add(c),c&&(r.duration()?t.start():(t.update(),t.render(1),t.update())),l&&(n.set(e.get()),e.set(i.index),u.emit("select"))}return{distance:function(t,e){c(i.byDistance(t,e))},index:function(t,n){let r=e.clone().set(t);c(i.byIndex(r.get(),n))}}}(ta,tu,tc,tg,th,tm,a),ty=function(t){let{max:e,length:n}=t;return{get:function(t){return n?-((t-e)/n):0}}}(to),tb=y(),tx=function(t,e,n,r){let i,o={},u=null,c=null,l=!1;return{init:function(){i=new IntersectionObserver(t=>{l||(t.forEach(t=>{o[e.indexOf(t.target)]=t}),u=null,c=null,n.emit("slidesInView"))},{root:t.parentElement,threshold:r}),e.forEach(t=>i.observe(t))},destroy:function(){i&&i.disconnect(),l=!0},get:function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(t&&u)return u;if(!t&&c)return c;let e=h(o).reduce((e,n)=>{let r=parseInt(n),{isIntersecting:i}=o[r];return(t&&i||!t&&!i)&&e.push(r),e},[]);return t&&(u=e),t||(c=e),e}}}(e,n,a,A),{slideRegistry:tw}=function(t,e,n,r,i,o){let{groupSlides:u}=i,{min:c,max:l}=r;return{slideRegistry:function(){let r=u(o);return 1===n.length?[o]:t&&"keepSnaps"!==e?r.slice(c,l).map((t,e,n)=>{let r=e===m(n);return e?r?g(m(o)-p(n)[0]+1,p(n)[0]):t:g(p(n[0])+1)}):r}()}}(J,P,ti,tr,$,tl),tk=function(t,e,n,r,i,o,c,a){let s={passive:!0,capture:!0},f=0;function d(t){"Tab"===t.code&&(f=new Date().getTime())}return{init:function(p){a&&(o.add(document,"keydown",d,!1),e.forEach((e,d)=>{o.add(e,"focus",e=>{(l(a)||a(p,e))&&function(e){if(new Date().getTime()-f>10)return;c.emit("slideFocusStart"),t.scrollLeft=0;let o=n.findIndex(t=>t.includes(e));u(o)&&(i.useDuration(0),r.index(o,0),c.emit("slideFocus"))}(d)},s)}))}}}(t,n,tw,tv,tg,tb,a,V),tS={ownerDocument:r,ownerWindow:i,eventHandler:a,containerRect:R,slideRects:q,animation:ta,axis:U,dragHandler:function(t,e,n,r,i,o,u,c,a,d,p,m,g,h,x,w,k,S,E){let{cross:M,direction:O}=t,C=["INPUT","SELECT","TEXTAREA"],D={passive:!1},j=y(),I=y(),z=b(50,225).constrain(h.measure(20)),A={mouse:300,touch:400},N={mouse:500,touch:600},L=x?43:25,P=!1,F=0,T=0,H=!1,V=!1,B=!1,R=!1;function q(t){if(!v(t,r)&&t.touches.length>=2)return U(t);let e=o.readPoint(t),n=o.readPoint(t,M),u=s(e-F),l=s(n-T);if(!V&&!R&&(!t.cancelable||!(V=u>l)))return U(t);let a=o.pointerMove(t);u>w&&(B=!0),d.useFriction(.3).useDuration(.75),c.start(),i.add(O(a)),t.preventDefault()}function U(t){let e=p.byDistance(0,!1).index!==m.get(),n=o.pointerUp(t)*(x?N:A)[R?"mouse":"touch"],r=function(t,e){let n=m.add(-1*f(t)),r=p.byDistance(t,!x).distance;return x||s(t)<z?r:k&&e?.5*r:p.byIndex(n.get(),0).distance}(O(n),e),i=function(t,e){var n,r;if(0===t||0===e||s(t)<=s(e))return 0;let i=(n=s(t),r=s(e),s(n-r));return s(i/t)}(n,r);V=!1,H=!1,I.clear(),d.useDuration(L-10*i).useFriction(.68+i/50),a.distance(r,!x),R=!1,g.emit("pointerUp")}function X(t){B&&(t.stopPropagation(),t.preventDefault(),B=!1)}return{init:function(t){E&&j.add(e,"dragstart",t=>t.preventDefault(),D).add(e,"touchmove",()=>void 0,D).add(e,"touchend",()=>void 0).add(e,"touchstart",c).add(e,"mousedown",c).add(e,"touchcancel",U).add(e,"contextmenu",U).add(e,"click",X,!0);function c(c){(l(E)||E(t,c))&&function(t){let c=v(t,r);
1if((R=c,B=x&&c&&!t.buttons&&P,P=s(i.get()-u.get())>=2,!c||0===t.button)&&!function(t){let e=t.nodeName||"";return C.includes(e)}(t.target)){H=!0,o.pointerDown(t),d.useFriction(0).useDuration(0),i.set(u);let r=R?n:e;I.add(r,"touchmove",q,D).add(r,"touchend",U).add(r,"mousemove",q,D).add(r,"mouseup",U),F=o.readPoint(t),T=o.readPoint(t,M),g.emit("pointerDown")}}(c)}},destroy:function(){j.clear(),I.clear()},pointerDown:function(){return H}}}(U,t,r,i,tm,function(t,e){let n,r;function i(t){return t.timeStamp}function o(n,r){let i=r||t.scroll;return(v(n,e)?n:n.touches[0])["client".concat("x"===i?"X":"Y")]}return{pointerDown:function(t){return n=t,r=t,o(t)},pointerMove:function(t){let e=o(t)-o(r),u=i(t)-i(n)>170;return r=t,u&&(n=t),e},pointerUp:function(t){if(!n||!r)return 0;let e=o(r)-o(n),u=i(t)-i(n),c=i(t)-i(r)>170,l=e/u;return u&&!c&&s(l)>.1?l:0},readPoint:o}}(U,i),tf,ta,tv,tg,th,tu,a,K,I,z,L,0,H),eventStore:tb,percentOfView:K,index:tu,indexPrevious:tc,limit:to,location:tf,offsetLocation:tp,previousLocation:td,options:o,resizeHandler:function(t,e,n,r,i,o,u){let c,a,f=[t].concat(r),d=[],p=!1;function m(t){return i.measureSize(u.measure(t))}return{init:function(i){o&&(a=m(t),d=r.map(m),c=new ResizeObserver(n=>{(l(o)||o(i,n))&&function(n){for(let o of n){if(p)return;let n=o.target===t,u=r.indexOf(o.target),c=n?a:d[u];if(s(m(n?t:r[u])-c)>=.5){i.reInit(),e.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{f.forEach(t=>c.observe(t))}))},destroy:function(){p=!0,c&&c.disconnect()}}}(e,a,i,n,U,F,B),scrollBody:tg,scrollBounds:function(t,e,n,r,i){let o=i.measure(10),u=i.measure(50),c=b(.1,.99),l=!1;function a(){return!l&&!!t.reachedAny(n.get())&&!!t.reachedAny(e.get())}return{shouldConstrain:a,constrain:function(i){if(!a())return;let l=t.reachedMin(e.get())?"min":"max",f=s(t[l]-e.get()),d=n.get()-e.get(),p=c.constrain(f/u);n.subtract(d*p),!i&&s(d)<o&&(n.set(t.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(t){l=!t}}}(to,tp,tm,tg,K),scrollLooper:function(t,e,n,r){let{reachedMin:i,reachedMax:o}=b(e.min+.1,e.max+.1);return{loop:function(e){if(!(1===e?o(n.get()):-1===e&&i(n.get())))return;let u=-1*e*t;r.forEach(t=>t.add(u))}}}(te,to,tp,[tf,tp,td,tm]),scrollProgress:ty,scrollSnapList:ti.map(ty.get),scrollSnaps:ti,scrollTarget:th,scrollTo:tv,slideLooper:function(t,e,n,r,i,o,u,c,l){let a=d(i),s=d(i).reverse(),f=g(m(s,u[0]),n,!1).concat(g(m(a,e-u[0]-1),-n,!0));function p(t,e){return t.reduce((t,e)=>t-i[e],e)}function m(t,e){return t.reduce((t,n)=>p(t,e)>0?t.concat([n]):t,[])}function g(i,u,a){let s=o.map((t,n)=>({start:t-r[n]+.5+u,end:t+e-.5+u}));return i.map(e=>{let r=a?0:-n,i=a?n:0,o=s[e][a?"end":"start"];return{index:e,loopPoint:o,slideLocation:x(-1),translate:w(t,l[e]),target:()=>c.get()>o?r:i}})}return{canLoop:function(){return f.every(t=>{let{index:n}=t;return .1>=p(a.filter(t=>t!==n),e)})},clear:function(){f.forEach(t=>t.translate.clear())},loop:function(){f.forEach(t=>{let{target:e,translate:n,slideLocation:r}=t,i=e();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:f}}(U,X,te,G,Q,_,ti,tp,n),slideFocus:tk,slidesHandler:(S=!1,{init:function(t){T&&(k=new MutationObserver(e=>{!S&&(l(T)||T(t,e))&&function(e){for(let n of e)if("childList"===n.type){t.reInit(),a.emit("slidesChanged");break}}(e)})).observe(e,{childList:!0})},destroy:function(){k&&k.disconnect(),S=!0}}),slidesInView:tx,slideIndexes:tl,slideRegistry:tw,slidesToScroll:$,target:tm,translate:w(U,e)};return tS}(t,o,E,O,C,n,z);return n.loop&&!r.slideLooper.canLoop()?e(Object.assign({},n,{loop:!1})):r}(B),L([V,...R.map(t=>{let{options:e}=t;return e})]).forEach(t=>I.add(t,"change",U)),B.active&&(r.translate.to(r.location.get()),r.animation.init(),r.slidesInView.init(),r.slideFocus.init(J),r.eventHandler.init(J),r.resizeHandler.init(J),r.slidesHandler.init(J),r.options.loop&&r.slideLooper.loop(),o.offsetParent&&E.length&&r.dragHandler.init(J),i=j.init(J,R))}function U(t,e){let n=Y();X(),q(A({startIndex:n},t),e),z.emit("reInit")}function X(){r.dragHandler.destroy(),r.eventStore.clear(),r.translate.clear(),r.slideLooper.clear(),r.resizeHandler.destroy(),r.slidesHandler.destroy(),r.slidesInView.destroy(),r.animation.destroy(),j.destroy(),I.clear()}function K(t,e,n){B.active&&!H&&(r.scrollBody.useBaseFriction().useDuration(!0===e?0:B.duration),r.scrollTo.index(t,n||0))}function Y(){return r.index.get()}let J={canScrollNext:function(){return r.index.add(1).get()!==Y()},canScrollPrev:function(){return r.index.add(-1).get()!==Y()},containerNode:function(){return o},internalEngine:function(){return r},destroy:function(){H||(H=!0,I.clear(),X(),z.emit("destroy"),z.clear())},off:F,on:P,emit:T,plugins:function(){return i},previousScrollSnap:function(){return r.indexPrevious.get()},reInit:U,rootNode:function(){return t},scrollNext:function(t){K(r.index.add(1).get(),t,-1)},scrollPrev:function(t){K(r.index.add(-1).get(),t,1)},scrollProgress:function(){return r.scrollProgress.get(r.offsetLocation.get())},scrollSnapList:function(){return r.scrollSnapList},scrollTo:K,selectedScrollSnap:Y,slideNodes:function(){return E},slidesInView:function(){return r.slidesInView.get()},slidesNotInView:function(){return r.slidesInView.get(!1)}};return q(e,n),setTimeout(()=>z.emit("init"),0),J}function E(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=(0,n.useRef)(t),u=(0,n.useRef)(e),[c,l]=(0,n.use
1State)(),[a,s]=(0,n.useState)(),f=(0,n.useCallback)(()=>{c&&c.reInit(r.current,u.current)},[c]);return(0,n.useEffect)(()=>{i(r.current,t)||(r.current=t,f())},[t,f]),(0,n.useEffect)(()=>{!function(t,e){if(t.length!==e.length)return!1;let n=o(t),r=o(e);return n.every((t,e)=>i(t,r[e]))}(u.current,e)&&(u.current=e,f())},[e,f]),(0,n.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&a){S.globalOptions=E.globalOptions;let t=S(a,r.current,u.current);return l(t),()=>t.destroy()}l(void 0)},[a,l]),[s,c]}S.globalOptions=void 0,E.globalOptions=void 0;var M=t.i(975157),O=t.i(850275),C=t.i(412012),C=C,D=t.i(233565);let j=n.createContext(null);function I(){let t=n.useContext(j);if(!t)throw Error("useCarousel must be used within a <Carousel />");return t}function z(t){let{orientation:r="horizontal",opts:i,setApi:o,plugins:u,className:c,children:l,...a}=t,[s,f]=E({...i,axis:"horizontal"===r?"x":"y"},u),[d,p]=n.useState(!1),[m,g]=n.useState(!1),h=n.useCallback(t=>{t&&(p(t.canScrollPrev()),g(t.canScrollNext()))},[]),v=n.useCallback(()=>{null==f||f.scrollPrev()},[f]),y=n.useCallback(()=>{null==f||f.scrollNext()},[f]),b=n.useCallback(t=>{"ArrowLeft"===t.key?(t.preventDefault(),v()):"ArrowRight"===t.key&&(t.preventDefault(),y())},[v,y]);return n.useEffect(()=>{f&&o&&o(f)},[f,o]),n.useEffect(()=>{if(f)return h(f),f.on("reInit",h),f.on("select",h),()=>{null==f||f.off("select",h)}},[f,h]),(0,e.jsx)(j.Provider,{value:{carouselRef:s,api:f,opts:i,orientation:r||((null==i?void 0:i.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:y,canScrollPrev:d,canScrollNext:m},children:(0,e.jsx)("div",{onKeyDownCapture:b,className:(0,M.cn)("relative",c),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...a,children:l})})}function A(t){let{className:n,...r}=t,{carouselRef:i,orientation:o}=I();return(0,e.jsx)("div",{ref:i,className:"overflow-hidden","data-slot":"carousel-content",children:(0,e.jsx)("div",{className:(0,M.cn)("flex","horizontal"===o?"-ml-4":"-mt-4 flex-col",n),...r})})}function N(t){let{className:n,...r}=t,{orientation:i}=I();return(0,e.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:(0,M.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===i?"pl-4":"pt-4",n),...r})}function L(t){let{className:r,variant:i="outline",size:o="icon-sm",style:u,...c}=t,{orientation:l,scrollPrev:a,canScrollPrev:s}=I(),f=n.useMemo(()=>({transform:"horizontal"===l?"translateY(-50%)":"translateX(-50%) rotate(90deg)",...u}),[l,u]);return(0,e.jsxs)(O.Button,{"data-slot":"carousel-previous",variant:i,size:o,className:(0,M.cn)("absolute touch-manipulation rounded-full","horizontal"===l?"top-1/2 -left-12":"-top-12 left-1/2",r),style:f,disabled:!s,onClick:a,...c,children:[(0,e.jsx)(C.default,{}),(0,e.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}function P(t){let{className:r,variant:i="outline",size:o="icon-sm",style:u,...c}=t,{orientation:l,scrollNext:a,canScrollNext:s}=I(),f=n.useMemo(()=>({transform:"horizontal"===l?"translateY(-50%)":"translateX(-50%) rotate(90deg)",...u}),[l,u]);return(0,e.jsxs)(O.Button,{"data-slot":"carousel-next",variant:i,size:o,className:(0,M.cn)("absolute touch-manipulation rounded-full","horizontal"===l?"top-1/2 -right-12":"-bottom-12 left-1/2",r),style:f,disabled:!s,onClick:a,...c,children:[(0,e.jsx)(D.ChevronRightIcon,{}),(0,e.jsx)("span",{className:"sr-only",children:"Next slide"})]})}}]);
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.