1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,753492,e=>{"use strict";var t=e.i(327193),n=e.i(647163),r=e.i(533386),i=e.i(253452),o=e.i(431218);let s=[{icon:"01",title:"Choose Your Class",description:"Warrior, Mage, or Rogue. Each with unique skill trees, gear sets, and playstyles."},{icon:"02",title:"Enter the Dungeon",description:"Procedurally placed loot with hand-designed encounters. Every run feels fresh.",badge:"FAN FAVORITE"},{icon:"03",title:"Defeat Bosses",description:"12 legendary bosses, each with unique attack patterns. Learn, adapt, conquer."},{icon:"04",title:"Upgrade Your Gear",description:"Combine drops at the forge to create legendary items. The grind is the game."},{icon:"05",title:"Climb the Ranks",description:"Global leaderboards updated in real-time. Prove you are the best.",badge:"COMPETITIVE"}];e.s(["default",0,function({title:e="The Adventure Awaits",description:a="Swipe through to discover what makes this game legendary",items:u=s,className:c}){return(0,t.jsx)("section",{className:(0,n.cn)("w-full px-4 py-16",c),children:(0,t.jsxs)("div",{className:"mx-auto max-w-5xl",children:[(e||a)&&(0,t.jsxs)("div",{className:"mb-10 text-center",children:[e&&(0,t.jsx)("h2",{className:"retro mb-3 font-bold text-2xl tracking-tight md:text-3xl",children:e}),a&&(0,t.jsx)("span",{className:"mx-auto block max-w-xl retro text-muted-foreground text-[9px]",children:a})]}),(0,t.jsxs)(o.Carousel,{className:"mx-auto w-full max-w-4xl",opts:{align:"start",loop:!0},children:[(0,t.jsx)(o.CarouselContent,{children:u.map(e=>(0,t.jsx)(o.CarouselItem,{className:"pl-4 sm:basis-1/2 lg:basis-1/3",children:(0,t.jsx)("div",{className:"h-full p-2",children:(0,t.jsxs)(i.Card,{className:"relative h-full",children:[e.badge&&(0,t.jsx)("div",{className:"absolute top-2 right-4 z-10",children:(0,t.jsx)(r.Badge,{className:"text-[7px]",children:e.badge})}),(0,t.jsxs)(i.CardHeader,{className:"pb-2",children:[(0,t.jsx)("div",{className:"retro mb-2 text-2xl",children:e.icon}),(0,t.jsx)(i.CardTitle,{className:"retro text-sm",children:e.title})]}),(0,t.jsx)(i.CardContent,{children:(0,t.jsx)(i.CardDescription,{className:"retro text-[9px] leading-relaxed",children:e.description})})]})})},e.title))}),(0,t.jsx)(o.CarouselPrevious,{}),(0,t.jsx)(o.CarouselNext,{})]})]})})}])},431218,e=>{"use strict";var t=e.i(327193),n=e.i(475127);function r(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function i(e,t){let n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let o=e[n],s=t[n];return"function"==typeof o?`${o}`==`${s}`:r(o)&&r(s)?i(o,s):o===s})}function o(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function s(e){return"number"==typeof e}function a(e){return"string"==typeof e}function u(e){return"boolean"==typeof e}function c(e){return"[object Object]"===Object.prototype.toString.call(e)}function l(e){return Math.abs(e)}function d(e){return Math.sign(e)}function f(e){return m(e).map(Number)}function h(e){return e[x(e)]}function x(e){return Math.max(0,e.length-1)}function p(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function m(e){return Object.keys(e)}function g(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function y(){let e=[],t={add:function(n,r,i,o={passive:!0}){let s;return"addEventListener"in n?(n.addEventListener(r,i,o),s=()=>n.removeEventListener(r,i,o)):(n.addListener(i),s=()=>n.removeListener(i)),e.push(s),t},clear:function(){e=e.filter(e=>e())}};return t}function w(e=0,t=0){let n=l(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 v(e){let t=e;function n(e){return s(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 b(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,o=!1;return{clear:function(){!o&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(o)return;let s=Math.round(100*e.direction(t))/100;s!==i&&(r.transform=n(s),i=s)},toggleActive:function(e){o=!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};
1function C(e,t,n){let r,i,o,N,k,S,E,D,O=e.ownerDocument,I=O.defaultView,A=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(m(n).forEach(r=>{let i=t[r],o=n[r],s=c(i)&&c(o);t[r]=s?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=m(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=>m(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(I),P=(D=[],{init:function(e,t){return(D=t.filter(({options:e})=>!1!==A.optionsAtMedia(e).active)).forEach(t=>t.init(e,A)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){D=D.filter(e=>e.destroy())}}),L=y(),T=(i={},o={init:function(e){r=e},emit:function(e){return(i[e]||[]).forEach(t=>t(r,e)),o},off:function(e,t){return i[e]=(i[e]||[]).filter(e=>e!==t),o},on:function(e,t){return i[e]=(i[e]||[]).concat([t]),o},clear:function(){i={}}}),{mergeOptions:M,optionsAtMedia:F,optionsMediaQueries:z}=A,{on:R,off:B,emit:V}=T,q=!1,H=M(j,C.globalOptions),U=M(H),$=[];function K(t,n){q||(U=F(H=M(H,t)),$=n||$,function(){let{container:t,slides:n}=U;S=(a(t)?e.querySelector(t):t)||e.children[0];let r=a(n)?S.querySelectorAll(n):n;E=[].slice.call(r||S.children)}(),N=function t(n){let r=function(e,t,n,r,i,o,c){var j,C;let N,k,S,E,D,O,I,A,P,L,T,M,F,z,{align:R,axis:B,direction:V,startIndex:q,loop:H,duration:U,dragFree:$,dragThreshold:K,inViewThreshold:W,slidesToScroll:Y,skipSnaps:G,containScroll:J,watchResize:X,watchSlides:Q,watchDrag:Z,watchFocus:_}=o,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"===V,E=(S="y"===B)||!k?1:-1,D=S?"top":k?"right":"left",O=S?"bottom":k?"left":"right",{scroll:S?"y":"x",cross:S?"x":"y",startEdge:D,endEdge:O,measureSize:function(e){let{height:t,width:n}=e;return S?t:n},direction:function(e){return e*E}}),ei=er.measureSize(et),eo={measure:function(e){return e/100*ei}},es=(j=R,C=ei,N={start:function(){return 0},center:function(e){return(C-e)/2},end:function(e){return C-e}},{measure:function(e,t){return a(j)?N[j](e):j(C,e,t)}}),ea=!H&&!!J,{slideSizes:eu,slideSizesWithGaps:ec,startGap:el,endGap:ed}=function(e,t,n,r,i,o){let{measureSize:s,startEdge:a,endEdge:u}=e,c=n[0]&&i,d=function(){if(!c)return 0;let e=n[0];return l(t[a]-e[a])}(),f=c?parseFloat(o.getComputedStyle(h(r)).getPropertyValue(`margin-${u}`)):0,p=n.map(s),m=n.map((e,t,n)=>{let r=t===x(n);return t?r?p[t]+f:n[t+1][a]-e[a]:p[t]+d}).map(l);return{slideSizes:p,slideSizesWithGaps:m,startGap:d,endGap:f}}(er,et,en,n,H||!!J,i),ef=function(e,t,n,r,i,o,a,u){let{startEdge:c,endEdge:d,direction:p}=e,m=s(n);return{groupSlides:function(e){return m?f(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?f(e).reduce((n,s,f)=>{let m=h(n)||0,g=s===x(e),y=i[c]-o[m][c],w=i[c]-o[s][d],v=r||0!==m?0:p(a),b=l(w-(!r&&g?p(u):0)-(y+v));return f&&b>t+2&&n.push(s),g&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(er,ei,Y,H,et,en,el,ed),{snaps:eh,snapsAligned:ex}=function(e,t,n,r,i){let{startEdge:o,endEdge:s}=e,{groupSlides:a}=i,u=a(r).map(e=>h(e)[s]-e[0][o]).map(l).map(t.measure),c=r.map(e=>n[o]-e[o]).map(e=>-l(e)),d=a(c).map(e=>e[0]).map((e,t)=>e+u[t]);return{snaps:c,snapsAligned:d}}(er,es,et,en,ef),ep=-h(eh)+h(ec),{snapsContained:em,scrollContainLimit:eg}=function(e,t,n,r){let i,o,s=w(-t+e,0),a=n.map((e,t)=>{let{min:r,max:i}=s,o=s.constrain(e),a=t===x(n);return t?a||function(e,t){return 1>=l(e-t)}(r,o)?r:function(e,t){return 1>=l(e-t)}(i,o)?i:o:i}).map(e=>parseFloat(e.toFixed(3))),u=(i=a[0],o=h(a),w(a.lastIndexOf(i),a.indexOf(o)+1));return{snapsContained:function(){if(t<=e+2)return[s.max];if("keepSnaps"===r)return a;let{min:n,max:i}=u;return a.slice(n,i)}(),scrollContainLimit:u}}(ei,ep,ex,J),ey=ea?em:ex,{limit:ew}=(I=ey[0],{limit:w(H?I-ep:h(ey),I)}),ev=function e(t,n,r){let{constrain:i}=w(0,t),o=t+1,s=a(n);function a(e){return r?l((o+e)%o):i(e)}function u(){return e(t,s,r)}let c={get:function(){return s},set:function(e){return s=a(e),c},add:function(e){return u().set(s+e)},clone:u};return c}(x(ey),q,H),eb=ev.clone(),ej=f(n),eC=function(e,t,n,r){let i=y(),o=1e3/60,s=null,a=0,u=0;function c(e){if(!u)return;s||(s=e,n(),n());let i=e-s;for(s=e,a+=i;a>=o;)n(),a-=o;r(a/o),u&&(u=t.requestAnimationFrame(c))}function l(){t.cancelAnimationFrame(u),s=null,a=0,u=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(s=null,a=0)})},destroy:function(){l(),i.clear()},start:function(){u||(u=t.requestAnimationFrame(c))},stop:l,update:n,render:r}}(r,i,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(ez),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:o,slideLooper:s,dragHandler:a,animation:u,eventHandler:c,scrollBounds:l,options:{loop:d}},f)=>{let h=e.settled(),x=!l.shouldConstrain(),p=d?h:h&&x,m=p&&!a.pointerDown();m&&u.stop();let g=n.get()*f+i.get()*(1-f);r.set(g),d&&(o.loop(e.direction()),s.loop()),t.to(r.get()),m&&c.emit("settle"),p||c.emit("scroll")})(ez,e)),eN=ey[ev.get()],ek=v(eN),eS=v(eN),eE=v(eN),eD=v(eN),eO=function(e,t,n,r,i){let o=0,s=0,a=i,u=.68,c=e.get(),f=0;function h(e){return a=e,p}function x(e){return u=e,p}let p={direction:function(){return s},duration:function(){return a},velocity:function(){return o},seek:function(){let t=r.get()-e.get(),i=0;return a?(n.set(e),o+=t/a,o*=u,c+=o,e.add(o),i=c-f):(o=0,n.set(r),e.set(r),i=t),s=d(i),f=c,p},settled:function(){return .001>l(r.get()-t.get())},useBaseFriction:function(){return x(.68)},useBaseDuration:function(){return h(i)},useFriction:x,useDuration:h};return p}(ek,eE,eS,eD,U),eI=function(e,t,n,r,i){let{reachedAny:o,removeOffset:s,constrain:a}=r;function u(e){return e.concat().sort((e,t)=>
1l(e)-l(t))[0]}function c(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return u(i);let o=i.filter(e=>d(e)===r);return o.length?u(o):h(i)-n}return{byDistance:function(n,r){let u=i.get()+n,{index:d,distance:f}=function(n){let r=e?s(n):a(n),{index:i}=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>l(e.diff)-l(t.diff))[0];return{index:i,distance:r}}(u),h=!e&&o(u);if(!r||h)return{index:d,distance:n};let x=n+c(t[d]-f,0);return{index:d,distance:x}},byIndex:function(e,n){let r=c(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:c}}(H,ey,ep,ew,eD),eA=function(e,t,n,r,i,o,s){function a(i){let a=i.distance,u=i.index!==t.get();o.add(a),a&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),u&&(n.set(t.get()),t.set(i.index),s.emit("select"))}return{distance:function(e,t){a(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);a(i.byIndex(r.get(),n))}}}(eC,ev,eb,eO,eI,eD,c),eP=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(ew),eL=y(),eT=(P={},L=null,T=null,M=!1,{init:function(){A=new IntersectionObserver(e=>{M||(e.forEach(e=>{P[n.indexOf(e.target)]=e}),L=null,T=null,c.emit("slidesInView"))},{root:t.parentElement,threshold:W}
1),n.forEach(e=>A.observe(e))},destroy:function(){A&&A.disconnect(),M=!0},get:function(e=!0){if(e&&L)return L;if(!e&&T)return T;let t=m(P).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=P[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(L=t),e||(T=t),t}}),{slideRegistry:eM}=function(e,t,n,r,i,o){let s,{groupSlides:a}=i,{min:u,max:c}=r;return{slideRegistry:(s=a(o),1===n.length?[o]:e&&"keepSnaps"!==t?s.slice(u,c).map((e,t,n)=>{let r=t===x(n);return t?r?p(x(o)-h(n)[0]+1,h(n)[0]):e:p(h(n[0])+1)}):s)}}(ea,J,ey,eg,ef,ej),eF=function(e,t,n,r,i,o,a,c){let l={passive:!0,capture:!0},d=0;function f(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(h){c&&(o.add(document,"keydown",f,!1),t.forEach((t,f)=>{o.add(t,"focus",t=>{(u(c)||c(h,t))&&function(t){if(new Date().getTime()-d>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));s(o)&&(i.useDuration(0),r.index(o,0),a.emit("slideFocus"))}(f)},l)}))}}}(e,n,eM,eA,eO,eL,c,_),ez={ownerDocument:r,ownerWindow:i,eventHandler:c,containerRect:et,slideRects:en,animation:eC,axis:er,dragHandler:function(e,t,n,r,i,o,s,a,c,f,h,x,p,m,v,b,j,C){let{cross:N,direction:k}=e,S=["INPUT","SELECT","TEXTAREA"],E={passive:!1},D=y(),O=y(),I=w(50,225).constrain(m.measure(20)),A={mouse:300,touch:400},P={mouse:500,touch:600},L=v?43:25,T=!1,M=0,F=0,z=!1,R=!1,B=!1,V=!1;function q(e){if(!g(e,r)&&e.touches.length>=2)return H(e);let t=o.readPoint(e),n=o.readPoint(e,N),s=l(t-M),u=l(n-F);if(!R&&!V&&(!e.cancelable||!(R=s>u)))return H(e);let c=o.pointerMove(e);s>b&&(B=!0),f.useFriction(.3).useDuration(.75),a.start(),i.add(k(c)),e.preventDefault()}function H(e){var t;let n,r,i=h.byDistance(0,!1).index!==x.get(),s=o.pointerUp(e)*(v?P:A)[V?"mouse":"touch"],a=(t=k(s),n=x.add(-1*d(t)),r=h.byDistance(t,!v).distance,v||l(t)<I?r:j&&i?.5*r:h.byIndex(n.get(),0).distance),u=function(e,t){var n,r;if(0===e||0===t||l(e)<=l(t))return 0;let i=(n=l(e),r=l(t),l(n-r));return l(i/e)}(s,a);R=!1,z=!1,O.clear(),f.useDuration(L-10*u).useFriction(.68+u/50),c.distance(a,!v),V=!1,p.emit("pointerUp")}function U(e){B&&(e.stopPropagation(),e.preventDefault(),B=!1)}return{init:function(e){C&&D.add(t,"dragstart",e=>e.preventDefault(),E).add(t,"touchmove",()=>void 0,E).add(t,"touchend",()=>void 0).add(t,"touchstart",a).add(t,"mousedown",a).add(t,"touchcancel",H).add(t,"contextmenu",H).add(t,"click",U,!0);function a(a){(u(C)||C(e,a))&&function(e){let a,u=g(e,r);if((V=u,B=v&&u&&!e.buttons&&T,T=l(i.get()-s.get())>=2,!u||0===e.button)&&(a=e.target.nodeName||"",!S.includes(a))){let r;z=!0,o.pointerDown(e),f.useFriction(0).useDuration(0),i.set(s),r=V?n:t,O.add(r,"touchmove",q,E).add(r,"touchend",H).add(r,"mousemove",q,E).add(r,"mouseup",H),M=o.readPoint(e),F=o.readPoint(e,N),p.emit("pointerDown")}}(a)}},destroy:function(){D.clear(),O.clear()},pointerDown:function(){return z}}}(er,e,r,i,eD,function(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){let i=r||e.scroll,o=`client${"x"===i?"X":"Y"}`;return(g(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){let t=o(e)-o(r),s=i(e)-i(n)>170;return r=e,s&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),s=i(e)-i(n),a=i(e)-i(r)>170,u=t/s;return s&&!a&&l(u)>.1?u:0},readPoint:o}}(er,i),ek,eC,eA,eO,eI,ev,c,eo,$,K,G,Z),eventStore:eL,percentOfView:eo,index:ev,indexPrevious:eb,limit:ew,location:ek,offsetLocation:eE,previousLocation:eS,options:o,resizeHandler:function(e,t,n,r,i,o,s){let a,c,d=[e].concat(r),f=[],h=!1;function x(e){return i.measureSize(s.measure(e))}return{init:function(i){o&&(c=x(e),f=r.map(x),a=new ResizeObserver(n=>{(u(o)||o(i,n))&&function(n){for(let o of n){if(h)return;let n=o.target===e,s=r.indexOf(o.target),a=n?c:f[s];if(l(x(n?e:r[s])-a)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{d.forEach(e=>a.observe(e))}))},destroy:function(){h=!0,a&&a.disconnect()}}}(t,c,i,n,er,X,ee),scrollBody:eO,scrollBounds:function(e,t,n,r,i){let o=i.measure(10),s=i.measure(50),a=w(.1,.99),u=!1;function c(){return!u&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:c,constrain:function(i){if(!c())return;let u=e.reachedMin(t.get())?"min":"max",d=l(e[u]-t.get()),f=n.get()-t.get(),h=a.constrain(d/s);n.subtract(f*h),!i&&l(f)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){u=!e}}}(ew,eE,eD,eO,eo),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:o}=w(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(n.get()):-1===t&&i(n.get())))return;let s=-1*t*e;
1r.forEach(e=>e.add(s))}}}(ep,ew,eE,[ek,eE,eS,eD]),scrollProgress:eP,scrollSnapList:ey.map(eP.get),scrollSnaps:ey,scrollTarget:eI,scrollTo:eA,slideLooper:function(e,t,n,r,i,o,s,a,u){let c=f(i),l=f(i).reverse(),d=p(x(l,s[0]),n,!1).concat(p(x(c,t-s[0]-1),-n,!0));function h(e,t){return e.reduce((e,t)=>e-i[t],t)}function x(e,t){return e.reduce((e,n)=>h(e,t)>0?e.concat([n]):e,[])}function p(i,s,c){let l=o.map((e,n)=>({start:e-r[n]+.5+s,end:e+t-.5+s}));return i.map(t=>{let r=c?0:-n,i=c?n:0,o=l[t][c?"end":"start"];return{index:t,loopPoint:o,slideLocation:v(-1),translate:b(e,u[t]),target:()=>a.get()>o?r:i}})}return{canLoop:function(){return d.every(({index:e})=>.1>=h(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,ep,eu,ec,eh,ey,eE,n),slideFocus:eF,slidesHandler:(z=!1,{init:function(e){Q&&(F=new MutationObserver(t=>{!z&&(u(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(){F&&F.disconnect(),z=!0}}),slidesInView:eT,slideIndexes:ej,slideRegistry:eM,slidesToScroll:ef,target:eD,translate:b(er,t)};return ez}(e,S,E,O,I,n,T);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(U),z([H,...$.map(({options:e})=>e)]).forEach(e=>L.add(e,"change",W)),U.active&&(N.translate.to(N.location.get()),N.animation.init(),N.slidesInView.init(),N.slideFocus.init(X),N.eventHandler.init(X),N.resizeHandler.init(X),N.slidesHandler.init(X),N.options.loop&&N.slideLooper.loop(),S.offsetParent&&E.length&&N.dragHandler.init(X),k=P.init(X,$)))}function W(e,t){let n=J();Y(),K(M({startIndex:n},e),t),T.emit("reInit")}function Y(){N.dragHandler.destroy(),N.eventStore.clear(),N.translate.clear(),N.slideLooper.clear(),N.resizeHandler.destroy(),N.slidesHandler.destroy(),N.slidesInView.destroy(),N.animation.destroy(),P.destroy(),L.clear()}function G(e,t,n){U.active&&!q&&(N.scrollBody.useBaseFriction().useDuration(!0===t?0:U.duration),N.scrollTo.index(e,n||0))}function J(){return N.index.get()}let X={canScrollNext:function(){return N.index.add(1).get()!==J()},canScrollPrev:function(){return N.index.add(-1).get()!==J()},containerNode:function(){return S},internalEngine:function(){return N},destroy:function(){q||(q=!0,L.clear(),Y(),T.emit("destroy"),T.clear())},off:B,on:R,emit:V,plugins:function(){return k},previousScrollSnap:function(){return N.indexPrevious.get()},reInit:W,rootNode:function(){return e},scrollNext:function(e){G(N.index.add(1).get(),e,-1)},scrollPrev:function(e){G(N.index.add(-1).get(),e,1)},scrollProgress:function(){return N.scrollProgress.get(N.offsetLocation.get())},scrollSnapList:function(){return N.scrollSnapList},scrollTo:G,selectedScrollSnap:J,slideNodes:function(){return E},slidesInView:function(){return N.slidesInView.get()},slidesNotInView:function(){return N.slidesInView.get(!1)}};return K(t,n),setTimeout(()=>T.emit("init"),0),X}function N(e={}
1,t=[]){let r=(0,n.useRef)(e),s=(0,n.useRef)(t),[a,u]=(0,n.useState)(),[c,l]=(0,n.useState)(),d=(0,n.useCallback)(()=>{a&&a.reInit(r.current,s.current)},[a]);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=o(e),r=o(t);return n.every((e,t)=>i(e,r[t]))}(s.current,t)&&(s.current=t,d())},[t,d]),(0,n.useEffect)(()=>{if("u">typeof window&&window.document&&window.document.createElement&&c){C.globalOptions=N.globalOptions;let e=C(c,r.current,s.current);return u(e),()=>e.destroy()}u(void 0)},[c,u]),[l,a]}C.globalOptions=void 0,N.globalOptions=void 0;var k=e.i(647163),S=e.i(530549);let E=n.createContext(null);function D(){let e=n.useContext(E);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let O=n.forwardRef(({orientation:e="horizontal",opts:r,setApi:i,plugins:o,className:s,children:a,...u},c)=>{let[l,d]=N({...r,axis:"horizontal"===e?"x":"y"},o),[f,h]=n.useState(!1),[x,p]=n.useState(!1),m=n.useCallback(e=>{e&&(h(e.canScrollPrev()),p(e.canScrollNext()))},[]),g=n.useCallback(()=>{console.log("scrolled prev"),d?.scrollPrev()},[d]),y=n.useCallback(()=>{console.log("scrolled next"),d?.scrollNext()},[d]),w=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),g()):"ArrowRight"===e.key&&(e.preventDefault(),y())},[g,y]);return n.useEffect(()=>{d&&i&&i(d)},[d,i]),n.useEffect(()=>{if(d)return m(d),d.on("reInit",m),d.on("select",m),()=>{d?.off("select",m)}},[d,m]),(0,t.jsx)(E.Provider,{value:{carouselRef:l,api:d,opts:r,orientation:e||(r?.axis==="y"?"vertical":"horizontal"),scrollPrev:g,scrollNext:y,canScrollPrev:f,canScrollNext:x},children:(0,t.jsx)("div",{ref:c,onKeyDownCapture:w,className:(0,k.cn)("relative",s),role:"region","aria-roledescription":"carousel",...u,children:a})})});O.displayName="Carousel";let I=n.forwardRef(({className:e,...n},r)=>{let{carouselRef:i,orientation:o}=D();return(0,t.jsx)("div",{ref:i,className:"overflow-hidden",children:(0,t.jsx)("div",{ref:r,className:(0,k.cn)("flex","horizontal"===o?"-ml-4":"-mt-4 flex-col",e),...n})})});I.displayName="CarouselContent";let A=n.forwardRef(({className:e,...n},r)=>{let{orientation:i}=D();return(0,t.jsx)("div",{ref:r,role:"group","aria-roledescription":"slide",className:(0,k.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===i?"pl-4":"pt-4",e),...n})});A.displayName="CarouselItem";let P=n.forwardRef(({className:e,variant:n="outline",size:r="icon",...i},o)=>{let{orientation:s,scrollPrev:a,canScrollPrev:u}=D();return(0,t.jsxs)(S.Button,{ref:o,variant:n,size:r,className:(0,k.cn)("horizontal"===s?"top-1/2 -left-10 md:-left-14 -translate-y-1/2 active:-translate-y-1 w-8 h-9 md:w-9 md:h-10 ":"-top-12 left-1/2 -translate-x-1/2 rotate-90 w-8 h-10 md:w-9 md:h-11","absolute rounded-none aspect-square grid place-items-center",e),disabled:!u,onClick:a,...i,children:[(0,t.jsxs)("svg",{width:"50",height:"50",viewBox:"0 0 256 256",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",strokeWidth:"0.25",color:"currentColor","aria-label":"arrow-left",children:[(0,t.jsx)("rect",{x:"64",y:"120",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"96",y:"120",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"80",y:"120",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"112",y:"120",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"144",y:"120",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"160",y:"120",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"80",y:"104",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"96",y:"88",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"112",y:"72",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"80",y:"136",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"96",y:"152",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"112",y:"168",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"176",y:"120",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"128",y:"120",width:"14",height:"14",rx:"1"})]}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});
1P.displayName="CarouselPrevious";let L=n.forwardRef(({className:e,variant:n="outline",size:r="icon",...i},o)=>{let{orientation:s,scrollNext:a,canScrollNext:u}=D();return(0,t.jsxs)(S.Button,{ref:o,variant:n,size:r,className:(0,k.cn)("horizontal"===s?"top-1/2 -right-10 md:-right-14 -translate-y-1/2 active:-translate-y-1 aspect-square shrink-0 w-8 h-9 md:w-9 md:h-10 ":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90 w-8 h-10 md:w-9 md:h-11","absolute rounded-none aspect-square grid place-items-center",e),disabled:!u,onClick:a,...i,children:[(0,t.jsxs)("svg",{width:"50",height:"50",viewBox:"0 0 256 256",fill:"currentColor",className:"block",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",strokeWidth:"0.25",color:"currentColor","aria-label":"arrow-right",children:[(0,t.jsx)("rect",{x:"64",y:"120",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"96",y:"120",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"80",y:"120",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"112",y:"120",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"144",y:"120",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"160",y:"120",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"160",y:"136",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"144",y:"152",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"128",y:"72",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"128",y:"168",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"176",y:"120",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"160",y:"104",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"144",y:"88",width:"14",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"128",y:"120",width:"14",height:"14",rx:"1"})]}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})});L.displayName="CarouselNext",e.s(["Carousel",0,O,"CarouselContent",0,I,"CarouselItem",0,A,"CarouselNext",0,L,"CarouselPrevious",0,P],431218)}]);
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.