(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,991511,e=>{"use strict";var t=e.i(592121),r=e.i(806262),n=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,r.useHydrateAtoms)(e);let i=(0,n.useStore)(),o=(0,t.useRef)(e);o.current=e,(0,t.useEffect)(()=>{for(let[e,t]of o.current)i.get(e)!==t&&i.set(e,t)})}])},797770,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["adsMetricsUnitAndZoneAtom",0,t])},752496,e=>{"use strict";var t=e.i(592121),r=e.i(609858);let n=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:i,page:o,onUpdateData:a,onSetPageData:l}){let{updateComponentData:s,setPageData:c}=(0,r.useDebugSystem)(),d=(0,t.useRef)(!1),u=a||s,f=l||c;return(0,t.useEffect)(()=>{if(i)return n.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(i),hasPerformance:!!i.performance,hasContext:!!i.context}),u(e,{...i,_collectedAt:new Date().toISOString()}),()=>{n.lifecycle(`Cleaning up data for ${e}`),u(e,null)}},[e,i,u]),(0,t.useEffect)(()=>{o&&!d.current&&(n.lifecycle("Setting page metadata",{title:o.title,assetName:o.assetName,collection:o.collection}),f({...o,_updatedAt:new Date().toISOString()}),d.current=!0)},[o,f]),null}])},367810,867013,634177,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(291967),i=e.i(144977),o=e.i(156207),a=e.i(461194),l=e.i(534643),s=e.i(60212),c=e.i(89535),d=e.i(614952),u=e.i(653747),f=e.i(556872),p=e.i(371353),m=e.i(927499),h=e.i(73772),g=e.i(982538),v="Dialog",[x,b]=(0,o.createContextScope)(v),[y,w]=x(v),j=e=>{let{__scopeDialog:n,children:i,open:o,defaultOpen:s,onOpenChange:c,modal:d=!0}=e,u=r.useRef(null),f=r.useRef(null),[p,m]=(0,l.useControllableState)({prop:o,defaultProp:s??!1,onChange:c,caller:v});return(0,t.jsx)(y,{scope:n,triggerRef:u,contentRef:f,contentId:(0,a.useId)(),titleId:(0,a.useId)(),descriptionId:(0,a.useId)(),open:p,onOpenChange:m,onOpenToggle:r.useCallback(()=>m(e=>!e),[m]),modal:d,children:i})};j.displayName=v;var C="DialogTrigger",R=r.forwardRef((e,r)=>{let{__scopeDialog:o,...a}=e,l=w(C,o),s=(0,i.useComposedRefs)(r,l.triggerRef);return(0,t.jsx)(f.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":V(l.open),...a,ref:s,onClick:(0,n.composeEventHandlers)(e.onClick,l.onOpenToggle)})});R.displayName=C;var D="DialogPortal",[I,N]=x(D,{forceMount:void 0}),S=e=>{let{__scopeDialog:n,forceMount:i,children:o,container:a}=e,l=w(D,n);return(0,t.jsx)(I,{scope:n,forceMount:i,children:r.Children.map(o,e=>(0,t.jsx)(u.Presence,{present:i||l.open,children:(0,t.jsx)(d.Portal,{asChild:!0,container:a,children:e})}))})};S.displayName=D;var k="DialogOverlay",O=r.forwardRef((e,r)=>{let n=N(k,e.__scopeDialog),{forceMount:i=n.forceMount,...o}=e,a=w(k,e.__scopeDialog);return a.modal?(0,t.jsx)(u.Presence,{present:i||a.open,children:(0,t.jsx)(E,{...o,ref:r})}):null});O.displayName=k;var P=(0,g.createSlot)("DialogOverlay.RemoveScroll"),E=r.forwardRef((e,r)=>{let{__scopeDialog:n,...i}=e,o=w(k,n);return(0,t.jsx)(m.RemoveScroll,{as:P,allowPinchZoom:!0,shards:[o.contentRef],children:(0,t.jsx)(f.Primitive.div,{"data-state":V(o.open),...i,ref:r,style:{pointerEvents:"auto",...i.style}})})}),A="DialogContent",L=r.forwardRef((e,r)=>{let n=N(A,e.__scopeDialog),{forceMount:i=n.forceMount,...o}=e,a=w(A,e.__scopeDialog);return(0,t.jsx)(u.Presence,{present:i||a.open,children:a.modal?(0,t.jsx)(_,{...o,ref:r}):(0,t.jsx)(T,{...o,ref:r})})});L.displayName=A;var _=r.forwardRef((e,o)=>{let a=w(A,e.__scopeDialog),l=r.useRef(null),s=(0,i.useComposedRefs)(o,a.contentRef,l);return r.useEffect(()=>{let e=l.current;if(e)return(0,h.hideOthers)(e)},[]),(0,t.jsx)(B,{...e,ref:s,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:(0,n.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,n.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),T=r.forwardRef((e,n)=>{let i=w(A,e.__scopeDialog),o=r.useRef(!1),a=r.useRef(!1);return(0,t.jsx)(B,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||i.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let r=t.target;i.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),B=r.forwardRef((e,n)=>{let{__scopeDialog:o,trapFocus:a,onOpenAutoFocus:l,onCloseAutoFocus:d,...u}=e,f=w(A,o),m=r.useRef(null),h=(0,i.useComposedRefs)(n,m);return(0,p.useFocusGuards)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:l,onUnmountAutoFocus:d,children:(0,t.jsx)(s.DismissableLayer,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":V(f.open),...u,ref:h,onDismiss:()=>f.onOpenChange(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Z,{titleId:f.titleId}),(0,t.jsx)(Q,{contentRef:m,descriptionId:f.descriptionId})]})]})}),M="DialogTitle",F=r.forwardRef((e,r)=>{let{__scopeDialog:n,...i}=e,o=w(M,n);return(0,t.jsx)(f.Primitive.h2,{id:o.titleId,...i,ref:r})});F.displayName=M;var z="DialogDescription",H=r.forwardRef((e,r)=>{let{__scopeDialog:n,...i}=e,o=w(z,n);return(0,t.jsx)(f.Primitive.p,{id:o.descriptionId,...i,ref:r})});H.displayName=z;var $="DialogClose",W=r.forwardRef((e,r)=>{let{__scopeDialog:i,...o}=e,a=w($,i);return(0,t.jsx)(f.Primitive.button,{type:"button",...o,ref:r,onClick:(0,n.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})});function V(e){return e?"open":"closed"}W.displayName=$;var U="DialogTitleWarning",[q,K]=(0,o.createContext)(U,{contentName:A,titleName:M,docsSlug:"dialog"}),Z=({titleId:e})=>{let t=K(U),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return r.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Q=({contentRef:e,descriptionId:t})=>{let n=K("DialogDescriptionWarning"),i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return r.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(i))},[i,e,t]),null};e.s(["Close",0,W,"Content",0,L,"Description",0,H,"Overlay",0,O,"Portal",0,S,"Root",0,j,"Title",0,F,"Trigger",0,R,"WarningProvider",0,q,"createDialogScope",0,b],867013);var G=e.i(226602),Y=e.i(632137),J=e.i(877957),X=e.i(294237);e.i(368847);let ee=(0,X.cva)("",{variants:{type:{overlay:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-overlay bg-black/50",content:"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 fixed left-[50%] top-[50%] z-overlay w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-white shadow-lg duration-200 sm:max-w-md p-6",header:"mb-4 text-center",footer:"mt-6 flex flex-col-reverse gap-2 text-center"}},defaultVariants:{type:"content"}});function et({...e}){return(0,t.jsx)(S,{"data-slot":"dialog-portal",...e})}function er({className:e,...r}){return(0,t.jsx)(O,{"data-slot":"dialog-overlay",className:(0,Y.cn)(ee({type:"overlay"}),e),...r})}function en({className:e,overlayClassName:r,children:n,showCloseButton:i=!0,...o}){return(0,t.jsxs)(et,{"data-slot":"dialog-portal",children:[(0,t.jsx)(er,{className:r}),(0,t.jsxs)(L,{"data-slot":"dialog-content",className:(0,Y.cn)(ee({type:"content"}),e),...o,children:[n,i&&(0,t.jsxs)(W,{className:"absolute top-4 right-4 cursor-pointer transition-opacity hover:opacity-70 focus:outline-none",children:[(0,t.jsx)(G.Close,{className:"h-5 w-5 text-black"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function ei({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,Y.cn)(ee({type:"header"}),e),...r})}function eo({className:e,children:r,...n}){return(0,t.jsx)(F,{"data-slot":"dialog-title",className:(0,Y.cn)("pt-4 text-center",e),...n,children:r})}function ea({className:e,children:r,...n}){return(0,t.jsx)(H,{"data-slot":"dialog-description",className:(0,Y.cn)("pb-4 text-center",e),...n,children:r})}function el({primary:e,secondary:r,className:n}){return(0,t.jsxs)("div",{className:(0,Y.cn)("flex flex-col-reverse gap-3",n),children:[r&&(0,t.jsx)(J.Button,{variant:"secondary",onClick:r.onClick,className:"w-full",children:r.label}),e&&(0,t.jsx)(J.Button,{variant:"default",onClick:e.onClick,className:"w-full",children:e.label})]})}e.s(["dialogStyles",0,ee],634177),e.s(["BasicDialog",0,function({title:e,description:r,primaryAction:n,secondaryAction:i,showCloseButton:o=!0,className:a,children:l,...s}){return(0,t.jsxs)(en,{showCloseButton:o,className:(0,Y.cn)("p-6",a),...s,children:[(0,t.jsx)(ei,{children:(0,t.jsx)(eo,{children:e})}),(0,t.jsx)(ea,{children:r}),l,(n||i)&&(0,t.jsx)(el,{primary:n,secondary:i})]})},"Dialog",0,function({...e}){return(0,t.jsx)(j,{"data-slot":"dialog",...e})},"DialogClose",0,function({...e}){return(0,t.jsx)(W,{"data-slot":"dialog-close",...e})},"DialogContent",0,en,"DialogDescription",0,ea,"DialogFooter",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-footer",className:(0,Y.cn)(ee({type:"footer"}),e),...r})},"DialogHeader",0,ei,"DialogOverlay",0,er,"DialogPortal",0,et,"DialogTitle",0,eo,"DialogTrigger",0,function({...e}){return(0,t.jsx)(R,{"data-slot":"dialog-trigger",...e})}],367810)},792461,e=>{"use strict";var t=e.i(592121);e.s(["useRefMemo",0,e=>{let r=(0,t.useRef)(e);return r.current=e,r}])},393864,499167,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...o},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":i,...o,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Facebook"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("g",{clipPath:"url(#a)",children:(0,t.jsx)("path",{fill:"currentColor",d:"M8 0a8 8 0 0 0-1.932 15.765v-5.32h-1.65V8h1.65V6.947c0-2.723 1.232-3.985 3.905-3.985.507 0 1.382.1 1.74.198v2.216c-.19-.02-.518-.03-.925-.03-1.312 0-1.818.498-1.818 1.79V8h2.613l-.45 2.445H8.97v5.496A8 8 0 0 0 8 0"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"a",children:(0,t.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]})),o=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));o.displayName="Facebook",e.s(["Facebook",0,o],393864);let a=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...o},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":i,...o,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Twitter"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12.217 1.27h2.249L9.552 6.884l5.78 7.642h-4.525L7.262 9.892l-4.056 4.635H.956L6.21 8.52.666 1.27h4.64l3.205 4.236zm-.79 11.91h1.247L4.63 2.546H3.292z"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:a,...e}));l.displayName="Twitter",e.s(["Twitter",0,l],499167)},498076,e=>{"use strict";var t=e.i(546446),r=e.i(663333);e.s(["useIsMobile",0,function(){return"mobile"===(0,t.useAtomValue)(r.deviceClassAtom)}])},985542,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.searchLocations=a,r.transformLocationSearch=l,r.getLocationsByQuery=s,r.getLocationsByQueryAndType=c;let n=e.r(630585),i=e.r(678651),o=e.r(414655);async function a(e){let t=(0,n.getLocationSearchUrlConfig)(e),r=(0,i.urlFrom)(t),a=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,o.handleFetchResponse)(a)}function l(e){let t=[];if(!e.location||!e.location.city||0===e.location.city.length)return t;let r=e.location.city.length;for(let n=0;n{"use strict";var t=e.i(592121),r=e.i(147732);function n(e,n){let[i,o]=(0,t.useState)(e);return(0,t.useEffect)(()=>{let t=(0,r.debounce)(e=>{o(e)},n);return t(e),()=>{t.cancel()}},[e,n]),i}e.s(["default",0,n,"useDebounce",0,n])},925209,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...o},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":i,...o,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Location"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M8 9a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5m0-4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"}),(0,t.jsx)("path",{d:"m8 15-4.218-4.974-.174-.226A5.44 5.44 0 0 1 2.5 6.5a5.5 5.5 0 1 1 11 0 5.44 5.44 0 0 1-1.107 3.299h-.001s-.15.198-.172.225zM4.406 9.198s.117.154.144.187L8 13.454l3.455-4.075.14-.183A4.45 4.45 0 0 0 12.5 6.5a4.5 4.5 0 1 0-9 0 4.45 4.45 0 0 0 .906 2.698"})]})]})),o=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));o.displayName="Location",e.s(["Location",0,o])},724475,(e,t,r)=>{"use strict";r.match=function(e,t){return s(e).some(function(e){var r=e.inverse,n="all"===e.type||t.type===e.type;if(n&&r||!(n||r))return!1;var i=e.expressions.every(function(e){var r=e.feature,n=e.modifier,i=e.value,o=t[r];if(!o)return!1;switch(r){case"orientation":case"scan":return o.toLowerCase()===i.toLowerCase();case"width":case"height":case"device-width":case"device-height":i=u(i),o=u(o);break;case"resolution":i=d(i),o=d(o);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":i=c(i),o=c(o);break;case"grid":case"color":case"color-index":case"monochrome":i=parseInt(i,10)||1,o=parseInt(o,10)||0}switch(n){case"min":return o>=i;case"max":return o{"use strict";var n=e.r(724475).match,i="u">typeof window?window.matchMedia:null;function o(e,t,r){var o,a=this;function l(e){a.matches=e.matches,a.media=e.media}i&&!r&&(o=i.call(window,e)),o?(this.matches=o.matches,this.media=o.media,o.addListener(l)):(this.matches=n(e,t),this.media=e),this.addListener=function(e){o&&o.addListener(e)},this.removeListener=function(e){o&&o.removeListener(e)},this.dispose=function(){o&&o.removeListener(l)}}t.exports=function(e,t,r){return new o(e,t,r)}},35305,(e,t,r)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},561227,(e,t,r)=>{"use strict";var n=e.r(35305);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},304153,(e,t,r)=>{t.exports=e.r(561227)()},909232,e=>{"use strict";var t=e.i(592121),r=e.i(342716),n=/[A-Z]/g,i=/^ms-/,o={};function a(e){return"-"+e.toLowerCase()}let l=function(e){if(o.hasOwnProperty(e))return o[e];var t=e.replace(n,a);return o[e]=i.test(t)?"-"+t:t};var s=e.i(304153);let c=s.default.oneOfType([s.default.string,s.default.number]),d={all:s.default.bool,grid:s.default.bool,aural:s.default.bool,braille:s.default.bool,handheld:s.default.bool,print:s.default.bool,projection:s.default.bool,screen:s.default.bool,tty:s.default.bool,tv:s.default.bool,embossed:s.default.bool},{type:u,...f}={orientation:s.default.oneOf(["portrait","landscape"]),scan:s.default.oneOf(["progressive","interlace"]),aspectRatio:s.default.string,deviceAspectRatio:s.default.string,height:c,deviceHeight:c,width:c,deviceWidth:c,color:s.default.bool,colorIndex:s.default.bool,monochrome:s.default.bool,resolution:c,type:Object.keys(d)},p={minAspectRatio:s.default.string,maxAspectRatio:s.default.string,minDeviceAspectRatio:s.default.string,maxDeviceAspectRatio:s.default.string,minHeight:c,maxHeight:c,minDeviceHeight:c,maxDeviceHeight:c,minWidth:c,maxWidth:c,minDeviceWidth:c,maxDeviceWidth:c,minColor:s.default.number,maxColor:s.default.number,minColorIndex:s.default.number,maxColorIndex:s.default.number,minMonochrome:s.default.number,maxMonochrome:s.default.number,minResolution:c,maxResolution:c,...f};var m={...d,...p};let h=(0,t.createContext)(void 0),g=e=>{if(e)return Object.keys(e).reduce((t,r)=>(t[l(r)]=e[r],t),{})},v=()=>{let e=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{e.current=!0},[]),e.current};e.s(["useClientMobileMedia",0,()=>!(e=>{let n=(e=>{let r=(0,t.useContext)(h),n=()=>g(e)||g(r),[i,o]=(0,t.useState)(n);return(0,t.useEffect)(()=>{let e=n();!function(e,t){if(e===t)return!0;if(!e||!t)return!1;let r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(let n=0;n{let r=()=>{let t;return e.query||(t=[],Object.keys(m).forEach(r=>{let n=e[r];null!=n&&t.push(((e,t)=>{let r=l(e);if("number"==typeof t&&(t=`${t}px`),!0===t)return r;if(!1===t)return`not ${r}`;return`(${r}: ${t})`})(r,n))}),t.join(" and "))},[n,i]=(0,t.useState)(r);return(0,t.useEffect)(()=>{let e=r();n!==e&&i(e)},[e]),n})(e);if(!i)throw Error("Invalid or missing MediaQuery!");let o=((e,n)=>{let i=()=>(0,r.default)(e,n||{},!!n),[o,a]=(0,t.useState)(i),l=v();return(0,t.useEffect)(()=>{if(l){let e=i();return a(e),()=>{e&&e.dispose()}}},[e,n]),o})(i,n),a=(e=>{let[r,n]=(0,t.useState)(e.matches);return(0,t.useEffect)(()=>{let t=e=>{n(e.matches)};return e.addListener(t),n(e.matches),()=>{e.removeListener(t)}},[e]),r})(o);return v(),(0,t.useEffect)(()=>{},[a]),(0,t.useEffect)(()=>()=>{o&&o.dispose()},[]),a})({query:"(min-width: 768px)"})],909232)},336726,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...o},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":i,...o,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Down"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M8.471 10.529a.667.667 0 0 1-.942 0L3.35 6.35a.495.495 0 1 1 .7-.7L8 9.6l3.95-3.95a.495.495 0 1 1 .7.7z"})]})),o=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));o.displayName="ChevronDown",e.s(["ChevronDown",0,o])},697380,e=>{"use strict";let t=(0,e.i(981030).atom)(0);e.s(["fixedBottomAdHeightAtom",0,t])},859827,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...o},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":i,...o,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Plus"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 8.5a.8.8 0 0 0-.8-.8H8.8V5.3a.8.8 0 1 0-1.6 0v2.4H4.8a.8.8 0 1 0 0 1.6h2.4v2.4a.8.8 0 0 0 1.6 0V9.3h2.4a.8.8 0 0 0 .8-.8"})]})),o=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));o.displayName="Plus",e.s(["Plus",0,o])},993269,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...o},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":i,...o,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Minus"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 8.5a.8.8 0 0 0-.8-.8H4.8a.8.8 0 1 0 0 1.6h6.4a.8.8 0 0 0 .8-.8"})]})),o=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));o.displayName="Minus",e.s(["Minus",0,o])},385277,e=>{"use strict";var t=e.i(592121),r=e.i(792461),n=e.i(333350);e.s(["useClientContainerSize",0,e=>{let i=(0,t.useRef)(null),[o,a]=(0,t.useState)(n.default?e(window.innerWidth,window.innerHeight):null),l=(0,t.useRef)(!1),s=(0,r.useRefMemo)(e);return(0,t.useEffect)(()=>{let e=i.current;if(!e||"u"{window.requestAnimationFrame(()=>{for(let t of e){let{right:e,left:r,top:n,bottom:i}=t.contentRect,o=e+r,c=n+i,d=s.current(o,c);l.current=!0,a(d)}})});return t.observe(e),()=>{t.disconnect()}},[i,s]),[o,i,l.current]}])},235577,e=>{"use strict";var t=e.i(699173),r=e.i(523084),n=e.i(47524),i=e.i(632137),o=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:a,hidden:l,size:s="default",variant:c="light",className:d}){let u="sm"===s,f=(0,i.cn)("text-current",u?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(o.Button,{type:"button",onClick:a,"aria-hidden":"true",tabIndex:-1,className:(0,i.cn)("group absolute top-1/2 z-10 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===c?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===c?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===c?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",u?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",l&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",l&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",l&&"pointer-events-none opacity-0",d),children:"left"===e?(0,t.jsx)(r.ChevronLeft,{className:f}):(0,t.jsx)(n.ChevronRight,{className:f})})}])},457492,e=>{"use strict";var t=e.i(699173),r=e.i(147732),n=e.i(592121),i=e.i(632137),o=e.i(546446),a=e.i(663333),l=e.i(235577),s=e.i(240058);let c=(0,i.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),d=e=>{let{activeIndex:r,index:n,link:o}=e,a=r===n,l=(0,i.cn)(c,{"bg-gray-100 text-blue-500":a});if(e.onSelect){let{onSelect:r}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>r(n,o),className:(0,i.cn)("cursor-pointer",l),"aria-current":a?"page":void 0,children:o.label})}let{basePath:d,mpa:u}=e,f=o.href??("/"===o.slug?d||"/":`${d}/${o.slug}`);return(0,t.jsx)(s.default,{href:f,mpa:u,className:l,"aria-current":a?"page":void 0,sourceModule:"subnavigation",children:o.label})},u=(0,n.memo)(e=>{let{links:s,activeIndex:c,className:u,constrained:f=!0}=e,[p,m]=(0,n.useState)(!1),[h,g]=(0,n.useState)(!1),v=(0,n.useRef)(null),x=(0,n.useRef)(null),b=(0,n.useRef)(!1),y=(0,o.useAtomValue)(a.deviceClassAtom),w="mobile"!==y&&"tablet"!==y,j=(0,n.useCallback)(()=>{let e=v.current;if(!e||!w){m(!1),g(!1);return}let{scrollLeft:t,scrollWidth:r,clientWidth:n}=e,i=Math.abs(t),o=i>2,a=i+n(0,r.debounce)(j,150),[j]),R=(0,n.useCallback)(()=>{null===x.current&&(x.current=requestAnimationFrame(()=>{j(),x.current=null}))},[j]);(0,n.useEffect)(()=>{let e=v.current;e&&(b.current="rtl"===getComputedStyle(e).direction),j();let t=v.current;return t&&(t.addEventListener("scroll",R),window.addEventListener("resize",C)),()=>{null!==x.current&&(cancelAnimationFrame(x.current),x.current=null),t&&t.removeEventListener("scroll",R),C.cancel(),window.removeEventListener("resize",C)}},[s,j,R,C]);let D=(0,n.useCallback)(()=>{v.current?.scrollBy({left:-200,behavior:"smooth"})},[]),I=(0,n.useCallback)(()=>{v.current?.scrollBy({left:200,behavior:"smooth"})},[]);return(0,t.jsxs)("div",{className:(0,i.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",f&&"md:mr-auto md:max-w-[min(958px,100%)]",u),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,i.cn)("pointer-events-none absolute top-0 -left-25 z-[5] h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-[left] md:-top-1 md:h-14 md:rounded-s-[28px]",{"-left-1":p}),"aria-hidden":"true"}),(0,t.jsx)(l.ScrollButton,{hidden:!p,onClick:D,direction:"left"}),(0,t.jsx)("div",{ref:v,className:(0,i.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:s.map((r,n)=>e.onSelect?(0,t.jsx)(d,{link:r,index:n,activeIndex:c,onSelect:e.onSelect},`${r.label}_${r.slug}`):(0,t.jsx)(d,{link:r,index:n,activeIndex:c,basePath:e.basePath,mpa:e.mpa},`${r.label}_${r.slug}`))}),(0,t.jsx)("div",{className:(0,i.cn)("pointer-events-none absolute top-0 -right-25 z-[5] h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-[right] md:-top-1 md:h-14 md:rounded-e-[28px]",{"-right-1":h}),"aria-hidden":"true"}),(0,t.jsx)(l.ScrollButton,{hidden:!h,onClick:I,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,r)=>e.label===t.links[r]?.label&&e.slug===t.links[r]?.slug&&e.href===t.links[r]?.href));u.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,u],457492)}]);