1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,534258,889930,e=>{"use strict";var t=e.i(552795);let n=(0,e.i(162659).default)("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);e.s(["Minus",0,n],889930);var r=e.i(182915),i=e.i(647163);e.s(["SfQtyStepper",0,function(e){let{value:o,onChange:a,min:s=1,max:l=99,disabled:c=!1,size:u="md",className:d}=e,f=e=>{let t=o+e;t<s||t>l||a(t)},p=(0,i.cn)("flex items-center justify-center text-maroon transition-colors hover:bg-surface-cream disabled:opacity-40 disabled:hover:bg-transparent","sm"===u?"size-7":"size-9");return(0,t.jsxs)("div",{className:(0,i.cn)("inline-flex items-center overflow-hidden rounded-lg border border-gold-tan/60 bg-white",d),children:[(0,t.jsx)("button",{type:"button","aria-label":"Decrease quantity",className:p,disabled:c||o<=s,onClick:()=>f(-1),children:(0,t.jsx)(n,{className:"size-3.5"})}),(0,t.jsx)("span",{"aria-live":"polite",className:(0,i.cn)("text-center font-semibold text-ink","sm"===u?"w-7 text-sm":"w-9"),children:o}),(0,t.jsx)("button",{type:"button","aria-label":"Increase quantity",className:p,disabled:c||o>=l,onClick:()=>f(1),children:(0,t.jsx)(r.Plus,{className:"size-3.5"})})]})}],534258)},806840,e=>{"use strict";var t=e.i(191614),n=e.i(740060),r=e.i(164084),i=e.i(355597),o=e.i(291967),a=e.i(589016),s=e.i(7012),l=e.i(674871),c=e.i(903096),u=e.i(946866),d=e.i(552795),f="Collapsible",[p,m]=(0,n.createContextScope)(f),[g,h]=p(f),b=t.forwardRef((e,n)=>{let{__scopeCollapsible:r,open:i,defaultOpen:o,disabled:l,onOpenChange:c,...p}=e,[m,h]=(0,a.useControllableState)({prop:i,defaultProp:o??!1,onChange:c,caller:f});return(0,d.jsx)(g,{scope:r,disabled:l,contentId:(0,u.useId)(),open:m,onOpenToggle:t.useCallback(()=>h(e=>!e),[h]),children:(0,d.jsx)(s.Primitive.div,{"data-state":j(m),"data-disabled":l?"":void 0,...p,ref:n})})});b.displayName=f;var x="CollapsibleTrigger",v=t.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,i=h(x,n);return(0,d.jsx)(s.Primitive.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":j(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:(0,o.composeEventHandlers)(e.onClick,i.onOpenToggle)})});v.displayName=x;var y="CollapsibleContent",w=t.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=h(y,e.__scopeCollapsible);return(0,d.jsx)(c.Presence,{present:n||i.open,children:e=>{let{present:n}=e;return(0,d.jsx)(S,{...r,ref:t,present:n})}})});w.displayName=y;var S=t.forwardRef((e,n)=>{let{__scopeCollapsible:r,present:o,children:a,...c}=e,u=h(y,r),[f,p]=t.useState(o),m=t.useRef(null),g=(0,i.useComposedRefs)(n,m),b=t.useRef(0),x=b.current,v=t.useRef(0),w=v.current,S=u.open||f,C=t.useRef(S),N=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,l.useLayoutEffect)(()=>{let e=m.current;if(e){N.current=N.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();b.current=t.height,v.current=t.width,C.current||(e.style.transitionDuration=N.current.transitionDuration,e.style.animationName=N.current.animationName),p(o)}},[u.open,o]),(0,d.jsx)(s.Primitive.div,{"data-state":j(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!S,...c,ref:g,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:S&&a})});function j(e){return e?"open":"closed"}var C=e.i(704640),N="Accordion",k=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[A,R,I]=(0,r.createCollection)(N),[D,E]=(0,n.createContextScope)(N,[I,m]),P=m(),T=t.default.forwardRef((e,t)=>{let{type:n,...r}=e;return(0,d.jsx)(A.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,d.jsx)($,{...r,ref:t}):(0,d.jsx)(F,{...r,ref:t})})});T.displayName=N;var[L,O]=D(N),[z,M]=D(N,{collapsible:!1}),F=t.default.forwardRef((e,n)=>{let{value:r,defaultValue:i,onValueChange:o=()=>{},collapsible:s=!1,...l}=e,[c,u]=(0,a.useControllableState)({prop:r,defaultProp:i??"",onChange:o,caller:N});return(0,d.jsx)(L,{scope:e.__scopeAccordion,value:t.default.useMemo(()=>c?[c]:[],[c]),onItemOpen:u,onItemClose:t.default.useCallback(()=>s&&u(""),[s,u]),children:(0,d.jsx)(z,{scope:e.__scopeAccordion,collapsible:s,children:(0,d.jsx)(V,{...l,ref:n})})})}
1),$=t.default.forwardRef((e,n)=>{let{value:r,defaultValue:i,onValueChange:o=()=>{},...s}=e,[l,c]=(0,a.useControllableState)({prop:r,defaultProp:i??[],onChange:o,caller:N}),u=t.default.useCallback(e=>c(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[c]),f=t.default.useCallback(e=>c(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[c]);return(0,d.jsx)(L,{scope:e.__scopeAccordion,value:l,onItemOpen:u,onItemClose:f,children:(0,d.jsx)(z,{scope:e.__scopeAccordion,collapsible:!0,children:(0,d.jsx)(V,{...s,ref:n})})})}),[H,_]=D(N),V=t.default.forwardRef((e,n)=>{let{__scopeAccordion:r,disabled:a,dir:l,orientation:c="vertical",...u}=e,f=t.default.useRef(null),p=(0,i.useComposedRefs)(f,n),m=R(r),g="ltr"===(0,C.useDirection)(l),h=(0,o.composeEventHandlers)(e.onKeyDown,e=>{if(!k.includes(e.key))return;let t=e.target,n=m().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),i=n.length;if(-1===r)return;e.preventDefault();let o=r,a=i-1,s=()=>{(o=r+1)>a&&(o=0)},l=()=>{(o=r-1)<0&&(o=a)};switch(e.key){case"Home":o=0;break;case"End":o=a;break;case"ArrowRight":"horizontal"===c&&(g?s():l());break;case"ArrowDown":"vertical"===c&&s();break;case"ArrowLeft":"horizontal"===c&&(g?l():s());break;case"ArrowUp":"vertical"===c&&l()}let u=o%i;n[u].ref.current?.focus()});return(0,d.jsx)(H,{scope:r,disabled:a,direction:l,orientation:c,children:(0,d.jsx)(A.Slot,{scope:r,children:(0,d.jsx)(s.Primitive.div,{...u,"data-orientation":c,ref:p,onKeyDown:a?void 0:h})})})}),B="AccordionItem",[q,U]=D(B),W=t.default.forwardRef((e,t)=>{let{__scopeAccordion:n,value:r,...i}=e,o=_(B,n),a=O(B,n),s=P(n),l=(0,u.useId)(),c=r&&a.value.includes(r)||!1,f=o.disabled||e.disabled;return(0,d.jsx)(q,{scope:n,open:c,disabled:f,triggerId:l,children:(0,d.jsx)(b,{"data-orientation":o.orientation,"data-state":Z(c),...s,...i,ref:t,disabled:f,open:c,onOpenChange:e=>{e?a.onItemOpen(r):a.onItemClose(r)}})})});W.displayName=B;var K="AccordionHeader",X=t.default.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=_(N,n),o=U(K,n);return(0,d.jsx)(s.Primitive.h3,{"data-orientation":i.orientation,"data-state":Z(o.open),"data-disabled":o.disabled?"":void 0,...r,ref:t})});X.displayName=K;var J="AccordionTrigger",Q=t.default.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=_(N,n),o=U(J,n),a=M(J,n),s=P(n);return(0,d.jsx)(A.ItemSlot,{scope:n,children:(0,d.jsx)(v,{"aria-disabled":o.open&&!a.collapsible||void 0,"data-orientation":i.orientation,id:o.triggerId,...s,...r,ref:t})})});Q.displayName=J;var Y="AccordionContent",G=t.default.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=_(N,n),o=U(Y,n),a=P(n);return(0,d.jsx)(w,{role:"region","aria-labelledby":o.triggerId,"data-orientation":i.orientation,...a,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function Z(e){return e?"open":"closed"}G.displayName=Y,e.s(["Content",0,G,"Header",0,X,"Item",0,W,"Root",0,T,"Trigger",0,Q],806840)},493139,e=>{"use strict";var t=e.i(552795),n=e.i(191614),r=e.i(806840),i=e.i(232906),o=e.i(647163);let a=r.Root,s=n.forwardRef((e,n)=>{let{className:i,...a}=e;return(0,t.jsx)(r.Item,{ref:n,className:(0,o.cn)("border-b border-gold-tan/25 last:border-b-0",i),...a})});s.displayName="SfAccordionItem";let l=n.forwardRef((e,n)=>{let{className:a,children:s,...l}=e;return(0,t.jsx)(r.Header,{className:"flex",children:(0,t.jsxs)(r.Trigger,{ref:n,className:(0,o.cn)("flex flex-1 items-center justify-between py-3 text-sm font-semibold text-maroon transition-all [&[data-state=open]>svg]:rotate-180",a),...l,children:[s,(0,t.jsx)(i.ChevronDown,{className:"size-4 shrink-0 text-gold-amber transition-transform duration-200"})]})})});l.displayName="SfAccordionTrigger";let c=n.forwardRef((e,n)=>{let{className:i,children:a,...s}=e;return(0,t.jsx)(r.Content,{ref:n,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...s,children:(0,t.jsx)("div",{className:(0,o.cn)("pb-4 pt-0",i),children:a})})});c.displayName="SfAccordionContent",e.s(["SfAccordion",0,a,"SfAccordionContent",0,c,"SfAccordionItem",0,s,"
1SfAccordionTrigger",0,l])},679852,e=>{"use strict";var t=e.i(552795),n=e.i(191614),r=e.i(103230),i=e.i(647163);let o=r.Root,a=n.forwardRef((e,n)=>{let{className:o,...a}=e;return(0,t.jsx)(r.List,{ref:n,className:(0,i.cn)("flex items-center justify-center gap-8 border-b border-gold-tan/30",o),...a})});a.displayName="SfTabsList";let s=n.forwardRef((e,n)=>{let{className:o,...a}=e;return(0,t.jsx)(r.Trigger,{ref:n,className:(0,i.cn)("-mb-px border-b-2 border-transparent pb-2.5 text-sm font-medium text-ink-muted transition-colors hover:text-maroon focus-visible:outline-none data-[state=active]:border-maroon data-[state=active]:font-semibold data-[state=active]:text-maroon",o),...a})});s.displayName="SfTabsTrigger";let l=n.forwardRef((e,n)=>{let{className:o,...a}=e;return(0,t.jsx)(r.Content,{ref:n,className:(0,i.cn)("pt-6 focus-visible:outline-none",o),...a})});l.displayName="SfTabsContent",e.s(["SfTabs",0,o,"SfTabsContent",0,l,"SfTabsList",0,a,"SfTabsTrigger",0,s])},468714,e=>{"use strict";function t(e){return"en"===e||"hi"===e}function n(e){let n=String(e||"");if(!n)return"/";let r=n.split("/");if(r.length>=2&&t(r[1])){let e=r.slice(2).join("/");return e?`/${e}`:"/"}return n.startsWith("/")?n:`/${n}`}e.s(["localizeHref",0,function(e,r){let i=String(e??"").trim();if(!i||i.startsWith("http://")||i.startsWith("https://")||i.startsWith("//")||i.startsWith("mailto:")||i.startsWith("tel:")||i.startsWith("#"))return i;let o=i.match(/^([^?#]*)(.*)$/),a=o?.[1]||"/",s=o?.[2]||"",l=n(a||"/"),c=t(r)?r:"en";return"en"===c?`${l}${s}`:"/"===l?`/${c}${s}`:`/${c}${l}${s}`},"persistLocaleCookie",0,function(e){"u">typeof document&&(document.cookie=`Next-Locale=${e};path=/;max-age=31536000;SameSite=Lax`)},"stripLocalePrefix",0,n])},508520,e=>{"use strict";var t=e.i(552795),n=e.i(191614),r=e.i(157183),i=e.i(291303),o=e.i(468714);let a=n.forwardRef(function(e,n){let{href:a,...s}=e,l=(0,i.useCurrentLocale)(),c="string"==typeof a?(0,o.localizeHref)(a,l):a;return(0,t.jsx)(r.default,{ref:n,href:c,...s})});e.s(["default",0,a])},843651,e=>{"use strict";var t=e.i(552795),n=e.i(998796),r=e.i(805936),i=e.i(647163),o=e.i(291303);function a(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);let n=[...new Set([1,2,e-1,e,e+1,t-1,t])].filter(e=>e>=1&&e<=t).sort((e,t)=>e-t),r=[],i=0;for(let e of n)e-i>1&&r.push("â¦"),r.push(e),i=e;return r}e.s(["SfPagination",0,function(e){let{page:s,totalPages:l,onPageChange:c,className:u}=e,d=(0,o.useI18n)();if(l<=1)return null;let f="flex h-9 items-center gap-1 rounded-lg border border-gold-tan/60 bg-white px-3 text-sm font-medium text-maroon transition-colors hover:bg-surface-cream disabled:opacity-40 disabled:hover:bg-white";return(0,t.jsxs)("nav",{"aria-label":"Pagination",className:(0,i.cn)("flex items-center justify-center gap-2",u),children:[(0,t.jsxs)("button",{type:"button",className:f,disabled:s<=1,onClick:()=>c(s-1),children:[(0,t.jsx)(n.ChevronLeft,{className:"size-4"})," ",d("common.PREV")]}),a(s,l).map((e,n)=>"â¦"===e?(0,t.jsx)("span",{className:"px-1 text-ink-muted",children:"â¦"},`gap-${n}`):(0,t.jsx)("button",{type:"button","aria-current":e===s?"page":void 0,className:(0,i.cn)("size-9 rounded-lg text-sm font-semibold transition-colors",e===s?"bg-maroon text-white":"border border-gold-tan/60 bg-white text-maroon hover:bg-surface-cream"),onClick:()=>c(e),children:e},e)),(0,t.jsxs)("button",{type:"button",className:f,disabled:s>=l,onClick:()=>c(s+1),children:[d("common.NEXT")," ",(0,t.jsx)(r.ChevronRight,{className:"size-4"})]})]})},"pageItems",0,a])},896500,650790,e=>{"use strict";var t=e.i(552795),n=e.i(191614);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],a=t[n];return"function"==typeof o?`${o}`==`${a}`:r(o)&&r(a)?i(o,a):o===a})}function o(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function a(e){return"number"==typeof e}function s(e){return"string"==typeof e}function l(e){return"boolean"==typeof e}function c(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e){return Math.abs(e)}function d(e){return Math.sign(e)}function f(e){return h(e).map(Number)}
1function p(e){return e[m(e)]}function m(e){return Math.max(0,e.length-1)}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.from(Array(e),(e,n)=>t+n)}function h(e){return Object.keys(e)}function b(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function x(){let e=[],t={add:function(n,r,i){let o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return"addEventListener"in n?(n.addEventListener(r,i,a),o=()=>n.removeEventListener(r,i,a)):(n.addListener(i),o=()=>n.removeListener(i)),e.push(o),t},clear:function(){e=e.filter(e=>e())}};return t}function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=u(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function y(e){let t=e;function n(e){return a(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 w(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 a=Math.round(100*e.direction(t))/100;a!==i&&(r.transform=n(a),i=a)},toggleActive:function(e){o=!e}}}let S={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 j(e,t,n){let r,i,o,C,N,k,A,R,I=e.ownerDocument,D=I.defaultView,E=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(h(n).forEach(r=>{let i=t[r],o=n[r],a=c(i)&&c(o);t[r]=a?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=h(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=>h(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(D),P=(R=[],{init:function(e,t){return(R=t.filter(e=>{let{options:t}=e;return!1!==E.optionsAtMedia(t).active})).forEach(t=>t.init(e,E)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){R=R.filter(e=>e.destroy())}}),T=x(),L=(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:O,optionsAtMedia:z,optionsMediaQueries:M}=E,{on:F,off:$,emit:H}=L,_=!1,V=O(S,j.globalOptions),B=O(V),q=[];function U(t,n){_||(B=z(V=O(V,t)),q=n||q,function(){let{container:t,slides:n}=B;k=(s(t)?e.querySelector(t):t)||e.children[0];let r=s(n)?k.querySelectorAll(n):n;A=[].slice.call(r||k.children)}(),C=function t(n){let r=function(e,t,n,r,i,o,c){var S,j;let C,N,k,A,R,I,D,E,P,T,L,O,z,M,{align:F,axis:$,direction:H,startIndex:_,loop:V,duration:B,dragFree:q,dragThreshold:U,inViewThreshold:W,slidesToScroll:K,skipSnaps:X,containScroll:J,watchResize:Q,watchSlides:Y,watchDrag:G,watchFocus:Z}=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=(N="rtl"===H,A=(k="y"===$)||!N?1:-1,R=k?"top":N?"right":"left",I=k?"bottom":N?"left":"right",{scroll:k?"y":"x",cross:k?"x":"y",startEdge:R,endEdge:I,measureSize:function(e){let{height:t,width:n}=e;return k?t:n},direction:function(e){return e*A}}),ei=er.measureSize(et),eo={measure:function(e){return e/100*ei}},ea=(S=F,j=ei,C={start:function(){return 0},center:function(e){return(j-e)/2},end:function(e){return j-e}},{measure:function(e,t){return s(S)?C[S](e):S(j,e,t)}}),es=!V&&!!J,{slideSizes:el,slideSizesWithGaps:ec,startGap:eu,endGap:ed}=function(e,t,n,r,i,o){let{measureSize:a,startEdge:s,endEdge:l}=e,c=n[0]&&i,d=function(){if(!c)return 0;let e=n[0];return u(t[s]-e[s])}(),f=c?parseFloat(o.getComputedStyle(p(r)).getPropertyValue(`margin-${l}`)):0,g=n.map(a),h=n.map((e,t,n)=>{let r=t===m(n);return t?r?g[t]+f:n[t+1][s]-e[s]:g[t]+d}).map(u);return{slideSizes:g,slideSizesWithGaps:h,startGap:d,endGap:f}}(er,et,en,n,V||!!J,i),ef=function(e,t,n,r,i,o,s,l){let{startEdge:c,endEdge:d,direction:g}=e,h=a(n);return{groupSlides:function(e){return h?f(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?f(e).reduce((n,a,f)=>{let h=p(n)||0,b=a===m(e),x=i[c]-o[h][c],v=i[c]-o[a][d],y=r||0!==h?0:g(s),w=u(v-(!r&&b?g(l):0)-(x+y));return f&&w>t+2&&n.push(a),b&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(er,ei,K,V,et,en,eu,ed),{snaps:ep,snapsAligned:em}=function(e,t,n,r,i){let{startEdge:o,endEdge:a}=e,{groupSlides:s}=i,l=s(r).map(e=>p(e)[a]-e[0][o]).map(u).map(t.measure),c=r.map(e=>n[o]-e[o]).map(e=>-u(e)),d=s(c).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:c,snapsAligned:d}}(er,ea,et,en,ef),eg=-p(ep)+p(ec),{snapsContained:eh,scrollContainLimit:eb}=function(e,t,n,r){let i,o,a=v(-t+e,0),s=n.map((e,t)=>{let{min:r,max:i}=a,o=a.constrain(e),s=t===m(n);return t?s||function(e,t){return 1>=u(e-t)}(r,o)?r:function(e,t){return 1>=u(e-t)}(i,o)?i:o:i}).map(e=>parseFloat(e.toFixed(3))),l=(i=s[0],o=p(s),v(s.lastIndexOf(i),s.indexOf(o)+1));return{snapsContained:function(){if(t<=e+2)return[a.max];if("keepSnaps"===r)return s;let{min:n,max:i}=l;return s.slice(n,i)}(),scrollContainLimit:l}}(ei,eg,em,J),ex=es?eh:em,{limit:ev}=(D=ex[0],{limit:v(V?D-eg:p(ex),D)}
1),ey=function e(t,n,r){let{constrain:i}=v(0,t),o=t+1,a=s(n);function s(e){return r?u((o+e)%o):i(e)}function l(){return e(t,a,r)}let c={get:function(){return a},set:function(e){return a=s(e),c},add:function(e){return l().set(a+e)},clone:l};return c}(m(ex),_,V),ew=ey.clone(),eS=f(n),ej=function(e,t,n,r){let i=x(),o=1e3/60,a=null,s=0,l=0;function c(e){if(!l)return;a||(a=e,n(),n());let i=e-a;for(a=e,s+=i;s>=o;)n(),s-=o;r(s/o),l&&(l=t.requestAnimationFrame(c))}function u(){t.cancelAnimationFrame(l),a=null,s=0,l=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(a=null,s=0)})},destroy:function(){u(),i.clear()},start:function(){l||(l=t.requestAnimationFrame(c))},stop:u,update:n,render:r}}(r,i,()=>(e=>{let{dragHandler:t,scrollBody:n,scrollBounds:r,options:{loop:i}}=e;i||r.constrain(t.pointerDown()),n.seek()})(eM),e=>((e,t)=>{let{scrollBody:n,translate:r,location:i,offsetLocation:o,previousLocation:a,scrollLooper:s,slideLooper:l,dragHandler:c,animation:u,eventHandler:d,scrollBounds:f,options:{loop:p}}=e,m=n.settled(),g=!f.shouldConstrain(),h=p?m:m&&g,b=h&&!c.pointerDown();b&&u.stop();let x=i.get()*t+a.get()*(1-t);o.set(x),p&&(s.loop(n.direction()),l.loop()),r.to(o.get()),b&&d.emit("settle"),h||d.emit("scroll")})(eM,e)),eC=ex[ey.get()],eN=y(eC),ek=y(eC),eA=y(eC),eR=y(eC),eI=function(e,t,n,r,i){let o=0,a=0,s=i,l=.68,c=e.get(),f=0;function p(e){return s=e,g}function m(e){return l=e,g}let g={direction:function(){return a},duration:function(){return s},velocity:function(){return o},seek:function(){let t=r.get()-e.get(),i=0;return s?(n.set(e),o+=t/s,o*=l,c+=o,e.add(o),i=c-f):(o=0,n.set(r),e.set(r),i=t),a=d(i),f=c,g},settled:function(){return .001>u(r.get()-t.get())},useBaseFriction:function(){return m(.68)},useBaseDuration:function(){return p(i)},useFriction:m,useDuration:p};return g}(eN,eA,ek,eR,B),eD=function(e,t,n,r,i){let{reachedAny:o,removeOffset:a,constrain:s}=r;function l(e){return e.concat().sort((e,t)=>u(e)-u(t))[0]}function c(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return l(i);let o=i.filter(e=>d(e)===r);return o.length?l(o):p(i)-n}return{byDistance:function(n,r){let l=i.get()+n,{index:d,distance:f}=function(n){let r=e?a(n):s(n),{index:i}=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>u(e.diff)-u(t.diff))[0];return{index:i,distance:r}}(l),p=!e&&o(l);if(!r||p)return{index:d,distance:n};let m=n+c(t[d]-f,0);return{index:d,distance:m}},byIndex:function(e,n){let r=c(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:c}}(V,ex,eg,ev,eR),eE=function(e,t,n,r,i,o,a){function s(i){let s=i.distance,l=i.index!==t.get();
1o.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(n.set(t.get()),t.set(i.index),a.emit("select"))}return{distance:function(e,t){s(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);s(i.byIndex(r.get(),n))}}}(ej,ey,ew,eI,eD,eR,c),eP=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(ev),eT=x(),eL=(P={},T=null,L=null,O=!1,{init:function(){E=new IntersectionObserver(e=>{O||(e.forEach(e=>{P[n.indexOf(e.target)]=e}),T=null,L=null,c.emit("slidesInView"))},{root:t.parentElement,threshold:W}),n.forEach(e=>E.observe(e))},destroy:function(){E&&E.disconnect(),O=!0},get:function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(e&&T)return T;if(!e&&L)return L;let t=h(P).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=P[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(T=t),e||(L=t),t}}),{slideRegistry:eO}=function(e,t,n,r,i,o){let a,{groupSlides:s}=i,{min:l,max:c}=r;return{slideRegistry:(a=s(o),1===n.length?[o]:e&&"keepSnaps"!==t?a.slice(l,c).map((e,t,n)=>{let r=t===m(n);return t?r?g(m(o)-p(n)[0]+1,p(n)[0]):e:g(p(n[0])+1)}):a)}}(es,J,ex,eb,ef,eS),ez=function(e,t,n,r,i,o,s,c){let u={passive:!0,capture:!0},d=0;function f(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(p){c&&(o.add(document,"keydown",f,!1),t.forEach((t,f)=>{o.add(t,"focus",t=>{(l(c)||c(p,t))&&function(t){if(new Date().getTime()-d>10)return;s.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));a(o)&&(i.useDuration(0),r.index(o,0),s.emit("slideFocus"))}(f)},u)}))}}}(e,n,eO,eE,eI,eT,c,Z),eM={ownerDocument:r,ownerWindow:i,eventHandler:c,containerRect:et,slideRects:en,animation:ej,axis:er,dragHandler:function(e,t,n,r,i,o,a,s,c,f,p,m,g,h,y,w,S,j){let{cross:C,direction:N}=e,k=["INPUT","SELECT","TEXTAREA"],A={passive:!1},R=x(),I=x(),D=v(50,225).constrain(h.measure(20)),E={mouse:300,touch:400},P={mouse:500,touch:600},T=y?43:25,L=!1,O=0,z=0,M=!1,F=!1,$=!1,H=!1;function _(e){if(!b(e,r)&&e.touches.length>=2)return V(e);let t=o.readPoint(e),n=o.readPoint(e,C),a=u(t-O),l=u(n-z);if(!F&&!H&&(!e.cancelable||!(F=a>l)))return V(e);let c=o.pointerMove(e);a>w&&($=!0),f.useFriction(.3).useDuration(.75),s.start(),i.add(N(c)),e.preventDefault()}function V(e){var t;let n,r,i=p.byDistance(0,!1).index!==m.get(),a=o.pointerUp(e)*(y?P:E)[H?"mouse":"touch"],s=(t=N(a),n=m.add(-1*d(t)),r=p.byDistance(t,!y).distance,y||u(t)<D?r:S&&i?.5*r:p.byIndex(n.get(),0).distance),l=function(e,t){var n,r;if(0===e||0===t||u(e)<=u(t))return 0;let i=(n=u(e),r=u(t),u(n-r));return u(i/e)}(a,s);F=!1,M=!1,I.clear(),f.useDuration(T-10*l).useFriction(.68+l/50),c.distance(s,!y),H=!1,g.emit("pointerUp")}function B(e){$&&(e.stopPropagation(),e.preventDefault(),$=!1)}return{init:function(e){j&&R.add(t,"dragstart",e=>e.preventDefault(),A).add(t,"touchmove",()=>void 0,A).add(t,"touchend",()=>void 0).add(t,"touchstart",s).add(t,"mousedown",s).add(t,"touchcancel",V).add(t,"contextmenu",V).add(t,"click",B,!0);function s(s){(l(j)||j(e,s))&&function(e){let s,l=b(e,r);if((H=l,$=y&&l&&!e.buttons&&L,L=u(i.get()-a.get())>=2,!l||0===e.button)&&(s=e.target.nodeName||"",!k.includes(s))){let r;M=!0,o.pointerDown(e),f.useFriction(0).useDuration(0),i.set(a),r=H?n:t,I.add(r,"touchmove",_,A).add(r,"touchend",V).add(r,"mousemove",_,A).add(r,"mouseup",V),O=o.readPoint(e),z=o.readPoint(e,C),g.emit("pointerDown")}}(s)}},destroy:function(){R.clear(),I.clear()},pointerDown:function(){return M}}}(er,e,r,i,eR,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(b(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),a=i(e)-i(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),a=i(e)-i(n),s=i(e)-i(r)>170,l=t/a;return a&&!s&&u(l)>.1?l:0},readPoint:o}}(er,i),eN,ej,eE,eI,eD,ey,c,eo,q,U,X,G),eventStore:eT,percentOfView:eo,index:ey,indexPrevious:ew,limit:ev,location:eN,offsetLocation:eA,previousLocation:ek,options:o,resizeHandler:function(e,t,n,r,i,o,a){let s,c,d=[e].concat(r),f=[],p=!1;function m(e){return i.measureSize(a.measure(e))}return{init:function(i){o&&(c=m(e),f=r.map(m),s=new ResizeObserver(n=>{(l(o)||o(i,n))&&function(n){for(let o of n){if(p)return;let n=o.target===e,a=r.indexOf(o.target),s=n?c:f[a];if(u(m(n?e:r[a])-s)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>
1{d.forEach(e=>s.observe(e))}))},destroy:function(){p=!0,s&&s.disconnect()}}}(t,c,i,n,er,Q,ee),scrollBody:eI,scrollBounds:function(e,t,n,r,i){let o=i.measure(10),a=i.measure(50),s=v(.1,.99),l=!1;function c(){return!l&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:c,constrain:function(i){if(!c())return;let l=e.reachedMin(t.get())?"min":"max",d=u(e[l]-t.get()),f=n.get()-t.get(),p=s.constrain(d/a);n.subtract(f*p),!i&&u(f)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}(ev,eA,eR,eI,eo),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:o}=v(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(n.get()):-1===t&&i(n.get())))return;let a=-1*t*e;r.forEach(e=>e.add(a))}}}(eg,ev,eA,[eN,eA,ek,eR]),scrollProgress:eP,scrollSnapList:ex.map(eP.get),scrollSnaps:ex,scrollTarget:eD,scrollTo:eE,slideLooper:function(e,t,n,r,i,o,a,s,l){let c=f(i),u=f(i).reverse(),d=g(m(u,a[0]),n,!1).concat(g(m(c,t-a[0]-1),-n,!0));function p(e,t){return e.reduce((e,t)=>e-i[t],t)}function m(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function g(i,a,c){let u=o.map((e,n)=>({start:e-r[n]+.5+a,end:e+t-.5+a}));return i.map(t=>{let r=c?0:-n,i=c?n:0,o=u[t][c?"end":"start"];return{index:t,loopPoint:o,slideLocation:y(-1),translate:w(e,l[t]),target:()=>s.get()>o?r:i}})}return{canLoop:function(){return d.every(e=>{let{index:n}=e;return .1>=p(c.filter(e=>e!==n),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,eg,el,ec,ep,ex,eA,n),slideFocus:ez,slidesHandler:(M=!1,{init:function(e){Y&&(z=new MutationObserver(t=>{!M&&(l(Y)||Y(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(){z&&z.disconnect(),M=!0}}),slidesInView:eL,slideIndexes:eS,slideRegistry:eO,slidesToScroll:ef,target:eR,translate:w(er,t)};return eM}(e,k,A,I,D,n,L);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(B),M([V,...q.map(e=>{let{options:t}=e;return t})]).forEach(e=>T.add(e,"change",W)),B.active&&(C.translate.to(C.location.get()),C.animation.init(),C.slidesInView.init(),C.slideFocus.init(Q),C.eventHandler.init(Q),C.resizeHandler.init(Q),C.slidesHandler.init(Q),C.options.loop&&C.slideLooper.loop(),k.offsetParent&&A.length&&C.dragHandler.init(Q),N=P.init(Q,q)))}function W(e,t){let n=J();K(),U(O({startIndex:n},e),t),L.emit("reInit")}function K(){C.dragHandler.destroy(),C.eventStore.clear(),C.translate.clear(),C.slideLooper.clear(),C.resizeHandler.destroy(),C.slidesHandler.destroy(),C.slidesInView.destroy(),C.animation.destroy(),P.destroy(),T.clear()}function X(e,t,n){B.active&&!_&&(C.scrollBody.useBaseFriction().useDuration(!0===t?0:B.duration),C.scrollTo.index(e,n||0))}function J(){return C.index.get()}let Q={canScrollNext:function(){return C.index.add(1).get()!==J()},canScrollPrev:function(){return C.index.add(-1).get()!==J()},containerNode:function(){return k},internalEngine:function(){return C},destroy:function(){_||(_=!0,T.clear(),K(),L.emit("destroy"),L.clear())},off:$,on:F,emit:H,plugins:function(){return N},previousScrollSnap:function(){return C.indexPrevious.get()},reInit:W,rootNode:function(){return e},scrollNext:function(e){X(C.index.add(1).get(),e,-1)},scrollPrev:function(e){X(C.index.add(-1).get(),e,1)},scrollProgress:function(){return C.scrollProgress.get(C.offsetLocation.get())},scrollSnapList:function(){return C.scrollSnapList},scrollTo:X,selectedScrollSnap:J,slideNodes:function(){return A},slidesInView:function(){return C.slidesInView.get()},slidesNotInView:function(){return C.slidesInView.get(!1)}};return U(t,n),setTimeout(()=>L.emit("init"),0),Q}function C(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=(0,n.useRef)(e),a=(0,n.useRef)(t),[s,l]=(0,n.use
1State)(),[c,u]=(0,n.useState)(),d=(0,n.useCallback)(()=>{s&&s.reInit(r.current,a.current)},[s]);return(0,n.useEffect)(()=>{i(r.current,e)||(r.current=e,d())},[e,d]),(0,n.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=o(e),r=o(t);return n.every((e,t)=>i(e,r[t]))}(a.current,t)&&(a.current=t,d())},[t,d]),(0,n.useEffect)(()=>{if("u">typeof window&&window.document&&window.document.createElement&&c){j.globalOptions=C.globalOptions;let e=j(c,r.current,a.current);return l(e),()=>e.destroy()}l(void 0)},[c,l]),[u,s]}j.globalOptions=void 0,C.globalOptions=void 0,e.s(["default",0,C],650790);var N=e.i(998796),k=e.i(805936),A=e.i(647163);let R=n.createContext(null);function I(){let e=n.useContext(R);if(!e)throw Error("useSfCarousel must be used within a <SfCarousel />");return e}let D=n.forwardRef((e,r)=>{let{opts:i,setApi:o,plugins:a,className:s,children:l,...c}=e,[u,d]=C({axis:"x",...i},a),[f,p]=n.useState(!1),[m,g]=n.useState(!1),h=n.useCallback(e=>{e&&(p(e.canScrollPrev()),g(e.canScrollNext()))},[]),b=n.useCallback(()=>d?.scrollPrev(),[d]),x=n.useCallback(()=>d?.scrollNext(),[d]),v=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),b()):"ArrowRight"===e.key&&(e.preventDefault(),x())},[b,x]);return n.useEffect(()=>{d&&o&&o(d)},[d,o]),n.useEffect(()=>{if(d)return h(d),d.on("reInit",h),d.on("select",h),()=>{d?.off("select",h)}},[d,h]),(0,t.jsx)(R.Provider,{value:{carouselRef:u,api:d,opts:i,scrollPrev:b,scrollNext:x,canScrollPrev:f,canScrollNext:m},children:(0,t.jsx)("div",{ref:r,onKeyDownCapture:v,className:(0,A.cn)("relative",s),role:"region","aria-roledescription":"carousel",...c,children:l})})});D.displayName="SfCarousel";let E=n.forwardRef((e,n)=>{let{className:r,...i}=e,{carouselRef:o}=I();return(0,t.jsx)("div",{ref:o,className:"overflow-hidden",children:(0,t.jsx)("div",{ref:n,className:(0,A.cn)("flex -ml-4",r),...i})})});E.displayName="SfCarouselContent";let P=n.forwardRef((e,n)=>{let{className:r,...i}=e;return(0,t.jsx)("div",{ref:n,role:"group","aria-roledescription":"slide",className:(0,A.cn)("min-w-0 shrink-0 grow-0 basis-full pl-4",r),...i})});P.displayName="SfCarouselItem";let T="absolute top-1/2 z-10 flex size-10 -translate-y-1/2 items-center justify-center rounded-full border border-gold-tan/60 bg-white text-maroon shadow-card transition-colors hover:bg-surface-cream disabled:pointer-events-none disabled:opacity-0",L=n.forwardRef((e,n)=>{let{className:r,...i}=e,{scrollPrev:o,canScrollPrev:a}=I();return(0,t.jsxs)("button",{ref:n,type:"button",className:(0,A.cn)(T,"-left-4",r),disabled:!a,onClick:o,...i,children:[(0,t.jsx)(N.ChevronLeft,{className:"size-5"}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});L.displayName="SfCarouselPrevious";let O=n.forwardRef((e,n)=>{let{className:r,...i}=e,{scrollNext:o,canScrollNext:a}=I();return(0,t.jsxs)("button",{ref:n,type:"button",className:(0,A.cn)(T,"-right-4",r),disabled:!a,onClick:o,...i,children:[(0,t.jsx)(k.ChevronRight,{className:"size-5"}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})});O.displayName="SfCarouselNext",e.s(["SfCarousel",0,D,"SfCarouselContent",0,E,"SfCarouselItem",0,P,"SfCarouselNext",0,O,"SfCarouselPrevious",0,L],896500)}]);
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.