1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,773921,e=>{"use strict";var t=e.i(843476),n=e.i(271645),o=e.i(737762),i=e.i(130013),r=e.i(647163),a=e.i(474958);e.s(["HeroCarousel",0,function({slides:e,slideDuration:l}){let s=(0,n.useRef)((0,o.default)({delay:l,playOnInit:!1,stopOnFocusIn:!0,stopOnInteraction:!1,stopOnMouseEnter:!0})),[c,u]=(0,i.default)({loop:!0,duration:30},[s.current]),[d,f]=(0,n.useState)(0);return(0,n.useEffect)(()=>{if(!u)return;let e=()=>f(u.selectedScrollSnap());e(),u.on("select",e);let t=window.setTimeout(()=>s.current.play(),12e3);return()=>{window.clearTimeout(t),u.off("select",e)}},[u]),(0,t.jsxs)("section",{id:"hero-section","aria-roledescription":"carousel",className:"relative overflow-hidden",children:[(0,t.jsx)("div",{ref:c,className:"overflow-hidden",children:(0,t.jsx)("div",{className:"flex touch-pan-y",children:e.map((e,n)=>{let o=e.mobileSrc.startsWith("http")||e.desktopSrc.startsWith("http");return(0,t.jsx)("div",{className:a.HERO_FRAME_CLASS,children:(0,t.jsxs)("a",{href:e.href,"aria-label":e.alt,className:"group absolute inset-0 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-white",children:[o&&n!==d?null:(0,t.jsxs)("picture",{children:[(0,t.jsx)("source",{media:"(min-width: 768px)",srcSet:e.desktopSrc}),(0,t.jsx)("img",{src:e.mobileSrc,alt:e.alt,width:828,height:570,loading:"lazy"===e.loading?"lazy":void 0,fetchPriority:e.fetchPriority,decoding:"async",className:"absolute inset-0 size-full object-cover"})]}),e.cta?(0,t.jsx)("span",{className:"campaign"===e.ctaTone?"absolute bottom-[9%] left-1/2 z-10 inline-flex min-h-9 -translate-x-1/2 items-center justify-center bg-[#e7ad1c] px-4 text-[0.625rem] font-semibold tracking-[0.08em] whitespace-nowrap text-[#171916] uppercase shadow-lg transition-[background-color,transform] duration-150 ease-out hover:bg-[#f2bd2d] active:scale-[0.96] motion-reduce:transition-none md:bottom-[10%] md:min-h-11 md:px-6 md:text-xs md:tracking-wider":"absolute bottom-[16%] left-1/2 z-10 inline-flex max-w-[calc(100%-2rem)] min-h-10 -translate-x-1/2 items-center justify-center rounded-md bg-[#e7ad1c] px-4 text-center text-sm font-medium text-[#171916] shadow-xs transition-[background-color,transform] duration-150 ease-out hover:bg-[#f2bd2d] active:scale-[0.96] motion-reduce:transition-none sm:px-5 md:bottom-[12%] md:min-h-11 md:px-6 md:text-base",children:e.cta}):null]})},`${e.href}:${n}`)})})}),(0,t.jsx)("div",{className:"absolute bottom-2 left-1/2 z-20 flex -translate-x-1/2 gap-2 md:bottom-4",children:e.map((e,n)=>(0,t.jsx)("button",{type:"button","aria-label":`Go to hero slide ${n+1}`,"aria-current":n===d?"true":void 0,onClick:()=>u?.scrollTo(n),className:(0,r.cn)("h-2 rounded-full bg-white transition-[width,opacity,transform] duration-150 ease-out active:scale-[0.96] motion-reduce:transition-none",n===d?"w-8 opacity-100 md:w-10":"w-2 opacity-50")},`${e.href}:${n}`))})]})}])},474958,e=>{"use strict";e.s(["HERO_FRAME_CLASS",0,"relative min-w-0 flex-[0_0_100%] aspect-[16/11] md:aspect-[1911/812]","MOBILE_NAV_ART_CLASS",0,"mx-auto h-25 w-17.5","MOBILE_NAV_CLASS",0,"my-4 h-[7.75rem] w-full md:hidden","MOBILE_NAV_ROW_CLASS",0,"flex w-max items-start gap-2 px-4","MOBILE_NAV_SCROLL_CLASS",0,"w-full overflow-x-auto overflow-y-hidden overscroll-x-contain [touch-action:pan-x] no-scrollbar"])},116110,e=>{"use strict";var t=e.i(843476),n=e.i(271645),o=e.i(657688),i=e.i(618566),r=e.i(630374);let a={image:"https://assets.woodland.social/new_woodland/header/default_banner.png",filters:[{label:"Footwear",image:"/images/navigation/footwear.png",query:{key:"category",value:"footwear"}},{label:"Apparel",image:"/images/navigation/clothing-top.png",query:{key:"category",value:"apparel"}},{label:"Accessories",image:"/images/navigation/clothing-bottom.png",query:{key:"category",value:"accessories"}}]},l=[{label:"All",query:{key:"brand",value:"woods"}}],s=[{label:"Men",href:"/collections/men",logo:"https://assets.woodland.social/new_woodland/extra/logo-white.png",mobileLogo:"/images/navigation/mobile/men.png",banner:a,filters:l,categories:{footwear:{title:"Footwear",image:"/images/navigation/footwear.png",items:[{title:"Boots",href:"/collections/men/boots"},{title:"Sneaker/Sports",href:"/collections/men/sneakers"},{title:"Casuals",href:"/collections/men/casuals"},{title:"Formal",href:"/collections/men/formal"},{title:"Slippers/Flip-Flops",href:"/collections/men/slippers"},{title:"Sandals",href:"/collections/men/sandals"},{title:"Safety Shoes",href:"/collections/men/safety_shoes"}]},clothingTops:{title:"Clothing Tops",image:"/images/navigation/clothing-top.png",items:[{title:"Jackets",href:"/collections/men/jackets"},{title:"T-shirts",href:"/collections/men/t-shirts"},{title:"Shirts",href:"/collections/men/shirts"},{title:"Sweaters",href:"/collections/men/sweaters"},{title:"Sweatshirts & Hoodies",href:"/collections/men/sweatshirts"},{title:"Innerwear Tops",href:"/collections/men/tshirts"}]},clothingBottoms:{title:"Clothing Bottoms",image:"/images/navigation/clothing-bottom.png",items:[{title:"Bottoms",href:"/collections/men/bottoms"}]},accessories:{title:"Accessories",image:"/images/navigation/accessories.png",items:[{title:"Belts",href:"/collections/men/belts"},{title:"Socks",href:"/collections/men/socks"},{title:"Wallets/Card holders",href:"/collections/men/wallets_card_holders"},{title:"Lace",href:"/collections/men/lace"},{title:"Key Rings",href:"/collections/men/key_rings"},{title:"Travel Kit",href:"/collections/men/travel_kit"},{title:"Shoe Care",href:"/collections/men/shoe_care"}]},bags:{title:"Bags",image:"/images/navigation/bags.png",items:[{title:"Cross Body Bags",href:"/collections/men/cross_body_bag"},{title:"Hiking Backpacks",href:"/collections/men/hiking_backpacks"},{title:"Canvas Bags",href:"/collections/men/canvas_bags"},{title:"Backpacks",href:"/collections/men/backpacks"},{title:"Trolley Bags",href:"/collections/men/trolley_bags"},{title:"Waterproof Bags",href:"/collections/men/waterproof_bags"}]},others:{title:"Others",items:[{title:"Summer Caps",href:"/collections/men/summer_caps"},{title:"Woollen Caps",href:"/collections/men/woollen_caps"},{title:"Head Bands",href:"/collections/men/head_bands"},{title:"Gloves",href:"/collections/men/gloves"},{title:"Eyewear",href:"/collections/men/eyewear"},{title:"Towels",href:"/collections/men/towel"},{title:"Deodorants",href:"/collections/men/deodorant"},{title:"Flasks",href:"/collections/men/flasks"},{title:"Mask",href:"/collections/men/mask"}]}}},{label:"Women",href:"/collections/women",logo:"/logo-white.png",mobileLogo:"/images/navigation/mobile/women.png",banner:a,filters:l,categories:{footwear:{title:"Footwear",image:"/images/navigation/footwear.png",items:[{title:"Boots",href:"/collections/women/boots"},{title:"Sneaker/Sports",href:"/collections/women/sneakers"},{title:"Formal",href:"/collections/women/formal"},{title:"Slippers/Flip-Flops",href:"/collections/women/slippers"},{title:"Sandals",href:"/collections/women/sandals"}]},clothingTops:{title:"Clothing Tops",image:"/images/navigation/clothing-top.png",items:[{title:"Jackets",href:"/collections/women/jackets"},{title:"T-shirts",href:"/collections/women/t-shirts"},{title:"Shirts",href:"/collections/women/shirts"},{title:"Sweaters",href:"/collections/women/sweaters"},{title:"Sweatshirts & Hoodies",href:"/collections/women/sweatshirts"},{title:"Dresses",href:"/collections/women/dresses"},{title:"Tracksuits",href:"/collections/women/tracksuits"}
1,{title:"Innerwear Tops",href:"/collections/women/athleisure"}]},clothingBottoms:{title:"Clothing Bottoms",image:"/images/navigation/clothing-bottom.png",items:[{title:"Bottoms",href:"/collections/women/bottoms"}]},accessories:{title:"Accessories",image:"/images/navigation/accessories.png",items:[{title:"Belts",href:"/collections/women/belts"},{title:"Socks",href:"/collections/women/socks"},{title:"Wallets/Card holders",href:"/collections/women/wallets_card_holders"},{title:"Lace",href:"/collections/women/lace"},{title:"Key Rings",href:"/collections/women/key_rings"},{title:"Travel Kit",href:"/collections/women/travel_kit"},{title:"Shoe Care",href:"/collections/women/shoe_care"}]},bags:{title:"Bags",image:"/images/navigation/bags.png",items:[{title:"Cross Body Bags",href:"/collections/women/hand_bags"},{title:"Hiking Backpacks",href:"/collections/women/hiking_backpacks"},{title:"Canvas Bags",href:"/collections/women/canvas_bags"},{title:"Backpacks",href:"/collections/women/backpacks"},{title:"Trolley Bags",href:"/collections/women/trolley_bags"},{title:"Waterproof Bags",href:"/collections/women/waterproof_bags"}]},others:{title:"Others",items:[{title:"Summer Caps",href:"/collections/women/summer_caps"},{title:"Woollen Caps",href:"/collections/women/woollen_caps"},{title:"Head Bands",href:"/collections/women/head_bands"},{title:"Gloves",href:"/collections/women/gloves"},{title:"Eyewear",href:"/collections/women/eyewear"},{title:"Towels",href:"/collections/women/towel"},{title:"Deodorants",href:"/collections/women/deodorant"},{title:"Flasks",href:"/collections/women/flasks"},{title:"Mask",href:"/collections/women/mask"}]}}},{label:"Sports",href:"/collections?brand=sports",mobileLogo:"https://assets.woodland.social/new_woodland/mobile/sports.png",mobileOnly:!0,banner:a,filters:l},{label:"Outlet",href:"/store",logo:"/logo-white.png",mobileLogo:"https://assets.woodland.social/new_woodland/mobile/outlet.png",banner:a,filters:l},{label:"Sale",href:"/sale",logo:"/logo-white.png",mobileLogo:"/images/navigation/mobile/sale-nav.webp",banner:a,filters:l},{label:"Bestsellers",href:"/collections?bestseller=true",logo:"/logo-white.png",mobileLogo:"/images/navigation/mobile/bestsellers.webp",banner:a,filters:l},{label:"Track Order",href:"/track-order",logo:"/logo-white.png",mobileLogo:"/images/navigation/mobile/track-order.webp",banner:a,filters:l},{label:"Khiladi Edition",href:"/khiladi-sale",logo:"/logo-white.png",mobileLogo:"/images/navigation/mobile/khiladi.webp",banner:a,filters:l},{label:"New Arrivals",href:"/collections?new_arrival=true",logo:"/logo-white.png",mobileLogo:"/images/navigation/mobile/new-arrivals.webp",banner:a,filters:l},{label:"Featured",href:"/collections/gator",logo:"/logo-white.png",mobileLogo:"/images/navigation/mobile/featured.webp",banner:a,filters:l},{label:"Collabs",href:"/collabs",logo:"/logo-white.png",mobileLogo:"https://assets.woodland.social/new_woodland/mobile/collab.png",banner:a,filters:l,categories:{polartec:{image:"/images/navigation/polartec.png",title:"Polartec",href:"/collections?brand=polartec",banner:{image:"/images/brands/polartec.png",title:"Polartec",description:"Polartec was the first to knit, nap and shear synthetic yarns into thermal fabric for outdoor apparel. Polyester fibres were engineered for more versatile durability. With greater resiliency, lightweight warmth and fast dry times, Polartec fleece remains the industry standard for outerwear performance."},filters:[{label:"All",query:{key:"brand",value:"polartec"}},{label:"Apparel",query:{key:"category",value:"apparel"}},{label:"Accessories",query:{key:"category",value:"accessories"}}]},stormBreaker:{image:"/images/navigation/strom-breaker.png",title:"Storm Breaker",href:"/collections?brand=storm-breaker"},xyz:{image:"/images/navigation/random.png",title:"XYZ",href:"/collections?brand=xyz"},random:{image:"/images/navigation/random.png",title:"XYZ",href:"/collections?brand=random"},random2:{image:"/images/navigation/random.png",title:"XYZ",href:"/collections?brand=random2"}}},{label:"Woods",href:"/collections?brand=woods",logo:"/logo-white.png",mobileLogo:"/images/navigation/mobile/woods.webp",banner:a,filters:l}];var c=e.i(474958),u=e.i(647163);let d=[["Gator","/collections/men/gator","https://assets.woodland.social/new_woodland/mobile/gator_mobile.png"],["Grizzly","/collections/men/grizzly","https://assets.woodland.social/new_woodland/mobile/grizzly_mobile.png"],["Rhino","/collections/men/rhino","https://assets.woodland.social/new_woodland/mobile/rhino_mobile.png"],["Hawk","/collections/men/hawk","https://assets.woodland.social/new_woodland/mobile/hawk_mobile.png"]],f=new Map(s.map(e=>[e.label,e])),m=["Bestsellers","Khiladi Edition","Sale","Track Order","New Arrivals","Featured","Woods"].flatMap(e=>{let t=f.get(e);return t?[t]:[]});function p({src:e,label:n}){let i="Khiladi Edition"===n||"Sale"===n,r="Sale"===n;return(0,t.jsxs)("div",{className:i?(0,u.cn)(c.MOBILE_NAV_ART_CLASS,"relative overflow-hidden rounded-[1.25rem] border-2 bg-muted",r?"border-[#d5232f]":"border-khiladi-gold"):(0,u.cn)(c.MOBILE_NAV_ART_CLASS,"overflow-hidden","Track Order"===n?"rounded-[1.25rem]":"rounded-xl"),children:[(0,t.jsx)(o.default,{src:e,alt:n,width:120,height:120,sizes:"70px",loading:"lazy",fetchPriority:"low",className:i?"size-full object-cover":"h-auto w-full"}),i?(0,t.jsx)("span",{className:`absolute top-1 right-1 rounded-full py-1 leading-none font-bold whitespace-nowrap shadow-sm ${r?"bg-[#d5232f] px-1 text-[0.4375rem] text-white":"bg-khiladi-gold px-1.5 text-[0.5rem] tracking-wide text-khiladi-ink"}`,children:r?"SALE 60% OFF":"GRAND SALE"}):null]})}e.s(["MobileNav",0,function({className:e="",ref:a}
1){let l=(0,i.usePathname)(),[s,f]=(0,n.useState)(!1);return(0,t.jsxs)(r.Dialog,{open:s,onOpenChange:f,children:[(0,t.jsx)("nav",{ref:a,"aria-label":"Featured collections",className:(0,u.cn)(c.MOBILE_NAV_CLASS,e),id:"mobile-nav",children:(0,t.jsx)("div",{className:c.MOBILE_NAV_SCROLL_CLASS,children:(0,t.jsx)("div",{className:c.MOBILE_NAV_ROW_CLASS,children:m.map(e=>{let n="Khiladi Edition"===e.label&&l.startsWith("/khiladi-sale")||"Sale"===e.label&&("/sale"===l||l.startsWith("/sale/")),o=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p,{src:e.mobileLogo,label:e.label}),(0,t.jsx)("span",{className:`mt-2 block text-xs font-semibold ${n?"text-primary":"text-[#666]"}`,children:e.label})]});return(0,t.jsx)("div",{className:"shrink-0 text-center",children:"Featured"===e.label?(0,t.jsx)(r.DialogTrigger,{asChild:!0,children:(0,t.jsx)("button",{type:"button",className:"text-center transition-transform duration-150 ease-out [transition-timing-function:var(--ease-out)] active:scale-[0.96] motion-reduce:transform-none",children:o})}):(0,t.jsx)("a",{href:e.href,"aria-current":n?"page":void 0,className:"block text-center transition-transform duration-150 ease-out [transition-timing-function:var(--ease-out)] active:scale-[0.96] motion-reduce:transform-none",children:o})},e.label)})})})}),(0,t.jsxs)(r.DialogContent,{className:"inset-0 top-0 left-0 h-dvh max-w-none translate-x-0 translate-y-0 gap-0 border-0 p-0 duration-150 sm:rounded-none",children:[(0,t.jsx)("header",{className:"border-b px-4 py-4",children:(0,t.jsx)(r.DialogTitle,{children:"Featured"})}),(0,t.jsx)("div",{className:"overflow-y-auto p-4",children:(0,t.jsx)("div",{className:"flex flex-col gap-3",children:d.map(([e,n,i])=>(0,t.jsx)("a",{href:n,onClick:()=>f(!1),className:"rounded-lg border p-2 transition-transform duration-150 active:scale-[0.96] motion-reduce:transition-none",children:(0,t.jsx)(o.default,{src:i,alt:e,width:600,height:160,sizes:"100vw",className:"h-auto w-full rounded-md object-cover"})},n))})})]})]})}],116110)},429608,e=>{"use strict";var t=e.i(843476),n=e.i(271645);e.s(["PaintWhenNear",0,function({children:e,className:o}){let i=(0,n.useRef)(null),[r,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=i.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e?.isIntersecting&&a(!0)},{rootMargin:"200px 0px"});return t.observe(e),()=>t.disconnect()},[]),(0,t.jsx)("div",{ref:i,className:o,children:r?e:null})}])},695977,e=>{"use strict";var t=e.i(843476),n=e.i(870273),o=e.i(647163);let i={sale:"bg-[#d5232f] text-white",merch:"bg-foreground text-background",campaign:"bg-[#1e2419] text-[#e7ad1c]"},r={card:"px-2 py-0.5 text-[10px]",pdp:"px-2.5 py-1 text-xs"};function a({badge:e,size:l="card"}){let s="khiladi"===e.id,c=e.label.includes("%")?(0,t.jsx)("span",{className:"tabular-nums",children:e.label}):e.label;return(0,t.jsxs)("span",{className:(0,o.cn)("inline-flex max-w-full items-center gap-1 rounded-full font-bold uppercase leading-none tracking-wide whitespace-nowrap",r[l],i[e.tone]),children:[s?(0,t.jsx)(n.Star,{"aria-hidden":!0,className:(0,o.cn)("shrink-0 fill-current","pdp"===l?"size-3":"size-2.5 sm:size-3"),strokeWidth:1.8}):null,c]})}function l({badge:e}){return(0,t.jsx)("div",{className:"absolute inset-x-0 top-0 z-10 flex h-6 items-center justify-center bg-[#EDE9E9] md:h-8",children:(0,t.jsx)("span",{className:"text-[10px] font-bold uppercase tracking-widest text-[#1F1E1E] sm:text-xs",children:e.label})})}function s({badges:e,size:n="card",className:i}){return 0===e.length?null:(0,t.jsx)("ul",{className:(0,o.cn)("pointer-events-none flex flex-row flex-wrap items-center gap-1.5",i),children:e.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(a,{badge:e,size:n})},e.id))})}e.s(["COLOR_ROW_CLASS",0,"flex h-8 shrink-0 items-center gap-1.5 overflow-x-auto px-2 sm:h-10 scrollbar-hide","COLOR_SWATCH_CLASS",0,"relative block size-8 overflow-hidden rounded-sm border bg-background sm:size-10","CardImageBadges",0,function({band:e,overlay:n,className:i}){return(0,t.jsxs)(t.Fragment,{children:[e?(0,t.jsx)(l,{badge:e}):null,n?(0,t.jsx)(s,{badges:[n],className:(0,o.cn)("absolute left-2 z-10",e?"top-8 md:top-10":"top-2",i
1)}):null]})},"ProductBadgeStack",0,s,"SALE_PRICE_CLASS",0,"text-[#d5232f]"])},310509,e=>{"use strict";var t=e.i(843476),n=e.i(657688),o=e.i(271645),i=e.i(695977),r=e.i(707196),a=e.i(647163);let l={1:"(max-width: 767px) 100vw, (max-width: 1023px) 50vw, (max-width: 1279px) 33vw, 25vw",2:"(max-width: 767px) 50vw, (max-width: 1023px) 50vw, (max-width: 1279px) 33vw, 25vw",3:"(max-width: 767px) 33vw, (max-width: 1023px) 50vw, (max-width: 1279px) 33vw, 25vw"},s="group/card flex h-full flex-col overflow-hidden rounded-lg border border-black/10 bg-background text-foreground";function c({src:e,alt:o,priority:i,sizes:r=l["2"],padded:s,compact:u}){let d=(0,a.cn)("object-contain mix-blend-multiply",u?"p-1.5 md:p-3":"p-3",s&&(u?"pt-7 md:pt-10":"pt-8 md:pt-10"));return(0,a.isVideoUrl)(e)?(0,t.jsx)("video",{"aria-label":o,className:(0,a.cn)("absolute inset-0 h-full w-full",d),src:e,muted:!0,loop:!0,autoPlay:!0,playsInline:!0}):(0,t.jsx)(n.default,{src:e,alt:o,fill:!0,sizes:r,className:d,priority:i,fetchPriority:i?"high":"low",loading:i?"eager":"lazy"})}function u({price:e,compareAt:n}){let o=null!==n;return(0,t.jsxs)("p",{className:(0,a.cn)("text-sm font-semibold tabular-nums md:text-base",o?i.SALE_PRICE_CLASS:"text-foreground"),children:[(0,r.formatMoney)(e),o?(0,t.jsx)("span",{className:"ml-2 text-sm font-normal text-muted-foreground line-through",children:(0,r.formatMoney)(n)}):null]})}function d({src:e}){return(0,a.isVideoUrl)(e)?(0,t.jsx)("video",{"aria-hidden":!0,className:"h-full w-full object-contain p-0.5 mix-blend-multiply",src:e,muted:!0,playsInline:!0}):(0,t.jsx)(n.default,{src:e,alt:"",fill:!0,sizes:"40px",className:"object-contain p-0.5 mix-blend-multiply"})}function f({colors:e,activeSlug:n}){return(0,t.jsx)("ul",{className:i.COLOR_ROW_CLASS,children:e.map(e=>(0,t.jsx)("li",{className:"shrink-0",children:(0,t.jsx)("a",{href:e.href,"aria-label":e.slug,"aria-current":e.slug===n?"page":void 0,className:(0,a.cn)(i.COLOR_SWATCH_CLASS,e.slug===n?"border-primary":"border-transparent"),children:(0,t.jsx)(d,{src:e.image})})},e.slug))})}function m({card:e,priority:n,sizes:o}){return(0,t.jsxs)("a",{href:e.href,className:(0,a.cn)(s,"block"),children:[(0,t.jsx)("div",{className:"relative aspect-square bg-background",children:(0,t.jsx)(c,{src:e.image,alt:e.name,priority:n,sizes:o})}),(0,t.jsx)("h3",{className:"px-2 py-2 text-pretty text-sm font-medium text-foreground md:text-base",children:e.name})]})}e.s(["CARD_FRAME",0,s,"CardMedia",0,c,"ColorSwatchMedia",0,d,"GRID_CARD_SIZES",0,l,"PriceRow",0,u,"ProductCard",0,function({card:e,priority:n=!1,sizes:r=l["2"]}){let[a,d]=(0,o.useState)(!1);if("promo"===e.kind)return(0,t.jsx)(m,{card:e,priority:n,sizes:r});let p=e.hoverImage,g="catalog"===e.kind?e.colors:[],h=!!e.band;return(0,t.jsxs)("article",{className:s,onFocusCapture:()=>d(!0),onMouseEnter:()=>d(!0),children:[(0,t.jsx)("a",{href:e.href,className:"block",children:(0,t.jsxs)("div",{className:"relative aspect-square bg-background",children:[e.image?(0,t.jsx)(c,{src:e.image,alt:e.name,priority:n,sizes:r,padded:h}):(0,t.jsx)("div",{className:"absolute inset-0 bg-background"}),p&&a?(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 z-[1] opacity-0 transition-opacity duration-150 ease-out [@media(hover:hover)_and_(pointer:fine)]:group-hover/card:opacity-100",children:(0,t.jsx)(c,{src:p,alt:"",sizes:r,padded:h})}):null,(0,t.jsx)(i.CardImageBadges,{band:e.band,overlay:e.overlay})]})}),(0,t.jsx)(f,{colors:g,activeSlug:e.slug}),(0,t.jsxs)("a",{href:e.href,className:"mt-auto block px-2 py-2",children:[(0,t.jsx)("h3",{className:"line-clamp-1 text-pretty text-sm font-medium text-foreground md:text-base",children:e.name}),(0,t.jsx)(u,{price:e.price,compareAt:e.compareAt})]})]})}])},148321,508277,e=>{"use strict";var t=e.i(843476),n=e.i(130013),o=e.i(373375),i=e.i(463059),r=e.i(271645),a=e.i(647163);let l="min-w-0 shrink-0 grow-0 basis-[48%] pl-3 sm:basis-1/3 lg:basis-1/4 xl:basis-1/5";e.s(["RAIL_CARD_SIZES",0,"(max-width: 640px) 50vw, (max-width: 1024px) 33vw, 20vw","RAIL_SLIDE_CLASS",0,l],508277);let s={align:"start",containScroll:"trimSnaps",duration:20,skipSnaps:!1,dragThreshold:10,slidesToScroll:1},c={prev:!1,next:!1};e.s(["RailCarousel",0,function({label:e,loop:l,children:u,arrows:d=!0}){let[f,m]=(0,n.default)({...s,loop:l}),p=(0,r.useRef)(c),g=(0,r.useCallback)(e=>m?(m.on("select",e),m.on("reInit",e),m.on("settle",e),()=>{m.off("select",e),m.off("reInit",e),m.off("settle",e)}):()=>{},[m]),h=(0,r.useSyncExternalStore)(g,()=>{let e=m?{prev:m.canScrollPrev(),next:m.canScrollNext()}:c,t=p.current;return t.prev===e.prev&&t.next===e.next?t:(p.current=e,e)},()=>c);return(0,t.jsxs)("div",{"aria-roledescription":"carousel","aria-label":e,tabIndex:0,onKeyDown:e=>{"ArrowLeft"===e.key?(e.preventDefault(),m?.scrollPrev()):"ArrowRight"===e.key&&(e.preventDefault(),m?.scrollNext())},className:"group relative outline-none",children:[(0,t.jsx)("div",{ref:f,className:"overflow-hidden",children:(0,t.jsx)("div",{className:"-ml-3 flex [touch-action:pan-y_pinch-zoom]",children:u})}),d?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:(0,a.cn)("absolute top-[38%] left-0 z-10 hidden size-10 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full bg-foreground
1/70 text-background opacity-0 transition-opacity duration-150 ease-out group-hover:opacity-100 hover:bg-foreground focus-visible:opacity-100 lg:inline-flex",h.prev?null:"lg:hidden"),"aria-label":"Previous products",disabled:!h.prev,onClick:()=>m?.scrollPrev(),children:(0,t.jsx)(o.ChevronLeft,{className:"size-5"})}),(0,t.jsx)("button",{type:"button",className:(0,a.cn)("absolute top-[38%] right-0 z-10 hidden size-10 translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full bg-foreground/70 text-background opacity-0 transition-opacity duration-150 ease-out group-hover:opacity-100 hover:bg-foreground focus-visible:opacity-100 lg:inline-flex",h.next?null:"lg:hidden"),"aria-label":"Next products",disabled:!h.next,onClick:()=>m?.scrollNext(),children:(0,t.jsx)(i.ChevronRight,{className:"size-5"})})]}):null]})},"RailSlide",0,function({children:e,className:n}){return(0,t.jsx)("div",{role:"group","aria-roledescription":"slide",className:(0,a.cn)(l,n),children:e})}],148321)},630374,e=>{"use strict";var t=e.i(843476),n=e.i(271645),o=e.i(326999),i=e.i(37727),r=e.i(647163);let a=o.Root,l=o.Trigger,s=o.Portal,c=o.Close,u=n.forwardRef(({className:e,...n},i)=>(0,t.jsx)(o.Overlay,{ref:i,className:(0,r.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...n}));u.displayName=o.Overlay.displayName;let d=n.forwardRef(({className:e,children:n,...a},l)=>(0,t.jsxs)(s,{children:[(0,t.jsx)(u,{}),(0,t.jsxs)(o.Content,{ref:l,className:(0,r.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...a,children:[n,(0,t.jsxs)(o.Close,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,t.jsx)(i.X,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));d.displayName=o.Content.displayName;let f=({className:e,...n})=>(0,t.jsx)("div",{className:(0,r.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...n});f.displayName="DialogHeader";let m=({className:e,...n})=>(0,t.jsx)("div",{className:(0,r.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...n});m.displayName="DialogFooter";let p=n.forwardRef(({className:e,...n},i)=>(0,t.jsx)(o.Title,{ref:i,className:(0,r.cn)("text-lg font-semibold leading-none tracking-tight",e),...n}));p.displayName=o.Title.displayName;let g=n.forwardRef(({className:e,...n},i)=>(0,t.jsx)(o.Description,{ref:i,className:(0,r.cn)("text-sm text-muted-foreground",e),...n}));g.displayName=o.Description.displayName,e.s(["Dialog",0,a,"DialogClose",0,c,"DialogContent",0,d,"DialogDescription",0,g,"DialogFooter",0,m,"DialogHeader",0,f,"DialogTitle",0,p,"DialogTrigger",0,l])},737762,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 o,i,r,a,l=null,s=0,c=!1,u=!1,d=!1,f=!1;function m(){if(!r){if(h()){d=!0;return}c||i.emit("autoplay:play"),function(){let{ownerWindow:e}=i.internalEngine();e.clearTimeout(s),s=e.setTimeout(y,a[i.selectedScrollSnap()]),l=new Date().getTime(),i.emit("autoplay:timerset")}(),c=!0}}function p(){r||(c&&i.emit("autoplay:stop"),function(){let{ownerWindow:e}=i.internalEngine();e.clearTimeout(s),s=0,l=null,i.emit("autoplay:timerstopped")}(),c=!1)}function g(){if(h())return d=c,p();d&&m()}function h(){let{ownerDocument:e}=i.internalEngine();return"hidden"===e.visibilityState}function b(){u||p()}function x(){u||m()}function w(){u=!0,p()}function v(){u=!1,m()}function y(){let{index:e}=i.internalEngine(),t=e.clone().add(1).get(),n=i.scrollSnapList().length-1,r=o.stopOnLastSnap&&t===n;if(i.canScrollNext()?i.scrollNext(f):i.scrollTo(0,f),i.emit("autoplay:select"),r)return p();m()}return{name:"autoplay",options:e,init:function(l,s){var c,u,d,h;let y,S;i=l;let{mergeOptions:k,optionsAtMedia:j}=s,N=k(t,n.globalOptions);if(o=j(k(N,e)),i.scrollSnapList().length<=1)return;f=o.jump,r=!1,c=i,u=o.delay,y=c.scrollSnapList(),a="number"==typeof u?y.map(()=>u):u(y,c);let{eventStore:_,ownerDocument:L}=i.internalEngine(),O=!!i.internalEngine().options.watchDrag,C=(d=i,h=o.rootNode,S=d.rootNode(),h&&h(S)||S);_.add(L,"visibilitychange",g),O&&i.on("pointerDown",b),O&&!o.stopOnInteraction&&i.on("pointerUp",x),o.stopOnMouseEnter&&_.add(C,"mouseenter",w),o.stopOnMouseEnter&&!o.stopOnInteraction&&_.add(C,"mouseleave",v),o.stopOnFocusIn&&i.on("slideFocusStart",p),o.stopOnFocusIn&&!o.stopOnInteraction&&_.add(i.containerNode(),"focusout",m),o.playOnInit&&m()},destroy:function(){i.off("pointerDown",b).off("pointerUp",x).off("slideFocusStart",p),p(),r=!0,c=!1},play:function(e){void 0!==e&&(f=e),m()},stop:function(){c&&p()},reset:function(){c&&m()},isPlaying:function(){return c},timeUntilNext:function(){return l?a[i.selectedScrollSnap()]-(new Date().getTime()-l):null}}}n.globalOptions=void 0,e.s(["default",0,n])},130013,e=>{"use strict";var t=e.i(271645);function n(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function o(e,t){let i=Object.keys(e),r=Object.keys(t);return i.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&i.every(i=>{let r=e[i],a=t[i];return"function"==typeof r?`${r}`==`${a}`:n(r)&&n(a)?o(r,a):r===a})}function i(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function r(e){return"number"==typeof e}function a(e){return"string"==typeof e}function l(e){return"boolean"==typeof e}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function c(e){return Math.abs(e)}function u(e){return Math.sign(e)}function d(e){return g(e).map(Number)}
1function f(e){return e[m(e)]}function m(e){return Math.max(0,e.length-1)}function p(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function g(e){return Object.keys(e)}function h(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function b(){let e=[],t={add:function(n,o,i,r={passive:!0}){let a;return"addEventListener"in n?(n.addEventListener(o,i,r),a=()=>n.removeEventListener(o,i,r)):(n.addListener(i),a=()=>n.removeListener(i)),e.push(a),t},clear:function(){e=e.filter(e=>e())}};return t}function x(e=0,t=0){let n=c(e-t);function o(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return o(n)?n<e?e:t:n},reachedAny:o,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 r(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 v(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},o=t.style,i=null,r=!1;return{clear:function(){!r&&(o.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(r)return;let a=Math.round(100*e.direction(t))/100;a!==i&&(o.transform=n(a),i=a)},toggleActive:function(e){r=!e}}}let y={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(e,t,n){let o,i,k,j,N,_,L,O,C=e.ownerDocument,A=C.defaultView,E=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(g(n).forEach(o=>{let i=t[o],r=n[o],a=s(i)&&s(r);t[o]=a?e(i,r):r}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let o=n.breakpoints||{},i=g(o).filter(t=>e.matchMedia(t).matches).map(e=>o[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),I=(O=[],{init:function(e,t){return(O=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(){O=O.filter(e=>e.destroy())}}),D=b(),T=(i={},k={init:function(e){o=e},emit:function(e){return(i[e]||[]).forEach(t=>t(o,e)),k},off:function(e,t){return i[e]=(i[e]||[]).filter(e=>e!==t),k},on:function(e,t){return i[e]=(i[e]||[]).concat([t]),k},clear:function(){i={}}}),{mergeOptions:z,optionsAtMedia:B,optionsMediaQueries:F}=E,{on:R,off:M,emit:P}=T,H=!1,W=z(y,S.globalOptions),V=z(W),q=[];function $(t,n){H||(V=B(W=z(W,t)),q=n||q,function(){let{container:t,slides:n}=V;_=(a(t)?e.querySelector(t):t)||e.children[0];let o=a(n)?_.querySelectorAll(n):n;L=[].slice.call(o||_.children)}(),j=function t(n){let o=function(e,t,n,o,i,s,y){var S,k;let j,N,_,L,O,C,A,E,I,D,T,z,B,F,{align:R,axis:M,direction:P,startIndex:H,loop:W,duration:V,dragFree:q,dragThreshold:$,inViewThreshold:K,slidesToScroll:U,skipSnaps:G,containScroll:X,watchResize:Z,watchSlides:J,watchDrag:Y,watchFocus:Q}=s,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:o,offsetHeight:i}=e;return{top:t,right:n+o,bottom:t+i,left:n,width:o,height:i}}},et=ee.measure(t),en=n.map(ee.measure),eo=(N="rtl"===P,L=(_="y"===M)||!N?1:-1,O=_?"top":N?"right":"left",C=_?"bottom":N?"left":"right",{scroll:_?"y":"x",cross:_?"x":"y",startEdge:O,endEdge:C,measureSize:function(e){let{height:t,width:n}=e;return _?t:n},direction:function(e){return e*L}}),ei=eo.measureSize(et),er={measure:function(e){return e/100*ei}},ea=(S=R,k=ei,j={start:function(){return 0},center:function(e){return(k-e)/2},end:function(e){return k-e}},{measure:function(e,t){return a(S)?j[S](e):S(k,e,t)}}),el=!W&&!!X,{slideSizes:es,slideSizesWithGaps:ec,startGap:eu,endGap:ed}=function(e,t,n,o,i,r){let{measureSize:a,startEdge:l,endEdge:s}=e,u=n[0]&&i,d=function(){if(!u)return 0;let e=n[0];return c(t[l]-e[l])}
1(),p=u?parseFloat(r.getComputedStyle(f(o)).getPropertyValue(`margin-${s}`)):0,g=n.map(a),h=n.map((e,t,n)=>{let o=t===m(n);return t?o?g[t]+p:n[t+1][l]-e[l]:g[t]+d}).map(c);return{slideSizes:g,slideSizesWithGaps:h,startGap:d,endGap:p}}(eo,et,en,n,W||!!X,i),ef=function(e,t,n,o,i,a,l,s){let{startEdge:u,endEdge:p,direction:g}=e,h=r(n);return{groupSlides:function(e){return h?d(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?d(e).reduce((n,r,d)=>{let h=f(n)||0,b=r===m(e),x=i[u]-a[h][u],w=i[u]-a[r][p],v=o||0!==h?0:g(l),y=c(w-(!o&&b?g(s):0)-(x+v));return d&&y>t+2&&n.push(r),b&&n.push(e.length),n},[]).map((t,n,o)=>{let i=Math.max(o[n-1]||0);return e.slice(i,t)}):[]}}}(eo,ei,U,W,et,en,eu,ed),{snaps:em,snapsAligned:ep}=function(e,t,n,o,i){let{startEdge:r,endEdge:a}=e,{groupSlides:l}=i,s=l(o).map(e=>f(e)[a]-e[0][r]).map(c).map(t.measure),u=o.map(e=>n[r]-e[r]).map(e=>-c(e)),d=l(u).map(e=>e[0]).map((e,t)=>e+s[t]);return{snaps:u,snapsAligned:d}}(eo,ea,et,en,ef),eg=-f(em)+f(ec),{snapsContained:eh,scrollContainLimit:eb}=function(e,t,n,o){let i,r,a=x(-t+e,0),l=n.map((e,t)=>{let{min:o,max:i}=a,r=a.constrain(e),l=t===m(n);return t?l||function(e,t){return 1>=c(e-t)}(o,r)?o:function(e,t){return 1>=c(e-t)}(i,r)?i:r:i}).map(e=>parseFloat(e.toFixed(3))),s=(i=l[0],r=f(l),x(l.lastIndexOf(i),l.indexOf(r)+1));return{snapsContained:function(){if(t<=e+2)return[a.max];if("keepSnaps"===o)return l;let{min:n,max:i}=s;return l.slice(n,i)}(),scrollContainLimit:s}}(ei,eg,ep,X),ex=el?eh:ep,{limit:ew}=(A=ex[0],{limit:x(W?A-eg:f(ex),A)}),ev=function e(t,n,o){let{constrain:i}=x(0,t),r=t+1,a=l(n);function l(e){return o?c((r+e)%r):i(e)}function s(){return e(t,a,o)}let u={get:function(){return a}
1,set:function(e){return a=l(e),u},add:function(e){return s().set(a+e)},clone:s};return u}(m(ex),H,W),ey=ev.clone(),eS=d(n),ek=function(e,t,n,o){let i=b(),r=1e3/60,a=null,l=0,s=0;function c(e){if(!s)return;a||(a=e,n(),n());let i=e-a;for(a=e,l+=i;l>=r;)n(),l-=r;o(l/r),s&&(s=t.requestAnimationFrame(c))}function u(){t.cancelAnimationFrame(s),a=null,l=0,s=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(a=null,l=0)})},destroy:function(){u(),i.clear()},start:function(){s||(s=t.requestAnimationFrame(c))},stop:u,update:n,render:o}}(o,i,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:o}})=>{o||n.constrain(e.pointerDown()),t.seek()})(eF),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:o,previousLocation:i,scrollLooper:r,slideLooper:a,dragHandler:l,animation:s,eventHandler:c,scrollBounds:u,options:{loop:d}},f)=>{let m=e.settled(),p=!u.shouldConstrain(),g=d?m:m&&p,h=g&&!l.pointerDown();h&&s.stop();let b=n.get()*f+i.get()*(1-f);o.set(b),d&&(r.loop(e.direction()),a.loop()),t.to(o.get()),h&&c.emit("settle"),g||c.emit("scroll")})(eF,e)),ej=ex[ev.get()],eN=w(ej),e_=w(ej),eL=w(ej),eO=w(ej),eC=function(e,t,n,o,i){let r=0,a=0,l=i,s=.68,d=e.get(),f=0;function m(e){return l=e,g}function p(e){return s=e,g}let g={direction:function(){return a},duration:function(){return l},velocity:function(){return r},seek:function(){let t=o.get()-e.get(),i=0;return l?(n.set(e),r+=t/l,r*=s,d+=r,e.add(r),i=d-f):(r=0,n.set(o),e.set(o),i=t),a=u(i),f=d,g},settled:function(){return .001>c(o.get()-t.get())},useBaseFriction:function(){return p(.68)},useBaseDuration:function(){return m(i)},useFriction:p,useDuration:m};return g}(eN,eL,e_,eO,V),eA=function(e,t,n,o,i){let{reachedAny:r,removeOffset:a,constrain:l}=o;function s(e){return e.concat().sort((e,t)=>c(e)-c(t))[0]}function d(t,o){let i=[t,t+n,t-n];if(!e)return t;if(!o)return s(i);let r=i.filter(e=>u(e)===o);return r.length?s(r):f(i)-n}return{byDistance:function(n,o){let s=i.get()+n,{index:u,distance:f}=function(n){let o=e?a(n):l(n),{index:i}=t.map((e,t)=>({diff:d(e-o,0),index:t})).sort((e,t)=>c(e.diff)-c(t.diff))[0];return{index:i,distance:o}}(s),m=!e&&r(s);if(!o||m)return{index:u,distance:n};let p=n+d(t[u]-f,0);return{index:u,distance:p}},byIndex:function(e,n){let o=d(t[e]-i.get(),n);return{index:e,distance:o}},shortcut:d}}(W,ex,eg,ew,eO),eE=function(e,t,n,o,i,r,a){function l(i){let l=i.distance,s=i.index!==t.get();
1r.add(l),l&&(o.duration()?e.start():(e.update(),e.render(1),e.update())),s&&(n.set(t.get()),t.set(i.index),a.emit("select"))}return{distance:function(e,t){l(i.byDistance(e,t))},index:function(e,n){let o=t.clone().set(e);l(i.byIndex(o.get(),n))}}}(ek,ev,ey,eC,eA,eO,y),eI=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(ew),eD=b(),eT=(I={},D=null,T=null,z=!1,{init:function(){E=new IntersectionObserver(e=>{z||(e.forEach(e=>{I[n.indexOf(e.target)]=e}),D=null,T=null,y.emit("slidesInView"))},{root:t.parentElement,threshold:K}),n.forEach(e=>E.observe(e))},destroy:function(){E&&E.disconnect(),z=!0},get:function(e=!0){if(e&&D)return D;if(!e&&T)return T;let t=g(I).reduce((t,n)=>{let o=parseInt(n),{isIntersecting:i}=I[o];return(e&&i||!e&&!i)&&t.push(o),t},[]);return e&&(D=t),e||(T=t),t}}),{slideRegistry:ez}=function(e,t,n,o,i,r){let a,{groupSlides:l}=i,{min:s,max:c}=o;return{slideRegistry:(a=l(r),1===n.length?[r]:e&&"keepSnaps"!==t?a.slice(s,c).map((e,t,n)=>{let o=t===m(n);return t?o?p(m(r)-f(n)[0]+1,f(n)[0]):e:p(f(n[0])+1)}):a)}}(el,X,ex,eb,ef,eS),eB=function(e,t,n,o,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(m){c&&(a.add(document,"keydown",f,!1),t.forEach((t,f)=>{a.add(t,"focus",t=>{(l(c)||c(m,t))&&function(t){if(new Date().getTime()-d>10)return;s.emit("slideFocusStart"),e.scrollLeft=0;let a=n.findIndex(e=>e.includes(t));r(a)&&(i.useDuration(0),o.index(a,0),s.emit("slideFocus"))}(f)},u)}))}}}(e,n,ez,eE,eC,eD,y,Q),eF={ownerDocument:o,ownerWindow:i,eventHandler:y,containerRect:et,slideRects:en,animation:ek,axis:eo,dragHandler:function(e,t,n,o,i,r,a,s,d,f,m,p,g,w,v,y,S,k){let{cross:j,direction:N}=e,_=["INPUT","SELECT","TEXTAREA"],L={passive:!1},O=b(),C=b(),A=x(50,225).constrain(w.measure(20)),E={mouse:300,touch:400},I={mouse:500,touch:600},D=v?43:25,T=!1,z=0,B=0,F=!1,R=!1,M=!1,P=!1;function H(e){if(!h(e,o)&&e.touches.length>=2)return W(e);let t=r.readPoint(e),n=r.readPoint(e,j),a=c(t-z),l=c(n-B);if(!R&&!P&&(!e.cancelable||!(R=a>l)))return W(e);let u=r.pointerMove(e);a>y&&(M=!0),f.useFriction(.3).useDuration(.75),s.start(),i.add(N(u)),e.preventDefault()}function W(e){var t;let n,o,i=m.byDistance(0,!1).index!==p.get(),a=r.pointerUp(e)*(v?I:E)[P?"mouse":"touch"],l=(t=N(a),n=p.add(-1*u(t)),o=m.byDistance(t,!v).distance,v||c(t)<A?o:S&&i?.5*o:m.byIndex(n.get(),0).distance),s=function(e,t){var n,o;if(0===e||0===t||c(e)<=c(t))return 0;let i=(n=c(e),o=c(t),c(n-o));return c(i/e)}(a,l);R=!1,F=!1,C.clear(),f.useDuration(D-10*s).useFriction(.68+s/50),d.distance(l,!v),P=!1,g.emit("pointerUp")}function V(e){M&&(e.stopPropagation(),e.preventDefault(),M=!1)}return{init:function(e){k&&O.add(t,"dragstart",e=>e.preventDefault(),L).add(t,"touchmove",()=>void 0,L).add(t,"touchend",()=>void 0).add(t,"touchstart",s).add(t,"mousedown",s).add(t,"touchcancel",W).add(t,"contextmenu",W).add(t,"click",V,!0);function s(s){(l(k)||k(e,s))&&function(e){let l,s=h(e,o);if((P=s,M=v&&s&&!e.buttons&&T,T=c(i.get()-a.get())>=2,!s||0===e.button)&&(l=e.target.nodeName||"",!_.includes(l))){let o;F=!0,r.pointerDown(e),f.useFriction(0).useDuration(0),i.set(a),o=P?n:t,C.add(o,"touchmove",H,L).add(o,"touchend",W).add(o,"mousemove",H,L).add(o,"mouseup",W),z=r.readPoint(e),B=r.readPoint(e,j),g.emit("pointerDown")}}(s)}},destroy:function(){O.clear(),C.clear()},pointerDown:function(){return F}}}(eo,e,o,i,eO,function(e,t){let n,o;function i(e){return e.timeStamp}function r(n,o){let i=o||e.scroll,r=`client${"x"===i?"X":"Y"}`;return(h(n,t)?n:n.touches[0])[r]}return{pointerDown:function(e){return n=e,o=e,r(e)},pointerMove:function(e){let t=r(e)-r(o),a=i(e)-i(n)>170;return o=e,a&&(n=e),t},pointerUp:function(e){if(!n||!o)return 0;let t=r(o)-r(n),a=i(e)-i(n),l=i(e)-i(o)>170,s=t/a;return a&&!l&&c(s)>.1?s:0},readPoint:r}}(eo,i),eN,ek,eE,eC,eA,ev,y,er,q,$,G,Y),eventStore:eD,percentOfView:er,index:ev,indexPrevious:ey,limit:ew,location:eN,offsetLocation:eL,previousLocation:e_,options:s,resizeHandler:function(e,t,n,o,i,r,a){let s,u,d=[e].concat(o),f=[],m=!1;function p(e){return i.measureSize(a.measure(e))}return{init:function(i){r&&(u=p(e),f=o.map(p),s=new ResizeObserver(n=>{(l(r)||r(i,n))&&function(n){for(let r of n){if(m)return;let n=r.target===e,a=o.indexOf(r.target),l=n?u:f[a];if(c(p(n?e:o[a])-l)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>
1{d.forEach(e=>s.observe(e))}))},destroy:function(){m=!0,s&&s.disconnect()}}}(t,y,i,n,eo,Z,ee),scrollBody:eC,scrollBounds:function(e,t,n,o,i){let r=i.measure(10),a=i.measure(50),l=x(.1,.99),s=!1;function u(){return!s&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:u,constrain:function(i){if(!u())return;let s=e.reachedMin(t.get())?"min":"max",d=c(e[s]-t.get()),f=n.get()-t.get(),m=l.constrain(d/a);n.subtract(f*m),!i&&c(f)<r&&(n.set(e.constrain(n.get())),o.useDuration(25).useBaseFriction())},toggleActive:function(e){s=!e}}}(ew,eL,eO,eC,er),scrollLooper:function(e,t,n,o){let{reachedMin:i,reachedMax:r}=x(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?r(n.get()):-1===t&&i(n.get())))return;let a=-1*t*e;o.forEach(e=>e.add(a))}}}(eg,ew,eL,[eN,eL,e_,eO]),scrollProgress:eI,scrollSnapList:ex.map(eI.get),scrollSnaps:ex,scrollTarget:eA,scrollTo:eE,slideLooper:function(e,t,n,o,i,r,a,l,s){let c=d(i),u=d(i).reverse(),f=g(p(u,a[0]),n,!1).concat(g(p(c,t-a[0]-1),-n,!0));function m(e,t){return e.reduce((e,t)=>e-i[t],t)}function p(e,t){return e.reduce((e,n)=>m(e,t)>0?e.concat([n]):e,[])}function g(i,a,c){let u=r.map((e,n)=>({start:e-o[n]+.5+a,end:e+t-.5+a}));return i.map(t=>{let o=c?0:-n,i=c?n:0,r=u[t][c?"end":"start"];return{index:t,loopPoint:r,slideLocation:w(-1),translate:v(e,s[t]),target:()=>l.get()>r?o:i}})}return{canLoop:function(){return f.every(({index:e})=>.1>=m(c.filter(t=>t!==e),t))},clear:function(){f.forEach(e=>e.translate.clear())},loop:function(){f.forEach(e=>{let{target:t,translate:n,slideLocation:o}=e,i=t();i!==o.get()&&(n.to(i),o.set(i))})},loopPoints:f}}(eo,ei,eg,es,ec,em,ex,eL,n),slideFocus:eB,slidesHandler:(F=!1,{init:function(e){J&&(B=new MutationObserver(t=>{!F&&(l(J)||J(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),y.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){B&&B.disconnect(),F=!0}}),slidesInView:eT,slideIndexes:eS,slideRegistry:ez,slidesToScroll:ef,target:eO,translate:v(eo,t)};return eF}(e,_,L,C,A,n,T);return n.loop&&!o.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):o}(V),F([W,...q.map(({options:e})=>e)]).forEach(e=>D.add(e,"change",K)),V.active&&(j.translate.to(j.location.get()),j.animation.init(),j.slidesInView.init(),j.slideFocus.init(Z),j.eventHandler.init(Z),j.resizeHandler.init(Z),j.slidesHandler.init(Z),j.options.loop&&j.slideLooper.loop(),_.offsetParent&&L.length&&j.dragHandler.init(Z),N=I.init(Z,q)))}function K(e,t){let n=X();U(),$(z({startIndex:n},e),t),T.emit("reInit")}function U(){j.dragHandler.destroy(),j.eventStore.clear(),j.translate.clear(),j.slideLooper.clear(),j.resizeHandler.destroy(),j.slidesHandler.destroy(),j.slidesInView.destroy(),j.animation.destroy(),I.destroy(),D.clear()}function G(e,t,n){V.active&&!H&&(j.scrollBody.useBaseFriction().useDuration(!0===t?0:V.duration),j.scrollTo.index(e,n||0))}function X(){return j.index.get()}let Z={canScrollNext:function(){return j.index.add(1).get()!==X()},canScrollPrev:function(){return j.index.add(-1).get()!==X()},containerNode:function(){return _},internalEngine:function(){return j},destroy:function(){H||(H=!0,D.clear(),U(),T.emit("destroy"),T.clear())},off:M,on:R,emit:P,plugins:function(){return N},previousScrollSnap:function(){return j.indexPrevious.get()},reInit:K,rootNode:function(){return e},scrollNext:function(e){G(j.index.add(1).get(),e,-1)},scrollPrev:function(e){G(j.index.add(-1).get(),e,1)},scrollProgress:function(){return j.scrollProgress.get(j.offsetLocation.get())},scrollSnapList:function(){return j.scrollSnapList},scrollTo:G,selectedScrollSnap:X,slideNodes:function(){return L},slidesInView:function(){return j.slidesInView.get()},slidesNotInView:function(){return j.slidesInView.get(!1)}};return $(t,n),setTimeout(()=>T.emit("init"),0),Z}function k(e={},n=[]){let r=(0,t.useRef)(e),a=(0,t.useRef)(n),[l,s]=(0,t.useState)(),[c,u]=(0,t.useState)(),d=(0,t.useCallback)(()=>{l&&l.reInit(r.current,a.current)},[l]);return(0,t.useEffect)(()=>{o(r.current,e)||(r.current=e,d())},[e,d]),(0,t.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=i(e),r=i(t);return n.every((e,t)=>o(e,r[t]))}(a.current,n)&&(a.current=n,d())},[n,d]),(0,t.useEffect)(()=>
1{if("u">typeof window&&window.document&&window.document.createElement&&c){S.globalOptions=k.globalOptions;let e=S(c,r.current,a.current);return s(e),()=>e.destroy()}s(void 0)},[c,s]),[u,l]}S.globalOptions=void 0,k.globalOptions=void 0,e.s(["default",0,k],130013)},373375,e=>{"use strict";let t=(0,e.i(475254).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],373375)},870273,e=>{"use strict";let t=(0,e.i(475254).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",0,t],870273)}]);
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.