1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,16027,e=>{"use strict";var t,o,i=e.i(91398),a=e.i(88756),r=e.i(75436),s=e.i(44888),n=e.i(15600),l=e.i(86883),d=e.i(22276),c=e.i(52295);let p=()=>{let{addProductModalProduct:e}=(0,d.useSelector)(e=>e.appAlert),{user:t}=(0,n.useAccount)(),o=(0,d.useDispatch)();return t?(0,i.jsx)(s.SideModal,{label:"Termék hozzáadása a bevásárló listához",isOpen:!!e,onRequestClose:()=>{o(l.AppAlertActions.updateAddProductModalProduct(null))},children:!!e&&(0,i.jsx)(c.AddProductToShoppingListBody,{product:e})}):null};var u=e.i(60814),f=e.i(53973),C=e.i(35531),m=e.i(51040),h=e.i(91788);let x=()=>{let e=(0,d.useDispatch)(),{cartAlertVisible:t}=(0,d.useSelector)(e=>e.appAlert);return(0,h.useEffect)(()=>(t&&(0,m.showToast)((0,i.jsxs)("div",{children:[(0,i.jsx)(f.Typo,{$variant:"bold14",$variantMedium:"bold16",$color:"grayD",children:C.Intl.formatMessage({id:"components.cart.changedTitle"})}),(0,i.jsx)(g,{$variant:"regular12",$variantMedium:"regular14",$color:"grayD",children:C.Intl.formatMessage({id:"components.cart.changedDescription"})})]}),"warning"),()=>{e(l.AppAlertActions.updateCartAlertVisible(!1))}),[t,e]),null};var g=(0,u.default)(f.Typo).withConfig({displayName:"CartChangeAlert___StyledTypo",componentId:"sc-d7af3294-0"})`margin-top: 20px; margin-left: -30px; width: calc(100% + 69px);`,y=e.i(84695),j=e.i(2069),b=e.i(7554),v=e.i(3828),M=e.i(49918);let S=function(e){return(0,i.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",focusable:!1,"aria-hidden":!0,...e,children:[e.title&&(0,i.jsx)("title",{children:e.title}),(0,i.jsx)("use",{xlinkHref:"/svg/sprites.svg?27b7a50c#rossmann-red-emblem"})]})},w=({appBannerLink:e})=>{let t=(0,v.useRouter)(),o=(0,d.useDispatch)(),{isAppBannerHidden:a}=(0,d.useSelector)(e=>e.appAlert);return a?null:(0,i.jsx)("div",{className:"hide-for-medium",style:{maxWidth:"600px",marginLeft:"auto",marginRight:"auto"},onClick:()=>t.push(e),children:(0,i.jsxs)(L,{children:[(0,i.jsxs)(_,{children:[(0,i.jsx)("div",{onClick:e=>{e.stopPropagation(),b.Cookie.setIsAppBannerHidden(),o(l.AppAlertActions.updateIsAppBannerHidden(!0))},children:(0,i.jsx)(M.default,{width:17,height:17})}),(0,i.jsx)(A,{children:(0,i.jsx)(S,{})}),(0,i.jsxs)(k,{children:[(0,i.jsx)(I,{children:C.Intl.formatMessage({id:"pages.home.seasonalPromo.appBanner.infoTitle"})}),(0,i.jsx)(E,{children:C.Intl.asHtml({id:"pages.home.seasonalPromo.appBanner.infoDescription"})})]})]}),(0,i.jsx)($,{children:C.Intl.formatMessage({id:"pages.home.seasonalPromo.appBanner.download"})})]})})},L=u.default.div.withConfig({displayName:"AppBanner__AppBannerContainer",componentId:"sc-18a82664-0"})` 2 padding: 15px; 3 display: flex; 4 justify-content: space-between; 5 align-items: center; 6 font-family: ${j.fontVars.inter}; 7`,_=u.default.div.withConfig({displayName:"AppBanner__AppBannerLeft",componentId:"sc-18a82664-1"})` 8 display: flex; 9 align-items: center; 10 11 div { 12 margin-right: 13px; 13 } 14`,A=u.default.div.withConfig({displayName:"AppBanner__EmblemWrapper",componentId:"sc-18a82664-2"})` 15 border: 0.5px solid #aaaaaa; 16 border-radius: 11px; 17 padding: 7px; 18 box-shadow: 1px 1px 4px 0px #00000040; 19`,I=u.default.div.withConfig({displayName:"AppBanner__AppBannerTitle",componentId:"sc-18a82664-3"})` 20 font-weight: 400; 21 font-size: 18px; 22 line-height: 18px; 23 color: #000000; 24`,E=u.default.div.withConfig({displayName:"AppBanner__AppBannerDescription",componentId:"sc-18a82664-4"})` 25 font-weight: 400; 26 font-size: 10px; 27 line-height: 11px; 28 color: #000000; 29 color: #aaaaaa; 30`,k=u.default.div.withConfig({displayName:"AppBanner__InfoWrapper",componentId:"sc-18a82664-5"})` 31 display: flex; 32 flex-direction: column; 33 justify-content: space-between; 34 height: 56px; 35`,$=u.default.div.withConfig({displayName:"AppBanner__DownloadButton",componentId:"sc-18a82664-6"})` 36 font-weight: 400; 37 font-size: 18px; 38 background-color: #d7213d; 39 color: #ffffff; 40 padding: 5px 20px; 41 border-radius: 16px; 42`;var T=e.i(90322);let B="mutation setFavouriteStore($store_id: Int!) {\n setFavouriteStore(store_id: $store_id)\n}\n";var F=e.i(35205),D=e.i(41084),P=e.i(8039),N=e.i(62164),Z=e.i(94103),H=e.i(2441),O=e.i(30646),R=e.i(93158),W=e.i(72825),z=e.i(1837),V=e.i(90070),U=e.i(34697),G=e.i(33725),q=e.i(39012),Q=e.i(1090),X=e.i(49365),K=e.i(16951),J=e.i(22434);let Y=function(e){return(0,i.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",focusable:!1,"aria-hidden":!0,...e,children:[e.title&&(0,i.jsx)("title",{children:e.title}),(0,i.jsx)("use",{xlinkHref:"/svg/sprites.svg?27b7a50c#caret-small"})]})};var ee=e.i(34968),et=e.i(74142),eo=e.i(47269);let ei=function({title:e,titleId:t,...o}){return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",focu
42sable:!1,"aria-labelledby":t,...o,children:[e?(0,i.jsx)("title",{id:t,children:e}):null,(0,i.jsx)("path",{d:"M7.19923 1.46217C8.4923 1.20496 9.83271 1.33662 11.0508 1.84107C12.2689 2.34561 13.3104 3.19996 14.043 4.29615C14.7755 5.39248 15.167 6.68171 15.167 8.00025C15.167 9.76836 14.4641 11.4639 13.2139 12.7141C11.9636 13.9644 10.2681 14.6672 8.50001 14.6672C7.18147 14.6672 5.89223 14.2758 4.79591 13.5432C3.69972 12.8107 2.84537 11.7691 2.34083 10.551C1.83637 9.33296 1.70471 7.99254 1.96192 6.69947C2.21919 5.40637 2.85385 4.21867 3.78614 3.28638C4.71843 2.3541 5.90612 1.71943 7.19923 1.46217ZM8.00001 11.6672V12.3342H9.00001V11.6672H8.00001ZM8.00001 10.6663H9.00001V3.33326H8.00001V10.6663Z",fill:"#E3C216"})]})};var ea=e.i(57103),er=e.i(79878),es=e.i(65053),en=e.i(52505);let el=({storeId:e,isMobile:t,isCncUnavailable:o})=>{let r=(0,d.useSelector)(e=>e.cart.items),{data:s,loading:n}=(0,K.useQuery)("query productStocksStore($ids: [Int!]!, $store_id: Int!) {\n productStocksStore(ids: $ids, store_id: $store_id) {\n ...ProductStockStore\n }\n}\n\nfragment ProductStockStore on ProductStockStore {\n store_id\n product_id\n qty\n}\n",{variables:{ids:r.map(e=>e.product.id),store_id:e}}),l=e=>s?s.productStocksStore.find(t=>t.product_id===e)?.qty??null:null,c=r.every(e=>{let t=l(e.product.id);return!!t&&e.quantity<=t}),p=r.some(e=>{let t=l(e.product.id);return e.quantity>0&&t&&t>0&&e.quantity>t}),u=r.filter(e=>e.product.type!==a.ProductType.gratis&&e.quantity>0&&!l(e.product.id)).length,m=null,h=null,x=null;return o?(m=C.Intl.formatMessage({id:"components.cartStoreStock.cncUnavailable"}),x=(0,i.jsx)(er.default,{className:"clr-red","aria-hidden":!0})):c?(m=C.Intl.formatMessage({id:"components.cartStoreStock.allAvailable"}),h=(0,i.jsx)(ed,{}),x=(0,i.jsx)(ea.default,{className:"clr-green","aria-hidden":!0})):p?(m=C.Intl.formatMessage({id:"components.cartStoreStock.few"}),h=(0,i.jsx)(ec,{}),x=(0,i.jsx)(ei,{className:"clr-feedback-warning","aria-hidden":!0})):u&&(m=C.Intl.formatMessage({id:"components.cartStoreStock.someUnavailable"},{quantity:u}),h=(0,i.jsx)(ep,{}),x=(0,i.jsx)(er.default,{className:"clr-red","aria-hidden":!0})),n?(0,i.jsx)(eo.default,{}):t?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(ee.Box,{$style:{display:"flex"},children:h}),(0,i.jsxs)(ee.Box,{$style:{position:"relative",marginTop:10,paddingLeft:26,gridColumn:"1 / -1"},children:[(0,i.jsx)(f.TypoRest,{$variant:"Small-12-Regular",as:"div",className:"clr-davys-grey",children:(0,i.jsx)(ee.Box,{$style:{fontWeight:800},children:m})}),(0,i.jsx)(ee.Box,{$style:{position:"absolute",top:0,left:0},children:x})]})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(ee.Box,{$style:{display:"flex"},children:h}),(0,i.jsxs)(ee.Box,{$style:{position:"relative",paddingLeft:26,gridColumn:"1 / -1"},children:[(0,i.jsx)(f.TypoRest,{$variant:"Small-12-Regular",as:"div",className:"clr-davys-grey",children:(0,i.jsx)(ee.Box,{$style:{fontWeight:800},children:m})}),(0,i.jsx)(ee.Box,{$style:{position:"absolute",top:0,left:0},children:x})]})]})};var ed=(0,u.default)(es.default).withConfig({displayName:"CartStoreStock___StyledSvgHouse",componentId:"sc-27bbb4e6-0"})` 43 margin-left: 5px; 44 color: ${Q.Color.greenL}; 45 `,ec=(0,u.default)(en.default).withConfig({displayName:"CartStoreStock___StyledSvgHouse2",componentId:"sc-27bbb4e6-1"})` 46 margin: 0 10px 0 5px; 47 `,ep=(0,u.default)(en.default).withConfig({displayName:"CartStoreStock___StyledSvgHouse3",componentId:"sc-27bbb4e6-2"})` 48 margin: 0 10px 0 5px; 49 `;let eu=({store:e,isLoading:t,onClick:o,disabled:a,isMobile:r,isOpen:s})=>{let n=new Date().getDay();return r&&e?(0,i.jsx)("div",{children:(0,i.jsxs)(eb,{children:[(0,i.jsxs)(ee.Box,{$style:{display:"grid",gridTemplateColumns:"1fr auto",gap:10},children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(f.Typo,{$variant:"Body-16-EBold",children:e.street}),(0,i.jsx)(f.Typo,{$variant:"Body-Small-14-Regular",children:[e.zip_code,e.city].filter(Boolean).join(" ")})]}),(0,i.jsx)(el,{storeId:e.id,isCncUnavailable:!(0,X.isStoreCnc)(e),isMobile:!0})]}),(0,i.jsx)(eg,{children:e.openings.split("\n").map((e,t)=>(0,i.jsxs)(ey,{children:[(0,i.jsxs)(f.Typo,{$variant:n===t+1?"bold14":"regular14",children:[e.split(": ")[0],n===t+1&&` (${C.Intl.formatMessage({id:"common.today"})})`]}),(0,i.jsx)(f.Typo,{$variant:n===t+1?"bold14":"regular14",children:et.StringUtils.formatStoreOpening(e)}
49)]},t))}),(0,i.jsx)(f.Typo,{$variant:"regular12",children:C.Intl.formatMessage({id:"components.productLocation.disclaimer"})}),(0,i.jsx)(ev,{size:"medium",fullWidth:"always",btnLabel:C.Intl.formatMessage({id:"components.productLocation.selectStore"}),onClick:o,disabled:t}),(0,i.jsx)(ej,{$variant:"regular12",children:C.Intl.formatMessage({id:"components.productLocation.defaultShop"})})]})}):(0,i.jsx)(ex,{children:(0,i.jsxs)(eh,{children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(f.Typo,{$variant:"Body-16-EBold",children:e.street}),(0,i.jsx)(f.Typo,{$variant:"Body-Small-14-Regular",children:[e.zip_code,e.city].filter(Boolean).join(" ")})]}),(0,i.jsx)(el,{storeId:e.id,isCncUnavailable:!(0,X.isStoreCnc)(e)}),(0,i.jsxs)(em,{open:s,children:[(0,i.jsxs)(eC,{children:[(0,i.jsxs)(ee.Box,{as:"span",$style:{minWidth:0,flex:"none",display:"flex",gap:5,alignItems:"center",marginRight:"auto",fontWeight:700,userSelect:"none"},children:[(0,i.jsx)(ee.Box,{as:"span",$style:{minWidth:0,flex:"none"},children:C.Intl.formatMessage({id:"storeFinder.openingTimesTitle"})}),(0,i.jsx)(ef,{children:(0,i.jsx)(Y,{"aria-hidden":!0})})]}),(()=>{let t=e?.openings?e.openings.split("\n")[0===n?6:n-1]:null;if(!t)return null;let o=t.split(":")[0],a=t.split(`${o}: `)[1];return(0,i.jsxs)(ee.Box,{className:"store-todays-openings",as:"span",$style:{minWidth:0,flex:"none",display:"flex",gap:10},children:[(0,i.jsx)(ee.Box,{as:"span",$style:{minWidth:0,flex:"none"},children:`${o} (${C.Intl.formatMessage({id:"common.today"}).toLowerCase()})`}),(0,i.jsx)(ee.Box,{as:"span",$style:{minWidth:0,flex:"none"},children:a})]})})()]}),(0,i.jsx)(eg,{children:e&&e.openings.split("\n").map((e,t)=>(0,i.jsxs)(ey,{children:[(0,i.jsxs)(f.Typo,{$variant:n===t+1?"bold14":"regular14",children:[e.split(": ")[0],n===t+1&&` (${C.Intl.formatMessage({id:"common.today"}).toLowerCase()})`]}),(0,i.jsx)(f.Typo,{$variant:n===t+1?"bold14":"regular14",children:e.split(" ")[1]?e.split(" ")[1]:C.Intl.formatMessage({id:"common.closed"})})]},t))}),(0,i.jsx)(f.Typo,{$variant:"regular12",children:C.Intl.formatMessage({id:"components.productLocation.disclaimer"})})]}),(0,i.jsx)(ee.Box,{$style:{gridColumn:"1 / -1"},children:(0,i.jsx)(J.Button.Primary,{size:"medium",fullWidth:"always",btnLabel:C.Intl.formatMessage({id:"components.productLocation.selectStore"}),onClick:o,disabled:!!a})}),(0,i.jsx)(f.TypoRest,{as:"div",$variant:"Small-12-Regular",$style:{gridColumn:"1 / -1"},children:C.Intl.formatMessage({id:"components.productLocation.defaultShop"})})]})})},ef=u.default.span.withConfig({displayName:"CartStoreInfoBox__StoreInfoListItemDetailsSummaryCaretWrapper",componentId:"sc-2ac983ae-0"})({flex:"none",minWidth:0,color:Q.default.color.red}),eC=(0,u.default)(f.TypoRest).attrs({as:"summary",$variant:"Body-Small-14-EBold"}).withConfig({displayName:"CartStoreInfoBox__StoreInfoListItemDetailsSummary",componentId:"sc-2ac983ae-1"})({columnGap:10,cursor:"pointer",display:"flex",flexWrap:"wrap",fontWeight:800,listStyle:"none","&::-webkit-details-marker":{display:"none"}}),em=u.default.details.withConfig({displayName:"CartStoreInfoBox__StoreInfoListItemDetails",componentId:"sc-2ac983ae-2"})({gridColumn:"1 / -1",[`&[open] ${ef}`]:{transform:"scale(-1)"},"&[open] .store-todays-openings":{visibility:"hidden"}}),eh=u.default.article.withConfig({displayName:"CartStoreInfoBox__StoreInfoListItem",componentId:"sc-2ac983ae-3"})(({theme:e})=>
49({background:e.color.neutralSnow,borderRadius:4,columnGap:10,display:"grid",padding:10,rowGap:20,[Q.bp.medium]:{gridTemplateColumns:"1fr auto"}})),ex=u.default.div.withConfig({displayName:"CartStoreInfoBox__StoreInfoListStack",componentId:"sc-2ac983ae-4"})({display:"grid",gap:15}),eg=u.default.ul.withConfig({displayName:"CartStoreInfoBox__DaysList",componentId:"sc-2ac983ae-5"})` 50 padding-bottom: 10px; 51 52 ${Q.bp.medium} { 53 padding: 10px 0; 54 } 55`,ey=u.default.li.withConfig({displayName:"CartStoreInfoBox__Day",componentId:"sc-2ac983ae-6"})` 56 padding: 10px 0; 57 display: flex; 58 justify-content: space-between; 59 60 &:not(:last-child) { 61 border-bottom: 1px solid ${e=>e.theme.color.grayXL}; 62 } 63`,ej=(0,u.default)(f.Typo).withConfig({displayName:"CartStoreInfoBox__DefaultShopTypo",componentId:"sc-2ac983ae-7"})` 64 text-align: center !important; 65`,eb=u.default.div.withConfig({displayName:"CartStoreInfoBox__StoreInfoWrapper",componentId:"sc-2ac983ae-8"})` 66 background: ${e=>e.theme.color.grayXXL}; 67 border-radius: 4px; 68 margin-bottom: 16px; 69 padding: 10px; 70 71 ${Q.bp.medium} { 72 margin-bottom: 20px; 73 } 74`;var ev=(0,u.default)(J.Button.Primary).withConfig({displayName:"CartStoreInfoBox___StyledButtonPrimary",componentId:"sc-2ac983ae-9"})` 75 margin: 20px 0; 76 `;let eM=()=>{let{user:e,refetchUser:t}=(0,n.useAccount)(),o=(0,d.useDispatch)(),{loadingVisible:a}=(0,d.useSelector)(e=>e.appAlert),{favouriteStore:c}=(0,U.useFavouriteStore)(),{getAuthToken:p}=(0,q.useSession)(),u=(0,d.useSelector)(e=>e.appAlert.cartStockLocationModalOpen),[x,g]=(0,h.useState)(null),[y]=(0,K.useMutation)(B),{data:j,loading:b,refetch:v}=(0,K.useQuery)("query checkoutClickAndCollectStoreIds {\n checkoutClickAndCollectStoreIds\n}\n",{useCache:!0,skip:!u}),[S,w]=(0,h.useState)(!1),[L,_]=(0,h.useState)(!0),[A,I]=(0,h.useState)(0),{createGeoJSONFeature:E,zoomToCluster:k,mapRef:$,mapContainerRef:T,coordinates:W,easeMapToLocation:Q,setSearchInput:J,searchInput:Y,searchFieldProps:ee,showLocationPermissionError:et,renderSearchResults:eo,suggestions:ei}=(0,G.useMapbox)(),{data:ea}=(0,K.useQuery)(F.storesQuery,{useCache:!0,skip:!u}),er=(0,X.getIsMobile)(),es=(0,h.useRef)(null),en=(0,h.useMemo)(()=>new Set(j?.checkoutClickAndCollectStoreIds),[j?.checkoutClickAndCollectStoreIds]),el=(0,h.useMemo)(()=>{let e=ea?.stores??[];return(L?e.filter(e=>en.has(e.id)):e).map(e=>({store:e,inStock:en.has(e.id)}))},[en,ea?.stores,L]),ed=(0,h.useMemo)(()=>el.map(e=>E({...e.store,inStock:e.inStock}))??[],[E,el]),ec=(0,h.useCallback)(()=>{J(""),g(null),setTimeout(()=>{es.current&&es.current.focus()},0)},[J]);(0,h.useEffect)(()=>{u&&(v(),_(!0))},[u,v]);let ep=(0,h.useRef)(ed);ep.current=ed;let ef=(0,h.useRef)(ea);ef.current=ea,(0,h.useEffect)(()=>{if(!$)return;let e=e=>{e.getCanvas().style.cursor="pointer"},t=e=>{e.getCanvas().style.cursor=""},o=e=>{if(!e.features)return;let t=ef.current?.stores.find(t=>t.id===e.features[0].properties.id);t&&(Q(t.lng,t.lat,void 0,er?void 0:{padding:{top:0,right:375,bottom:0,left:0}}),J(""),I(0),g(t),(0,X.scrollToId)(`store-info-box-wrapper-${t.id}`))},i=e=>{ec(),k(e,"stores-clusters")},a=(e,t)=>{0===t.queryRenderedFeatures(e.point,{layers:["stores-clusters","unclustered-stores"]}).length&&ec()};return $.addSource("stores",{type:"geojson",data:{type:"FeatureCollection",features:ep.current},cluster:!0,clusterMaxZoom:14,clusterRadius:30}),$.addLayer({id:"stores-clusters",type:"symbol",source:"stores",filter:["has","point_count"],layout:{"icon-image":"cluster","icon-allow-overlap":!0,"icon-ignore-placement":!0,"text-field":"{point_count_abbreviated}","text-font":["DIN Offc Pro Medium","Arial Unicode MS Bold"],"text-size":12,"text-offset":[0,-.4]},paint:{"text-color":"#ffffff"}}),$.addLayer({id:"unclustered-stores",type:"symbol",source:"stores",filter:["!",["has","point_count"]],layout:{"icon-image":["case",["==",["get","inStock"],!0],"rossmann","rossmann-gray"],"icon-size":1,"icon-anchor":"bottom","icon-allow-overlap":!0,"icon-ignore-placement":!0}}
76),$.on("click","unclustered-stores",o),$.on("click","stores-clusters",i),$.on("click",e=>a(e,$)),$.on("mouseleave",["stores-clusters","unclustered-stores"],()=>t($)),$.on("mouseenter",["stores-clusters","unclustered-stores"],()=>e($)),()=>{$&&$.getSource("stores")&&($.removeLayer("stores-clusters"),$.removeLayer("unclustered-stores"),$.removeSource("stores"),$.off("click","unclustered-stores",o),$.off("click","stores-cluster",i),$.off("click",e=>a(e,$)),$.off("mouseleave",["stores-clusters","unclustered-stores"],()=>t($)),$.off("mouseenter",["stores-clusters","unclustered-stores"],()=>e($)))}},[$,Q,ec,er,J,k]),(0,h.useEffect)(()=>{x&&J(x?`${x.street?`${x.street} `:""} ${[x.zip_code,x.city].filter(Boolean).join(" ")}`:"")},[x]),(0,h.useEffect)(()=>{if(!$)return;let e=$.getSource("stores");"geojson"!==e.type?console.warn('storesSources.type !== "geojson" this shouldn\'t happen'):e.setData({type:"FeatureCollection",features:ed})},[ed,$]);let eC=(0,h.useMemo)(()=>{if(!W)return[];let{lng:e,lat:t}=W;return eS(el,e,t).slice(0,5)},[W,el]),em=1===A?eC:[],eh=async()=>{if(w(!0),await p(),x){let{error:i}=await y({variables:{store_id:x.id}});if(i)return void(0,m.toastError)((0,r.getGraphQLErrorMessage)(i));e?t():o(l.AppAlertActions.updateGuestFavStore(x)),eg()}w(!1)},ex=async i=>{w(!0),await p();let{error:a}=await y({variables:{store_id:i.id}});a?(0,m.toastError)((0,r.getGraphQLErrorMessage)(a)):(e?t():o(l.AppAlertActions.updateGuestFavStore(i)),eg(),w(!1))},eg=()=>{o(l.AppAlertActions.updateCartStockLocationModalOpen(!1)),g(null),J("")},ey=[(0,i.jsxs)(eT,{$isActive:0===A,children:[(0,i.jsx)(O.default,{}),C.Intl.formatMessage({id:"checkout.storeAddressSelector.mapTabLabel"})]},0),(0,i.jsxs)(eT,{$isActive:1===A,children:[(0,i.jsx)(H.default,{}),C.Intl.formatMessage({id:"checkout.storeAddressSelector.listTabLabel"})]},1)],ej=0===A&&!!x,eb=(0,i.jsxs)(i.Fragment,{children:[er&&x&&(0,i.jsx)(eP,{children:1===A&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.Typo,{$variant:"bold16",children:x.street}),(0,i.jsx)(f.Typo,{$variant:"regular16",children:[x.zip_code,x.city].filter(Boolean).join(" ")})]})}),x&&(0,i.jsx)(eu,{store:x,isLoading:a||b,onClick:eh,disabled:S,isMobile:er,isOpen:!er})]}),ev=C.Intl.formatMessage({id:"components.productLocation.cartTitle"});return u?(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(s.MapModal,{label:ev,isOpen:u,onRequestClose:eg,maxWidth:"85%",children:[(0,i.jsx)(ew,{children:(0,i.jsx)("div",{ref:T,style:{height:"100%"}})}),(0,i.jsxs)(eE,{isOpenedStore:ej,children:[(0,i.jsxs)(s.ModalHeader,{children:[(0,i.jsx)(s.ModalTitle,{children:ev}),(0,i.jsx)(P.IconButton.ModalClose,{btnLabel:"Dialógus bezárása",icon:(0,i.jsx)(M.default,{}),onClick:er&&x?ec:eg})]}),er&&x&&0===A&&(0,i.jsx)(eA,{store:x}),!(er&&0===A&&x)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(D.Checkbox,{label:(0,i.jsx)(f.Typo,{$variant:"bold14",$color:"grayD",children:C.Intl.formatMessage({id:"components.productLocation.cartInStock"})}),checked:L,onChange:()=>{_(e=>!e)},size:"large",$noStack:!0,disabled:a}),(0,i.jsx)(e$,{labels:ey,activeIndex:A,onTabClick:e=>I(e)}),(0,i.jsxs)(V.TooltipPopover,{defaultOpen:!0,open:!0,children:[(0,i.jsx)(V.TooltipPopoverAnchor,{asChild:!0,children:(0,i.jsxs)(eB,{children:[(0,i.jsx)(z.InputLabelText,{className:"fw-bold",children:C.Intl.formatMessage({id:"components.productLocation.searchByAddress"})}),(0,i.jsxs)(eF,{children:[(0,i.jsx)(Z.Searchfield,{placeholder:C.Intl.formatMessage({id:"components.productLocation.placeholder"}),hideSearchButton:!0,searchIcon:(0,i.jsx)(R.default,{width:24,height:24}),disabled:a,noRightRounding:!0,showLocationButton:!0,onLocationError:()=>et(s.LocationVariant.storeFinder),isFullWidth:!0,...ee,value:Y??c?.address}),!!Y&&(0,i.jsx)(P.IconButton.Cancel,{className:"cancel-button",btnLabel:"CÃm törlése",icon:(0,i.jsx)(M.default,{}),onClick:ec,disabled:!Y&&!x})]})]})}),!!Y&&ei.length>0&&eo(e_),0===em.length&&0===ei.length&&(0,i.jsx)(N.MapTooltipContent,{shouldDelay:!0,text:C.Intl.formatMessage({id:"common.mapTooltipContent"})})]})]}),(0,i.jsx)(ek,{isHidden:0!==A,children:eb}),(0,i.jsx)(ek,{isHidden:1!==A,children:em.length>0&&em.map(e=>{let t=`store-info-box-wrapper-${e.store.id}`;return(0,i.jsx)(eD,{id:t,children:(0,i.jsx)(eu,{store:e.store,isLoading:a,onClick:()=>ex(e.store),disabled:S,isMobile:er,isOpen:x?.id===e.store.id})},t)})})]})]})}):null},eS=(e,t,o)=>{let i=new window.mapboxgl.LngLat(t,o),a=e.map(e=>{let t=new window.mapboxgl.LngLat(e.store.lng,e.store.lat);return{store:e.store,distance:i.distanceTo(t),inStock:e.inStock}});return a.sort((e,t)=>
76e.distance-t.distance),a},ew=u.default.div.withConfig({displayName:"CartStockLocationModal__MapWrapper",componentId:"sc-ba42df3f-0"})` 77 position: absolute; 78 top: 0; 79 left: 0; 80 right: 0; 81 bottom: 0; 82 background: ${e=>e.theme.color.beige}; 83 84 .cluster { 85 div { 86 width: 28px !important; 87 line-height: 35px !important; 88 color: white !important; 89 } 90 } 91 .gm-style-cc { 92 display: none; 93 } 94`,eL=u.default.div.withConfig({displayName:"CartStockLocationModal__ModalContentBox",componentId:"sc-ba42df3f-1"})` 95 background: ${e=>e.theme.color.white}; 96 /* TODO: https://bigfishhu.atlassian.net/browse/ROS-2822 */ 97 /* border-radius: 8px 8px 0 0; */ 98 border-radius: 8px; 99 padding-left: 10px; 100 padding-right: 10px; 101 /* TODO: https://bigfishhu.atlassian.net/browse/ROS-2822 (remove once it's released) */ 102 /* padding-top: ${56}px; */ 103 padding-top: 0px; 104 position: absolute; 105 left: 0; 106 bottom: 0; 107 width: 100%; 108 height: ${e=>e.isOpenedStore?"100%":"auto"}; 109 max-height: ${e=>e.isOpenedStore?"100%":"50%"}; 110 overflow: auto; 111 112 ${Q.bp.medium} { 113 position: relative; 114 left: unset; 115 bottom: unset; 116 /* TODO: https://bigfishhu.atlassian.net/browse/ROS-2822 */ 117 border-radius: 0; 118 padding-left: 20px; 119 padding-right: 20px; 120 padding-bottom: 4px; 121 width: 420px; 122 max-height: 80%; 123 margin-left: auto; 124 } 125`,e_=u.default.ul.withConfig({displayName:"CartStockLocationModal__SearchResults",componentId:"sc-ba42df3f-2"})` 126 width: 100%; 127 background: ${e=>e.theme.color.white}; 128 padding: 10px; 129 border-radius: 4px; 130 border: 1px solid ${e=>e.theme.color.grayL}; 131 margin-bottom: 16px; 132 133 ${Q.bp.medium} { 134 margin-bottom: 20px; 135 } 136`,eA=({store:e})=>{let{createGeoJSONFeature:t,easeMapToLocation:o,isLoaded:a,mapRef:r,mapContainerRef:s}=(0,G.useMapbox)({dragPan:!1}),{lng:n,lat:l}=e,d=t({lat:l,lng:n});return(0,h.useEffect)(()=>{if(r&&a)return o(n,l,15),r.addSource("marker-source",{type:"geojson",data:{type:"FeatureCollection",features:[d]}}),r.addLayer({id:"marker-layer",type:"symbol",source:"marker-source",layout:{"icon-image":"rossmann-gray","icon-anchor":"bottom"}}),()=>{r.removeLayer("marker-layer"),r.removeSource("marker-source")}},[r,a]),(0,i.jsx)(eI,{ref:s})},eI=u.default.div.withConfig({displayName:"CartStockLocationModal__SmallMapContainer",componentId:"sc-ba42df3f-3"})` 137 height: 120px; 138 border-radius: 8px; 139`,eE=(0,u.default)(eL).withConfig({displayName:"CartStockLocationModal__ProductLocationModalContentBox",componentId:"sc-ba42df3f-4"})` 140 ${Q.bp.medium} { 141 max-height: 100%; 142 height: 100%; 143 } 144 border-radius: 0; 145`,ek=u.default.div.withConfig({displayName:"CartStockLocationModal__TabWrapper",componentId:"sc-ba42df3f-5"})` 146 visibility: ${e=>e.isHidden?"hidden":"visible"}; 147 ${e=>!!e.isHidden&&"height: 1px;"}; 148`,e$=(0,u.default)(W.Tabs).withConfig({displayName:"CartStockLocationModal__LocalTabs",componentId:"sc-ba42df3f-6"})` 149 margin-bottom: 15px; 150`,eT=u.default.div.withConfig({displayName:"CartStockLocationModal__LabelWrapper",componentId:"sc-ba42df3f-7"})` 151 display: flex; 152 align-items: center; 153 154 margin-top: 10px; 155 156 svg { 157 margin-right: 8px; 158 } 159 div, 160 span { 161 margin-right: 5px; 162 } 163 164 font-weight: ${e=>e.$isActive?"bold":"normal"}; 165`,eB=u.default.div.withConfig({displayName:"CartStockLocationModal__SearchFieldWrapper",componentId:"sc-ba42df3f-8"})` 166 margin-bottom: 15px; 167`,eF=u.default.div.withConfig({displayName:"CartStockLocationModal__InputAndButtons",componentId:"sc-ba42df3f-9"})` 168 display: flex; 169 170 .cancel-button { 171 margin-left: 5px; 172 } 173`,eD=u.default.div.withConfig({displayName:"CartStockLocationModal__ListStoreWrapper",componentId:"sc-ba42df3f-10"})` 174 margin-bottom: 15px; 175`;var eP=(0,u.default)("div").withConfig({displayName:"CartStockLocationModal___StyledDiv",componentId:"sc-ba42df3f-11"})` 176 margin-bottom: 10px; 177 `,eN=e.i(99278);let eZ=()=>{let e=(0,d.useSelector)(e=>e.auth.user),t=!!e,o=e?.cookie_consent,[i]=(0,K.useMutation)("mutation updateCookieConsent($value: String!) {\n updateCookieConsent(value: $value)\n}\n"),a=async()=>{let t=b.Cookie.getCookieConsent();if(!t||!e||!o)return;let a=t.replace(/%2C/g,",").replace(/'/g,'"').replace(/([{[,])\s*([a-zA-Z0-9_]+?):/g,'$1"$2":').replace(/%27/g,'"');if(a.replace(/\//g,"").replace(/\\/g,"")!==o.replace(/\//g,"").replace(/\\/g,"")){try{JSON.parse(a)}catch(e){console.warn("Making CookieConsent to valid json failed.",e);return}i({variables:{value:a}})}},r=(0,eN.usePrevious)(t);return(0,h.useEffect)(()=>{!r&&t&&a()},[t]),(0,h.useEffect)(()=>
177{if(t)return window.addEventListener("CookiebotOnAccept",a),window.addEventListener("CookiebotOnDecline",a),()=>{window.removeEventListener("CookiebotOnAccept",a),window.removeEventListener("CookiebotOnDecline",a)}},[a]),null};var eH=e.i(84718),eO=e.i(76817),eR=e.i(14306),eW=e.i(87836),ez=e.i(58021),eV=e.i(2202),eU=e.i(97227);let eG=()=>{let[e,t]=(0,h.useState)(!1),o=(0,h.useRef)(null),[a]=(0,K.useMutation)(eH.updateNotificationsMutation),[r]=(0,K.useManualQuery)(eO.getCsrfTokenQuery,{skipCache:!0}),{user:l,refetchUser:d}=(0,n.useAccount)(),{register:c,handleSubmit:p,formState:{errors:u,isSubmitting:m}}=(0,ez.useForm)({defaultValues:{termsAccepted:!1}}),x=async e=>{let t="accept"===o.current;if((!t||e.termsAccepted)&&l&&l.rossmann_plus_profile)try{let{data:e}=await r({variables:{mutation:"updateNotifications"}});if(e?.csrfToken){let o=await a({variables:{notifications:(l.notification_settings??[]).map(e=>({type:e.type,enabled:e.enabled,channel:e.channel})),newsletter:l.newsletter,enable_profiling:l.rossmann_plus_profile?.enable_profiling,enable_extended_profiling:t,csrf:e.csrfToken}});o.error&&console.error("Error updating notifications:",o.error),await d()}}catch(e){console.error("Error updating notifications:",e)}};return l?.rossmann_plus_profile?.needs_extended_profiling_confirmation?(0,i.jsxs)(s.SideModal,{label:"Needs Extended Profiling Confirmation",isOpen:!0,children:[(0,i.jsx)(s.ModalHeader,{children:(0,i.jsx)(s.ModalTitle,{children:C.Intl.formatMessage({id:"extendedProfileConfirmation.modal.title"})})}),(0,i.jsxs)(eQ,{children:[(0,i.jsx)(f.Typo,{$variant:"Body-16-Bold",children:C.Intl.formatMessage({id:"extendedProfileConfirmation.modal.subtitle"})}),(0,i.jsx)(f.Typo,{$variant:"Body-16-Regular",children:C.Intl.formatMessage({id:"extendedProfileConfirmation.modal.description1"})}),(0,i.jsx)(f.Typo,{$variant:"Body-16-Regular",children:C.Intl.formatMessage({id:"extendedProfileConfirmation.modal.description2"})}),(0,i.jsxs)(eX,{$detailsExpanded:e,children:[(0,i.jsxs)(eq,{className:"button-red",$expanded:e,"aria-expanded":e,"aria-label":C.Intl.formatMessage({id:"extendedProfileConfirmation.modal.showMore"}),onClick:()=>t(!e),children:[(0,i.jsx)(f.Typo,{$variant:"regular16",children:C.Intl.formatMessage({id:"extendedProfileConfirmation.modal.showMore"})}),(0,i.jsx)(eU.default,{})]}),(0,i.jsx)(eW.Collapse,{isOpened:e,children:(0,i.jsxs)(eQ,{children:[(0,i.jsx)(f.Typo,{$variant:"Body-16-Regular",children:C.Intl.asHtml({id:"extendedProfileConfirmation.modal.informations.line1"})}),(0,i.jsx)(f.Typo,{$variant:"Body-16-Regular",children:C.Intl.asHtml({id:"extendedProfileConfirmation.modal.informations.line2"})}),(0,i.jsx)(f.Typo,{$variant:"Body-16-Regular",children:C.Intl.asHtml({id:"extendedProfileConfirmation.modal.informations.line3"})})]})})]})]}),(0,i.jsxs)("form",{onSubmit:p(x),children:[(0,i.jsx)("div",{children:(0,i.jsx)(D.Checkbox,{$columnLayout:!0,...c("termsAccepted",{validate:e=>"accept"!==o.current||!!e||C.Intl.formatMessage({id:"extendedProfileConfirmation.checkbox.error"})}),errorMessage:u.termsAccepted?.message,label:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.Typo,{$variant:"bold16",$color:"grayD",children:C.Intl.formatMessage({id:"extendedProfileConfirmation.checkbox.title"})}),(0,i.jsx)("div",{children:(0,i.jsx)(f.Typo,{$variant:"semibold16",as:"span",children:C.Intl.formatMessage({id:"extendedProfileConfirmation.checkbox.details"},{link:(0,i.jsx)(eV.Link,{to:eR.default.marketingPrivacyPolicy,newTab:!0,className:"link-red",children:C.Intl.formatMessage({id:"extendedProfileConfirmation.checkbox.privacyPolicy"})})})})})]})})}),(0,i.jsxs)(eK,{children:[(0,i.jsx)(J.Button.Primary,{type:"submit",disabled:m,btnLabel:C.Intl.formatMessage({id:"extendedProfileConfirmation.modal.actions.accept"}),onClick:()=>{o.current="accept"}}),(0,i.jsx)(J.Button.Secondary,{type:"submit",disabled:m,btnLabel:C.Intl.formatMessage({id:"extendedProfileConfirmation.modal.actions.decline"}),onClick:()=>{o.current="decline"}})]})]})]}):null},eq=u.default.button.withConfig({displayName:"ExtendedProfileConfirmationModal__ExpandButton",componentId:"sc-faf7fdeb-0"})` 178 display: flex; 179 180 ${f.Typo} { 181 margin-right: 5px; 182 } 183 184 svg { 185 transition: transform ${e=>e.theme.transition.motion}; 186 transform: ${e=>e.$expanded?"rotate(180deg)":"none"}; 187 } 188`,eQ=u.default.div.withConfig({displayName:"ExtendedProfileConfirmationModal__ModalContentWrapper",componentId:"sc-faf7fdeb-1"})` 189 display: flex; 190 flex-direction: column; 191 gap: 16px; 192`,eX=u.default.div.withConfig({displayName:"ExtendedProfileConfirmationModal__CollapseWrapper",componentId:"sc-faf7fdeb-2"})` 193 display: flex; 194 flex-direction: column; 195 gap: 16px; 196 padding: ${e=>e.$detailsExpanded?"16px":"0"}; 197 background-color: ${e=>e.$detailsExpanded?"#F5FBFF":"transparent"}; 198 border-radius: 8px; 199 margin-bottom: 16px; 200`,eK=u.default.div.withConfig({displayName:"ExtendedProfileConfirmationModal__ModalActionsWrapper",componentId:"sc-faf7fdeb-3"})` 201 display: flex; 202 flex-direction: row; 203 gap: 16px; 204 margin-top: 32px; 205 206 @media (max-width: 768px) { 207 flex-direction: row; 208 justify-content: space-between; 209 & > button { 210 width: 100%; 211 } 212 } 213`,eJ="mutation setFavouriteAddress($input: FavouriteAddressInput!) {\n setFavouriteAddress(input: $input) {\n id\n zip_code\n address_line1\n city\n }\n}\n";var eY=e.i(21425);e.i(86993);var e2=e.i(12723),e3=e.i(35086),e4=e.i(88296),e1=e.i(7471),e6=e.i(68700),e7=e.i(95947),e0=e.i(17982);let e5=({onUpdateSuccess:e,onCancel:t})=>{let o=(0,d.useDispatch)(),a=(0,G.useMapbox)(),[r]=(0,K.useMutation)(eJ),n=(0,d.useSelector)(e=>e.appAlert.guestFavAddress),[c,p]=(0,h.useState)(n),[u,f]=(0,h.useState)(!1);(0,h.useEffect)(()=>{n&&a.setSearchInput(et.StringUtils.formatShippingAddress(n),!1)},[n]),(0,h.useEffect)(()=>{let{suggestedAddress:e}=a;if(e){p({zip_code:e.zipCode,address_line1:e.addressLine1,address_line2:null,city:e.city??"",lat:null,lng:null,id:null,next_deliveries:[]});
213let t=[e.zipCode,e.city,e.addressLine1].filter(Boolean).join(" ");a.setSearchInput(t,!1)}},[a.suggestedAddress]);let x=async t=>{if(t.preventDefault(),!c)return void(0,m.toastError)(C.Intl.formatMessage({id:"components.favouriteAddressModal.noSelectedAddressError"}));f(!0);let{data:i,error:a}=await r({variables:{input:{zip_code:c.zip_code,address_line1:c.address_line1,city:c.city}}});if(i?.setFavouriteAddress&&!a){let t={id:i.setFavouriteAddress.id,zip_code:i.setFavouriteAddress.zip_code,address_line1:i.setFavouriteAddress.address_line1,city:i.setFavouriteAddress.city,address_line2:null,lat:null,lng:null,next_deliveries:[]};o(l.AppAlertActions.updateGuestFavAddress(t)),(0,m.toastSuccess)(C.Intl.formatMessage({id:"components.favouriteAddressModal.addressSetSuccess"})),e(),f(!1);return}(0,m.toastError)(C.Intl.formatMessage({id:"components.favouriteAddressModal.addressSetError"})),f(!1)};return(0,i.jsxs)("form",{onSubmit:x,children:[(0,i.jsxs)(e9,{children:[(0,i.jsx)(Z.Searchfield,{id:"favourite-address-guest-form-search",ariaLabel:"favourite-guest-address-form-search",placeholder:C.Intl.formatMessage({id:"checkout.addressForm.search"}),hideSearchButton:!0,searchIcon:(0,i.jsx)(e7.default,{width:24,height:24}),label:C.Intl.formatMessage({id:"checkout.addressForm.label"}),preventEnterPressed:!0,showLocationButton:!0,onLocationError:()=>a.showLocationPermissionError(s.LocationVariant.shippingPage),...a.searchFieldProps}),a.renderSearchResults(e0.SearchResults)]}),(0,i.jsx)("br",{}),(0,i.jsx)(e8,{btnLabel:C.Intl.formatMessage({id:"common.iSave"}),type:"submit",size:"medium",fullWidth:"onMobile",disabled:u}),(0,i.jsx)(J.Button.Secondary,{btnLabel:C.Intl.formatMessage({id:"common.cancel"}),type:"button",size:"medium",fullWidth:"onMobile",onClick:t,disabled:u})]})},e8=(0,u.default)(J.Button.Primary).withConfig({displayName:"FavouriteAddressFormGuest__SaveButton",componentId:"sc-332b635d-0"})` 214 margin-right: 0; 215 216 ${Q.bp.medium} { 217 margin-right: 10px; 218 } 219`,e9=u.default.div.withConfig({displayName:"FavouriteAddressFormGuest__SearchfieldWrapper",componentId:"sc-332b635d-1"})` 220 position: relative; 221 margin-bottom: 20px; 222 .__search_results_box { 223 top: 60px; 224 } 225`;var te=e.i(70369),tt=e.i(72754),to=e.i(10124),ti=e.i(483),ta=e.i(46896),tr=e.i(4066);let ts=({type:e,address:t,handleSelect:o,onBackClick:l})=>{let d=(0,G.useMapbox)(),[c]=(0,K.useMutation)(tt.createUserAddressMutation),[p]=(0,K.useMutation)(to.updateUserAddressMutation),[u,x]=(0,h.useState)(!1),[g,y]=(0,h.useState)(!1),[j,b]=(0,h.useState)(null),[v]=(0,K.useManualQuery)(eO.getCsrfTokenQuery,{skipCache:!0}),[S]=(0,K.useManualQuery)(ti.getZipCodeInfoQuery,{skipCache:!0}),{user:w}=(0,n.useAccount)();(0,h.useEffect)(()=>{e===e6.AddressModalTypes.change&&t&&d.setSearchInput(et.StringUtils.formatShippingAddress(t),!1)},[e,t]),(0,h.useEffect)(()=>{let{suggestedAddress:e}=d;if(e){let{zipCode:t,addressLine1:o,city:i}=e;b({zipCode:t,addressLine1:o,city:i});let a=[t,i,o].filter(Boolean).join(" ");d.setSearchInput(a,!1)}},[d.suggestedAddress]);let L=async()=>{if(x(!0),!j){(0,m.toastError)(C.Intl.formatMessage({id:"components.favouriteAddressModal.error"})),x(!1);return}let{zipCode:e,city:i="",addressLine1:s}=j,{data:n}=await v({variables:{mutation:"createUserAddress"}});if(n?.csrfToken){let l=await c({variables:{input:{type:a.UserAddressType.PERSONAL,firstname:w?.firstname??null,lastname:w?.lastname??null,company_name:null,company_number:null,zip_code:parseInt(e,10),city:i,address_line1:s,address_line2:t?.address_line2??null,lat:null,lng:null},csrf:n.csrfToken}});l.data?.createUserAddress?(o((0,X.mapUserAddressToFavouriteAddress)(l.data.createUserAddress)),(0,m.toastSuccess)(C.Intl.formatMessage({id:"form.personalNewAddressSuccess"}))):(0,m.toastError)(C.Intl.formatMessage({id:"components.favouriteAddressModal.error"})),l.error&&(((0,te.getErrorMessage)(l.error,"input.lng")||(0,te.getErrorMessage)(l.error,"input.lat"))&&(0,m.toastWarning)(C.Intl.formatMessage({id:"formErrors.check.addressRange"})),(0,m.toastError)((0,r.getGraphQLErrorMessage)(l.error)))}x(!1)},_=async()=>
225{if(y(!0),!j){(0,m.toastError)(C.Intl.formatMessage({id:"components.favouriteAddressModal.error"})),y(!1);return}let{zipCode:e,city:s="",addressLine1:n}=j,{data:l}=await v({variables:{mutation:"updateUserAddress"}});if(l?.csrfToken){let d=await p({variables:{id:t?.id??0,input:{type:a.UserAddressType.PERSONAL,company_name:null,company_number:null,zip_code:parseInt(e,10),city:s,firstname:w?.firstname??null,lastname:w?.lastname??null,address_line1:n,address_line2:t?.address_line2??null,lat:null,lng:null},csrf:l.csrfToken}});d.data?.updateUserAddress&&(o((0,X.mapUserAddressToFavouriteAddress)(d.data.updateUserAddress)),(0,m.showToast)((0,i.jsx)(f.Typo,{$variant:"bold16",$color:"grayD",children:C.Intl.formatMessage({id:"form.personalUpdateAddressSuccess"})}),"success")),d.error&&(((0,te.getErrorMessage)(d.error,"input.lng")||(0,te.getErrorMessage)(d.error,"input.lat"))&&(0,m.toastWarning)(C.Intl.formatMessage({id:"formErrors.check.addressRange"})),(0,m.toastError)((0,r.getGraphQLErrorMessage)(d.error)))}y(!1)},A=async()=>{let e=()=>{(0,m.toastError)(C.Intl.formatMessage({id:"components.favouriteAddressModal.error"}))};if(!j)return void(0,m.toastError)(C.Intl.formatMessage({id:"components.favouriteAddressModal.noSelectedAddressError"}));let o=j?.zipCode??"";if(!o)return e();{let{data:i,error:a}=await S({variables:{prefix:`${o}`}});if(a||!i||0===i.zipAutocomplete.length)return e();t?await _():await L()}};return(0,i.jsxs)(tp,{children:[(0,i.jsxs)(td,{$alignItems:"center",children:[e===e6.AddressModalTypes.change?(0,i.jsx)(f.Typo,{$variant:"boldH6",$variantMedium:"h3",children:C.Intl.formatMessage({id:"profile.shippingAddress.change"})}):(0,i.jsx)(f.Typo,{$variant:"boldH6",$variantMedium:"h3",children:C.Intl.formatMessage({id:"profile.shippingAddress.new"})}),(0,i.jsx)(P.IconButton.ModalClose,{btnLabel:C.Intl.formatMessage({id:"components.favouriteAddressModal.closeDialog"}),icon:(0,i.jsx)(M.default,{}),onClick:l})]}),(0,i.jsx)(f.Typo,{$variant:"regular12",style:{marginBottom:"15px"},children:C.Intl.formatMessage({id:"components.favouriteAddressModal.info"})}),(0,i.jsxs)("div",{...(0,tr.tidProps)(ta.TestIds.addressForm),children:[(0,i.jsxs)(tc,{children:[(0,i.jsx)(Z.Searchfield,{id:"favourite-address-logged-in-form-search",ariaLabel:"favourite-address-logged-in-form-search",placeholder:C.Intl.formatMessage({id:"checkout.addressForm.search"}),hideSearchButton:!0,searchIcon:(0,i.jsx)(e7.default,{width:24,height:24}),label:C.Intl.formatMessage({id:"checkout.addressForm.label"}),preventEnterPressed:!0,showLocationButton:!0,onLocationError:()=>d.showLocationPermissionError(s.LocationVariant.shippingPage),...d.searchFieldProps}),d.renderSearchResults(e0.SearchResults)]}),(0,i.jsx)(tl,{btnLabel:C.Intl.formatMessage({id:"components.favouriteAddressModal.saveButton"}),type:"button",size:"medium",fullWidth:"onMobile",disabled:u||g,onClick:A}),(0,i.jsx)(tn,{btnLabel:C.Intl.formatMessage({id:"components.favouriteAddressModal.cancelButton"}),type:"button",size:"medium",fullWidth:"onMobile",onClick:l})]})]})},tn=(0,u.default)(J.Button.Secondary).withConfig({displayName:"FavouriteAddressFormLoggedIn__CancelButton",componentId:"sc-15547ab1-0"})` 226 margin-bottom: 10px; 227`,tl=(0,u.default)(J.Button.Primary).withConfig({displayName:"FavouriteAddressFormLoggedIn__SaveButton",componentId:"sc-15547ab1-1"})` 228 margin-bottom: 10px; 229 margin-right: 15px; 230`,td=(0,u.default)(eY.Flex.Container).withConfig({displayName:"FavouriteAddressFormLoggedIn__TitleContainer",componentId:"sc-15547ab1-2"})` 231 justify-content: space-between; 232 margin-bottom: 15px; 233`,tc=u.default.div.withConfig({displayName:"FavouriteAddressFormLoggedIn__SearchfieldWrapper",componentId:"sc-15547ab1-3"})` 234 position: relative; 235 margin-bottom: 20px; 236 .__search_results_box { 237 top: 60px; 238 } 239`,tp=u.default.div.withConfig({displayName:"FavouriteAddressFormLoggedIn__FormWrapper",componentId:"sc-15547ab1-4"})` 240 padding-top: 20px; 241`,tu=()=>{let e=(0,d.useDispatch)(),t=(0,d.useSelector)(e=>e.appAlert.favouriteAddressModalOpen),{user:o}=(0,n.useAccount)(),[a,r]=(0,h.useState)(o?.addresses?.length===0?null:void 0),c=()=>e(l.AppAlertActions.updateFavouriteAddressModalOpen(!1)),p=!!a||null===a,u=C.Intl.formatMessage({id:"components.favouriteAddressModal.title"}),f=o?(0,i.jsx)(tf,{modifiedAddress:a,setModifiedAddress:r}):(0,i.jsx)(tC,{});return o&&!p?(0,i.jsx)(s.BigModalWrapper,{label:u,isOpen:t,onRequestClose:c,children:f}):(0,i.jsx)(s.SideModal,{label:u,isOpen:t,onRequestClose:c,children:f})},tf=({modifiedAddress:e,setModifiedAddress:t})=>
241{let{user:o,refetchUser:a}=(0,n.useAccount)(),c=(0,d.useDispatch)(),p=(0,d.useSelector)(e=>o?e.auth.user?.favourite_address:e.appAlert.guestFavAddress),[u,x]=(0,h.useState)(!1),g=()=>c(l.AppAlertActions.updateFavouriteAddressModalOpen(!1)),y=!!e||null===e,[j]=(0,K.useMutation)(eJ,{skipCache:!0}),b=async e=>{if(!e)return void(0,m.toastError)(C.Intl.formatMessage({id:"components.favouriteAddressModal.noAddressSelected"}));x(!0);let t=o?e.id?{id:e.id}:null:{address_line1:e.address_line1,address_line2:e.address_line2,city:e.city,lat:e.lat,lng:e.lng,zip_code:e.zip_code};if(!t)return void x(!1);let{error:i}=await j({variables:{input:t}});if(c(l.AppAlertActions.updateIsClpeError((0,m.isClpeError)(i))),i){(0,m.toastError)((0,r.getGraphQLErrorMessage)(i)),x(!1);return}a(),x(!1),g()};return y?(0,i.jsx)(ts,{type:e?e6.AddressModalTypes.change:e6.AddressModalTypes.new,address:e,onBackClick:()=>t(void 0),handleSelect:e=>{b(e).finally(()=>t(void 0))}}):(0,i.jsxs)("div",{children:[(0,i.jsxs)(s.ModalHeader,{children:[(0,i.jsx)(s.ModalTitle,{$color:"neutralDavysGrey",children:C.Intl.formatMessage({id:"components.favouriteAddressModal.addresses"})}),(0,i.jsx)(P.IconButton.ModalClose,{btnLabel:"Dialógus bezárása",icon:(0,i.jsx)(M.default,{}),onClick:g})]}),(0,i.jsx)(J.Button.Text,{btnLabel:C.Intl.formatMessage({id:"components.favouriteAddressModal.newAddress"}),icon:(0,i.jsx)(e1.default,{width:20,height:20}),onClick:()=>t(null)}),(0,i.jsx)(ee.Box,{$style:{display:"grid",gridGap:20,margin:"10px 0"},$styleMedium:{gridTemplateColumns:"1fr 1fr",margin:"15px 0"},children:o?.addresses?.map(e=>(0,i.jsxs)(tm,{children:[(0,i.jsxs)(th,{$justifyContent:"space-between",$alignItems:"center",children:[(0,i.jsx)(f.Typo,{$variant:"bold16",$color:"grayD",children:[e.lastname,e.firstname].filter(Boolean).join(" ")}),(0,i.jsx)(e2.ProfileBox.Button,{label:C.Intl.formatMessage({id:"components.favouriteAddressModal.modifyButton"}),icon:(0,i.jsx)(e4.default,{}),onClick:()=>t((0,X.mapUserAddressToFavouriteAddress)(e))})]}),(0,i.jsx)(f.Typo,{$variant:"regular16",$color:"grayM",children:et.StringUtils.formatShippingAddress(e)}),(0,i.jsx)(J.Button.Secondary,{btnLabel:p?.id===e.id?C.Intl.formatMessage({id:"components.favouriteAddressModal.isSet"}):C.Intl.formatMessage({id:"components.favouriteAddressModal.iSet"}),icon:p?.id===e.id?(0,i.jsx)(e3.default,{}):void 0,size:"medium",fullWidth:"onMobile",onClick:()=>b((0,X.mapUserAddressToFavouriteAddress)(e)),disabled:u||p?.id===e.id})]},e.id))})]})},tC=()=>{let e=(0,d.useDispatch)(),t=()=>e(l.AppAlertActions.updateFavouriteAddressModalOpen(!1));return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(s.ModalHeader,{children:[(0,i.jsx)(s.ModalTitle,{children:C.Intl.formatMessage({id:"components.favouriteAddressModal.guestAddressModal"})}),(0,i.jsx)(P.IconButton.ModalClose,{btnLabel:"Dialógus bezárása",type:"button",icon:(0,i.jsx)(M.default,{}),onClick:t})]}),(0,i.jsx)(f.Typo,{$variant:"Small-12-Regular",$color:"neutralGraniteGray",children:C.Intl.formatMessage({id:"components.favouriteAddressModal.guestAddressInfo"})}),(0,i.jsx)("br",{}),(0,i.jsx)(e5,{onUpdateSuccess:t,onCancel:t})]})},tm=u.default.div.withConfig({displayName:"FavouriteAddressModal__AddressBox",componentId:"sc-9d36023c-0"})` 242 display: flex; 243 flex-direction: column; 244 align-items: flex-start; 245 gap: 10px; 246 border: 1px solid ${e=>e.theme.color.grayL}; 247 border-radius: 8px; 248 padding: 10px; 249`,th=(0,u.default)(eY.Flex.Container).withConfig({displayName:"FavouriteAddressModal__AddressBoxTop",componentId:"sc-9d36023c-1"})` 250 width: 100%; 251`;var tx=e.i(58678),tg=e.i(44953);let ty=({notification:e})=>(0,i.jsxs)("div",{children:[(0,i.jsx)(tx.default,{children:(0,i.jsx)("title",{children:C.Intl.formatMessage({id:"components.maintenanceWarning.title"})})}),(0,i.jsxs)(tj,{children:[(0,i.jsx)("header",{className:"header",children:(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("div",{className:"header-content",children:(0,i.jsx)(tg.SiteLogo,{})})})}),(0,i.jsx)("main",{className:"main",id:"main-content",children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"main-content",children:[(0,i.jsxs)("svg",{className:"illustration",width:"819",height:"491",viewBox:"0 0 819 491",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("ellipse",{cx:"125.409",cy:"483.253",rx:"125.041",ry:"7.12996",fill:"#EFF5FA"}),(0,i.jsx)("ellipse",{cx:"469.844",cy:"483.253",rx:"209.129",ry:"7.12996",fill:"#EFF5FA"}),(0,i.jsx)("ellipse",{cx:"750.855",cy:"483.253",rx:"67.2388",ry:"7.12996",fill:"#EFF5FA"}),(0,i.jsx)("path",{d:"M267.937 467.024C263.747 462.565 260.018 457.694 256.807 452.486C249.647 440.94 246.419 429.664 247.471 419.879C248.205 413.042 251.621 403.743 255.579 392.978C260.308 380.117 265.64 365.54 267.606 351.895C269.782 336.581 267.187 325.338 259.712 317.519C252.623 310.12 244.931 306.368 236.844 306.368C223.127 306.368 212.693 317.1 212.588 317.209L208.954 313.73C209.44 313.222 221.002 301.338 236.844 301.333C246.356 301.333 255.289 305.609 263.347 314.04C271.974 323.04 274.997 335.655 272.569 352.608C270.553 366.798 265.099 381.638 260.287 394.735C256.447 405.19 253.126 414.22 252.46 420.441C250.192 441.523 271.295 463.297 271.509 463.515L267.937 467.024Z",fill:"#9AD6D3"}),(0,i.jsx)("path",{d:"M282.235 474.679L280.101 476.813C279.712 477.203 279.249 477.513 278.74 477.725C278.23 477.936 277.684 478.045 277.133 478.045C276.582 478.045 276.035 477.936 275.526 477.725C275.017 477.513 274.554 477.203 274.165 476.813L261.094 463.742C260.704 463.353 260.395 462.89 260.184 462.381C259.973 461.872 259.864 461.327 259.864 460.776C259.864 460.225 259.973 459.68 260.184 459.171C260.395 458.662 260.704 458.199 261.094 457.81L263.228 455.672C263.617 455.282 264.08 454.972 264.589 454.761C265.098 454.549 265.644 454.44 266.196 454.44C266.747 454.44 267.293 454.549 267.802 454.761C268.312 454.972 268.774 455.282 269.164 455.672L282.235 468.747C282.625 469.137 282.934 469.599 283.145 470.108C283.356 470.617 283.464 471.162 283.464 471.713C283.464 472.264 283.356 472.81 283.145 473.319C282.934 473.828 282.625 474.29 282.235 474.679Z",fill:"#4DAEB4"}),(0,i.jsx)("path",{d:"M146.372 365.494C146.372 365.494 147.361 372.344 147.382 374.344L154.803 371.506C154.635 366.894 154.107 333.122 153.545 331.705C152.983 330.288 137.573 305.102 137.573 305.102L127.763 315.541L140.759 331.517C141.006 332.913 146.372 365.494 146.372 365.494Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M177.147 462.27C177.147 462.27 176.212 472.456 176.824 475.781C176.947 476.333 177.105 476.876 177.298 477.407C177.931 479.273 176.2 484.953 176.2 484.953L152.979 485.037C151.722 485.037 152.56 484.241 153.591 483.507C155.268 482.3 156.631 481.507 161.976 479C162.328 478.837 163.602 478.049 164.072 477.776C165.317 476.974 166.445 476.003 16
2517.425 474.892C169.102 473.06 169.371 464.081 169.371 464.081L177.147 462.27Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M164.09 477.786C170.207 479.433 174.759 478.419 177.312 477.429C177.945 479.291 179.106 486.342 178.394 486.342C172.571 486.342 167.67 486.681 150.99 486.417C150.39 486.417 150.466 484.359 150.851 483.902C151.929 482.653 163.629 478.058 164.09 477.786Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M206.278 341.297C206.278 341.297 205.951 355.843 201.78 365.158C197.722 374.23 178.304 396.6 173.127 409.662C174.724 417.028 179.113 427.382 178.794 435.549C178.434 444.801 178.971 469.279 178.971 469.279L168.545 469.61L154.866 406.434L176.786 348.843L184.823 321.753L206.278 341.297Z",fill:"#A9132F"}),(0,i.jsx)("path",{d:"M210.776 470.834C210.776 470.834 211.246 479.109 211.246 479.126C211.418 480.178 212.084 482.773 212.084 483.737C212.084 487.326 196.154 480.694 199.73 479.101C200.053 478.958 202.245 477.055 202.354 475.835C202.518 473.953 202.43 470.96 202.43 470.96L210.776 470.834Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M199.782 479.046C201.641 479.599 203.527 480.057 205.433 480.417C207.345 480.693 209.873 478.383 211.223 479.008C212.715 479.691 212.774 486.457 212.774 486.457C212.774 486.457 192.853 487.099 186.959 486.223C184.636 485.875 192.14 481.603 199.782 479.046Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M120.505 307.408C118.342 298.974 124.236 291.034 124.236 291.034C124.236 291.034 128.16 285.45 130.03 284.217C132.776 282.402 137.232 278.302 147.612 287.709C155.036 294.442 187.106 312.996 203.661 332.528L174.467 353.665C174.467 353.665 148.895 334.611 145.566 332.356C138.146 327.321 121.918 312.908 120.505 307.408Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M110.871 287.825L123.829 291.527C123.829 291.527 126.617 301.064 123.573 304.523C121.02 307.411 117.377 302.984 117.377 302.984C117.377 302.984 111.697 298.255 108.049 297.262C104.402 296.268 110.871 287.825 110.871 287.825Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M113.845 291.573C113.947 294.295 113.591 297.014 112.793 299.618C111.208 298.595 109.473 297.635 108.048 297.245C106.371 296.788 106.84 294.73 107.834 292.68C109.314 290.055 110.869 287.825 110.869 287.825L113.359 288.534C113.711 289.313 113.816 290.869 113.845 291.573Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M100.895 271.619C101.041 271.343 112.654 281.261 112.532 286.963C112.41 292.664 107.686 298.747 103.477 298.122C98.8238 297.426 88.0961 285.198 89.7394 277.962C91.3827 270.727 100.895 271.619 100.895 271.619Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M89.9086 269.879C93.5726 266.823 100.129 264.903 105.617 266.572C112.362 268.622 115.292 276.44 114.307 281.735C113.322 287.029 116.076 289.31 116.076 289.31L112.429 288.27C112.429 288.27 109.968 285.512 109.272 283.193C108.576 280.875 105.202 281.936 103.315 281.194C101.86 280.611 99.6973 278.259 97.3329 277.245C97.3329 277.245 91.9292 277.601 89.6068 279.55C85.6452 282.879 84.6642 274.252 89.9086 269.879Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M106.331 282.664C106.633 284.421 107.735 285.704 108.792 285.519C109.848 285.335 110.469 283.763 110.158 282.002C109.848 280.241 108.754 278.963 107.698 279.147C106.641 279.332 106.029 280.904 106.331 282.664Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M146.703 367.912L154.668 371.324C155.397 372.557 155.791 374.087 156.86 375.743L149.419 387.753C149.419 387.753 148.476 386.076 148.422 386.177L147.981 388.114C147.392 387.974 146.78 387.964 146.187 388.084C145.399 388.26 145.257 385.955 145.307 385.204C145.462 382.936 147.042 377.088 147.281 376.111L146.703 367.912Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M203.588 332.389C194.659 321.854 181.223 311.608 169.569 303.341C165.766 307.173 154.707 318.081 152.381 317.569C149.585 316.945 136.166 308.124 129.743 301.505C125.291 296.927 125.379 291.498 125.853 288.593C124.876 289.851 124.155 290.891 124.155 290.891C124.155 290.891 123.992 291.113 123.736 291.515C123.669 293.029 123.736 294.869 124.281 296.072C125.337 298.369 128.008 304.456 134.594 309.181C141.179 313.905 149.195 319.431 149.195 319.431C149.195 319.431 142.781 326.947 141.288 327.257C141.288 327.257 125.618 314.165 120.592 307.781C122.78 313.65 138.123 327.999 145.325 332.887C148.646 335.143 174.39 353.521 174.39 353.521C174.39 353.521 189.343 414.274 189.121 412.731C188.899 411.188 200.708 471.321 200.708 471.321L211.536 471.065L206.464 410.924C206.464 410.924 210.438 366.609 211.536 356.007C212.635 345.405 203.588 332.389 203.588 332.389Z",fill:"#D20A2D"}
251),(0,i.jsx)("path",{d:"M74.0149 480.355H66.4146L210.079 312.132L214.557 315.813L74.0149 480.355Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M154.837 378.292C155.55 377.214 156.765 376.736 157.654 377.185C159.331 378.023 161.846 379.83 160.71 382.664C159.033 386.747 151.655 392.394 151.215 391.048C150.775 389.703 151.546 380.941 153.034 380.241C153.898 379.818 154.317 379.076 154.837 378.292Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M210.054 323.79C209.714 323.019 206.658 319.309 205.413 318.34C204.7 317.787 201.141 314.987 200.952 314.844C194.019 307.961 177.577 282.674 176.403 282.099C175.011 281.42 145.591 280.645 145.591 280.645L146.098 294.445L170.895 294.269C172.018 295.107 193.352 318.261 193.352 318.261C193.352 318.261 194.689 319.275 196.224 320.483C196.219 320.522 196.208 320.56 196.19 320.596C195.55 321.975 195.188 323.466 195.125 324.985C194.987 326.842 194.916 328.712 196.748 329.974C197.307 330.406 197.785 330.934 198.16 331.533C198.756 332.31 199.503 332.957 200.357 333.436C200.739 333.664 201.192 333.741 201.628 333.653C202.063 333.565 202.45 333.317 202.713 332.958C203.132 332.489 203.434 331.873 203.937 331.575C204.788 331.072 210.703 325.337 210.054 323.79Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M161.176 277.714C161.176 277.714 161.864 282.263 161.952 285.357C162.011 287.428 161.952 296.608 161.952 296.608C161.952 296.608 146.978 300.033 141.1 300.256C119.523 301.094 127.312 286.111 129.559 283.487C134.59 277.643 161.176 277.714 161.176 277.714Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M90.4859 452.175L66.4146 480.355H74.0149L95.3949 455.323C93.8647 450.515 90.4859 452.175 90.4859 452.175Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M76.338 478.569H64.424C63.6993 478.569 63.1118 479.156 63.1118 479.881V481.109C63.1118 481.834 63.6993 482.421 64.424 482.421H76.338C77.0627 482.421 77.6502 481.834 77.6502 481.109V479.881C77.6502 479.156 77.0627 478.569 76.338 478.569Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M51.0588 480.354H85.623C86.8238 480.354 87.9754 480.832 88.8245 481.681C89.6736 482.53 90.1506 483.681 90.1506 484.882V486.462H46.5313V484.886C46.5307 484.291 46.6474 483.702 46.8747 483.152C47.102 482.603 47.4354 482.103 47.8558 481.682C48.2763 481.261 48.7756 480.927 49.3252 480.7C49.8748 480.472 50.4639 480.354 51.0588 480.354Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M314.367 448.393H333.525C335.851 448.393 337.738 446.507 337.738 444.18V441.241C337.738 438.914 335.851 437.028 333.525 437.028H314.367C312.04 437.028 310.153 438.914 310.153 441.241V444.18C310.153 446.507 312.04 448.393 314.367 448.393Z",fill:"#F5FCFF"}),(0,i.jsx)("path",{d:"M347.765 447.606V479.915C347.765 481.683 347.063 483.378 345.813 484.628C344.563 485.878 342.867 486.58 341.1 486.58H271.673C269.905 486.58 268.21 485.878 266.96 484.628C265.71 483.378 265.008 481.683 265.008 479.915V479.269C265.008 470.142 268.491 461.359 274.746 454.712C281.001 448.065 289.556 444.056 298.666 443.502L340.684 440.953C341.593 440.896 342.503 441.026 343.36 441.335C344.216 441.644 345 442.124 345.664 442.748C346.327 443.371 346.856 444.124 347.217 444.959C347.579 445.795 347.765 446.695 347.765 447.606Z",fill:"#9AD6D3"}),(0,i.jsx)("path",{d:"M347.765 471.194V479.914C347.765 481.681 347.063 483.377 345.813 484.627C344.563 485.877 342.867 486.579 341.1 486.579H271.673C269.905 486.579 268.21 485.877 266.96 484.627C265.71 483.377 265.008 481.681 265.008 479.914V479.268C265.007 476.55 265.315 473.842 265.926 471.194H347.765Z",fill:"#4DAEB4"}
251),(0,i.jsx)("path",{d:"M335.811 486.141C345.737 483.798 351.885 473.852 349.542 463.926C347.199 454 337.254 447.853 327.328 450.196C317.402 452.538 311.254 462.484 313.597 472.41C315.94 482.336 325.885 488.484 335.811 486.141Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M334.917 482.366C342.759 480.515 347.615 472.658 345.764 464.817C343.914 456.975 336.056 452.118 328.215 453.969C320.373 455.82 315.516 463.677 317.367 471.519C319.218 479.361 327.075 484.217 334.917 482.366Z",fill:"#464D54"}),(0,i.jsx)("path",{d:"M406.369 454.709L350.329 480.541V486.26H549.915V480.541L493.366 454.709H406.369Z",fill:"#ADB4B9"}),(0,i.jsx)("path",{d:"M493.398 343.998H406.367V454.756H493.398V343.998Z",fill:"#ADB4B9"}),(0,i.jsx)("path",{d:"M713.237 378.744V128.985C713.237 123.286 710.973 117.821 706.943 113.791C702.913 109.761 697.448 107.498 691.749 107.498H207.457C201.758 107.498 196.292 109.761 192.262 113.791C188.232 117.821 185.968 123.286 185.968 128.985V378.744H713.237Z",fill:"#ADB4B9"}),(0,i.jsx)("g",{style:{mixBlendMode:"multiply"},opacity:"0.3",children:(0,i.jsx)("path",{d:"M549.915 480.541H350.329V486.263H549.915V480.541Z",fill:"#8C98A3"})}),(0,i.jsx)("g",{style:{mixBlendMode:"multiply"},opacity:"0.3",children:(0,i.jsx)("path",{d:"M493.364 441.712H406.367V454.71H493.364V441.712Z",fill:"#8C98A3"})}),(0,i.jsx)("path",{d:"M185.968 378.744V418.766C185.968 427.091 191.469 433.841 198.26 433.841H700.945C707.733 433.841 713.237 427.091 713.237 418.766V378.744H185.968Z",fill:"#D5DEE4"}),(0,i.jsx)("path",{d:"M700.894 367.899V129.653C700.894 123.406 695.649 118.342 689.177 118.342H210.026C203.554 118.342 198.309 123.406 198.309 129.653V367.899H700.894Z",fill:"white"}),(0,i.jsx)("path",{d:"M390.068 245.556C387.539 243.75 384.288 242.486 381.218 241.583C379.412 241.041 377.426 240.319 375.8 239.235C373.633 237.79 372.55 235.623 372.55 233.095C372.55 229.844 374.898 227.316 378.148 226.593C381.218 225.871 385.191 226.593 387.178 229.122C387.539 229.483 387.72 229.844 387.9 230.386C388.081 230.747 388.442 230.928 388.984 230.928C389.165 230.928 389.706 230.928 390.068 230.928C390.429 230.928 390.79 230.747 390.79 230.205C390.79 229.302 390.609 226.232 390.609 225.69C390.609 225.149 390.248 224.968 389.887 224.787C388.262 224.065 386.636 223.523 384.83 223.162C380.677 222.44 376.342 222.62 372.55 224.246C368.938 225.69 366.41 228.58 365.326 232.372C364.423 235.262 364.784 238.513 366.229 241.041C367.674 243.389 369.841 245.014 372.369 246.098C374.898 247.181 377.606 248.084 380.135 249.168C383.386 250.432 385.733 252.057 386.636 254.766C387.539 258.017 386.997 261.448 384.288 263.977C380.677 267.227 371.105 266.686 367.854 261.99C367.313 261.087 367.132 260.545 366.229 260.545C365.687 260.545 364.784 260.545 364.784 261.268V266.144C364.784 266.686 364.784 267.047 365.326 267.408C366.41 267.769 367.493 268.311 368.577 268.672C370.383 269.214 372.008 269.575 373.814 269.756C385.553 271.02 394.041 265.06 394.041 254.947C394.582 251.335 393.138 247.904 390.068 245.556Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M479.637 223.883H477.289C477.108 223.883 476.928 224.063 476.747 224.244C476.567 224.605 462.841 256.932 462.48 257.474C462.3 258.015 461.938 258.015 461.758 257.293C461.577 256.932 446.588 224.605 446.588 224.244C446.407 223.883 446.227 223.883 445.865 223.883H443.518C443.337 223.883 443.156 223.883 442.976 224.244C442.976 224.605 436.113 268.49 436.113 268.67C436.113 268.851 436.113 269.393 436.655 269.393H439.725C440.086 269.393 440.448 269.212 440.628 268.851C440.628 268.309 445.324 239.053 445.324 238.872C445.324 238.33 445.504 238.33 445.685 238.872C445.865 239.053 459.591 269.032 459.771 269.212C459.952 269.393 460.132 269.573 460.132 269.573H461.758C461.938 269.573 462.119 269.393 462.119 269.212L475.122 239.053C475.302 238.511 475.483 238.511 475.664 239.053C475.664 239.414 480.901 268.67 480.901 269.032C480.901 269.393 481.262 269.393 481.623 269.393H487.583C487.944 269.393 488.305 269.032 488.305 268.67C488.125 267.587 480.54 224.786 480.54 224.425C480.179 223.883 479.998 223.883 479.637 223.883Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M291.098 249.348C290.736 248.986 290.917 248.625 291.639 248.264C293.626 247.542 300.308 244.472 300.669 236.525C301.03 229.843 296.335 223.703 288.93 223.703H270.871C270.51 223.884 270.148 224.064 270.148 224.606V268.491C270.148 268.852 270.51 269.213 270.871 269.213H276.469C276.83 269.213 277.192 269.033 277.192 268.491V250.07C277.192 249.709 277.553 249.348 277.914 249.348H281.165C281.345 249.348 281.887 249.348 282.248 249.889C282.971 250.612 297.238 268.852 297.238 268.852C297.599 269.213 297.96 269.394 298.141 269.394H305.003C305.545 269.394 305.906 268.671 305.545 268.13C304.823 267.227 291.639 250.251 291.098 249.348ZM280.984 245.013H277.914C277.553 245.013 277.372 244.652 277.372 244.291V228.579C277.372 228.218 277.733 227.857 278.095 227.857H282.971C288.027 227.857 292.723 229.302 292.723 235.803C292.723 239.054 290.917 245.013 280.984 245.013Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M631.337 224.605C631.337 224.244 630.975 223.883 630.614 223.883H627.544C627.183 223.883 626.822 224.244 626.822 224.605V255.306C626.822 256.029 626.641 256.39 626.099 255.848C624.474 254.042 597.385 225.689 596.12 224.425C595.759 224.063 595.398 224.063 595.037 224.063H592.689C592.328 224.063 591.967 224.425 591.967 224.786V268.49C591.967 268.851 592.328 269.212 592.689 269.212H595.759C596.121 269.212 596.482 268.851 596.482 268.49V237.427C596.482 236.163 597.204 236.886 597.565 237.247C599.552 239.414 624.655 265.6 627.725 268.851C628.086 269.393 628.628 269.393 628.808 269.393H630.795C631.156 269.393 631.517 269.032 631.517 268.67L631.337 224.605Z",fill:"#D20A2D"}
251),(0,i.jsx)("path",{d:"M513.769 225.148C513.227 224.064 512.685 223.703 512.143 223.703H510.337C510.157 223.703 509.796 223.884 509.796 224.245C509.615 224.606 491.014 267.768 490.652 268.491C490.472 269.033 490.472 269.394 491.014 269.394H494.445C494.806 269.394 494.987 269.213 495.167 268.852C495.529 268.31 500.585 256.571 500.585 256.03C500.766 255.488 501.308 255.488 501.669 255.488H518.464C518.825 255.488 519.187 255.488 519.367 256.03C519.367 256.03 524.785 268.491 524.966 268.852C525.146 269.213 525.507 269.394 525.869 269.394H532.189C532.731 269.394 532.912 268.852 532.731 268.491C532.731 268.13 514.13 226.231 513.769 225.148ZM516.478 250.973H503.655C503.114 250.973 502.933 250.792 503.114 250.251C503.294 249.889 509.434 235.803 509.615 235.261C509.796 234.719 510.157 234.9 510.337 235.261C510.518 235.803 516.839 250.07 517.019 250.251C517.019 250.612 517.019 250.973 516.478 250.973Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M425.638 245.556C423.109 243.75 419.859 242.486 416.788 241.583C414.982 241.041 412.996 240.319 411.371 239.235C409.203 237.79 408.12 235.623 408.12 233.095C408.12 229.844 410.468 227.316 413.718 226.593C416.788 225.871 420.761 226.593 422.748 229.122C423.109 229.483 423.29 229.844 423.47 230.386C423.651 230.747 424.012 230.928 424.554 230.928C424.735 230.928 425.276 230.928 425.638 230.928C425.999 230.928 426.36 230.747 426.36 230.205C426.36 229.302 426.179 226.232 426.179 225.69C426.179 225.149 425.818 224.968 425.457 224.787C423.832 224.065 422.206 223.523 420.4 223.162C416.427 222.44 411.912 222.62 408.12 224.246C404.508 225.69 401.98 228.58 400.896 232.372C400.174 235.443 400.354 238.693 401.98 241.402C403.424 243.75 405.591 245.375 408.12 246.459C410.648 247.542 413.357 248.445 415.885 249.529C419.136 250.793 421.484 252.419 422.387 255.128C423.29 258.378 422.748 261.81 420.039 264.338C416.427 267.589 406.856 267.047 403.605 262.351C403.063 261.448 402.883 260.907 401.98 260.907C401.438 260.907 400.535 260.907 400.535 261.629C400.535 262.171 400.535 265.421 400.535 266.505C400.535 267.047 400.535 267.408 401.077 267.769C402.16 268.13 403.244 268.672 404.327 269.033C406.133 269.575 407.759 269.936 409.565 270.117C421.303 271.381 429.791 265.421 429.791 255.308C429.972 251.335 428.708 247.904 425.638 245.556Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M332.639 221.897C318.914 221.897 307.717 233.094 307.717 246.819C307.717 260.544 318.914 271.741 332.639 271.741C346.364 271.741 357.561 260.544 357.561 246.819C357.561 233.094 346.364 221.897 332.639 221.897ZM332.639 226.231C338.779 226.231 344.378 228.94 348.17 233.274H340.946L341.669 232.01C342.391 230.385 339.682 229.121 338.779 230.746L337.515 233.274H317.108C321.081 228.94 326.679 226.231 332.639 226.231ZM312.232 246.819C312.232 242.846 313.315 239.234 315.302 236.164C315.302 236.164 334.264 237.067 334.445 237.067C334.626 237.067 334.987 237.067 334.987 237.428C335.167 237.789 336.793 241.943 336.973 242.124C337.154 242.304 337.154 242.846 336.251 242.846H317.83C316.566 242.846 315.482 243.93 315.482 245.194V252.056C315.482 252.598 315.663 253.14 315.844 253.501C316.385 254.043 317.288 254.404 317.469 254.404C317.65 254.585 317.83 254.404 317.83 254.224V245.374C317.83 245.194 318.011 245.013 318.191 245.013H320.178C320.178 245.013 320.539 245.013 320.358 245.194C319.636 246.097 319.455 247 319.455 248.625C319.455 251.153 321.261 252.779 321.984 253.321C321.984 253.321 322.164 253.501 321.984 253.682C321.803 253.862 320.178 257.294 320.178 257.474C319.997 257.655 319.997 257.835 320.178 258.016L329.208 266.865C319.456 265.059 312.232 256.752 312.232 246.819ZM333.723 267.226L324.512 258.016C324.332 257.835 324.512 257.655 324.512 257.474C324.512 257.294 327.582 251.515 327.763 251.334C327.763 251.153 327.943 250.973 328.305 250.973H330.291C330.291 250.973 330.652 250.973 330.472 251.334C330.291 251.695 327.582 256.932 327.582 257.113C327.582 257.294 327.582 257.474 327.582 257.474L336.973 266.685C335.89 267.046 334.806 267.046 333.723 267.226ZM340.405 265.782L332.278 257.655C332.097 257.474 332.097 257.294 332.278 257.113L335.167 251.334C335.348 251.153 335.528 250.973 335.709 250.973H340.766C340.946 250.973 340.946 251.153 340.946 251.334L339.502 254.404C339.502 254.404 339.502 254.765 339.682 254.765L341.488 256.03C341.669 256.21 341.849 256.03 342.03 255.849L344.016 251.153C344.197 250.973 344.378 250.792 344.558 250.792H346.364C346.364 250.792 346.545 250.792 346.545 251.153L345.1 254.404C345.1 254.404 345.1 254.765 345.281 254.765L347.267 256.03C347.448 256.21 347.628 256.03 347.809 255.849C347.809 255.668 349.976 251.153 349.976 250.792C350.518 249.528 350.337 247.361 347.809 247.361H344.919C344.739 247.361 344.558 247.18 344.558 247V237.428C344.558 237.067 344.739 236.886 345.1 236.886L350.157 235.983C352.143 239.234 353.227 243.027 353.227 246.819C353.227 255.307 347.99 262.712 340.405 265.782Z",fill:"#D20A2D"}
251),(0,i.jsx)("path",{d:"M578.248 223.883H575.177C574.816 223.883 574.455 224.244 574.455 224.605V255.306C574.455 256.029 574.094 256.39 573.733 255.848C572.107 254.042 545.018 225.689 543.754 224.425C543.393 224.063 543.031 224.063 542.851 224.063H540.322C539.961 224.063 539.6 224.425 539.6 224.786V268.49C539.6 268.851 539.961 269.212 540.322 269.212H543.393C543.754 269.212 544.115 268.851 544.115 268.49V237.427C544.115 236.163 544.837 236.886 545.199 237.247C547.185 239.414 572.288 265.6 575.358 268.851C575.719 269.393 576.08 269.393 576.442 269.393H578.428C578.789 269.393 579.151 269.032 579.151 268.67V224.605C578.97 224.244 578.609 223.883 578.248 223.883Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M761.629 265.536C761.629 267.324 762.292 268.77 763.111 268.77C763.929 268.77 764.596 267.324 764.596 265.536C764.596 263.749 763.933 262.298 763.111 262.298C762.288 262.298 761.629 263.749 761.629 265.536Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M717.617 447.358L725.887 471.516L722.91 472.622L721.188 468.772L721.752 473.146H720.926L720.065 470.406L720.13 476.124C720.13 476.124 713.253 476.124 709.948 475.19V471.106L708.889 475.014L707.838 474.505C707.838 474.505 708.36 469.706 708.292 469.996C708.223 470.287 707.435 472.507 707.435 472.507L706.292 472.343L706.757 468.829L705.5 472.155L704.309 471.573L710.401 447.358L713.577 444.27L717.617 447.358Z",fill:"#F7CC7F"}),(0,i.jsx)("path",{d:"M714.359 451.408C715.315 451.408 716.088 450.405 716.088 449.165V263.623C716.088 262.383 715.327 261.38 714.359 261.38C713.392 261.38 712.627 262.383 712.627 263.623V449.165C712.627 450.405 713.404 451.408 714.359 451.408Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M747.643 475.344C748.024 472.557 748.15 468.275 748.108 463.337H757.818L756.017 475.772L756.256 477.984V484.491H735.021C738.75 482.715 742.361 480.698 745.831 478.451C746.335 478.092 746.758 477.63 747.07 477.094C747.383 476.558 747.578 475.961 747.643 475.344Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M789.04 473.702L786.219 465.573H793.606C793.987 470.789 794.135 474.31 794.135 474.31L796.012 479.669L797.916 486.018C797.916 486.018 791.633 487.648 788.336 485.815L788.717 479.496L789.04 473.702Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M750.708 297.035C753.271 293.514 763.845 283.314 765.018 283.333C768.445 283.394 779.682 283.398 781.879 284.519L781.776 303.935C781.418 305.566 773.658 330.952 774.107 336.509L774.054 336.563C772.526 338.057 770.709 339.22 768.715 339.978C766.721 340.737 764.593 341.075 762.464 340.972C760.334 340.869 758.248 340.327 756.336 339.38C754.424 338.432 752.726 337.099 751.348 335.464C751.333 330.542 751.036 325.625 750.457 320.737C749.022 309.734 744.346 305.78 750.708 297.035Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M775.549 286.839C775.374 287.826 772.427 302.477 772.427 302.477C772.427 302.477 769.834 321.311 768.44 323.581C767.229 325.548 754.542 325.544 751.195 325.494C751.073 323.933 750.917 322.31 750.707 320.722C749.272 309.718 744.592 305.765 750.959 297.019C753.468 293.575 763.658 283.72 765.184 283.333H765.268C765.268 283.333 775.721 285.851 775.549 286.839Z",fill:"#464D54"}),(0,i.jsx)("path",{d:"M768.464 272.402C768.464 272.402 768.17 279.567 768.81 282.284C769.45 285.001 770.303 285.204 764.808 286.031C762.649 286.356 760.566 286.839 760.566 286.839C760.566 286.839 761.13 282.851 761.218 281.167C761.358 278.396 760.582 269.834 760.582 269.834L768.464 272.402Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M764.278 275.969C763.296 276.524 762.227 276.904 761.117 277.095C760.931 273.711 760.581 269.823 760.581 269.823L768.101 272.276C767.186 273.835 765.864 275.112 764.278 275.969Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M788.704 479.458C791.605 480.755 794.728 479.975 795.984 479.558L796.399 480.706L797.999 486.064C797.999 486.064 791.636 487.652 788.338 485.819L788.704 479.458Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M756.484 486.133H734.399C733.581 486.056 733.382 485.367 733.668 484.984C734.251 484.135 736.825 483.511 739.719 482.152C744.798 482.692 755.452 479.167 756.252 477.984C756.724 480.342 756.941 486.029 756.484 486.133Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M758.157 336.881L771.103 429.394L782.877 472.056
251H795.694C795.694 472.056 792.72 437.691 786.342 425.516C786.342 425.516 783.558 392.893 780.775 372.941C780.356 369.96 782.42 362.225 781.879 360.219C777.748 344.841 774.108 336.517 774.108 336.517L758.157 336.881Z",fill:"#A9132F"}),(0,i.jsx)("path",{d:"M766.156 376.883L763.159 412.419C763.159 412.419 766.205 432.726 764.118 446.202C762.032 459.678 759.225 472.056 759.225 472.056H747.421L745.08 404.944C745.08 404.944 740.552 368.478 742.121 358.592C743.69 348.706 751.317 335.472 751.317 335.472L769.853 336.321C769.853 336.321 774.879 354.424 774.041 360.502C773.428 365.003 766.156 376.883 766.156 376.883Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M708.928 452.954L710.23 443.853L712.709 440.523H716.003L718.481 443.853L719.692 453.038C717.838 452.02 710.782 451.947 708.928 452.954Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M708.625 294.662C708.119 294.115 708.066 293.648 708.294 293.269C708.499 293.006 708.743 292.776 709.017 292.587C709.056 292.511 708.93 292.312 708.93 292.312C708.591 291.975 708.766 291.351 708.983 291.076C709.277 290.786 709.672 290.623 710.084 290.624C710.35 290.666 710.423 290.567 710.423 290.567C710.495 290.111 711.523 289.258 712.033 289.388C712.544 289.518 714.215 291.08 714.451 291.145C714.786 291.203 715.104 291.334 715.384 291.527C715.628 291.749 717.954 292.825 718.301 293.142C718.647 293.46 719.139 295.098 719.626 295.913C720.113 296.729 720.353 298.443 720.456 298.906C720.513 299.178 721.298 299.932 721.934 300.506C722.451 300.992 738.459 313.771 743.04 318.219L750.275 301.945L761.923 303.993C762.064 303.92 754.121 328.836 746.528 329.842C738.128 330.952 719.401 307.07 717.528 304.636C717.124 304.305 716.699 304.001 716.256 303.725C715.668 303.38 715.103 302.997 714.565 302.577C714.254 302.42 713.929 302.292 713.594 302.194C713.339 302.11 711.032 299.859 710.643 299.515C710.273 299.086 709.95 298.617 709.68 298.118L708.203 296.545C707.11 295.401 708.625 294.662 708.625 294.662Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M769.081 291.29C770.669 297.873 762.189 312.543 762.189 312.543C762.189 312.543 750.111 306.802 747.986 304.345C747.986 304.345 756.192 290.107 756.744 289.242C759.177 285.323 762.483 285.319 764.642 285.576C766.359 285.779 769.081 291.29 769.081 291.29Z",fill:"#464D54"}),(0,i.jsx)("path",{d:"M784.375 315.93C798.384 311.72 794.633 299.293 794.557 299.763C794.595 299.381 795.916 297.819 796.567 296.483C799.29 290.919 795.699 284.213 791.591 281.898C794.317 274.821 791.61 268.032 786.477 265.203C783.915 263.757 781.69 261.776 779.954 259.393C776.066 254.181 768.999 248.933 760.5 250.648C752.093 252.81 763.348 257.706 762.233 265.838C761.669 269.96 763.295 269.367 765.827 272.682C762.179 279.123 764.304 289.939 769.879 294.842C767.137 306.45 770.081 320.243 784.375 315.93Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M773.969 259.191C775.625 266.049 766.665 271.028 759.575 271.212C754.964 271.331 752.847 270.856 752.101 265.973C750.894 258.054 754.138 253.228 758.688 251.23C764.556 248.65 772.602 253.519 773.969 259.191Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M763.553 254.575C765.589 255.371 767.282 256.861 768.335 258.785C769.995 261.95 769.169 272.085 762.243 275.426C755.316 278.767 752.152 271.178 752.651 265.579C753.15 259.979 755.168 252.662 763.553 254.575Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M770.789 266.462C771.814 261.227 771.414 257.277 767.713 255.34C764.012 253.404 760.859 251.513 757.535 254.958L756.773 255.382C756.773 255.382 763.021 257.116 763.372 260.454C763.722 263.791 767.042 267.756 766.532 269.394C766.022 271.032 765.432 274.304 765.432 274.304L766.799 273.156C766.799 273.156 769.765 271.698 770.789 266.462Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M764.346 264.457C763.828 265.904 764.221 267.354 765.218 267.699C766.216 268.043 767.442 267.151 767.96 265.705C768.478 264.258 768.085 262.808 767.088 262.463C766.09 262.119 764.864 263.01 764.346 264.457Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M700.822 449.59C700.852 449.046 701.697 436.259 714.389 436.259C727.08 436.259 727.929 449.046 727.96 449.59L729.441 449.509C729.441 449.364 728.5 434.771 714.389 434.771C700.277 434.771 699.348 449.364 699.34 449.509L700.822 449.59Z",fill:"#4DAEB4"}),(0,i.jsx)("path",{d:"M730.504 448.483L725.44 486.132H714.736H714.043H703.339L698.275 448.483H730.504Z",fill:"#9AD6D3"}),(0,i.jsx)("path",{d:"M695.887 450.887H732.739V448.216H695.887V450.887Z",fill:"#4DAEB4"}),(0,i.jsx)("path",{d:"M363.351 287.817C363.351 287.817 364.244 285.806 364.823 284.855C365.402 283.904 367.87 281.131 368.297 281.747C368.723 282.363 370.403 286.629 369.509 287.817C368.615 289.006 369.566 291.081 365.108 292.334L363.351 287.817Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M313.899 275.122C313.899 275.122 336.677 294.139 345.56 292.388C352.507 291.01 363.487 287.526 363.487 287.526C363.487 287.526 366.385 290.286 365.565 293.59C365.565 293.59 351.576 306.753 341.609 306.838C326.036 306.97 318.683 299.119 318.683 299.119L313.899 275.122Z",fill:"#A9132F"}),(0,i.jsx)("path",{d:"M273.945 475.702C273.945 475.702 274.622 486.37 276.671 486.536C276.945 486.556 287.139 486.556 287.139 486.556L300.149 486.482C300.149 486.482 300.065 483.343 296.263 482.683C292.461 482.023 286.106 479.345 283.787 474.317C281.363 469.015 273.945 475.702 273.945 475.702Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M273.195 476.44C273.195 476.44 277.153 477.764 280.24 477.764C282.463 477.735 284.673 477.419 286.815 476.826C286.815 476.826 287.56 469.625 291.66 453.756C293.806 445.438 296.877 434.743 301.241 421.454C313.31 384.727 316.98 363.242 317.315 361.207C317.335 361.102 317.342 361.048 317.342 361.048L317.302 361.031L280.196 344.736C280.196 344.736 284.78 395.355 278.93 414.785C278.042 417.843 277.333 420.951 276.807 424.092C273.11 445.194 273.195 476.44 273.195 476.44Z",fill:"#464D54"}),(0,i.jsx)("path",{d:"M291.663 453.756C293.809 445.438 296.88 434.743 301.244 421.454C313.313 384.727 316.983 363.242 317.318 361.207C317.318 361.146 317.318 361.089 317.318 361.031L280.213 344.736C280.213 344.736 284.797 395.355 278.947 414.785C278.121 417.5 291.663 453.756 291.663 453.756Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M302.931 475.702C302.931 475.702 303.608 486.37 305.656 486.536C305.93 486.556 316.124 486.556 316.124 486.556L329.135 486.482C329.135 486.482 329.05 483.343 325.245 482.683C321.439 482.023 315.088 479.345 312.772 474.317C310.348 469.015 302.931 475.702 302.931 475.702Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M323.968 345.928C323.968 345.928 324.449 378.731 318.775 419.003C313.1 459.274 315.023 476.372 315.023 476.372C315.023 476.372 311.123 477.635 309.549 477.763C305.541 478.102 301.424 476.825 301.424 476.825C301.424 476.825 293.299 436.537 295.631 416.379C297.964 396.221 284.506 347.208 284.506 347.208L323.968 345.928Z",fill:"#464D54"}),(0,i.jsx)("path",{d:"M297.656 269.173L304.897 273.912L311.496 272.047C312.701 270.327 313.023 267.009 313.04 264.138C313.047 262.379 312.961 260.62 312.782 258.87L303.008 254.557L299.362 252.949C299.362 253.006 299.646 255.945 299.701 256.372C300.364 263.996 297.656 269.173 297.656 269.173Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M324.134 355.049C315.118 363.754 280.999 362.291 278.893 352.7C276.788 343.108 281.189 271.052 296.59 266.526C299.785 265.588 316.869 271.11 316.869 271.11C318.753 276.303 320.238 281.633 321.311 287.053C321.649 288.793 322.648 307.204 323.393 324.43C323.731 332.487 324.033 340.284 324.185 345.996C324.32 351.345 324.327 354.86 324.134 355.049Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M300.414 256.514C302.398 259.866 309.352 262.801 313.039 264.145C313.046 262.386 312.96 260.627 312.781 258.877L303.007 254.564C300.847 254.533 299.53 255.018 300.414 256.514Z",fill:"#8C98A3"}),(0,i.jsx)("path",{d:"M316.466 258.282C316.466 258.282 300.72 263.194 297.811 253.342C294.903 243.49 290.915 237.487 300.858 233.932C310.802 230.377 313.859 233.56 315.629 236.614C317.4 239.667 320.488 256.751 316.466 258.282Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M315 235.665C315 235.665 313.984 247.129 311.614 246.631C309.244 246.134 306.634 245.071 306.979 248.527C307.325 251.984 304.684 257.902 301.265 257.902C293.932 257.872 285.965 239.055 287.973 235.489C293.766 225.184 323.372 223.105 315 235.665Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M312.685 266.775C312.482 266.691 300.961 261.521 299.614 261.968C298.266 262.415 296.59 266.525 296.59 266.525L316.87 271.112C316.87 271.112 315.275 267.866 312.685 266.775Z",fill:"#A9132F"}),(0,i.jsx)("path",{d:"M384.391 322.567L319.822 383.373C318.556 384.564 316.961 384.944 316.277 384.216L314.097 381.9C313.42 381.172 313.887 379.605 315.153 378.413L379.722 317.61
2517C380.988 316.426 382.583 316.047 383.267 316.774L385.447 319.087C386.117 319.815 385.657 321.386 384.391 322.567Z",fill:"#4DAEB4"}),(0,i.jsx)("path",{d:"M348.156 356.694L319.822 383.373C318.556 384.565 316.961 384.944 316.277 384.216L314.097 381.9C313.42 381.172 313.887 379.605 315.153 378.413L343.487 351.734L348.156 356.694Z",fill:"#9AD6D3"}),(0,i.jsx)("path",{d:"M369.554 299.623C371.802 306.996 375.705 313.758 380.965 319.393C386.225 325.029 392.703 329.388 399.904 332.138C407.105 334.889 414.839 335.958 422.516 335.264C430.193 334.571 437.611 332.133 444.202 328.136C450.793 324.139 456.385 318.69 460.55 312.203C464.714 305.716 467.342 298.364 468.233 290.707C469.124 283.05 468.254 275.291 465.69 268.021C463.125 260.752 458.934 254.164 453.437 248.761C453.176 248.5 452.912 248.246 452.641 247.996C444.515 240.351 434.091 235.606 422.989 234.498C411.888 233.39 400.731 235.982 391.255 241.87C381.778 247.758 374.513 256.612 370.588 267.056C366.664 277.5 366.3 288.948 369.554 299.619V299.623ZM384.016 252.901C390.334 246.186 398.501 241.496 407.485 239.422C416.468 237.349 425.865 237.986 434.486 241.253C443.108 244.52 450.566 250.271 455.92 257.777C461.273 265.284 464.28 274.209 464.561 283.425C464.842 292.641 462.384 301.733 457.497 309.551C452.611 317.37 445.516 323.563 437.109 327.349C428.703 331.135 419.362 332.344 410.269 330.821C401.176 329.298 392.739 325.113 386.024 318.795C381.562 314.604 377.97 309.575 375.453 303.994C372.937 298.413 371.546 292.391 371.359 286.272C371.173 280.152 372.195 274.057 374.367 268.333C376.539 262.609 379.818 257.37 384.016 252.915V252.901Z",fill:"#4DAEB4"}),(0,i.jsx)("g",{opacity:"0.5",children:(0,i.jsx)("path",{opacity:"0.5",d:"M451.915 316.812C445.598 323.528 437.43 328.22 428.446 330.295C419.462 332.369 410.064 331.733 401.442 328.466C392.819 325.199 385.359 319.449 380.005 311.942C374.65 304.435 371.642 295.509 371.361 286.292C371.08 277.076 373.538 267.983 378.424 260.163C383.311 252.344 390.407 246.149 398.814 242.363C407.221 238.576 416.563 237.368 425.657 238.891C434.751 240.413 443.189 244.599 449.904 250.918C454.38 255.102 457.985 260.13 460.51 265.712C463.035 271.295 464.431 277.322 464.618 283.446C464.805 289.571 463.779 295.671 461.599 301.398C459.419 307.124 456.128 312.362 451.915 316.812Z",fill:"#D5DEE4"})}),(0,i.jsx)("path",{d:"M324.185 345.996C288.606 320.644 291.565 286.812 291.565 286.812C304.569 294.145 317.471 310.362 323.389 324.429C323.738 332.487 324.032 340.284 324.185 345.996Z",fill:"#A9132F"}),(0,i.jsx)("path",{d:"M359.298 334.45C361.806 333.871 363.489 331.975 363.841 331.644C363.841 331.644 364.911 331.715 363.665 334.013C363.56 334.206 363.326 334.691 363.154 335.029C363.138 335.062 363.131 335.098 363.132 335.134C363.134 335.171 363.145 335.206 363.163 335.237C363.181 335.269 363.207 335.295 363.238 335.314C363.269 335.333 363.304 335.345 363.34 335.347C364.789 335.459 366.245 334.887 369.034 335.466C369.417 335.547 369.532 336.482 369.515 336.861C369.574 337.736 369.308 338.601 368.767 339.292C368.317 339.884 367.074 340.524 364.271 341.645C363.208 342.075 360.164 341.753 357.314 340.771L355.035 339.718L355.743 335.483L356.315 335.605C357.222 335.791 358.356 334.68 359.298 334.45Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M302.604 271.106C302.604 271.106 270.638 277.2 312.009 323.488C318.628 330.892 354.375 340.531 354.375 340.531C354.375 340.531 358.001 337.447 356.173 334.948C356.173 334.948 331.56 317.072 326.144 314.232C323.706 312.952 316.688 285.701 312.717 279.14C308.745 272.579 302.604 271.106 302.604 271.106Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M364.218 288.372C364.218 288.372 365.264 286.375 365.467 285.325C365.67 284.276 366.987 281.195 367.532 280.653C367.749 280.437 368.463 280.718 368.548 281.649C368.585 282.055 368.385 282.793 368.033 283.68C367.464 285.109 367.556 287.049 367.356 287.695C366.862 289.303 364.218 288.372 364.218 288.372Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M280.128 151.933C279.879 152.207 279.715 152.548 279.655 152.914C279.595 153.279 279.642 153.655 279.789 153.994C280.284 155.369 281.929 156.903 283.852 158.436C284.096 158.633 284.316 158.812 284.502 158.978C284.553 159.022 284.603 159.066 284.647 159.11L284.763 159.212C286.54 160.854 285.87 161.243 289.069 164.561C292.712 168.356 295.224 168.424 295.938 168.079C296.544 16
2517.784 295.315 165.773 293.958 163.511L293.758 163.173L293.216 162.265C291.625 159.557 292.035 158.264 292.414 154.214C292.722 150.92 297.54 135.824 297.54 135.824L290.552 134.615C290.552 134.615 288.446 146.641 286.124 148.496C284.884 149.485 283.496 149.512 282.305 150.226C282.22 150.277 282.139 150.331 282.058 150.385C281.347 150.811 280.698 151.332 280.128 151.933Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M280.128 151.932C279.879 152.207 279.715 152.548 279.655 152.913C279.595 153.279 279.642 153.654 279.789 153.994C280.395 155.365 281.997 156.895 283.852 158.422C284.096 158.622 284.306 158.808 284.495 158.977C284.546 159.021 284.597 159.065 284.641 159.109L284.756 159.211C286.533 160.853 285.863 161.242 289.062 164.56C292.705 168.356 295.217 168.423 295.931 168.078C296.537 167.783 295.308 165.772 293.951 163.511C291.399 162.514 289.157 160.86 287.451 158.717C285.335 156.008 283.899 152.575 282.46 150.459L282.051 150.385C281.343 150.811 280.696 151.332 280.128 151.932Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M336.48 147.589C336.91 149.746 339.988 149.387 343.42 148.55C346.853 147.714 346.041 148.71 350.93 148.168C355.818 147.626 357.301 145.798 357.45 145.08C357.586 144.434 355.168 144.207 352.578 143.905C352.24 143.872 351.925 143.831 351.597 143.79C348.671 143.421 346.518 141.532 343.874 139.982C341.355 138.512 337.601 132.533 337.601 132.533L330.897 133.061C330.897 133.061 334.412 138.407 335.773 140.733C336.572 142.087 336.531 143.905 336.429 145.3C336.345 146.062 336.362 146.832 336.48 147.589Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M343.42 148.55C346.856 147.71 346.04 148.709 350.929 148.167C355.818 147.626 357.301 145.797 357.45 145.08C357.585 144.433 355.168 144.206 352.578 143.905L352.554 143.956C350.458 145.299 348.038 146.05 345.549 146.129C342.232 146.21 338.721 145.259 336.429 145.293C336.344 146.057 336.361 146.829 336.48 147.588C336.91 149.745 339.987 149.386 343.42 148.55Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M310.798 104.703L304.542 121.567L296.352 143.591C294.891 143.699 293.422 143.564 292.005 143.191C290.045 142.626 287.8 141.16 287.8 141.16C287.8 141.16 290.079 117.515 294.324 103.942C295.411 100.455 296.63 97.6377 297.974 96.0533C304.542 88.2697 310.798 104.703 310.798 104.703Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M304.437 77.9129C300.869 76.7618 291.572 77.8926 281.459 79.7141C280.096 79.9601 278.69 79.7867 277.427 79.2166C276.164 78.6466 275.104 77.7068 274.387 76.5215L248.975 74.5273C248.975 74.5273 240.583 93.1109 245.17 104.961C245.847 106.704 247.327 107.791 249.612 107.828C249.612 107.828 264.969 107.855 269.878 107.855C282.516 107.855 296.623 99.178 298.455 98.8123C301.441 98.2164 302.636 104.192 305.619 110.466C308.601 116.739 333.691 138.258 333.691 138.258C333.691 138.258 337.547 138.299 339.142 137.703C340.855 137.059 341.481 136.227 341.481 136.227C341.481 136.227 313.683 80.9024 304.437 77.9129Z",fill:"#464D54"}),(0,i.jsx)("path",{d:"M271.702 1.88918C270.237 1.01632 268.554 0.578316 266.85 0.626361C266.065 0.645027 265.281 0.597445 264.504 0.48415C254.808 -0.94119 248.961 13.1429 248.619 17.4122C247.986 25.2262 243.852 26.4179 238.033 31.2932C226.359 41.1114 229.775 52.5074 236.157 56.7462C239.983 59.2921 246.73 56.7462 246.73 56.7462C246.828 56.8139 265.188 46.4912 274.241 41.5109C287.817 39.5981 277.162 5.13598 271.702 1.88918Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M266.667 37.2751C266.708 37.3022 262.215 38.8358 259.219 37.5019C256.395 36.2526 254.256 31.6042 254.296 31.6008C255.583 31.5399 257.005 30.4192 258.085 23.042L258.633 23.2418L267.835 26.5563C267.835 26.5563 267.158 29.5085 266.735 32.3118C266.359 34.6817 266.163 36.9433 266.667 37.2751Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M267.827 26.5567C267.827 26.5567 267.458 28.1479 266.923 31.1239C261.635 30.1725 259.366 26.0996 258.625 23.2422L267.827 26.5567Z",fill:"#8C98A3"}),(0,i.jsx)("path",{d:"M269.195 29.4886C269.195 29.4886 256.604 27.7957 257.779 19.9682C258.954 12.1407 258.118 6.65262 266.212 7.40423C274.307 8.15583 275.411 11.3756 275.655 14.084C275.898 16.7925 272.503 29.7255 269.195 29.4886Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M275.196 9.7907C275.196 9.7907 267.132 16.738 261.654 17.2932C256.176 17.8484 254.098 16.0913 254.098 16.0913C256.287 14.1346 258.049 11.7477 259.274 9.07971C259.554 8.45195 259.997 7.9104 260.556 7.51102C261.116 7.11164 261.772 6.86893 262.457 6.80799C266.363 6.47281 273.784 6.32046 275.196 9.7907Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M270.154 9.16849C270.154 9.16849 272.862 11.7788 273.698 13.712C274.518 15.5774 274.762 20.043 274.108 21.8137C274.108 21.8137 278.313 13.6476 275.936 9.67633C273.414 5.46464 270.154 9.16849 270.154 9.16849Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M277.265 55.8318C276.876 81.3221 277.153 75.9931 274.363 78.4138C273.686 78.9962 271.804 79.3415 269.319 79.504C261.502 80.022 247.76 78.7287 247.239 77.283C245.438 72.2859 246.711 70.7319 245.207 63.0635C245.052 62.2476 244.869 61.3707 244.628 60.4092C243.376 55.1513 242.157 53.3637 246.609 44.9234C250.648 37.2753 254.839 31.0695 255.218 31.293C265.859 37.6173 266.729 32.3086 266.729 32.3086C266.729 32.3086 277.458 43.3965 277.265 55.8318Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M304.542 121.567L296.352 143.59C294.891 143.698 293.422 143.563 292.005 143.191C290.045 142.625 287.8 141.159 287.8 141.159C287.8 141.159 290.079 117.514 294.324 103.941L304.542 121.567Z",fill:"#464D54"}),(0,i.jsx)("path",{d:"M266.726 32.3193C266.726 32.3193 277.678 34.1814 278.964 38.8976C280.251 43.6137 284.472 72.2424 284.472 72.2424C284.472 72.2424 281.382 75.259 278.812 72.6859C276.242 70.1128 270.724 45.899 270.724 45.899L266.726 32.3193Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M269.333 79.5039C261.516 80.0219 247.774 78.7286 247.253 77.283C245.452 72.2858 246.725 70.7318 245.222 63.0634L248.983 52.4834C248.983 52.4834 248.357 64.3025 251.844 67.4139C255.331 70.5253 266.114 73.42 267.806 76.0201C268.544 77.067 269.064 78.2519 269.333 79.5039Z",fill:"#A9132F"}),(0,i.jsx)("path",{d:"M260.366 74.5305C260.366 74.5305 268.078 72.814 269.32 73.5148C270.563 74.2156 273.603 76.6905 273.986 77.5572C274.368 78.424 271.216 76.9004 270.191 76.6228C269.513 76.4468 267.78 77.0528 266.913 77.3406C263.274 78.5526 261.046 77.9263 261.046 77.9263L260.366 74.5305Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M255.216 31.3032C255.216 31.3032 244.859 31.9397 241.274 36.9369C236.226 43.9722 226.209 73.9619 231.944 77.9636C238.4 82.4699 261.343 79.152 261.343 79.152C261.343 79.152 262.109 75.5836 261.046 73.8569C259.983 72.1302 242.723 69.3371 241.928 68.5381C241.132 67.7391 251.891 53.0083 251.891 50.6181C251.891 48.2279 255.216 31.3032 255.216 31.3032Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M269.691 75.6479C269.691 75.6479 271.306 77.7301 271.837 77.9806C272.104 78.1242 272.406 78.1888 272.707 78.1668L271.621 76.2066L269.691 75.6479Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M269.334 73.5015L274.03 75.7834C273.938 75.8966 273.818 75.9839 273.682 76.0368C273.546 76.0896 273.399 76.1061 273.254 76.0847C272.561 75.9615 271.881 75.7733 271.223 75.5227L269.334 73.5015Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M309.43 78.8778L260.36 78.8608V79.9442L308.993 79.9612L309.43 78.8778Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M271.833 79.9477L308.992 79.9613L320.182 52.1654L283.08 52.1553L271.833 79.9477Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M299.619 66.0568C299.9 65.0818 299.335 64.2896 298.356 64.2896C297.842 64.3176 297.349 64.5018 296.943 64.8176C296.536 65.1334 296.236 65.5657 296.081 66.0568C295.8 67.0353 296.366 67.8275 297.341 67.8275C297.856 67.799 298.349 67.6142 298.756 67.2979C299.164 66.9815 299.464 66.5486 299.619 66.0568Z",fill:"white"}),(0,i.jsx)("path",{d:"M619.644 241.901C614.641 240.239 611.181 242.335 611.181 242.335C596.768 242.927 596.233 257.702 597.926 263.2C600.296 270.923 591.893 277.01 601.217 280.128C612.051 283.754 621.117 279.451 620.514 281.32C654.708 284.025 631.03 245.68 619.644 241.901Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M604.698 313.764C603.596 315.82 602.306 317.771 600.846 319.59C597.849 323.342 582.137 314.441 583.488 313.764C584.839 313.087 592.741 290.335 594.62 287.478C596.499 284.621 602.907 283.134 602.907 283.134L604.698 313.764Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M657.728 467.193C657.728 467.193 662.064 471.154 661.218 473.964C660.372 476.774 656.458 478.653 655.93 482.09C655.402 485.526 653.282 487.402 651.38 487.402H642.3C642.3 487.402 640.898 484.984 644.284 484.253C647.669 483.522 648.946 479.486 648.736 475.735C648.526 471.984 649.05 466.986 649.05 466.986L656.245 465.321L657.728 467.193Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M621.016 468.875C621.016 468.875 622.576 485.644 620.677 486.582L596.301 48
2516.531C596.301 486.531 596.301 483.718 600.215 483.095C604.129 482.472 611.005 480.177 612.169 475.071C613.334 469.966 621.016 468.875 621.016 468.875Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M639.762 302.445C639.981 306.197 639.981 309.958 639.762 313.709C639.522 317.772 635.401 323.236 634.819 324.584C633.35 327.969 631.698 328.521 631.698 328.521L618.904 331.656L614.404 332.757L600.216 328.521C600.216 328.521 593.756 310.483 596.349 300.329C598.943 290.176 602.907 283.127 602.907 283.127C602.907 283.127 612.549 280.96 629.558 282.166L639.762 302.445Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M640.981 313.852C640.741 317.915 635.402 323.237 634.819 324.584C633.35 327.97 631.698 328.522 631.698 328.522L618.904 331.657L616.592 325.035C616.592 325.035 635.287 320.126 632.28 302.822L640.981 313.852Z",fill:"#A9132F"}),(0,i.jsx)("path",{d:"M601.118 331.257C601.118 331.257 594.093 353.128 593.64 360.573C593.186 368.018 607.07 466.346 607.629 469.776C608.157 473.013 612.172 475.071 612.172 475.071C613.568 475.753 615.172 475.874 616.654 475.41C620.311 474.394 621.469 473.141 621.469 473.141C621.469 473.141 626.936 403.015 623.551 377.965C621.492 362.472 620.349 346.871 620.128 331.244L601.118 331.257Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M630.884 330.607C630.884 330.607 641.603 344.986 642.602 354.706C643.6 364.426 644.169 398.573 646.299 408.05C648.428 417.526 656.245 435.761 656.245 465.321C656.245 465.321 655.433 467.014 652.924 467.914C651.966 468.238 650.991 468.508 650.002 468.723C648.996 468.953 647.942 468.838 647.01 468.395C646.078 467.953 645.322 467.21 644.863 466.286C639.575 455.638 622.732 421.304 621.869 414.178C621.259 409.133 615.941 375.751 604.342 356.162C601.556 351.459 606.035 332.757 606.035 332.757L630.884 330.607Z",fill:"#464D54"}),(0,i.jsx)("path",{d:"M599.996 327.882C599.996 327.882 602.816 330.113 608.419 330.229C615.112 330.361 631.698 328.536 631.698 328.536C632.153 329.901 632.392 331.329 632.406 332.768C632.406 332.768 612.15 337.877 600.412 333.513C600.412 333.499 598.903 330.652 599.996 327.882Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M606.813 335.994C605.12 335.994 603.766 334.443 603.766 332.537C603.766 330.631 605.137 329.081 606.813 329.081C608.489 329.081 609.86 330.631 609.86 332.537C609.86 334.443 608.499 335.994 606.813 335.994ZM606.813 330.093C605.689 330.093 604.782 331.19 604.782 332.537C604.782 333.885 605.699 334.982 606.813 334.982C607.927 334.982 608.844 333.885 608.844 332.537C608.844 331.19 607.94 330.093 606.813 330.093Z",fill:"white"}),(0,i.jsx)("path",{d:"M621.445 342.281L591.003 342.569L576.022 307.362L606.465 307.078L621.445 342.281Z",fill:"#464D54"}),(0,i.jsx)("path",{d:"M617.463 326.372L615.232 323.63C615.232 323.63 613.722 322.276 612.625 322.056C611.528 321.835 609.216 320.491 608.993 320.867C608.769 321.243 610.77 323.914 610.77 323.914H610.872C608.573 325.641 602.77 324.117 602.069 324.822C601.199 325.675 603.264 327.53 604.371 328.546C605.479 329.561 608.644 331.312 611.112 330.543C612.913 329.981 615.754 329.409 615.754 329.409L617.463 326.372Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M578.315 313.554C578.315 313.554 580.228 311.381 581.447 312.424C582.666 313.466 581.129 318.599 579.968 318.078C578.806 317.556 577.648 314.191 578.315 313.554Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M629.559 282.167C629.559 282.167 638.273 283.128 644.53 294.49C649.459 303.452 657.892 319.97 654.71 324.622C653.312 326.67 639.925 333.959 614.104 329.792C614.104 329.792 614.51 326.531 616.592 325.018C616.592 325.018
251638.324 318.044 638.287 316.656C638.216 314.028 635.352 311.76 623.211 299.619C619.91 296.332 629.559 282.167 629.559 282.167Z",fill:"#D20A2D"}),(0,i.jsx)("path",{d:"M622.85 282.617C623.152 282.214 622.766 280.924 622.285 278.554C621.852 276.394 621.117 273.052 621.134 269.294L620.491 269.403L609.691 271.221C609.691 271.221 609.935 274.109 609.941 276.827C609.943 276.85 609.943 276.873 609.941 276.895C609.941 279.265 609.302 282.83 610.101 283.297C614.194 285.701 621.699 284.174 622.85 282.617Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M609.691 271.228C609.691 271.228 609.904 275.29 609.911 278.019C615.958 277.874 619.181 272.006 620.491 269.41L609.691 271.228Z",fill:"#8C98A3"}),(0,i.jsx)("path",{d:"M609.039 276.082C609.039 276.082 623.197 274.051 621.806 265.268C620.414 256.486 621.305 250.284 612.208 251.198C603.111 252.112 601.885 255.748 601.635 258.798C601.384 261.849 605.335 276.38 609.039 276.082Z",fill:"#E7EEF3"}),(0,i.jsx)("path",{d:"M605.741 252.008C605.741 252.008 611.249 261.714 617.428 262.293C623.607 262.872 625.926 260.874 625.926 260.874C622.588 258.769 620.085 255.569 618.847 251.821C618.847 251.821 607.874 246.631 605.741 252.008Z",fill:"#231F20"}),(0,i.jsx)("path",{d:"M606.829 252.695C606.829 252.695 604.121 254.221 603.288 256.5C602.251 259.17 602.034 262.089 602.665 264.883C602.665 264.883 598.633 258.332 601.274 253.842C604.077 249.079 606.829 252.695 606.829 252.695Z",fill:"#231F20"})]}),(0,i.jsxs)("div",{className:"main-text",children:[(0,i.jsx)("h1",{className:"title",children:C.Intl.formatMessage({id:"components.maintenanceWarning.backSoon"})}),!!e&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h3",{children:e}),(0,i.jsx)("br",{})]}),(0,i.jsx)("button",{className:"button reload-button",onClick:()=>window.location.reload(),children:C.Intl.formatMessage({id:"components.maintenanceWarning.reload"})})]})]})})}),(0,i.jsx)("footer",{className:"footer",children:(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("div",{className:"footer-content",children:(0,i.jsx)("p",{className:"footer-text",children:C.Intl.formatMessage({id:"components.footer.allRightsReserved"},{year:new Date().getFullYear()})})})})})]})]}),tj=u.default.div.withConfig({displayName:"MaintenanceWarning__Wrapper",componentId:"sc-70dca782-0"})` 252 * { 253 box-sizing: border-box; 254 padding: 0; 255 margin: 0; 256 font-family: ${j.fontVars.nunito}, Arial, Helvetica, Verdana; 257 } 258 259 body { 260 color: #5a5f65; 261 height: 100vh; 262 margin: 0 !important; 263 } 264 265 .container { 266 height: 100%; 267 width: 100%; 268 max-width: 1024px; 269 margin: 0 auto; 270 padding: 0 10px; 271 } 272 273 .header { 274 height: 56px; 275 box-shadow: 0px -1px 0px 0px #d5dee4 inset; 276 } 277 278 .header-content { 279 height: 100%; 280 display: flex; 281 align-items: center; 282 } 283 284 .main { 285 height: calc(100vh - 112px); 286 padding: 40px 0; 287 } 288 289 .main-content { 290 height: 100%; 291 display: flex; 292 flex-direction: column; 293 } 294 295 .illustration { 296 display: block; 297 width: 100%; 298 height: auto; 299 margin-bottom: 40px; 300 } 301 302 .main-text { 303 text-align: center; 304 } 305 306 .title { 307 font-size: 30px; 308 line-height: 36px; 309 font-weight: 800; 310 color: #464d54; 311 margin-bottom: 20px; 312 } 313 314 .button { 315 padding: 18px 30px; 316 color: white; 317 background-color: #d20a2d; 318 border: 0; 319 border-radius: 4px; 320 font-weight: 700; 321 text-transform: uppercase; 322 cursor: pointer; 323 transition: background-color 200ms ease-out; 324 } 325 326 .button:hover { 327 background-color: #a9132f; 328 } 329 330 .button:focus { 331 outline: 0; 332 } 333 334 .footer { 335 background-color: #231f20; 336 height: 56px; 337 } 338 339 .footer-content { 340 height: 100%; 341 display: flex; 342 align-items: center; 343 } 344 345 .footer-text { 346 font-size: 12px; 347 line-height: 18px; 348 color: #d5dee4; 349 } 350 351 @media only screen and (min-width: 768px) { 352 .main-content { 353 align-items: center; 354 } 355 356 .illustration { 357 width: 80%; 358 margin: 0 auto 40px; 359 } 360 361 .title { 362 font-size: 40px; 363 line-height: 50px; 364 } 365 } 366 367 @media only screen and (min-width: 1024px) { 368 .header { 369 justify-content: flex-start; 370 height: 70px; 371 } 372 373 .main { 374 height: calc(100vh - 200px); 375 display: flex; 376 align-items: center; 377 } 378 379 .main-content { 380 flex-direction: row; 381 } 382 383 .illustration { 384 width: 100%; 385 margin: 0; 386 order: 2; 387 } 388 389 .main-text { 390 text-align: left; 391 order: 1; 392 } 393 394 .title { 395 font-size: 54px; 396 line-height: 54px; 397 } 398 399 .footer { 400 height: 130px; 401 } 402 403 .footer-content { 404 justify-content: flex-end; 405 } 406 } 407 408 @media (max-width: 1023px) { 409 .reload-button { 410 margin-left: auto; 411 margin-right: auto; 412 } 413 } 414`;var tb=e.i(94182);let tv=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(tx.default,{children:(0,i.jsx)("link",{href:"https://api.mapbox.com/mapbox-gl-js/v2.8.1/mapbox-gl.css",rel:"stylesheet"})}),(0,i.jsx)(tb.default,{id:"mapbox",src:"https://api.mapbox.com/mapbox-gl-js/v2.8.1/mapbox-gl.js",strategy:"lazyOnload"})]});var tM=e.i(81952);let tS=[eR.default.cart,eR.default.checkout,eR.default.digitalGiftCardManagement,eR.default.digitalGiftCardPayment,eR.default.digitalGiftCardOrder];function tw({pathname:e}){let t,o=(t=e.split("?")[0]??"",tS.some(e=>t.includes(e))||t.includes(eR.default.digitalGiftCardOrderConfirmationBase));return((0,tM.useMolinAiHidden)(o),o)?null:(0,i.jsx)(tx.default,{children:(0,i.jsx)("script",{type:"module",src:"https://widget.molin.ai/shop-ai.js?w=bm933964",defer:!0})})}function tL(){return(0,h.useEffect)(()=>{let e=()=>{let e=document.querySelector("molin-shop-ai");if(e?.shadowRoot)try{let t=new CSSStyleSheet;t.replaceSync(` 415 @media (max-width: ${Q.breakpoints.medium}px) { 416 mw-bubble { 417 bottom: 90px !important; 418 } 419 } 420 `),e.shadowRoot.adoptedStyleSheets=[...e.shadowRoot.adoptedStyleSheets,t]}catch(e){console.error("Failed to inject adopted stylesheet into Molin AI:",e)}};if(window.Molin)return void e();let t=()=>{e()};return window.addEventListener("molin:ready",t),()=>window.removeEventListener("molin:ready",t)},[]),null}let t_="query productStockStore($id: Int!, $store_id: Int) {\n productStockStore(id: $id, store_id: $store_id) {\n store_id\n qt
420y\n }\n}\n",tA=({store:e,isLoading:t,stockError:o,storeStock:a,onClick:r,disabled:s,isMobile:n,isOpen:l,shouldFetchStock:d,productId:c})=>{let p=new Date().getDay(),[u]=(0,K.useManualQuery)(t_),[x,g]=(0,h.useState)(null),[y,j]=(0,h.useState)(!!d),b=d?x:a;(0,h.useEffect)(()=>{d&&v()},[d]);let v=async()=>{if(!c)return void j(!1);j(!0);let{data:t,error:o}=await u({variables:{id:c,store_id:e.id}});if(o){(0,m.showToast)((0,i.jsx)(f.Typo,{$variant:"bold16",$color:"grayD",children:C.Intl.formatMessage({id:"components.productLocation.fetchStockError"})}),"error"),g(null),j(!1);return}t?.productStockStore&&t.productStockStore.length>0&&g(t.productStockStore[0].qty),j(!1)},M=(0,X.isStoreCnc)(e),S=()=>{if(!b)return null;let e=M?C.Intl.formatMessage({id:"components.productLocation.clickAndCollectInfo.available"}):C.Intl.formatMessage({id:"components.productLocation.clickAndCollectInfo.unavailable"}),t=M?(0,i.jsx)(ea.default,{className:"clr-green","aria-hidden":!0}):(0,i.jsx)(er.default,{className:"clr-red","aria-hidden":!0});return(0,i.jsxs)(ee.Box,{$style:{position:"relative",paddingLeft:26,gridColumn:"1 / -1"},children:[(0,i.jsx)(f.TypoRest,{$variant:"Small-12-Regular",as:"div",className:"clr-davys-grey",children:(0,i.jsx)(ee.Box,{$style:{fontWeight:800},children:e})}),(0,i.jsx)(ee.Box,{$style:{position:"absolute",top:0,left:0},children:t})]})};return n&&e?(0,i.jsx)("div",{children:(0,i.jsxs)(tN,{children:[(0,i.jsxs)(ee.Box,{$style:{display:"grid",gridTemplateColumns:"1fr auto",gap:10},children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(f.Typo,{$variant:"Body-16-EBold",children:e.street}),(0,i.jsx)(f.Typo,{$variant:"Body-Small-14-Regular",children:[e.zip_code,e.city].filter(Boolean).join(" ")})]}),(0,i.jsxs)(ee.Box,{$style:{display:"flex"},children:[t||y?(0,i.jsx)(eo.default,{}):(0,i.jsxs)(tB,{$variant:"regular14",$color:"white",available:!!b&&b>0,$style:{alignSelf:"flex-start",lineHeight:"20px"},children:[o&&C.Intl.formatMessage({id:"components.productAvailability.fallback"}),!o&&(0,i.jsx)(i.Fragment,{children:b&&b>0?C.Intl.formatMessage({id:"components.productAvailability.stockInfo"},{stock:b}):C.Intl.formatMessage({id:"components.productAvailability.noStockStore"})})]}),!t&&b&&b>0?(0,i.jsx)(tZ,{}):(0,i.jsx)(tO,{})]}),S()]}),(0,i.jsx)(tF,{children:e.openings.split("\n").map((e,t)=>(0,i.jsxs)(tD,{children:[(0,i.jsxs)(f.Typo,{$variant:p===t+1?"bold14":"regular14",children:[e.split(": ")[0],p===t+1&&` (${C.Intl.formatMessage({id:"common.today"})})`]}),(0,i.jsx)(f.Typo,{$variant:p===t+1?"bold14":"regular14",children:et.StringUtils.formatStoreOpening(e)})]},t))}),(0,i.jsx)(f.Typo,{$variant:"regular12",children:C.Intl.formatMessage({id:"components.productLocation.disclaimer"})}),(0,i.jsx)(tW,{size:"medium",fullWidth:"always",btnLabel:C.Intl.formatMessage({id:"components.productLocation.selectStore"}),onClick:r,disabled:t}),(0,i.jsx)(tP,{$variant:"regular12",children:C.Intl.formatMessage({id:"components.productLocation.defaultShop"})})]})}):(0,i.jsx)(tT,{children:(0,i.jsxs)(t$,{children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(f.Typo,{$variant:"Body-16-EBold",children:e.street}),(0,i.jsx)(f.Typo,{$variant:"Body-Small-14-Regular",children:[e.zip_code,e.city].filter(Boolean).join(" ")})]}),(0,i.jsxs)(ee.Box,{$style:{display:"flex"},children:[t||y?(0,i.jsx)(ee.Box,{$style:{maxWidth:104,overflow:"hidden"},children:(0,i.jsx)(eo.default,{})}):(0,i.jsxs)(tB,{$variant:"regular14",$color:"white",available:!!b&&b>0,$style:{alignSelf:"flex-start",lineHeight:"20px"},children:[o&&C.Intl.formatMessage({id:"components.productAvailability.fallback"}),!o&&(0,i.jsx)(i.Fragment,{children:b&&b>0?C.Intl.formatMessage({id:"components.productAvailability.stockInfo"},{stock:b}):C.Intl.formatMessage({id:"components.productAvailability.noStockStore"})})]}),!t&&b&&b>0?(0,i.jsx)(tH,{}):(0,i.jsx)(tR,{})]}),S(),(0,i.jsxs)(tk,{open:l,children:[(0,i.jsxs)(tE,{children:[(0,i.jsxs)(ee.Box,{as:"span",$style:{minWidth:0,flex:"none",display:"flex",gap:5,alignItems:"center",marginRight:"auto",fontWeight:700,userSelect:"none"},children:[(0,i.jsx)(ee.Box,{as:"span",$style:{minWidth:0,flex:"none"},children:C.Intl.formatMessage({id:"storeFinder.openingTimesTitle"})}),(0,i.jsx)(tI,{children:(0,i.jsx)(Y,{"aria-hidden":!0})})]}),(()=>{let t=e?.openings?e.openings.split("\n")[0===p?6:p-1]:null;if(!t)return null;let o=t.split(":")[0],a=t.split(`${o}: `)[1];return(0,i.jsxs)(ee.Box,{className:"store-todays-openings",as:"span",$style:{minWidth:0,flex:"none",display:"flex",gap:10},children:[(0,i.jsx)(ee.Box,{as:"span",$style:{minWidth:0,flex:"none"},children:`${o} (${C.Intl.formatMessage({id:"common.today"}).toLowerCase()})`}),(0,i.jsx)(ee.Box,{as:"span",$style:{minWidth:0,flex:"none"},children:a})]})})()]}),(0,i.jsx)(tF,{children:e&&e.openings.split("\n").map((e,t)=>(0,i.jsx)(tD,{children:(0,i.jsx)(f.Typo,{$variant:p===t+1?"bold14":"regular14",children:et.StringUtils.formatStoreOpening(e)}
420)},t))}),(0,i.jsx)(f.Typo,{$variant:"regular12",children:C.Intl.formatMessage({id:"components.productLocation.disclaimer"})})]}),(0,i.jsx)(ee.Box,{$style:{gridColumn:"1 / -1"},children:(0,i.jsx)(J.Button.Primary,{size:"medium",fullWidth:"always",btnLabel:C.Intl.formatMessage({id:"components.productLocation.selectStore"}),onClick:r,disabled:!!s})}),(0,i.jsx)(f.TypoRest,{as:"div",$variant:"Small-12-Regular",$style:{gridColumn:"1 / -1"},children:C.Intl.formatMessage({id:"components.productLocation.defaultShop"})})]})})},tI=u.default.span.withConfig({displayName:"ProductStoreInfoBox__StoreInfoListItemDetailsSummaryCaretWrapper",componentId:"sc-20de22cd-0"})({flex:"none",minWidth:0,color:Q.default.color.red}),tE=(0,u.default)(f.TypoRest).attrs({as:"summary",$variant:"Body-Small-14-EBold"}).withConfig({displayName:"ProductStoreInfoBox__StoreInfoListItemDetailsSummary",componentId:"sc-20de22cd-1"})({columnGap:10,cursor:"pointer",display:"flex",flexWrap:"wrap",fontWeight:800,listStyle:"none","&::-webkit-details-marker":{display:"none"}}),tk=u.default.details.withConfig({displayName:"ProductStoreInfoBox__StoreInfoListItemDetails",componentId:"sc-20de22cd-2"})({gridColumn:"1 / -1",[`&[open] ${tI}`]:{transform:"scale(-1)"},"&[open] .store-todays-openings":{visibility:"hidden"}}),t$=u.default.article.withConfig({displayName:"ProductStoreInfoBox__StoreInfoListItem",componentId:"sc-20de22cd-3"})(({theme:e})=>
420({background:e.color.neutralSnow,borderRadius:4,columnGap:10,display:"grid",padding:10,rowGap:20,[Q.bp.medium]:{gridTemplateColumns:"1fr auto"}})),tT=u.default.div.withConfig({displayName:"ProductStoreInfoBox__StoreInfoListStack",componentId:"sc-20de22cd-4"})({display:"grid",gap:15}),tB=(0,u.default)(f.Typo).withConfig({displayName:"ProductStoreInfoBox__BadgeText",componentId:"sc-20de22cd-5"})` 421 display: inline-flex; 422 align-items: center; 423 background: ${e=>e.available?e.theme.color.feedbackDone:e.theme.color.neutralDavysGrey}; 424 border-radius: 2px; 425 padding: 2px 5px; 426 ${({$style:e})=>e} 427`,tF=u.default.ul.withConfig({displayName:"ProductStoreInfoBox__DaysList",componentId:"sc-20de22cd-6"})` 428 padding-bottom: 10px; 429 430 ${Q.bp.medium} { 431 padding: 10px 0; 432 } 433`,tD=u.default.li.withConfig({displayName:"ProductStoreInfoBox__Day",componentId:"sc-20de22cd-7"})` 434 padding: 10px 0; 435 display: flex; 436 justify-content: space-between; 437 438 &:not(:last-child) { 439 border-bottom: 1px solid ${e=>e.theme.color.grayXL}; 440 } 441`,tP=(0,u.default)(f.Typo).withConfig({displayName:"ProductStoreInfoBox__DefaultShopTypo",componentId:"sc-20de22cd-8"})` 442 text-align: center !important; 443`,tN=u.default.div.withConfig({displayName:"ProductStoreInfoBox__StoreInfoWrapper",componentId:"sc-20de22cd-9"})` 444 background: ${e=>e.theme.color.grayXXL}; 445 border-radius: 4px; 446 margin-bottom: 16px; 447 padding: 10px; 448 449 ${Q.bp.medium} { 450 margin-bottom: 20px; 451 } 452`;var tZ=(0,u.default)(es.default).withConfig({displayName:"ProductStoreInfoBox___StyledSvgHouse",componentId:"sc-20de22cd-10"})` 453 margin-left: 5px; 454 color: ${Q.Color.greenL}; 455 `,tH=(0,u.default)(es.default).withConfig({displayName:"ProductStoreInfoBox___StyledSvgHouse3",componentId:"sc-20de22cd-11"})` 456 margin-left: 5px; 457 color: ${Q.Color.greenL}; 458 `,tO=(0,u.default)(en.default).withConfig({displayName:"ProductStoreInfoBox___StyledSvgHouse2",componentId:"sc-20de22cd-12"})` 459 margin: 0 10px 0 5px; 460 `,tR=(0,u.default)(en.default).withConfig({displayName:"ProductStoreInfoBox___StyledSvgHouse4",componentId:"sc-20de22cd-13"})` 461 margin: 0 10px 0 5px; 462 `,tW=(0,u.default)(J.Button.Primary).withConfig({displayName:"ProductStoreInfoBox___StyledButtonPrimary",componentId:"sc-20de22cd-14"})` 463 margin: 20px 0; 464 `;let tz=()=>{let{user:e,refetchUser:t}=(0,n.useAccount)(),o=(0,d.useDispatch)(),a=(0,d.useSelector)(e=>e.appAlert.stockLocationModalProductId),{favouriteStore:c}=(0,U.useFavouriteStore)(),{getAuthToken:p}=(0,q.useSession)(),u=!!a,[x,g]=(0,h.useState)(null),[y]=(0,K.useMutation)(B),{data:j,loading:b,error:v}=(0,K.useQuery)(t_,{variables:{id:a},skip:"number"!=typeof a}),{data:S}=(0,K.useQuery)(F.storesQuery,{useCache:!0,skip:!u}),[w,L]=(0,h.useState)(!1),[_,A]=(0,h.useState)(!0),[I,E]=(0,h.useState)(0),{createGeoJSONFeature:k,zoomToCluster:$,mapRef:T,mapContainerRef:W,coordinates:Q,easeMapToLocation:J,setSearchInput:Y,searchInput:ee,searchFieldProps:et,showLocationPermissionError:eo,renderSearchResults:ei,suggestions:ea}=(0,G.useMapbox)(),er=(0,X.getIsMobile)(),es=(0,h.useRef)(null),en=(0,h.useMemo)(()=>new Map(j?.productStockStore.filter(e=>e.qty>0).map(e=>[e.store_id,e.qty])??[]),[j?.productStockStore]),el=(0,h.useMemo)(()=>{let e=S?.stores??[];return(_?e.filter(e=>en.has(e.id)):e).map(e=>({store:e,inStock:en.has(e.id)}))},[en,S?.stores,_]),ed=(0,h.useMemo)(()=>el.map(e=>k({...e.store,inStock:e.inStock}))??[],[k,el]),ec=x?en.get(x?.id)??0:null,ep=(0,h.useCallback)(()=>{Y(""),g(null),setTimeout(()=>{es.current&&es.current.focus()},0)},[Y]);(0,h.useEffect)(()=>{u&&A(!0)},[u]),(0,h.useEffect)(()=>{if(!T)return;let e=e=>{e.getCanvas().style.cursor="pointer"},t=e=>{e.getCanvas().style.cursor=""},o=e=>{if(!e.features)return;let t=S?.stores.find(t=>
464t.id===e.features[0].properties.id);t&&(J(t.lng,t.lat,void 0,er?void 0:{padding:{top:0,right:375,bottom:0,left:0}}),Y(""),E(0),g(t),(0,X.scrollToId)(`store-info-box-wrapper-${t.id}`))},i=e=>{ep(),$(e,"stores-clusters")},a=(e,t)=>{0===t.queryRenderedFeatures(e.point,{layers:["stores-clusters","unclustered-stores"]}).length&&ep()};return T.addSource("stores",{type:"geojson",data:{type:"FeatureCollection",features:ed},cluster:!0,clusterMaxZoom:14,clusterRadius:30}),T.addLayer({id:"stores-clusters",type:"symbol",source:"stores",filter:["has","point_count"],layout:{"icon-image":"cluster","icon-allow-overlap":!0,"icon-ignore-placement":!0,"text-field":"{point_count_abbreviated}","text-font":["DIN Offc Pro Medium","Arial Unicode MS Bold"],"text-size":12,"text-offset":[0,-.4]},paint:{"text-color":"#ffffff"}}),T.addLayer({id:"unclustered-stores",type:"symbol",source:"stores",filter:["!",["has","point_count"]],layout:{"icon-image":["case",["==",["get","inStock"],!0],"rossmann","rossmann-gray"],"icon-size":1,"icon-anchor":"bottom","icon-allow-overlap":!0,"icon-ignore-placement":!0}}),T.on("click","unclustered-stores",o),T.on("click","stores-clusters",i),T.on("click",e=>a(e,T)),T.on("mouseleave",["stores-clusters","unclustered-stores"],()=>t(T)),T.on("mouseenter",["stores-clusters","unclustered-stores"],()=>e(T)),()=>{T&&T.getSource("stores")&&(T.removeLayer("stores-clusters"),T.removeLayer("unclustered-stores"),T.removeSource("stores"),T.off("click","unclustered-stores",o),T.off("click","stores-cluster",i),T.off("click",e=>a(e,T)),T.off("mouseleave",["stores-clusters","unclustered-stores"],()=>t(T)),T.off("mouseenter",["stores-clusters","unclustered-stores"],()=>e(T)))}},[T,J,ed,ep,er,Y,S?.stores,$]),(0,h.useEffect)(()=>{x&&Y(x?`${x.street?`${x.street} `:""} ${[x.zip_code,x.city].filter(Boolean).join(" ")}`:"")},[x]);let eu=(0,h.useRef)(null);(0,h.useEffect)(()=>{v&&eu.current!==v&&(eu.current=v,(0,m.showToast)((0,i.jsx)(f.Typo,{$variant:"bold16",$color:"grayD",children:C.Intl.formatMessage({id:"components.productLocation.fetchStockError"})}),"error"))},[v]),(0,h.useEffect)(()=>{if(!T)return;let e=T.getSource("stores");"geojson"!==e.type?console.warn('storesSources.type !== "geojson" this shouldn\'t happen'):e.setData({type:"FeatureCollection",features:ed})},[ed,T]);let ef=(0,h.useMemo)(()=>{var e,t,o;let i,a;if(!Q)return[];let{lng:r,lat:s}=Q;return(e=el,t=r,o=s,i=new window.mapboxgl.LngLat(t,o),(a=e.map(e=>{let t=new window.mapboxgl.LngLat(e.store.lng,e.store.lat);return{store:e.store,distance:i.distanceTo(t),inStock:e.inStock}})).sort((e,t)=>e.distance-t.distance),a).slice(0,5)},[Q,el]),eC=1===I?ef:[],em=async()=>{if(L(!0),await p(),x){let{error:i}=await y({variables:{store_id:x.id}});if(i)return void(0,m.toastError)((0,r.getGraphQLErrorMessage)(i));e?t():o(l.AppAlertActions.updateGuestFavStore(x)),ex()}L(!1)},eh=async i=>{L(!0),await p();let{error:a}=await y({variables:{store_id:i.id}});a?(0,m.toastError)((0,r.getGraphQLErrorMessage)(a)):(e?t():o(l.AppAlertActions.updateGuestFavStore(i)),ex(),L(!1))},ex=()=>{o(l.AppAlertActions.updateStockLocationModalProductId(null)),g(null),Y("")},eg=[(0,i.jsxs)(tY,{$isActive:0===I,children:[(0,i.jsx)(O.default,{}),C.Intl.formatMessage({id:"checkout.storeAddressSelector.mapTabLabel"})]},0),(0,i.jsxs)(tY,{$isActive:1===I,children:[(0,i.jsx)(H.default,{}),C.Intl.formatMessage({id:"checkout.storeAddressSelector.listTabLabel"})]},1)],ey=0===I&&!!x,ej=(0,i.jsxs)(i.Fragment,{children:[er&&x&&(0,i.jsx)(t1,{children:1===I&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.Typo,{$variant:"bold16",children:x.street}),(0,i.jsx)(f.Typo,{$variant:"regular16",children:[x.zip_code,x.city].filter(Boolean).join(" ")})]})}),x&&(0,i.jsx)(tA,{store:x,storeStock:ec,isLoading:b,stockError:v,onClick:em,disabled:w,isMobile:er,isOpen:!er})]}),eb=C.Intl.formatMessage({id:"components.productLocation.title"});return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(s.MapModal,{label:eb,isOpen:u,onRequestClose:ex,maxWidth:"85%",children:[(0,i.jsx)(tV,{children:(0,i.jsx)("div",{ref:W,style:{height:"100%"}})}),(0,i.jsxs)(tX,{isOpenedStore:ey,children:[(0,i.jsxs)(s.ModalHeader,{children:[(0,i.jsx)(s.ModalTitle,{children:eb}),(0,i.jsx)(P.IconButton.ModalClose,{btnLabel:"Dialógus bezárása",icon:(0,i.jsx)(M.default,{}),onClick:er&&x?ep:ex})]}),er&&x&&0===I&&(0,i.jsx)(tq,{store:x}),!(er&&0===I&&x)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(D.Checkbox,{label:(0,i.jsx)(f.Typo,{$variant:"bold14",$color:"grayD",children:C.Intl.formatMessage({id:"components.productLocation.inStock"})}),checked:_,onChange:()=>{A(e=>!e)},size:"large",$noStack:!0}),(0,i.jsx)(tJ,{labels:eg,activeIndex:I,onTabClick:e=>E(e)}),(0,i.jsxs)(V.TooltipPopover,{defaultOpen:!0,open:!0,children:[(0,i.jsx)(V.TooltipPopoverAnchor,{asChild:!0,children:(0,i.jsxs)(t2,{children:[(0,i.jsx)(z.InputLabelText,{className:"fw-bold",children:C.Intl.formatMessage({id:"components.productLocation.searchByAddress"})}),(0,i.jsxs)(t3,{children:[(0,i.jsx)(Z.Searchfield,{placeholder:C.Intl.formatMessage({id:"components.productLocation.placeholder"}),hideSearchButton:!0,searchIcon:(0,i.jsx)(R.default,{width:24,height:24}),noRightRounding:!0,showLocationButton:!0,onLocationError:()=>eo(s.LocationVariant.storeFinder),isFullWidth:!0,...et,value:ee??c?.address}),!!ee&&(0,i.jsx)(P.IconButton.Cancel,{className:"cancel-button",btnLabel:"CÃm törlése",icon:(0,i.jsx)(M.default,{}),onClick:ep,disabled:!ee&&!x})]})]})}),!!ee&&ea.length>0&&ei(tG),0===eC.length&&0===ea.length&&(0,i.jsx)(N.MapTooltipContent,{shouldDelay:!0,text:C.Intl.formatMessage({id:"common.mapTooltipContent"})})]})]}),(0,i.jsx)(tK,{$isHidden:0!==I,children:ej}),(0,i.jsx)(tK,{$isHidden:1!==I,children:eC.map(e=>{let t=`store-info-box-wrapper-${e.store.id}`;return(0,i.jsx)(t4,{id:t,children:(0,i.jsx)(tA,{store:e.store,isLoading:!1,stockError:void 0,storeStock:null,shouldFetchStock:!0,productId:a,onClick:()=>eh(e.store),disabled:w,isMobile:er,isOpen:x?.id===e.store.id,isListView:1===I})},t)})})]})]})})},tV=u.default.div.withConfig({displayName:"ProductStockLocationModal__MapWrapper",componentId:"sc-1ee9e653-0"})` 465 position: absolute; 466 top: 0; 467 left: 0; 468 right: 0; 469 bottom: 0; 470 background: ${e=>e.theme.color.beige}; 471 472 .cluster { 473 div { 474 width: 28px !important; 475 line-height: 35px !important; 476 color: white !important; 477 } 478 } 479 .gm-style-cc { 480 display: none; 481 } 482`,tU=u.default.div.withConfig({displayName:"ProductStockLocationModal__ModalContentBox",componentId:"sc-1ee9e653-1"})` 483 background: ${e=>e.theme.color.white}; 484 /* TODO: https://bigfishhu.atlassian.net/browse/ROS-2822 */ 485 /* border-radius: 8px 8px 0 0; */ 486 border-radius: 8px; 487 padding-left: 10px; 488 padding-right: 10px; 489 /* TODO: https://bigfishhu.atlassian.net/browse/ROS-2822 (remove once it's released) */ 490 /* padding-top: ${56}px; */ 491 padding-top: 0px; 492 position: absolute; 493 left: 0; 494 bottom: 0; 495 width: 100%; 496 height: ${e=>e.isOpenedStore?"100%":"auto"}; 497 max-height: ${e=>e.isOpenedStore?"100%":"50%"}; 498 overflow: auto; 499 500 ${Q.bp.medium} { 501 position: relative; 502 left: unset; 503 bottom: unset; 504 /* TODO: https://bigfishhu.atlassian.net/browse/ROS-2822 */ 505 border-radius: 0; 506 padding-left: 20px; 507 padding-right: 20px; 508 padding-bottom: 4px; 509 width: 420px; 510 max-height: 80%; 511 margin-left: auto; 512 } 513`,tG=u.default.ul.withConfig({displayName:"ProductStockLocationModal__SearchResults",componentId:"sc-1ee9e653-2"})` 514 width: 100%; 515 background: ${e=>e.theme.color.white}; 516 padding: 10px; 517 border-radius: 4px; 518 border: 1px solid ${e=>e.theme.color.grayL}; 519 margin-bottom: 16px; 520 521 ${Q.bp.medium} { 522 margin-bottom: 20px; 523 } 524`,tq=({store:e})=>{let{createGeoJSONFeature:t,easeMapToLocation:o,isLoaded:a,mapRef:r,mapContainerRef:s}=(0,G.useMapbox)({dragPan:!1}),{lng:n,lat:l}=e,d=t({lat:l,lng:n});return(0,h.useEffect)(()=>
524{if(r&&a)return o(n,l,15),r.addSource("marker-source",{type:"geojson",data:{type:"FeatureCollection",features:[d]}}),r.addLayer({id:"marker-layer",type:"symbol",source:"marker-source",layout:{"icon-image":"rossmann-gray","icon-anchor":"bottom"}}),()=>{r.removeLayer("marker-layer"),r.removeSource("marker-source")}},[r,a]),(0,i.jsx)(tQ,{ref:s})},tQ=u.default.div.withConfig({displayName:"ProductStockLocationModal__SmallMapContainer",componentId:"sc-1ee9e653-3"})` 525 height: 120px; 526 border-radius: 8px; 527`,tX=(0,u.default)(tU).withConfig({displayName:"ProductStockLocationModal__ProductLocationModalContentBox",componentId:"sc-1ee9e653-4"})` 528 ${Q.bp.medium} { 529 max-height: 100%; 530 height: 100%; 531 } 532 border-radius: 0; 533`,tK=u.default.div.withConfig({displayName:"ProductStockLocationModal__TabWrapper",componentId:"sc-1ee9e653-5"})` 534 visibility: ${e=>e.$isHidden?"hidden":"visible"}; 535 ${e=>!!e.$isHidden&&"height: 1px;"}; 536`,tJ=(0,u.default)(W.Tabs).withConfig({displayName:"ProductStockLocationModal__LocalTabs",componentId:"sc-1ee9e653-6"})` 537 margin-bottom: 15px; 538`,tY=u.default.div.withConfig({displayName:"ProductStockLocationModal__LabelWrapper",componentId:"sc-1ee9e653-7"})` 539 display: flex; 540 align-items: center; 541 542 margin-top: 10px; 543 544 svg { 545 margin-right: 8px; 546 } 547 div, 548 span { 549 margin-right: 5px; 550 } 551 552 font-weight: ${e=>e.$isActive?"bold":"normal"}; 553`,t2=u.default.div.withConfig({displayName:"ProductStockLocationModal__SearchFieldWrapper",componentId:"sc-1ee9e653-8"})` 554 margin-bottom: 15px; 555`,t3=u.default.div.withConfig({displayName:"ProductStockLocationModal__InputAndButtons",componentId:"sc-1ee9e653-9"})` 556 display: flex; 557 558 .cancel-button { 559 margin-left: 5px; 560 } 561`,t4=u.default.div.withConfig({displayName:"ProductStockLocationModal__ListStoreWrapper",componentId:"sc-1ee9e653-10"})` 562 margin-bottom: 15px; 563`;var t1=(0,u.default)("div").withConfig({displayName:"ProductStockLocationModal___StyledDiv",componentId:"sc-1ee9e653-11"})` 564 margin-bottom: 10px; 565 `;function t6(){let e=(0,v.useRouter)(),[t,o]=(0,h.useState)("");return(0,h.useEffect)(()=>{let t=()=>{o("Oldal betöltése...")},i=()=>{setTimeout(()=>{let e=document.querySelector("h1, h2, h3, h4, h5");if(e){e.setAttribute("tabindex","-1");let t=e.style.outline;e.style.outline="none",e.focus({preventScroll:!0});let i=()=>{e.style.outline=t,e.removeEventListener("blur",i),e.removeEventListener("keydown",a)},a=()=>{e.style.outline=t,e.removeEventListener("blur",i),e.removeEventListener("keydown",a)};e.addEventListener("blur",i),e.addEventListener("keydown",a),o(e.innerText||"Ãj oldal betöltve")}else o("Ãj oldal betöltve")},0)};return e.events.on("routeChangeStart",t),e.events.on("routeChangeComplete",i),()=>{e.events.off("routeChangeStart",t),e.events.off("routeChangeComplete",i)}},[e]),(0,i.jsx)("div",{"aria-live":"polite","aria-atomic":"true",style:{position:"absolute",left:"-9999px",height:"1px",width:"1px",overflow:"hidden"},children:t})}let t7=()=>(0,i.jsx)(t0,{href:"#main-content",children:"Ugrás a fÅ tartalomra"}),t0=u.default.a.withConfig({displayName:"SkipToContent__SkipLink",componentId:"sc-273752a1-0"})` 566 position: absolute; 567 left: 0; 568 opacity: 0; 569 background: ${e=>e.theme.color.red}; 570 color: ${e=>e.theme.color.white}; 571 padding: 4px; 572 z-index: 10000; 573 text-decoration: none; 574 pointer-events: none; 575 576 &:focus-visible { 577 opacity: 1; 578 } 579`;var t5=e.i(39944);function t8(e){sessionStorage.setItem(`scrollPos:${e}`,JSON.stringify({x:window.scrollX,y:window.scrollY}))}function t9(e){let t=sessionStorage.getItem(`scrollPos:${e}`),o=t?JSON.parse(t):void 0;o&&window.scrollTo(o.x,o.y)}var oe=e.i(76848),ot=e.i(85296);let oo={authToken:null,user:null,cookieConsent:!1},oi={sub_total_evo:0,discount_total:0,grand_total:0,items:[],item_count:0,free_shipping:!1,free_shipping_left:0,promotions:[],has_digital:!1,is_digital:!1,deposit_fee_total:0,deposit_fee_count:0,evo_discount_total:0,sum_discount_total:0};var oa=e.i(87848);function or(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var os="function"==typeof Symbol&&Symbol.observable||"@@observable",on=()=>Math.random().toString(36).substring(7).split("").join("."),ol={INIT:`@@redux/INIT${on()}`,REPLACE:`@@redux/REPLACE${on()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${on()}`};let od={isClpeError:!1,websiteNotifications:[],adultModalOpen:!1,loadingVisible:!1,notificationBarVisible:!1,
579cartAlertVisible:!1,cartRefreshing:!1,cartModalOpen:!1,locationModalOpen:!1,loginModalOpen:!1,isAppBannerHidden:!1,isUserAdult:!1,addProductModalProduct:null,shouldDeliveryOpen:!0,stockLocationModalProductId:null,cartStockLocationModalOpen:!1,favouriteAddressModalOpen:!1,guestFavStore:null,guestFavAddress:null},oc={dynamicRoutes:[],dynamicPages:[],rossmannBrands:[],productParams:[],menus:[],stores:[],giftCardDesigns:[],rossmannPlusQuarters:null,announcements:[],freeShippingLimit:null,settings:[],shippingMethods:[]};var op=e.i(46174);let ou={grand_total:0,item_count:0,gift_card_count:0,items:[]};var of=e.i(68935);let oC={giftCardCheckout:null};e.i(6177);var om=((t={}).updateJob="@Job/updateJob",t);let oh=[];var ox=((o={}).updateProductCategories="@productCategories/updateProductCategories",o);let og=[],oy=function(e){let t,o=Object.keys(e),i={};for(let t=0;t<o.length;t++){let a=o[t];"function"==typeof e[a]&&(i[a]=e[a])}let a=Object.keys(i);try{Object.keys(i).forEach(e=>{let t=i[e];if(void 0===t(void 0,{type:ol.INIT}))throw Error(or(12));if(void 0===t(void 0,{type:ol.PROBE_UNKNOWN_ACTION()}))throw Error(or(13))})}catch(e){t=e}return function(e={},o){if(t)throw t;let r=!1,s={};for(let t=0;t<a.length;t++){let n=a[t],l=i[n],d=e[n],c=l(d,o);if(void 0===c)throw o&&o.type,Error(or(14));s[n]=c,r=r||c!==d}return(r=r||a.length!==Object.keys(e).length)?s:e}}({productCategories:function(e=og,t){return t.type===ox.updateProductCategories?{...e,...t.payload}:e},jobs:function(e=oh,t){return t.type===om.updateJob?{...e,...t.payload}:e},auth:function(e=oo,t){switch(t.type){case ot.AuthActionTypes.updateAuth:case ot.AuthActionTypes.updateUser:return{...e,...t.payload};case ot.AuthActionTypes.updateCookieConsent:default:return e}},cart:function(e=oi,t){return t.type===oe.CartActionTypes.updateCart?{...e,...t.payload.cart}:e},giftCardCart:function(e=ou,t){return t.type===op.GiftCardCartActionTypes.updateGiftCardCart?{...e,...t.payload.giftCardCart}:e},giftCardCheckout:function(e=oC,t){return t.type===of.GiftCardCheckoutActionTypes.updateGiftCardCheckout?{...e,giftCardCheckout:t.payload.giftCardCheckout}:e},checkout:oa.default,appAlert:function(e=od,t){switch(t.type){case l.AppAlertActionTypes.updateIsClpeError:case l.AppAlertActionTypes.updateWebsiteNotifications:case l.AppAlertActionTypes.updateAdultModalOpen:case l.AppAlertActionTypes.updateLoadingVisible:case l.AppAlertActionTypes.updateNotificationBarVisible:case l.AppAlertActionTypes.updateCartAlertVisible:case l.AppAlertActionTypes.updateCartRefreshing:case l.AppAlertActionTypes.updateCartModalOpen:case l.AppAlertActionTypes.updateLocationModalOpen:case l.AppAlertActionTypes.updateLoginModalOpen:case l.AppAlertActionTypes.updateIsAppBannerHidden:case l.AppAlertActionTypes.updateIsUserAdult:case l.AppAlertActionTypes.updateAddProductModalProduct:case l.AppAlertActionTypes.updateShouldDeliveryOpen:case l.AppAlertActionTypes.updateStockLocationModalProductId:case l.AppAlertActionTypes.updateCartStockLocationModalOpen:case l.AppAlertActionTypes.updateFavouriteAddressModalOpen:case l.AppAlertActionTypes.updateGuestFavStore:case l.AppAlertActionTypes.updateGuestFavAddress:return{...e,...t.payload};default:return e}},appData:function(e=oc){return e}});Object.freeze({productCategories:og,jobs:oh,auth:oo,cart:oi,giftCardCart:ou,giftCardCheckout:oC,checkout:oa.initialState,appAlert:od,appData:oc});var oj=e.i(89766);let ob=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__??(e=>e);var ov=e.i(55152);e.i(80714),e.i(73631);var oM=e.i(91365),oS=e.i(63190),ow=e.i(58349),oL=e.i(42720),o_=e.i(50895),oA=e.i(1737),oI=e.i(40884);let oE=()=>{let[e,t]=(0,h.useState)(!1);return(0,h.useEffect)(()=>{let e=()=>{window.Cookiebot.consent.necessary&&t(!0)};return window.addEventListener("CookiebotOnLoad",e),window.addEventListener("CookiebotOnAccept",e),()=>{window.removeEventListener("CookiebotOnLoad",e),window.removeEventListener("CookiebotOnAccept",e)}},[]),e?(0,i.jsxs)(tx.default,{children:[(0,i.jsx)("link",{rel:"preconnect",href:"https://dev.visualwebsiteoptimizer.com"}),(0,i.jsx)("script",{type:"text/javascript",id:"vwoCode",dangerouslySetInnerHTML:{__html:"window._vwo_code || (function() { var account_id=882373, version=2.1, settings_tolerance=2000, hide_element='body', hide_element_style = 'opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;transition:none !important;', /* DO NOT EDIT BELOW THIS LINE */ f=false,w=window,d=document,v=d.querySelector('#vwoCode'),cK='_vwo_'+accoun t_id+'_settings',cc={};try{var c=JSON.parse(localStorage.getItem('_vwo_'+account_id+'_config'));cc=c&&type of c==='object'?c:{}}catch(e){}var stT=cc.stT==='session'?w.sessionStorage:w.localStorage;code={use_existing_j query:function(){return typeof use_existing_jquery!=='undefined'?use_existing_jquery:undefined},library_to lerance:function(){return typeof library_tolerance!=='undefined'?library_tolerance:undefined},settings_toler ance:function(){return cc.sT||settings_tolerance},hide_element_style:function(){return'{'+(cc.hES| |hide_element_style)+'}'},hide_element:function(){if(performance.getEntries ByName('first-contentful-paint')[0]){return''}return typeof cc.hE==='string'?cc.hE:hide_element},getVersion:function(){return version},finish:function(e){if(!f){f=true;var t=d.getElementById('_vis_opt_path_hides');if(t)t.parentNode.removeChild(t); if(e)(new Image).src='https://dev.visualwebsiteoptimizer.com/ee.gif?a='+account_id+e} },finished:function(){return f},addScript:function(e){var t=d.createElement('script');t.type='text/javascript';if(e.src){t.src=e.src} else{t.text=e.text}d.getElementsByTagName('head')[0].appendChild(t)},load:f unction(e,t){var i=this.getSettings(),n=d.createElement('script'),r=this;t=t||{};if(i){n.tex tContent=i;d.getElementsByTagName('head')[0].appendChild(n);if(!w.VWO||VWO. caE){stT.removeItem(cK);r.load(e)}}else{var o=new XMLHttpRequest;o.open('GET',e,true);o.withCredentials=!t.dSC;o.responseType =t.responseType||'text';o.onload=function(){if(t.onloadCb){return t.onloadCb(o,e)}if(o.status===200){_vwo_code.addScript({text:o.responseText })}else{_vwo_code.finish('&e=loading_failure:'+e)}};o.onerror=function(){if (t.onerrorCb){return t.onerrorCb(e)}_vwo_code.finish('&e=loading_failure:'+e)};o.send()}},getSet tings:function(){try{var e=stT.getItem(cK);if(!e){return}e=JSON.parse(e);if(Date.now()>e.e){stT.remo veItem(cK);return}return e.s}catch(e){return}},init:function(){if(d.URL.indexOf('__vwo_disable__')>- 1)return;var e=this.settings_tolerance();w._vwo_settings_timer=setTimeout(function(){_vw o_code.finish();stT.removeItem(cK)},e);var t;
579if(this.hide_element()!=='body'){t=d.createElement('style');var i=this.hide_element(),n=i?i+this.hide_element_style():'',r=d.getElementsByT agName('head')[0];t.setAttribute('id','_vis_opt_path_hides');v&&t.setAttrib ute('nonce',v.nonce);t.setAttribute('type','text/css');if(t.styleSheet)t.st yleSheet.cssText=n;else t.appendChild(d.createTextNode(n));r.appendChild(t)}else{t=d.getElementsByT agName('head')[0];var n=d.createElement('div');n.style.cssText='z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background: white !important;';n.setAttribute('id','_vis_opt_path_hides');n.classList.add('_v is_hide_layer');t.parentNode.insertBefore(n,t.nextSibling)}var o='https://dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'&u='+encode URIComponent(d.URL)+'&vn='+version;if(w.location.search.indexOf('_vwo_xhr') !==-1){this.addScript({src:o})}else{this.load(o+'&x=true')}}};w._vwo_code=c ode;code.init();})();"}})]}):null};var ok=e.i(26455),o$=e.i(55404),oT=e.i(6300),oB=e.i(84961);function oF({Component:e,pageProps:t,initialReduxState:o,router:a,omitLayout:s,zone:n,isAdminLoggedInAsUser:l,isMagazineModeOn:c,isHeaderHiddenByQueryParam:g,isFooterHiddenByQueryParam:j,isMobileApp:b,maintenance:M,appBannerLink:S}){var L;let _,A,I=(0,r.useGraphQLClient)(),E=function(e){let[t]=(0,h.useState)(()=>(function e(t,o,i){if("function"!=typeof t)throw Error(or(2));if("function"==typeof o&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw Error(or(0));if("function"==typeof o&&void 0===i&&(i=o,o=void 0),void 0!==i){if("function"!=typeof i)throw Error(or(1));return i(e)(t,o)}let a=t,r=o,s=new Map,n=s,l=0,d=!1;
579function c(){n===s&&(n=new Map,s.forEach((e,t)=>{n.set(t,e)}))}function p(){if(d)throw Error(or(3));return r}function u(e){if("function"!=typeof e)throw Error(or(4));if(d)throw Error(or(5));let t=!0;c();let o=l++;return n.set(o,e),function(){if(t){if(d)throw Error(or(6));t=!1,c(),n.delete(o),s=null}}}function f(e){if(!function(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw Error(or(7));if(void 0===e.type)throw Error(or(8));if("string"!=typeof e.type)throw Error(or(17));if(d)throw Error(or(9));try{d=!0,r=a(r,e)}finally{d=!1}return(s=n).forEach(e=>{e()}),e}return f({type:ol.INIT}),{dispatch:f,subscribe:u,getState:p,replaceReducer:function(e){if("function"!=typeof e)throw Error(or(10));a=e,f({type:ol.REPLACE})},[os]:function(){return{subscribe(e){if("object"!=typeof e||null===e)throw Error(or(11));function t(){e.next&&e.next(p())}return t(),{unsubscribe:u(t)}},[os](){return this}}}}})((0,oj.enableBatching)(oy),e,ob(e=>(t,o)=>{let i=e(t,o),a=()=>{throw Error(or(15))},r={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=(function(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>(...o)=>e(t(...o)))})(...[].map(e=>e(r)))(i.dispatch),{...i,dispatch:a}})));return t}(o),k=(0,h.useRef)(null),$=t?.initialReduxActions??null;k.current!==$&&(null!==$&&E.dispatch((0,oj.batchActions)($)),k.current=$),E.getState().auth.authToken&&I.setHeader("Authorization",`Bearer ${E.getState().auth.authToken}`),L=E.getState,window.prefixboxCustomerFunctions=window.prefixboxCustomerFunctions||{},window.prefixboxCustomerFunctions.addToCart=(e,t,o)=>{o?(0,oI.PFBIncrementQuantity)(e,t):(0,oI.PFBDecrementQuantity)(e,t)},window.prefixboxCustomerFunctions.getCartItems=()=>L().cart.items.map(e=>({productId:e.product.id.toString(),quantity:e.quantity})),window.prefixboxCustomerFunctions.navigate=e=>{a.push(e)},window.prefixboxCustomerFunctions.submit=e=>{a.push(e)},window.prefixboxCustomerFunctions.getWishListItems=()=>L().auth.user?.favourite_products??[],window.prefixboxCustomerFunctions.addToWishList=e=>{(0,oI.PFBAddToWishList)(e)},(0,oA.preparePrefixboxEndpoints)(E.getState),_=(0,v.useRouter)(),(0,h.useEffect)(()=>{A()},[_.asPath]),A=()=>{{let e=window.sessionStorage.getItem("currentPath");window.sessionStorage.setItem("prevPath",e??""),window.sessionStorage.setItem("currentPath",window.location.pathname)}},(0,h.useEffect)(()=>{oS.Gtm.initPage((0,oS.convertPageType)((0,o_.routerAsPath)(a.asPath)),E.getState().auth.user?.id,E.getState().auth.user?.email)},[a.asPath]);let B=window.sessionStorage.getItem("registerSuccess");(0,h.useEffect)(()=>{"true"===B&&(0,m.showToast)((0,i.jsx)(f.Typo,{$variant:"bold16",$color:"grayD",children:C.Intl.formatMessage({id:"registration.success"})}),"success"),window.sessionStorage.removeItem("registerSuccess")},[B]),(0,h.useEffect)(()=>{if(!("scrollRestoration"in window.history))return;let e=!1;window.history.scrollRestoration="manual",t9(a.asPath);let t=e=>{t8(a.asPath),delete e.returnValue},o=()=>{t8(a.asPath)},i=t=>{e&&(e=!1,t9(t))};return window.addEventListener("beforeunload",t),v.default.events.on("routeChangeStart",o),v.default.events.on("routeChangeComplete",i),v.default.beforePopState(()=>(e=!0,!0)),()=>{window.removeEventListener("beforeunload",t),v.default.events.off("routeChangeStart",o),v.default.events.off("routeChangeComplete",i),v.default.beforePopState(()=>!0)}},[a]);let F=(0,i.jsxs)(tx.default,{children:[(0,i.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/favicon/apple-touch-icon.png"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon/favicon-32x32.png"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon/favicon-16x16.png"}),(0,i.jsx)("link",{rel:"mask-icon",href:"/favicon/safari-pinned-tab.svg",color:Q.Color.red}),(0,i.jsx)("link",{rel:"shortcut icon",href:"/favicon/favicon.ico"}),(0,i.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,i.jsx)("meta",{name:"msapplication-config",content:"/favicon/browserconfig.xml"}),(0,i.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,i.jsx)("title",{children:e6.Constants.appName})]}),D=!!(M&&n.zoneDescriptor?.name)&&M[n.zoneDescriptor.name].maintenance,P=D&&M&&n.zoneDescriptor?.name&&M[n.zoneDescriptor.name].notification?M[n.zoneDescriptor.name].notification[0]:null;return D?(0,i.jsx)(o_.ZoneContext.Provider,{value:n,children:(0,i.jsxs)(u.ThemeProvider,{theme:Q.default,children:[F,(0,i.jsx)(tw,{pathname:a.pathname}),(0,i.jsx)(ov.default,{}),(0,i.jsx)(t7,{}),(0,i.jsxs)(d.Provider,{store:E,children:[(0,i.jsx)(ty,{notification:P}),(0,i.jsx)(tL,{})]})]})}):(0,i.jsx)(o_.ZoneContext.Provider,{value:n,children:(0,i.jsx)(K.ClientContext.Provider,{value:I,children:(0,i.jsx)(d.Provider,{store:E,children:(0,i.jsx)(oT.MsClientProvider,{children:(0,i.jsxs)(u.ThemeProvider,{theme:Q.default,children:[F,(0,i.jsx)(tw,{pathname:a.pathname}),(0,i.jsx)(ov.default,{}),(0,i.jsx)(t6,{}),(0,i.jsx)(t7,{}),(0,i.jsxs)(oB.ProductStockServiceProvider,{children:[(0,i.jsx)(oE,{}),(0,i.jsx)(p,{}),(0,i.jsx)(tv,{}),(0,i.jsx)(tz,{}),(0,i.jsx)(eM,{}),(0,i.jsx)(tu,{}),(0,i.jsx)(eZ,{}),(0,i.jsx)(tb.default,{id:"prefixbox-integration-v2",fetchpriority:"high",type:"text/javascript",src:"https://integration.prefixbox.com/2da10d4f-a87b-4130-baee-f60e77bafd76/",strategy:"lazyOnload"}),(0,i.jsx)(tb.default,{id:"gtm",dangerouslySetInnerHTML:{__html:`(function(w,d,s,l,i){ w[l]=w[l] || []; w[l].push({'gtm.start': new Date().getTime(), event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.defer=true;
579j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','${oM.Env.gtmId}');`},strategy:"afterInteractive"}),(0,i.jsx)(tb.default,{type:"text/javascript",defer:!0,src:"https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js",strategy:"lazyOnload"}),(0,i.jsx)(tb.default,{type:"text/javascript",defer:!0,src:`https://www.google.com/recaptcha/api.js?render=${oM.Env.nextPublicRecaptchaSiteKey}`,strategy:"lazyOnload"}),(0,i.jsx)(tb.default,{src:"https://accounts.google.com/gsi/client",strategy:"lazyOnload"}),!b&&!!S&&(0,i.jsx)(w,{appBannerLink:S}),s?(0,i.jsxs)("div",{children:[(0,i.jsx)(e,{...t}),(0,i.jsx)(o$.ToastContainer,{transition:o$.Slide,autoClose:5e3}),(0,i.jsx)(y.CLPEAlert,{}),(0,i.jsx)(x,{})]}):(0,i.jsxs)(i.Fragment,{children:[!b&&(0,i.jsx)(t5.WebsiteNotifications,{isAdminLoggedInAsUser:!!l}),(0,i.jsxs)(T.Layout,{isHeaderMainSectionHidden:c,isHeaderHidden:g,isFooterHidden:j||c,children:[(0,i.jsx)(e,{...t}),(0,i.jsx)(o$.ToastContainer,{transition:o$.Slide,autoClose:5e3}),(0,i.jsx)(y.CLPEAlert,{}),(0,i.jsx)(x,{})]})]}),!l&&(0,i.jsx)(eG,{}),(0,i.jsx)(tL,{})]})]})})})})})}(0,ok.default)("app:info"),(0,ok.default)("app:debug"),oF.getInitialProps=async({ctx:e,Component:t})=>{e.req&&(0,oL.getZoneFromRequest)(e.req);let o=t.getInitialProps?.(e),i=b.Cookie.getIsAdminLoggedInAsUser(e.req),a=new URL(document.location.href),r=await o;return{zone:{zoneDescriptor:(0,oL.getZoneFromRequest)(document.location.host)},isMobileApp:(0,ow.isRossmannMobileUseragent)(navigator.userAgent),isHeaderHiddenByQueryParam:"true"===a.searchParams.get("hideHeader"),isFooterHiddenByQueryParam:"true"===a.searchParams.get("hideFooter"),maintenance:null,isAdminLoggedInAsUser:!!i,pageProps:r}},e.s(["default",0,oF],16027)},94757,(e,t,o)=>{let i="/_app";(window.__NEXT_P=window.__NEXT_P||[]).push([i,()=>e.r(16027)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([i])})}]);
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.