PageSourceSearch

https://www.underarmour.com/_next/static/chunks/204ik3io8fv5r.js?dpl=dpl_5xJGn4TkejawNessRwPf7YPfv28P

js underarmour.com collected 2026-09-24 08:29:17 UTC 28,222 bytes, 2 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,217188,e=>{"use strict";var t=e.i(271645),r=e.i(843476),a=e.i(252856),l=e.i(832901);function n({children:e}){return(0,r.jsx)(r.Fragment,{children:e})}let s=(0,t.memo)(function({id:e,name:s,value:u,defaultValue:o,onInput:i,onChange:d,children:c,uncontrolled:m,className:p="",label:h,...f}){let g=(0,t.useRef)(null),b=(0,t.useRef)(""),v=(0,t.useRef)(-1),_=(0,t.useRef)(null),w=(0,t.useRef)(null),S=(0,t.useMemo)(()=>{let e=t.default.Children.toArray(c);return e.flatMap(function t(r,a,l){if(!Array.isArray(r)){if(r.type!==n)return null;let{children:e,value:t,disabled:a,...l}=r.props;return Object.assign(l,{label:e?.toString()||"",value:t??e?.toString()??"",disabled:a})}return l!==e?null:r.flatMap(t)}).filter(e=>null!==e)},[c]);(0,t.useEffect)(()=>{if(!g.current)return;let e=new MutationObserver(e=>{e.forEach(e=>{let t=document.getElementById(e.oldValue);t?.removeAttribute("data-active");let r=e.target.getAttribute("aria-activedescendant"),a=document.getElementById(r);if(!a||!_.current)return;a.setAttribute("data-active",String(!0));let l=_.current.getBoundingClientRect(),{top:n,bottom:s,height:u}=a.getBoundingClientRect(),o=getComputedStyle(_.current),i=parseInt(o.getPropertyValue("--select-border"),10),d=.5*parseInt(o.getPropertyValue("--select-base-padding"),10);if(n<l.top)_.current.scrollTop=a.offsetTop+d/2-i;else if(s>l.bottom){let e=l.height-d-2*i;_.current.scrollTop=a.offsetTop-e+u}})});return e.observe(g.current,{attributes:!0,attributeFilter:["aria-activedescendant"],attributeOldValue:!0}),()=>e.disconnect()},[]),(0,t.useEffect)(()=>{if(!g.current)return;let e=new MutationObserver(e=>{e.forEach(e=>{if(!_.current)return;let t=e.target;if(t.getAttribute("aria-expanded")!==String(!0))return _.current.setAttribute("hidden",String(!0));let r=t.value?`${t.id}-option-${t.value}`:"";t.setAttribute("aria-activedescendant",r),_.current.removeAttribute("hidden")})});return e.observe(g.current,{attributes:!0,attributeFilter:["aria-expanded"]}),()=>e.disconnect()},[]);let x=(0,t.useCallback)(e=>S.some(t=>e===t.value),[S]);(0,t.useEffect)(()=>{if(null!=u&&g.current)return x(u)?void g.current.setAttribute("value",u):g.current.removeAttribute("value")},[e,u,x,S]),(0,t.useEffect)(()=>{if(!g.current||!_.current||!w.current)return;let t=w.current,r=_.current,a=new MutationObserver(a=>{a.forEach(a=>{let l=a.target,n=document.getElementById(`${e}-option-${l.value}`);if(l.hasAttribute("value")&&!n)return l.removeAttribute("value");l.childNodes[0].textContent=n?.getAttribute("data-label")??"",Array.from(r.children).forEach(e=>e.setAttribute("aria-selected",String(!1))),n?.setAttribute("aria-selected",String(!0)),l.hasAttribute("value")?t.setAttribute("value",l.getAttribute("value")):t.removeAttribute("value")})});return a.observe(g.current,{attributes:!0,attributeFilter:["value"]}),()=>a.disconnect()},[e]),(0,t.useEffect)(()=>{if(!i&&!d||!g.current)return;let e=g.current;return i&&e.addEventListener("input",i),d&&e.addEventListener("change",d),()=>{i&&e.removeEventListener("input",i),d&&e.removeEventListener("change",d)}},[i,d]),(0,t.useEffect)(()=>{if(!g.current)return;let e=g.current;function t(t){e.parentElement?.contains(t.target)||e.getAttribute("aria-expanded")===String(!0)&&e.setAttribute("aria-expanded",String(!1))}return document.addEventListener("click",t),()=>document.removeEventListener("click",t)},[]);let k={onMouseOver(e){g.current?.setAttribute("aria-activedescendant",e.currentTarget.id)},onClick(e){let t=g.current;if(!t)return;let r=e.currentTarget;r.getAttribute("aria-disabled")!==String(!0)&&(t.value!==r.dataset.value&&(t.setAttribute("value",r.dataset.value),t.dispatchEvent(new InputEvent("input",{bubbles:!0})),t.dispatchEvent(new Event("change",{bubbles:!0}))),t.setAttribute("aria-expanded",String(!1)),t.focus())}},y=(0,t.useMemo)(()=>null==u?S[0]:x(u)?S.find(e=>e.value===u):{value:void 0,label:""},[u]);return(0,t.useEffect)(()=>{m&&w.current&&w.current.setAttribute("value",y?.value?.toString()??o?.toString()??"")},[m,y?.value,o]),(0,r.jsxs)("div",{className:`uawc-select ${p}`,"data-select":!0,children:[(0,r.jsx)("input",{ref:w,name:s,value:m?void 0:y?.value??o??"",onChange:e=>{e?.target&&e.target===w.current&&e?.target.value!==o&&S.some(t=>t.value===e.target.value)&&(g.current&&(g.current.value=e.target.value),d&&d(e))},type:"text",tabIndex:-1,"aria-hidden":!0,"aria-describedby":`${e}-error`}),(0,r.jsxs)("button",{ref:g,id:e,name:null!=s?`${s}-combobox`:void 0,type:"button",role:"combobox","aria-controls":`${e}-listbox`,"aria-haspopup":"listbox","aria-expanded":!1,value:y?.value??o??"","aria-activedescendant":`${e}-option-${y?.value??S[0]?.value}`,...f,...{onClick(e){let t=e.currentTarget,r=t.getAttribute("aria-expanded")===String(!0);t.setAttribute("aria-expanded",String(!r)),t.focus()},onKeyDown(e){let t=_.current;if(!t)return;let r=e.currentTarget,a=r.getAttribute("aria-expanded")===String(!0),l=r.getAttribute("aria-activedescendant"),n=document.getElementById(l);if("Enter"===e.key||" "===e.key){if(!a)return void("Enter"===e.key&&(e.preventDefault(),r.form?.requestSubmit()));e.preventDefault(),n?.click()}if("Tab"===e.key){if(!a)return;n?.click()}else if("Escape"===e.key)a&&r.setAttribute("aria-expanded",String(!1));else if("ArrowUp"===e.key){if(e.preventDefault(),!a)return e.currentTarget.setAttribute("aria-expanded",String(!0));n?r.setAttribute("aria-activedescendant",n.previousElementSibling?.id||n.id):r.setAttribute("aria-activedescendant",t.children[0]?.id||"")}else if("ArrowDown"===e.key){if(e.preventDefault(),!a)return e.currentTarget.setAttribute("aria-expanded",String(!0));n?r.setAttribute("aria-activedescendant",n.nextElementSibling?.id||n.id):r.setAttribute("aria-activedescendant",t.children[0]?.id||"")}else if("Home"===e.key){if(e.preventDefault(),!a)return e.currentTarget.setAttribute("aria-expanded",String(!0));r.setAttribute("aria-activedescendant",t.children[0]?.id||"")}else if("End"===e.key){if(e.preventDefault(),!a)return e.currentTarget.setAttribute("aria-expanded",String(!0));let l=t.children;r.setAttribute("aria-activedescendant",l[l.length-1]?.id||"")}else if(/[ -~]/.test(e.key)&&!e.altKey&&!e.metaKey&&!e.ctrlKey){if(!a)return r.setAttribute("aria-expanded",String(!0));clearTimeout(v.current),v.current=window.setTimeout(()=>b.current="",500),e.key.toLowerCase()!==b.current.toLowerCase()&&(b.current+=e.key);let l=Array.from(t.children).findIndex(e=>e.id===r.getAttribute("aria-activedescendant"))+1,n=S.map(e=>e.label),s=n.slice(l).concat(n.slice(0,l)),u=b.current.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),o=RegExp(`^${u}`,"i"),i=s.findIndex(e=>o.test(e)),d=i+l,c=d>=n.length?d-n.length:d;if(i<0)return b.current="",void clearTimeout(v.current);r.setAttribute("aria-activedescendant",t.children[c]?.id||"")}}},children:[(0,r.jsx)("span",{className:y.value?"":"uawc-untouched-label",children:y?.label}),!f.disabled&&(0,r.jsx)(a.default,{size:"SM"})]}),(0,r.jsx)("ul",{ref:_,id:`${e}-listbox`,role:"listbox",hidden:!0,children:S.map(({label:a,value:n,disabled:s,...u})=>(0,t.createElement)("li",{...u,key:`${e}-option-${n}`,id:`${e}-option-${n}`,role:"option","aria-disabled":s,"aria-selected":n===y?.value,"data-label":a,"data-value":n,...k},a,(0,r.jsx)(l.default,{size:"XS"})))}),h&&(0,r.jsx)("fieldset",{"aria-hidden":"true",children:(0,r.jsx)("legend",{children:h})}),(0,r.jsx)("div",{id:`${e}-error`,role:"alert"})]})});s.displayName="Select",e.s(["Option",0,n,"Select",0,s],217188)},177269,e=>{"use strict";var t=e.i(843476),r=e.i(404463);e.s(["DropPinIcon",0,function(e){return(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...(0,r.getEnhancedIconProps)(e),children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 9.788c0 4.889-6.66 12.712-7.572 12.712-.913 0-7.428-7.927-7.428-12.712C4.5 5.218 7.864 1.5 12 1.5s7.5 3.718 7.5 8.288",stroke:"currentColor",strokeWidth:"1.",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("circle",{cx:"12",cy:"9.375",r:"2.625",stroke:"currentColor",strokeWidth:"1.1"})]})}],177269)},24614,e=>{"use strict";var t=e.i(843476),r=e.i(404463);e.s(["ChevronDownIcon",0,function(e){return(0,t.jsx)("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","data-caret-icon":!0,...(0,r.getEnhancedIconProps)(e),children:(0,t.jsx)("path",{d:"m15 4.5-6.99 6.99a.015.015 0 0 1-.02 0L1 4.5",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})})}],24614)},805112,642875,e=>{"use strict";async function t(e,t){try{let r=await fetch(`${e}?lat=${t.latitude}&lng=${t.longitude}`);if(!r.ok)return new Date;let a=await r.json();return a.time?new Date(a.time):new Date}catch{return new Date}}e.s(["getStoreLocalTime",0,t],805112),e.s(["STORE_LOCATOR_ENDPOINTS",0,{time:"/api/store-locator/time",geocode:"/api/store-locator/geocode",nearby:"/api/store-locator/nearby"}],642875)},880161,e=>{e.v({divided:"StoreLocatorNav-module-scss-module__86j3wW__divided",fadeInOpacity:"StoreLocatorNav-module-scss-module__86j3wW__fadeInOpacity",fadeInUp:"StoreLocatorNav-module-scss-module__86j3wW__fadeInUp",link:"StoreLocatorNav-module-scss-module__86j3wW__link",nav:"StoreLocatorNav-module-scss-module__86j3wW__nav"})},156962,e=>{e.v({checkbox:"StoreFilters-module-scss-module__z8ZE4W__checkbox",fadeInOpacity:"StoreFilters-module-scss-module__z8ZE4W__fadeInOpacity",fadeInUp:"StoreFilters-module-scss-module__z8ZE4W__fadeInUp",filters:"StoreFilters-module-scss-module__z8ZE4W__filters",label:"StoreFilters-module-scss-module__z8ZE4W__label",labelContent:"StoreFilters-module-scss-module__z8ZE4W__labelContent"})},75110,e=>{e.v({actionButton:"StoreListItem-module-scss-module__bvgAHG__actionButton",actions:"StoreListItem-module-scss-module__bvgAHG__actions",address:"StoreListItem-module-scss-module__bvgAHG__address",body:"StoreListItem-module-scss-module__bvgAHG__body",closed:"StoreListItem-module-scss-module__bvgAHG__closed",detailsButton:"StoreListItem-module-scss-module__bvgAHG__detailsButton",distance:"StoreListItem-module-scss-module__bvgAHG__distance",fadeInOpacity:"StoreListItem-module-scss-module__bvgAHG__fadeInOpacity",fadeInUp:"StoreListItem-module-scss-module__bvgAHG__fadeInUp",footer
1:"StoreListItem-module-scss-module__bvgAHG__footer",item:"StoreListItem-module-scss-module__bvgAHG__item",name:"StoreListItem-module-scss-module__bvgAHG__name",open:"StoreListItem-module-scss-module__bvgAHG__open",permanentlyClosed:"StoreListItem-module-scss-module__bvgAHG__permanentlyClosed",phone:"StoreListItem-module-scss-module__bvgAHG__phone",status:"StoreListItem-module-scss-module__bvgAHG__status",statusDot:"StoreListItem-module-scss-module__bvgAHG__statusDot",statusText:"StoreListItem-module-scss-module__bvgAHG__statusText",temporarilyClosed:"StoreListItem-module-scss-module__bvgAHG__temporarilyClosed"})},252118,e=>{e.v({buttonRow:"StoreLocator-module-scss-module__RwkEFG__buttonRow",container:"StoreLocator-module-scss-module__RwkEFG__container",fadeInOpacity:"StoreLocator-module-scss-module__RwkEFG__fadeInOpacity",fadeInUp:"StoreLocator-module-scss-module__RwkEFG__fadeInUp",filtersSection:"StoreLocator-module-scss-module__RwkEFG__filtersSection",filtersToggle:"StoreLocator-module-scss-module__RwkEFG__filtersToggle",form:"StoreLocator-module-scss-module__RwkEFG__form",inputField:"StoreLocator-module-scss-module__RwkEFG__inputField",inputRow:"StoreLocator-module-scss-module__RwkEFG__inputRow",list:"StoreLocator-module-scss-module__RwkEFG__list",locationButton:"StoreLocator-module-scss-module__RwkEFG__locationButton",mapWrap:"StoreLocator-module-scss-module__RwkEFG__mapWrap",navBar:"StoreLocator-module-scss-module__RwkEFG__navBar",panel:"StoreLocator-module-scss-module__RwkEFG__panel",rangeSelect:"StoreLocator-module-scss-module__RwkEFG__rangeSelect",searchButton:"StoreLocator-module-scss-module__RwkEFG__searchButton",searchSection:"StoreLocator-module-scss-module__RwkEFG__searchSection",status:"StoreLocator-module-scss-module__RwkEFG__status",title:"StoreLocator-module-scss-module__RwkEFG__title"})},875364,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(618566),l=e.i(942194),n=e.i(555437),s=e.i(20257),u=e.i(217188),o=e.i(24614),i=e.i(694938),d=e.i(177269),c=e.i(522016),m=e.i(385569),p=e.i(757155);let h={"en-us":"https://help.underarmour.com/s/article/Under-Armour-Return-Policy","en-ca":"https://help.underarmour.com/s/article/Under-Armour-Return-Policy","en-gb":"https://www.underarmour.co.uk/en-gb/returnlabel/","en-at":"https://www.underarmour.at/en-at/returnlabel/","en-be":"https://www.underarmour.be/en-be/returnlabel/","en-ch":"https://www.underarmour.ch/en-ch/returnlabel/","en-dk":"https://www.underarmour.dk/en-dk/returnlabel/","en-my":"https://www.underarmour.com.my/en-my/returnlabel/","en-no":"https://www.underarmour.no/en-no/returnlabel/","en-ph":"https://www.underarmour.com.ph/en-ph/returnlabel/","en-pl":"https://www.underarmour.pl/en-pl/returnlabel/","en-pt":"https://www.underarmour.pt/en-pt/returnlabel/","en-se":"https://www.underarmour.se/en-se/returnlabel/","en-fr":"https://www.underarmour.fr/en-fr/returnlabel/","en-de":"https://www.underarmour.de/en-de/returnlabel/","en-es":"https://www.underarmour.es/en-es/returnlabel/","en-it":"https://www.underarmour.it/en-it/returnlabel/","en-nl":"https://www.underarmour.nl/en-nl/returnlabel/","en-ie":"https://www.underarmour.ie/en-ie/returnlabel/","en-hk":"https://www.underarmour.hk/en-hk/returnlabel/","en-au":"https://www.underarmour.com.au/en-au/returnlabel/","en-sg":"https://www.underarmour.com.sg/en-sg/returnlabel/","en-th":"https://www.underarmour.co.th/en-th/returnlabel/","en-id":"https://www.underarmour.co.id/en-id/returnlabel/","en-fi":"https://www.underarmour.fi/en-fi/returnlabel/","fr-ca":"https://www.underarmour.ca/fr-ca/returnlabel/","fr-fr":"https://www.underarmour.fr/fr-fr/returnlabel/","fr-be":"https://www.underarmour.be/fr-be/returnlabel/","fr-ch":"https://www.underarmour.ch/fr-ch/returnlabel/","de-de":"https://www.underarmour.de/de-de/returnlabel/","de-at":"https://www.underarmour.at/de-at/returnlabel/","de-ch":"https://www.underarmour.ch/de-ch/returnlabel/","es-es":"https://www.underarmour.es/es-es/returnlabel/","es-mx":"https://www.underarmour.com.mx/es-mx/returnlabel/","it-it":"https://www.underarmour.it/it-it/returnlabel/","it-ch":"https://www.underarmour.ch/it-ch/returnlabel/","ko-kr":"https://www.underarmour.co.kr/ko-kr/returnlabel/","nl-nl":"https://www.underarmour.nl/nl-nl/returnlabel/","nl-be":"https://www.underarmour.be/nl-be/returnlabel/","pl-pl":"https://www.underarmour.pl/pl-pl/returnlabel/","zh-
1hk":"https://www.underarmour.hk/zh-hk/returnlabel/","th-th":"https://www.underarmour.co.th/th-th/returnlabel/","pt-pt":"https://www.underarmour.pt/pt-pt/returnlabel/"};var f=e.i(880161);function g({locale:e,formatMessage:r,items:a}){return(0,t.jsx)("nav",{className:f.default.nav,children:a.map((a,l)=>(0,t.jsx)("div",{className:l>0?f.default.divided:void 0,children:(a=>{switch(a){case"store-index":return(0,t.jsxs)(c.default,{href:`/${e}/stores`,className:f.default.link,children:[(0,t.jsx)(m.MenuIcon,{size:"XS"}),r("store-index")]});case"store-search":return(0,t.jsxs)(c.default,{href:`/${e}/stores/locator`,className:f.default.link,children:[(0,t.jsx)(d.DropPinIcon,{size:"XS"}),r("store-search")]});case"store-returns":return(0,t.jsxs)(c.default,{href:h[e]??h["en-us"],className:f.default.link,target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)(p.ReturnIcon,{size:"XS"}),r("store-returns")]})}})(a)},a))})}var b=e.i(227323),v=e.i(494876),_=e.i(156962);function w({formatMessage:e,filters:a,setFilters:l}){let n=(0,r.useMemo)(()=>[{id:"brandHouses",label:e("under-armour-brand-houses"),icon:"Brand House"},{id:"factoryHouses",label:e("under-armour-factory-houses"),icon:"Factory House"},{id:"dealers",label:e("under-armour-dealers"),icon:"Dealer"},{id:"popUp",label:e("under-armour-pop-up"),icon:"PopUp"}],[e]);return(0,t.jsx)("div",{className:_.default.filters,role:"group","aria-label":e("store-type-filters"),children:n.map(e=>(0,t.jsx)(b.Checkbox,{id:e.id,className:_.default.checkbox,defaultChecked:a[e.id],onChange:t=>l({...a,[e.id]:t.target.checked}),label:(0,t.jsxs)("span",{className:_.default.labelContent,children:[(0,t.jsx)(v.StoreMarkerIcon,{storeType:e.icon,size:24}),(0,t.jsx)("span",{className:_.default.label,children:e.label})]})},e.id))})}var S=e.i(129310),x=e.i(164916),k=e.i(487032),y=e.i(458946),j=e.i(75110);function E({locale:e,store:r,formatMessage:l,highlightStore:n,currentTime:s}){var u;let o=(0,a.useRouter)(),{isOpen:i,day:m,start:p,end:h,hoursNotAvailable:f}=(0,y.getTodaysHours)(r,s),g=(0,k.isStoreVeryClosed)(r),b=`/${e}/stores/detail/${r.id}`,_=(u=r.coordinates,`https://www.google.com/maps/dir/?api=1&destination=${u.latitude},${u.longitude}`),w=()=>{window.innerWidth>768?n(r):o.push(b)};return(0,t.jsxs)("div",{className:j.default.item,role:"article",tabIndex:0,"aria-label":`${r.name} - ${(0,k.getFullStreetAddress)(r.address)}, ${r.address.city}, ${r.address.state} ${r.address.zip??""}`,onClick:w,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),w())},children:[(0,t.jsx)(v.StoreMarkerIcon,{storeType:r.store_type,size:24}),(0,t.jsxs)("div",{className:j.default.body,children:[(0,t.jsx)("h2",{className:j.default.name,children:r.name}),(0,t.jsx)("p",{className:j.default.address,children:(0,k.getFullStreetAddress)(r.address)}),(0,t.jsxs)("p",{className:j.default.address,children:[r.address.city,", ",r.address.state," ",r.address.zip]}),r.phone&&(0,t.jsx)("button",{type:"button",className:j.default.phone,"aria-label":`${l("call-store")} ${(0,x.formatPhoneNumber)(r.address.country,r.phone)}`,onClick:e=>{e.preventDefault(),e.stopPropagation(),window.open(`tel:${r.phone}`)},children:(0,x.formatPhoneNumber)(r.address.country,r.phone)}),!f&&(0,t.jsxs)("div",{className:j.default.status,children:[!g&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:`${j.default.statusDot} ${i?j.default.open:j.default.closed}`,role:"img","aria-label":l(i?"store-open":"store-closed")}),i?(0,t.jsxs)("span",{className:j.default.statusText,children:[m," ",p," - ",h]}):(0,t.jsx)("span",{className:j.default.statusText,children:l("closed-right-now")})]}),"CLOSED_PERMANENTLY"===r.openInfo&&(0,t.jsx)("span",{className:j.default.permanentlyClosed,children:l("permanently-closed")}),"CLOSED_TEMPORARILY"===r.openInfo&&(0,t.jsx)("span",{className:j.default.temporarilyClosed,children:l("temporarily-closed")})]}),(0,t.jsxs)("div",{className:j.default.footer,children:[(0,t.jsxs)("div",{className:j.default.actions,children:[(0,t.jsx)("a",{href:_,target:"_blank",rel:"noopener noreferrer",className:j.default.actionButton,title:l("get-directions"),"aria-label":l("get-directions"),onClick:e=>e.stopPropagation(),children:(0,t.jsx)(d.DropPinIcon,{size:"SM",color:"var(--color-white)"})}),(0,t.jsx)(c.default,{href:b,className:`${j.default.actionButton} ${j.default.detailsButton}`,title:l("view-store-details"),"aria-label":l("view-store-details"),onClick:e=>e.stopPropagation(),children:(0,t.jsx)(S.ShoppingBagIcon,{size:"SM",color:"var(--color-white)"})})]}),null!=r.distance&&(0,t.jsxs)("span",{className:j.default.distance,children:[r.distance," ",l("miles")]})]})]})]})}
1let A=(0,e.i(770703).default)(()=>e.A(962722),{loadableGenerated:{modules:[386759]},ssr:!1,loading:()=>(0,t.jsx)("div",{style:{height:"100%",width:"100%"},"aria-hidden":"true"})});function I(e){return(0,t.jsx)(A,{...e})}let L={"en-us":{value:"Baltimore, MD",latitude:39.390897,longitude:-76.610722},"en-ca":{value:"Toronto, ON",latitude:43.65107,longitude:-79.347015},"fr-ca":{value:"Montreal, QC",latitude:45.501689,longitude:-73.567256},"fr-fr":{value:"Paris, FR",latitude:48.856614,longitude:2.352222},"de-de":{value:"Berlin, DE",latitude:52.52,longitude:13.405},"es-es":{value:"Madrid, ES",latitude:40.416775,longitude:-3.70379},"it-it":{value:"Rome, IT",latitude:41.90332,longitude:12.45339},"nl-be":{value:"Brussels, BE",latitude:50.8503,longitude:4.3517},"fr-be":{value:"Brussels, BE",latitude:50.8503,longitude:4.3517},"nl-nl":{value:"Amsterdam, NL",latitude:52.372776,longitude:4.892222},"en-nl":{value:"Amsterdam, NL",latitude:52.372776,longitude:4.892222},"en-gb":{value:"London, England",latitude:51.507351,longitude:-.127758},"en-at":{value:"Vienna, AT",latitude:48.2082,longitude:16.3738},"en-ie":{value:"Dublin, IE",latitude:53.3498,longitude:-6.2603},"en-be":{value:"Brussels, BE",latitude:50.8503,longitude:4.3517},"en-pt":{value:"Lisbon, PT",latitude:38.7223,longitude:-9.1393},"en-it":{value:"Rome, IT",latitude:41.90332,longitude:12.45339},"en-es":{value:"Madrid, ES",latitude:40.416775,longitude:-3.70379},"en-fr":{value:"Paris, FR",latitude:48.856614,longitude:2.352222},"en-se":{value:"Stockholm, SE",latitude:59.3293,longitude:18.0686},"en-no":{value:"Oslo, NO",latitude:59.9139,longitude:10.7522},"en-ch":{value:"Zurich, CH",latitude:47.3769,longitude:8.5417},"en-hk":{value:"Hong Kong, HK",latitude:22.3193,longitude:114.1694},"en-au":{value:"Sydney, AU",latitude:-33.8688,longitude:151.2093},"en-my":{value:"Kuala Lumpur, MY",latitude:3.139,longitude:101.6869},"en-sg":{value:"Singapore, SG",latitude:1.3521,longitude:103.8198},"en-th":{value:"Bangkok, TH",latitude:13.7563,longitude:100.5018},"fr-ch":{value:"Zurich, CH",latitude:47.3769,longitude:8.5417},"de-at":{value:"Vienna, AT",latitude:48.2082,longitude:16.3738},"de-ch":{value:"Zurich, CH",latitude:47.3769,longitude:8.5417},"it-ch":{value:"Zurich, CH",latitude:47.3769,longitude:8.5417},"ko-kr":{value:"Seoul, KR",latitude:37.5665,longitude:126.978},"es-mx":{value:"Mexico City, MX",latitude:19.4326,longitude:-99.1332},"pl-pl":{value:"Warsaw, PL",latitude:52.2297,longitude:21.0122},"zh-hk":{value:"Hong Kong, HK",latitude:22.3193,longitude:114.1694},"th-th":{value:"Bangkok, TH",latitude:13.7563,longitude:100.5018},"en-de":{value:"Berlin, DE",latitude:52.52,longitude:13.405},"en-dk":{value:"Copenhagen, DK",latitude:55.6761,longitude:12.5683},"en-id":{value:"Jakarta, ID",latitude:-6.2089,longitude:106.8456},"en-ph":{value:"Manila, PH",latitude:14.5995,longitude:120.9842},"en-pl":{value:"Warsaw, PL",latitude:52.2297,longitude:21.0122},"pt-pt":{value:"Lisbon, PT",latitude:38.7223,longitude:-9.1393},"en-fi":{value:"Helsinki, FI",latitude:60.192,longitude:24.9458}};function N(e){return L[e]??L["en-us"]}async function C(e,t,r){let a=new URLSearchParams({lat:String(t.latitude),lng:String(t.longitude),radius:String(r)});t.country&&a.set("country",t.country);try{let t=await fetch(`${e}?${a.toString()}`);if(!t.ok)return[];return(await t.json()).stores??[]}catch{return[]}}async function R(e,t,r){try{let a=await fetch(`${e}?address=${encodeURIComponent(t)}&locale=${encodeURIComponent(r)}`);if(!a.ok)return null;let l=await a.json();if("number"!=typeof l.latitude||"number"!=typeof l.longitude)return null;return{latitude:l.latitude,longitude:l.longitude,country:l.country}}catch{return null}}var T=e.i(805112),O=e.i(642875),$=e.i(252118);let D="ua-store-locator-radius",H=["en-us"];e.s(["StoreLocator",0,function({locale:e,messages:c}){let m=(0,a.useSearchParams)(),p=(0,r.useCallback)(e=>c[e]??e,[c]),h=(0,r.useRef)(null),[f,b]=(0,r.useState)(null),[v,_]=(0,r.useState)(null),[S,x]=(0,r.useState)(null),[k,y]=(0,r.useState)(!1),[j,A]=(0,r.useState)({brandHouses:!0,factoryHouses:!0,dealers:!0,popUp:!0}),[L,B]=(0,r.useState)([]),[F,G]=(0,r.useState)(null),[P,M]=(0,r.useState)(!0),U=H.includes(e),[z,W]=(0,r.useState)(()=>{{let e=sessionStorage.getItem(D);if(e)return Number(e)}return U?50:25}),K=U?[{value:15,label:"15 miles"},{value:30,label:"30 miles"},{value:50,label:"50 miles"}]:[{value:25,label:"25 km"},{value:50,label:"50 km"},{value:80,label:"80 km"}],Z=(0,r.useCallback)(e=>{x(e)},[]),V=(0,r.useCallback)(e=>U?e:Math.round(.621371*e),[U]),q=(0,r.useCallback)(async t=>{b(p("calculating-location"));let r=await R(O.STORE_LOCATOR_ENDPOINTS.geocode,t,e);if(!r)return void b(null);b(p("finding-stores"));let a=await C(O.STORE_LOCATOR_ENDPOINTS.nearby,r,V(z));G(r),B(a),(0,T.getStoreLocalTime)(O.STORE_LOCATOR_ENDPOINTS.time,r).then(_),b(null)},[p,e,z,V]),X=(0,r.useCallback)(async e=>{b(p("finding-stores"));let t=await C(O.STORE_LOCATOR_ENDPOINTS.nearby,e,V(z));G(e),B(t),(0,T.getStoreLocalTime)(O.STORE_LOCATOR_ENDPOINTS.time,e).then(_),b(null)},[p,z,V]),Y=(0,r.useCallback)(e=>{let t=Number(e);W(t),sessionStorage.setItem(D,String(t)),F&&(b(p("finding-stores")),C(O.STORE_LOCATOR_ENDPOINTS.nearby,F,V(t)).then(e=>{B(e),b(null)}))},[F,V,p]),J=(0,r.useMemo)(()=>L.filter(e=>!!j.brandHouses&&"Brand House"===e.store_type||!!j.factoryHouses&&"Factory House"===e.store_type||!!j.dealers&&"Dealer"===e.store_type||!!j.popUp&&"PopUp"===e.store_type),[L,j]),Q=(0,r.useCallback)(e=>{let t=new URLSearchParams(m.toString());e?t.set("q",e):t.delete("q"),window.history.pushState(null,"",`?${t.toString()}`)},[m]);(0,r.useEffect)(()=>{let t=m.get("q");
1if(t)h.current&&(h.current.value=t),M(!1),q(t);else{let t=N(e);h.current&&(h.current.value=t.value),X({latitude:t.latitude,longitude:t.longitude,country:e.split("-")[1]?.toUpperCase()})}},[m,e]);let ee=(0,r.useCallback)(e=>{e.preventDefault();let t=h.current?.value??"";x(null),Q(t),q(t)},[q,Q]),et=(0,r.useCallback)(()=>{navigator.geolocation&&(b(p("getting-location")),navigator.geolocation.getCurrentPosition(e=>{h.current&&(h.current.value=`${e.coords.latitude}, ${e.coords.longitude}`),X({latitude:e.coords.latitude,longitude:e.coords.longitude})},()=>{b(null)}))},[p,X]),er=F??N(e);return(0,t.jsxs)("div",{className:$.default.container,role:"main",children:[(0,t.jsxs)("div",{className:$.default.panel,role:"complementary",children:[(0,t.jsx)("div",{className:$.default.navBar,children:(0,t.jsx)(g,{locale:e,formatMessage:p,items:["store-index","store-returns"]})}),(0,t.jsxs)("div",{className:$.default.searchSection,children:[(0,t.jsx)("h1",{className:$.default.title,children:p("find-a-store-near-you")}),(0,t.jsxs)("form",{onSubmit:ee,className:$.default.form,role:"search",children:[(0,t.jsxs)("div",{className:$.default.inputRow,children:[(0,t.jsx)("div",{className:$.default.inputField,children:(0,t.jsx)(s.InputField,{id:"location-search",label:p("enter-location"),ref:h,onChange:e=>M(!e.target.value.trim())})}),(0,t.jsx)("div",{className:$.default.rangeSelect,children:(0,t.jsx)(u.Select,{id:"search-range",label:p("search-range"),value:String(z),onChange:e=>Y(e.target.value),children:K.map(e=>(0,t.jsx)(u.Option,{value:String(e.value),children:e.label},e.value))})})]}),(0,t.jsxs)("div",{className:$.default.buttonRow,children:[(0,t.jsx)(l.Button,{type:"submit",className:$.default.searchButton,"aria-label":p("search"),disabled:P,children:p("search")}),(0,t.jsx)(n.IconButton,{type:"button",variant:"secondary",className:$.default.locationButton,icon:d.DropPinIcon,label:p("get-current-location"),onClick:et})]})]})]}),(0,t.jsxs)("div",{className:$.default.filtersSection,children:[(0,t.jsxs)("button",{type:"button",className:$.default.filtersToggle,onClick:()=>y(e=>!e),"aria-expanded":k,"aria-controls":"filters-content",children:[p("filters"),k?(0,t.jsx)(i.ChevronUpIcon,{size:"SM"}):(0,t.jsx)(o.ChevronDownIcon,{size:"SM"})]}),k&&(0,t.jsx)("div",{id:"filters-content",role:"region","aria-label":p("filters"),children:(0,t.jsx)(w,{formatMessage:p,filters:j,setFilters:A})})]}),(0,t.jsxs)("div",{className:$.default.list,role:"region","aria-label":p("store-list"),"aria-live":"polite",children:[!f&&J.map(r=>(0,t.jsx)(E,{locale:e,store:r,formatMessage:p,highlightStore:Z,currentTime:v??new Date},r.id)),f&&(0,t.jsx)("div",{className:$.default.status,role:"status",children:f}),!f&&0===J.length&&(0,t.jsx)("div",{className:$.default.status,role:"status",children:p("no-stores-found")})]})]}),(0,t.jsx)("div",{className:$.default.mapWrap,children:(0,t.jsx)(I,{locale:e,stores:J,originalCenter:er,zoom:11,storeToHighlight:S,formatMessage:p,currentTime:v??new Date})})]})}],875364)},962722,e=>{e.v(t=>Promise.all(["static/chunks/14f4ujzb6exia.css","static/chunks/0geo3d4fgw_of.css","static/chunks/1-p25tsrjiw3a.css","static/chunks/2pc7ejfowhqa8.css","static/chunks/3ip_ojdoudrj-.js","static/chunks/3cc_5h1_fg86i.js"].map(t=>e.l(t))).then(()=>t(386759)))}]);
2

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.