1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95309,e=>{"use strict";var t=e.i(331802),n=e.i(659223),r=e.i(72334),o=e.i(326190),i=e.i(494706);let s="pointer-events-auto size-8 md:size-9 lg:size-12 !top-72 !translate-y-0 md:!top-1/2 md:!-translate-y-1/2 bg-background hover:bg-background border-border shadow-[0_1px_4px_0_var(--shadow-2xs)] [&_svg]:size-4 lg:[&_svg]:size-6 [&_svg]:text-primary-foreground";e.s(["CarouselBannerTemplateA",0,function({children:e}){let u=(0,n.useRef)((0,r.default)({delay:5e3,stopOnInteraction:!1,stopOnMouseEnter:!0})),l=n.Children.toArray(e),a=(0,i.useHeroSlideChangeSignal)();return(0,t.jsx)("section",{"aria-label":"Featured promotions",className:"w-full",children:(0,t.jsxs)(o.Carousel,{opts:{loop:!0},plugins:[u.current],setApi:a,className:"relative",children:[(0,t.jsx)(o.CarouselContent,{className:"ml-0",children:l.map((e,n)=>(0,t.jsx)(o.CarouselItem,{className:"flex pl-0",children:e},n))}),l.length>1&&(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-x-0 top-0 bottom-0",children:[(0,t.jsx)(o.CarouselPrevious,{className:`${s} !left-4 lg:!left-5 2xl:!left-[33px]`}),(0,t.jsx)(o.CarouselNext,{className:`${s} !right-4 lg:!right-5`})]})]})})}])},512612,e=>{"use strict";var t=e.i(331802),n=e.i(659223),r=e.i(72334),o=e.i(326190),i=e.i(494706);let s="pointer-events-auto size-8 md:size-9 lg:size-12 !top-66 !translate-y-0 md:!top-1/2 md:!-translate-y-1/2 bg-background hover:bg-background border-border shadow-[0_1px_4px_0_var(--shadow-2xs)] [&_svg]:size-4 lg:[&_svg]:size-6 [&_svg]:text-primary-foreground";e.s(["CarouselBannerTemplateB",0,function({children:e}){let u=(0,n.useRef)((0,r.default)({delay:5e3,stopOnInteraction:!1,stopOnMouseEnter:!0})),l=n.Children.toArray(e),a=(0,i.useHeroSlideChangeSignal)();return(0,t.jsx)("section",{"aria-label":"Featured promotions",className:"mx-auto w-full max-w-8xl md:p-4 lg:p-10",children:(0,t.jsxs)(o.Carousel,{opts:{loop:!0},plugins:[u.current],setApi:a,className:"relative",children:[(0,t.jsx)(o.CarouselContent,{className:"ml-0 md:rounded-2xl",children:l.map((e,n)=>(0,t.jsx)(o.CarouselItem,{className:"flex pl-0",children:e},n))}),l.length>1&&(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-x-0 top-0 bottom-0",children:[(0,t.jsx)(o.CarouselPrevious,{className:`${s} !left-4 lg:!left-[30px]`}),(0,t.jsx)(o.CarouselNext,{className:`${s} !right-4 lg:!right-[30px]`})]})]})})}])},155112,e=>{"use strict";var t=e.i(331802),n=e.i(659223),r=e.i(72334),o=e.i(326190),i=e.i(494706);let s="pointer-events-auto size-8 md:size-9 lg:size-12 !top-66 !translate-y-0 md:!top-1/2 md:!-translate-y-1/2 lg:!top-[calc(50%_+_40px)] bg-background hover:bg-background border-border shadow-[0_1px_4px_0_var(--shadow-2xs)] [&_svg]:size-4 lg:[&_svg]:size-6 [&_svg]:text-primary-foreground";e.s(["CarouselBannerTemplateC",0,function({children:e}){let u=(0,n.useRef)((0,r.default)({delay:5e3,stopOnInteraction:!1,stopOnMouseEnter:!0})),l=n.Children.toArray(e),a=(0,i.useHeroSlideChangeSignal)();return(0,t.jsxs)("section",{"aria-label":"Featured promotions",className:"relative w-full lg:m-0 lg:-mt-39 lg:p-0",children:[(0,t.jsxs)(o.Carousel,{opts:{loop:!0},plugins:[u.current],setApi:a,className:"relative",children:[(0,t.jsx)(o.CarouselContent,{className:"ml-0",children:l.map((e,n)=>(0,t.jsx)(o.CarouselItem,{className:"flex pl-0",children:e},n))}),l.length>1&&(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-x-0 top-0 bottom-0",children:[(0,t.jsx)(o.CarouselPrevious,{className:`${s} !left-4 lg:!left-7.5`}),(0,t.jsx)(o.CarouselNext,{className:`${s} !right-4 lg:!right-7.5`})]})]}),(0,t.jsx)("div",{"data-hero-sentinel":!0,"aria-hidden":!0,className:"pointer-events-none absolute right-0 bottom-0 left-0 hidden h-px lg:block"})]})}])},72334,326190,494706,e=>{"use strict";let t={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function n(e={}){let r,o,i,s,u=null,l=0,a=!1,c=!1,d=!1,f=!1;function p(){if(!i){if(h()){d=!0;return}a||o.emit("autoplay:play"),function(){let{ownerWindow:e}=o.internalEngine();e.clearTimeout(l),l=e.setTimeout(w,s[o.selectedScrollSnap()]),u=new Date().getTime(),o.emit("autoplay:timerset")}(),a=!0}}function m(){i||(a&&o.emit("autoplay:stop"),function(){let{ownerWindow:e}=o.internalEngine();
1e.clearTimeout(l),l=0,u=null,o.emit("autoplay:timerstopped")}(),a=!1)}function g(){if(h())return d=a,m();d&&p()}function h(){let{ownerDocument:e}=o.internalEngine();return"hidden"===e.visibilityState}function x(){c||m()}function v(){c||p()}function b(){c=!0,m()}function y(){c=!1,p()}function w(){let{index:e}=o.internalEngine(),t=e.clone().add(1).get(),n=o.scrollSnapList().length-1,i=r.stopOnLastSnap&&t===n;if(o.canScrollNext()?o.scrollNext(f):o.scrollTo(0,f),o.emit("autoplay:select"),i)return m();p()}return{name:"autoplay",options:e,init:function(u,l){var a,c,d,h;let w,S;o=u;let{mergeOptions:N,optionsAtMedia:C}=l,O=N(t,n.globalOptions);if(r=C(N(O,e)),o.scrollSnapList().length<=1)return;f=r.jump,i=!1,a=o,c=r.delay,w=a.scrollSnapList(),s="number"==typeof c?w.map(()=>c):c(w,a);let{eventStore:j,ownerDocument:E}=o.internalEngine(),I=!!o.internalEngine().options.watchDrag,k=(d=o,h=r.rootNode,S=d.rootNode(),h&&h(S)||S);j.add(E,"visibilitychange",g),I&&o.on("pointerDown",x),I&&!r.stopOnInteraction&&o.on("pointerUp",v),r.stopOnMouseEnter&&j.add(k,"mouseenter",b),r.stopOnMouseEnter&&!r.stopOnInteraction&&j.add(k,"mouseleave",y),r.stopOnFocusIn&&o.on("slideFocusStart",m),r.stopOnFocusIn&&!r.stopOnInteraction&&j.add(o.containerNode(),"focusout",p),r.playOnInit&&p()},destroy:function(){o.off("pointerDown",x).off("pointerUp",v).off("slideFocusStart",m),m(),i=!0,a=!1},play:function(e){void 0!==e&&(f=e),p()},stop:function(){a&&m()},reset:function(){a&&p()},isPlaying:function(){return a},timeUntilNext:function(){return u?s[o.selectedScrollSnap()]-(new Date().getTime()-u):null}}}n.globalOptions=void 0,e.s(["default",0,n],72334);var r=e.i(331802),o=e.i(659223);function i(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function s(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],o=t[n];return"function"==typeof r?`${r}`==`${o}`:i(r)&&i(o)?s(r,o):r===o})}function u(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function l(e){return"number"==typeof e}function a(e){return"string"==typeof e}function c(e){return"boolean"==typeof e}function d(e){return"[object Object]"===Object.prototype.toString.call(e)}function f(e){return Math.abs(e)}function p(e){return Math.sign(e)}function m(e){return v(e).map(Number)}function g(e){return e[h(e)]}function h(e){return Math.max(0,e.length-1)}function x(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function v(e){return Object.keys(e)}function b(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function y(){let e=[],t={add:function(n,r,o,i={passive:!0}){let s;return"addEventListener"in n?(n.addEventListener(r,o,i),s=()=>n.removeEventListener(r,o,i)):(n.addListener(o),s=()=>n.removeListener(o)),e.push(s),t},clear:function(){e=e.filter(e=>e())}};return t}function w(e=0,t=0){let n=f(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 S(e){let t=e;function n(e){return l(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 N(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,o=null,i=!1;return{clear:function(){!i&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(i)return;let s=Math.round(100*e.direction(t))/100;s!==o&&(r.transform=n(s),o=s)},toggleActive:function(e){i=!e}}}let C={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 O(e,t,n){let r,o,i,s,u,j,E,I,k=e.ownerDocument,z=k.defaultView,A=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>
1(v(n).forEach(r=>{let o=t[r],i=n[r],s=d(o)&&d(i);t[r]=s?e(o,i):i}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},o=v(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,o)},optionsMediaQueries:function(t){return t.map(e=>v(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(z),D=(I=[],{init:function(e,t){return(I=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(){I=I.filter(e=>e.destroy())}}),L=y(),T=(o={},i={init:function(e){r=e},emit:function(e){return(o[e]||[]).forEach(t=>t(r,e)),i},off:function(e,t){return o[e]=(o[e]||[]).filter(e=>e!==t),i},on:function(e,t){return o[e]=(o[e]||[]).concat([t]),i},clear:function(){o={}}}),{mergeOptions:F,optionsAtMedia:_,optionsMediaQueries:M}=A,{on:P,off:H,emit:B}=T,R=!1,$=F(C,O.globalOptions),V=F($),U=[];function q(t,n){R||(V=_($=F($,t)),U=n||U,function(){let{container:t,slides:n}=V;j=(a(t)?e.querySelector(t):t)||e.children[0];let r=a(n)?j.querySelectorAll(n):n;E=[].slice.call(r||j.children)}(),s=function t(n){let r=function(e,t,n,r,o,i,s){var u,d;let C,O,j,E,I,k,z,A,D,L,T,F,_,M,{align:P,axis:H,direction:B,startIndex:R,loop:$,duration:V,dragFree:U,dragThreshold:q,inViewThreshold:K,slidesToScroll:J,skipSnaps:X,containScroll:G,watchResize:Q,watchSlides:Y,watchDrag:W,watchFocus:Z}=i,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:o}=e;return{top:t,right:n+r,bottom:t+o,left:n,width:r,height:o}}},et=ee.measure(t),en=n.map(ee.measure),er=(O="rtl"===B,E=(j="y"===H)||!O?1:-1,I=j?"top":O?"right":"left",k=j?"bottom":O?"left":"right",{scroll:j?"y":"x",cross:j?"x":"y",startEdge:I,endEdge:k,measureSize:function(e){let{height:t,width:n}=e;return j?t:n},direction:function(e){return e*E}}),eo=er.measureSize(et),ei={measure:function(e){return e/100*eo}},es=(u=P,d=eo,C={start:function(){return 0},center:function(e){return(d-e)/2},end:function(e){return d-e}},{measure:function(e,t){return a(u)?C[u](e):u(d,e,t)}}),eu=!$&&!!G,{slideSizes:el,slideSizesWithGaps:ea,startGap:ec,endGap:ed}=function(e,t,n,r,o,i){let{measureSize:s,startEdge:u,endEdge:l}=e,a=n[0]&&o,c=function(){if(!a)return 0;let e=n[0];return f(t[u]-e[u])}(),d=a?parseFloat(i.getComputedStyle(g(r)).getPropertyValue(`margin-${l}`)):0,p=n.map(s),m=n.map((e,t,n)=>{let r=t===h(n);return t?r?p[t]+d:n[t+1][u]-e[u]:p[t]+c}).map(f);return{slideSizes:p,slideSizesWithGaps:m,startGap:c,endGap:d}}(er,et,en,n,$||!!G,o),ef=function(e,t,n,r,o,i,s,u){let{startEdge:a,endEdge:c,direction:d}=e,p=l(n);return{groupSlides:function(e){return p?m(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?m(e).reduce((n,l,p)=>{let m=g(n)||0,x=l===h(e),v=o[a]-i[m][a],b=o[a]-i[l][c],y=r||0!==m?0:d(s),w=f(b-(!r&&x?d(u):0)-(v+y));return p&&w>t+2&&n.push(l),x&&n.push(e.length),n},[]).map((t,n,r)=>{let o=Math.max(r[n-1]||0);return e.slice(o,t)}):[]}}}(er,eo,J,$,et,en,ec,ed),{snaps:ep,snapsAligned:em}=function(e,t,n,r,o){let{startEdge:i,endEdge:s}=e,{groupSlides:u}=o,l=u(r).map(e=>g(e)[s]-e[0][i]).map(f).map(t.measure),a=r.map(e=>n[i]-e[i]).map(e=>-f(e)),c=u(a).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:a,snapsAligned:c}}(er,es,et,en,ef),eg=-g(ep)+g(ea),{snapsContained:eh,scrollContainLimit:ex}=function(e,t,n,r){let o,i,s=w(-t+e,0),u=n.map((e,t)=>{let{min:r,max:o}=s,i=s.constrain(e),u=t===h(n);return t?u||function(e,t){return 1>=f(e-t)}(r,i)?r:function(e,t){return 1>=f(e-t)}(o,i)?o:i:o}).map(e=>parseFloat(e.toFixed(3))),l=(o=u[0],i=g(u),w(u.lastIndexOf(o),u.indexOf(i)+1));return{snapsContained:function(){if(t<=e+2)return[s.max];if("keepSnaps"===r)return u;let{min:n,max:o}=l;return u.slice(n,o)}(),scrollContainLimit:l}}(eo,eg,em,G),ev=eu?eh:em,{limit:eb}=(z=ev[0],{limit:w($?z-eg:g(ev),z)}),ey=function e(t,n,r){let{constrain:o}=w(0,t),i=t+1,s=u(n);function u(e){return r?f((i+e)%i):o(e)}function l(){return e(t,s,r)}let a={get:function(){return s},set:function(e){return s=u(e),a},add:function(e){return l().set(s+e)},clone:l};return a}(h(ev),R,$),ew=ey.clone(),eS=m(n),eN=function(e,t,n,r){let o=y(),i=1e3/60,s=null,u=0,l=0;function a(e){if(!l)return;s||(s=e,n(),n());let o=e-s;for(s=e,u+=o;u>=i;)n(),u-=i;r(u/i),l&&(l=t.requestAnimationFrame(a))}function c(){t.cancelAnimationFrame(l),s=null,u=0,l=0}return{init:function(){o.add(e,"visibilitychange",()=>{e.hidden&&(s=null,u=0)})},destroy:function(){c(),o.clear()},start:function(){l||(l=t.requestAnimationFrame(a))},stop:c,update:n,render:r}}(r,o,()=>(({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:o,scrollLooper:i,slideLooper:s,dragHandler:u,animation:l,eventHandler:a,scrollBounds:c,options:{loop:d}},f)=>{let p=e.settled(),m=!c.shouldConstrain(),g=d?p:p&&m,h=g&&!u.pointerDown();h&&l.stop();let x=n.get()*f+o.get()*(1-f);r.set(x),d&&(i.loop(e.direction()),s.loop()),t.to(r.get()),h&&a.emit("settle"),g||a.emit("scroll")})(eM,e)),eC=ev[ey.get()],eO=S(eC),ej=S(eC),eE=S(eC),eI=S(eC),ek=function(e,t,n,r,o){let i=0,s=0,u=o,l=.68,a=e.get(),c=0;function d(e){return u=e,g}function m(e){return l=e,g}let g={direction:function(){return s},duration:function(){return u},velocity:function(){return i},seek:function(){let t=r.get()-e.get(),o=0;return u?(n.set(e),i+=t/u,i*=l,a+=i,e.add(i),o=a-c):(i=0,n.set(r),e.set(r),o=t),s=p(o),c=a,g},settled:function(){return .001>f(r.get()-t.get())},useBaseFriction:function(){return m(.68)},useBaseDuration:function(){return d(o)},useFriction:m,useDuration:d};return g}(eO,eE,ej,eI,V),ez=function(e,t,n,r,o){let{reachedAny:i,removeOffset:s,constrain:u}=r;function l(e){return e.concat().sort((e,t)=>
1f(e)-f(t))[0]}function a(t,r){let o=[t,t+n,t-n];if(!e)return t;if(!r)return l(o);let i=o.filter(e=>p(e)===r);return i.length?l(i):g(o)-n}return{byDistance:function(n,r){let l=o.get()+n,{index:c,distance:d}=function(n){let r=e?s(n):u(n),{index:o}=t.map((e,t)=>({diff:a(e-r,0),index:t})).sort((e,t)=>f(e.diff)-f(t.diff))[0];return{index:o,distance:r}}(l),p=!e&&i(l);if(!r||p)return{index:c,distance:n};let m=n+a(t[c]-d,0);return{index:c,distance:m}},byIndex:function(e,n){let r=a(t[e]-o.get(),n);return{index:e,distance:r}},shortcut:a}}($,ev,eg,eb,eI),eA=function(e,t,n,r,o,i,s){function u(o){let u=o.distance,l=o.index!==t.get();i.add(u),u&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(n.set(t.get()),t.set(o.index),s.emit("select"))}return{distance:function(e,t){u(o.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);u(o.byIndex(r.get(),n))}}}(eN,ey,ew,ek,ez,eI,s),eD=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eb),eL=y(),eT=(D={},L=null,T=null,F=!1,{init:function(){A=new IntersectionObserver(e=>{F||(e.forEach(e=>{D[n.indexOf(e.target)]=e}),L=null,T=null,s.emit("slidesInView"))},{root:t.parentElement,threshold:K}),n.forEach(e=>A.observe(e))},destroy:function(){A&&A.disconnect(),F=!0},get:function(e=!0){if(e&&L)return L;if(!e&&T)return T;let t=v(D).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:o}=D[r];return(e&&o||!e&&!o)&&t.push(r),t},[]);return e&&(L=t),e||(T=t),t}}),{slideRegistry:eF}=function(e,t,n,r,o,i){let s,{groupSlides:u}=o,{min:l,max:a}=r;return{slideRegistry:(s=u(i),1===n.length?[i]:e&&"keepSnaps"!==t?s.slice(l,a).map((e,t,n)=>{let r=t===h(n);return t?r?x(h(i)-g(n)[0]+1,g(n)[0]):e:x(g(n[0])+1)}):s)}}(eu,G,ev,ex,ef,eS),e_=function(e,t,n,r,o,i,s,u){let a={passive:!0,capture:!0},d=0;function f(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(p){u&&(i.add(document,"keydown",f,!1),t.forEach((t,f)=>{i.add(t,"focus",t=>{(c(u)||u(p,t))&&function(t){if(new Date().getTime()-d>10)return;s.emit("slideFocusStart"),e.scrollLeft=0;let i=n.findIndex(e=>e.includes(t));l(i)&&(o.useDuration(0),r.index(i,0),s.emit("slideFocus"))}(f)},a)}))}}}(e,n,eF,eA,ek,eL,s,Z),eM={ownerDocument:r,ownerWindow:o,eventHandler:s,containerRect:et,slideRects:en,animation:eN,axis:er,dragHandler:function(e,t,n,r,o,i,s,u,l,a,d,m,g,h,x,v,S,N){let{cross:C,direction:O}=e,j=["INPUT","SELECT","TEXTAREA"],E={passive:!1},I=y(),k=y(),z=w(50,225).constrain(h.measure(20)),A={mouse:300,touch:400},D={mouse:500,touch:600},L=x?43:25,T=!1,F=0,_=0,M=!1,P=!1,H=!1,B=!1;function R(e){if(!b(e,r)&&e.touches.length>=2)return $(e);let t=i.readPoint(e),n=i.readPoint(e,C),s=f(t-F),l=f(n-_);if(!P&&!B&&(!e.cancelable||!(P=s>l)))return $(e);let c=i.pointerMove(e);s>v&&(H=!0),a.useFriction(.3).useDuration(.75),u.start(),o.add(O(c)),e.preventDefault()}function $(e){var t;let n,r,o=d.byDistance(0,!1).index!==m.get(),s=i.pointerUp(e)*(x?D:A)[B?"mouse":"touch"],u=(t=O(s),n=m.add(-1*p(t)),r=d.byDistance(t,!x).distance,x||f(t)<z?r:S&&o?.5*r:d.byIndex(n.get(),0).distance),c=function(e,t){var n,r;if(0===e||0===t||f(e)<=f(t))return 0;let o=(n=f(e),r=f(t),f(n-r));return f(o/e)}(s,u);P=!1,M=!1,k.clear(),a.useDuration(L-10*c).useFriction(.68+c/50),l.distance(u,!x),B=!1,g.emit("pointerUp")}function V(e){H&&(e.stopPropagation(),e.preventDefault(),H=!1)}return{init:function(e){N&&I.add(t,"dragstart",e=>e.preventDefault(),E).add(t,"touchmove",()=>void 0,E).add(t,"touchend",()=>void 0).add(t,"touchstart",u).add(t,"mousedown",u).add(t,"touchcancel",$).add(t,"contextmenu",$).add(t,"click",V,!0);function u(u){(c(N)||N(e,u))&&function(e){let u,l=b(e,r);if((B=l,H=x&&l&&!e.buttons&&T,T=f(o.get()-s.get())>=2,!l||0===e.button)&&(u=e.target.nodeName||"",!j.includes(u))){let r;M=!0,i.pointerDown(e),a.useFriction(0).useDuration(0),o.set(s),r=B?n:t,k.add(r,"touchmove",R,E).add(r,"touchend",$).add(r,"mousemove",R,E).add(r,"mouseup",$),F=i.readPoint(e),_=i.readPoint(e,C),g.emit("pointerDown")}}(u)}},destroy:function(){I.clear(),k.clear()},pointerDown:function(){return M}}}(er,e,r,o,eI,function(e,t){let n,r;function o(e){return e.timeStamp}function i(n,r){let o=r||e.scroll,i=`client${"x"===o?"X":"Y"}`;return(b(n,t)?n:n.touches[0])[i]}return{pointerDown:function(e){return n=e,r=e,i(e)},pointerMove:function(e){let t=i(e)-i(r),s=o(e)-o(n)>170;return r=e,s&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=i(r)-i(n),s=o(e)-o(n),u=o(e)-o(r)>170,l=t/s;return s&&!u&&f(l)>.1?l:0},readPoint:i}}(er,o),eO,eN,eA,ek,ez,ey,s,ei,U,q,X,W),eventStore:eL,percentOfView:ei,index:ey,indexPrevious:ew,limit:eb,location:eO,offsetLocation:eE,previousLocation:ej,options:i,resizeHandler:function(e,t,n,r,o,i,s){let u,l,a=[e].concat(r),d=[],p=!1;function m(e){return o.measureSize(s.measure(e))}
1return{init:function(o){i&&(l=m(e),d=r.map(m),u=new ResizeObserver(n=>{(c(i)||i(o,n))&&function(n){for(let i of n){if(p)return;let n=i.target===e,s=r.indexOf(i.target),u=n?l:d[s];if(f(m(n?e:r[s])-u)>=.5){o.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{a.forEach(e=>u.observe(e))}))},destroy:function(){p=!0,u&&u.disconnect()}}}(t,s,o,n,er,Q,ee),scrollBody:ek,scrollBounds:function(e,t,n,r,o){let i=o.measure(10),s=o.measure(50),u=w(.1,.99),l=!1;function a(){return!l&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:a,constrain:function(o){if(!a())return;let l=e.reachedMin(t.get())?"min":"max",c=f(e[l]-t.get()),d=n.get()-t.get(),p=u.constrain(c/s);n.subtract(d*p),!o&&f(d)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}(eb,eE,eI,ek,ei),scrollLooper:function(e,t,n,r){let{reachedMin:o,reachedMax:i}=w(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?i(n.get()):-1===t&&o(n.get())))return;let s=-1*t*e;r.forEach(e=>e.add(s))}}}(eg,eb,eE,[eO,eE,ej,eI]),scrollProgress:eD,scrollSnapList:ev.map(eD.get),scrollSnaps:ev,scrollTarget:ez,scrollTo:eA,slideLooper:function(e,t,n,r,o,i,s,u,l){let a=m(o),c=m(o).reverse(),d=g(p(c,s[0]),n,!1).concat(g(p(a,t-s[0]-1),-n,!0));function f(e,t){return e.reduce((e,t)=>e-o[t],t)}function p(e,t){return e.reduce((e,n)=>f(e,t)>0?e.concat([n]):e,[])}function g(o,s,a){let c=i.map((e,n)=>({start:e-r[n]+.5+s,end:e+t-.5+s}));return o.map(t=>{let r=a?0:-n,o=a?n:0,i=c[t][a?"end":"start"];return{index:t,loopPoint:i,slideLocation:S(-1),translate:N(e,l[t]),target:()=>u.get()>i?r:o}})}return{canLoop:function(){return d.every(({index:e})=>.1>=f(a.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,o=t();o!==r.get()&&(n.to(o),r.set(o))})},loopPoints:d}}(er,eo,eg,el,ea,ep,ev,eE,n),slideFocus:e_,slidesHandler:(M=!1,{init:function(e){Y&&(_=new MutationObserver(t=>{!M&&(c(Y)||Y(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),s.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){_&&_.disconnect(),M=!0}}),slidesInView:eT,slideIndexes:eS,slideRegistry:eF,slidesToScroll:ef,target:eI,translate:N(er,t)};return eM}(e,j,E,k,z,n,T);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(V),M([$,...U.map(({options:e})=>e)]).forEach(e=>L.add(e,"change",K)),V.active&&(s.translate.to(s.location.get()),s.animation.init(),s.slidesInView.init(),s.slideFocus.init(Q),s.eventHandler.init(Q),s.resizeHandler.init(Q),s.slidesHandler.init(Q),s.options.loop&&s.slideLooper.loop(),j.offsetParent&&E.length&&s.dragHandler.init(Q),u=D.init(Q,U)))}function K(e,t){let n=G();J(),q(F({startIndex:n},e),t),T.emit("reInit")}function J(){s.dragHandler.destroy(),s.eventStore.clear(),s.translate.clear(),s.slideLooper.clear(),s.resizeHandler.destroy(),s.slidesHandler.destroy(),s.slidesInView.destroy(),s.animation.destroy(),D.destroy(),L.clear()}function X(e,t,n){V.active&&!R&&(s.scrollBody.useBaseFriction().useDuration(!0===t?0:V.duration),s.scrollTo.index(e,n||0))}function G(){return s.index.get()}let Q={canScrollNext:function(){return s.index.add(1).get()!==G()},canScrollPrev:function(){return s.index.add(-1).get()!==G()},containerNode:function(){return j},internalEngine:function(){return s},destroy:function(){R||(R=!0,L.clear(),J(),T.emit("destroy"),T.clear())},off:H,on:P,emit:B,plugins:function(){return u},previousScrollSnap:function(){return s.indexPrevious.get()},reInit:K,rootNode:function(){return e},scrollNext:function(e){X(s.index.add(1).get(),e,-1)},scrollPrev:function(e){X(s.index.add(-1).get(),e,1)},scrollProgress:function(){return s.scrollProgress.get(s.offsetLocation.get())},scrollSnapList:function(){return s.scrollSnapList},scrollTo:X,selectedScrollSnap:G,slideNodes:function(){return E},slidesInView:function(){return s.slidesInView.get()},slidesNotInView:function(){return s.slidesInView.get(!1)}};return q(t,n),setTimeout(()=>T.emit("init"),0),Q}function j(e={},t=[]){let n=(0,o.useRef)(e),r=(0,o.useRef)(t),[i,l]=(0,o.useState)(),[a,c]=(0,o.useState)(),d=(0,o.useCallback)(()=>{i&&i.reInit(n.current,r.current)},[i]);return(0,o.useEffect)(()=>{s(n.current,e)||(n.current=e,d())},[e,d]),(0,o.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=u(e),r=u(t);return n.every((e,t)=>s(e,r[t]))}(r.current,t)&&(r.current=t,d())},[t,d]),(0,o.useEffect)(()=>
1{if("u">typeof window&&window.document&&window.document.createElement&&a){O.globalOptions=j.globalOptions;let e=O(a,n.current,r.current);return l(e),()=>e.destroy()}l(void 0)},[a,l]),[c,i]}O.globalOptions=void 0,j.globalOptions=void 0;var E=e.i(924676),I=e.i(457223),k=e.i(439361),z=e.i(782450);let A=o.createContext(null);function D(){let e=o.useContext(A);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}e.s(["Carousel",0,function({orientation:e="horizontal",opts:t,setApi:n,plugins:i,className:s,children:u,...l}){let[a,c]=j({...t,axis:"horizontal"===e?"x":"y"},i),[d,f]=o.useState(!1),[p,m]=o.useState(!1),g=o.useCallback(e=>{e&&(f(e.canScrollPrev()),m(e.canScrollNext()))},[]),h=o.useCallback(()=>{c?.scrollPrev()},[c]),x=o.useCallback(()=>{c?.scrollNext()},[c]),v=o.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),h()):"ArrowRight"===e.key&&(e.preventDefault(),x())},[h,x]);return o.useEffect(()=>{c&&n&&n(c)},[c,n]),o.useEffect(()=>{if(c)return g(c),c.on("reInit",g),c.on("select",g),()=>{c?.off("select",g)}},[c,g]),(0,r.jsx)(A.Provider,{value:{carouselRef:a,api:c,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:h,scrollNext:x,canScrollPrev:d,canScrollNext:p},children:(0,r.jsx)("div",{onKeyDownCapture:v,className:(0,k.cn)("relative",s),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...l,children:u})})},"CarouselContent",0,function({className:e,...t}){let{carouselRef:n,orientation:o}=D();return(0,r.jsx)("div",{ref:n,className:"overflow-hidden","data-slot":"carousel-content",children:(0,r.jsx)("div",{className:(0,k.cn)("flex","horizontal"===o?"-ml-4":"-mt-4 flex-col",e),...t})})},"CarouselItem",0,function({className:e,...t}){let{orientation:n}=D();return(0,r.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:(0,k.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===n?"pl-4":"pt-4",e),...t})},"CarouselNext",0,function({className:e,variant:t="outline",size:n="icon",...o}){let{orientation:i,scrollNext:s,canScrollNext:u}=D();return(0,r.jsxs)(z.Button,{"data-slot":"carousel-next",variant:t,size:n,className:(0,k.cn)("absolute size-8 rounded-full","horizontal"===i?"top-1/2 -right-12 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!u,onClick:s,...o,children:[(0,r.jsx)(I.ArrowRight,{}),(0,r.jsx)("span",{className:"sr-only",children:"Next slide"})]})},"CarouselPrevious",0,function({className:e,variant:t="outline",size:n="icon",...o}){let{orientation:i,scrollPrev:s,canScrollPrev:u}=D();return(0,r.jsxs)(z.Button,{"data-slot":"carousel-previous",variant:t,size:n,className:(0,k.cn)("absolute size-8 rounded-full","horizontal"===i?"top-1/2 -left-12 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!u,onClick:s,...o,children:[(0,r.jsx)(E.ArrowLeft,{}),(0,r.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}],326190);var L=e.i(764554);e.s(["useHeroSlideChangeSignal",0,function(){let[e,t]=(0,o.useState)();return(0,o.useEffect)(()=>{if(!e)return;let t=()=>window.dispatchEvent(new Event(L.HERO_BACKDROP_CHANGE_EVENT));return e.on("select",t),()=>{e.off("select",t)}},[e]),t}],494706)}]);
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.