import{j as e,ap as Te,aq as Se,k as R,z as Le,i as Ee,A as Ne,B as Pe,ar as Re,L as G,r as ze,as as We,Y as J,U as Oe,R as se,at as He,e as Fe}from"./main-5057ff34.js";import{m as x,C as f,G as o,e as g,L as I,aF as De,B as ne,I as B,q as oe,f as L,u as re,W as Ve,aG as Ue,a1 as Ze,a2 as qe,ak as Ge,a3 as Qe,H as E,a6 as D,o as C,aH as z,au as Xe,ab as H,aI as F,aJ as Ke,aC as Je,aK as Ye,aL as _e,aM as ie,ao as $e,y as Q,al as Y,s as et,at as tt,p as st,av as nt,an as ot,aN as rt,aO as it}from"./chunk-material-ui-eb5bb5f8.js";import{r as c,R as at}from"./chunk-react-162a731f.js";import{T as lt}from"./chunk-index-730d0e8a.js";import{D as ae,H as le,C as ct}from"./chunk-index-4d24fc93.js";import{U as dt}from"./chunk-index-72204a8f.js";import{D as N}from"./chunk-index-a1788cfb.js";import{c as ce}from"./chunk-index-89b7ba38.js";import{B as ut}from"./chunk-index-9f909ab3.js";const xt="/local/traektoria_ta/build/img/payments/mir.png",ht="/local/traektoria_ta/build/img/payments/dolyami.png",mt="/local/traektoria_ta/build/img/payments/cdek.png",pt="/local/traektoria_ta/build/img/payments/dostavista.png",gt="/local/traektoria_ta/build/img/payments/yandex.png",Ct="/local/traektoria_ta/build/img/payments/boxberry.png",jt="/local/traektoria_ta/build/img/payments/russian-post.png",ft="/local/traektoria_ta/build/img/payments/ems.png",At="/local/traektoria_ta/build/img/payments/dalli.png",yt="/local/traektoria_ta/build/img/payments/algo.png",bt=x(()=>({logoBlock:{display:"flex",alignItems:"center",justifyContent:"center","& div":{paddingInline:7},"&  div:last-child":{display:"flex",alignItems:"center"}},secondBlock:{justifyContent:"end"},mir:{width:73},dolyami:{width:110},cdek:{width:74},dostavista:{width:110},yandex:{width:85},boxberry:{width:100},russianPost:{width:52},ems:{width:85},dalli:{width:60},algoritm:{width:85},lastLogo:{marginInlineStart:50,"& img":{width:35}},footerInfoWrapper:{paddingTop:"40px"},footerInfoTitle:{fontSize:"12px",paddingBottom:"26px"}})),kt=()=>{const t=bt();return e.jsxs(f,{fixed:!0,maxWidth:"xl",classes:{root:t.footerInfoWrapper},children:[e.jsx(o,{item:!0,lg:12,children:e.jsxs(g,{className:t.footerInfoTitle,children:["Траектория. ",new Date().getFullYear(),". Интернет-магазин Траектория - продажа сноубордов, лонгбордов, скейтбордов, вейкбордов, одежды и обуви для сноуборда"]})}),e.jsxs(o,{className:t.logoBlock,children:[e.jsx(o,{item:!0,md:"auto",children:e.jsx("img",{src:xt,alt:"mir",className:t.mir})}),e.jsx(o,{item:!0,md:"auto",children:e.jsx("img",{src:ht,alt:"dolyami",className:t.dolyami})}),e.jsx(o,{item:!0,md:"auto",children:e.jsx("img",{src:gt,alt:"yandex",className:t.yandex})}),e.jsx(o,{item:!0,md:"auto",children:e.jsx("img",{src:Ct,alt:"boxberry",className:t.boxberry})}),e.jsx(o,{item:!0,md:"auto",children:e.jsx("img",{src:jt,alt:"russianPost",className:t.russianPost})}),e.jsx(o,{item:!0,md:"auto",children:e.jsx("img",{src:ft,alt:"ems",className:t.ems})}),e.jsx(o,{item:!0,md:"auto",children:e.jsx("img",{src:pt,alt:"dostavista",className:t.dostavista})}),e.jsx(o,{item:!0,md:"auto",children:e.jsx("img",{src:mt,alt:"cdek",className:t.cdek})}),e.jsx(o,{item:!0,md:"auto",children:e.jsx("img",{src:At,alt:"dalli",className:t.dalli})}),e.jsx(o,{item:!0,md:"auto",children:e.jsx("img",{src:yt,alt:"algoritm",className:t.algoritm})})]})]})},X=c.createContext(void 0);function Es({content:t,children:n}){const[r,a]=c.useState(void 0);return c.useEffect(()=>{t&&a(t)},[t]),e.jsx(X.Provider,{value:r,children:n})}const wt=x(t=>({footerMenuHeader:{paddingBottom:"26px"}}),{name:"FooterMenuHeader"});function de({headerTitle:t}){const n=wt();return e.jsx(g,{className:n.footerMenuHeader,children:t})}const Bt=x(t=>({desktopMenuWrapper:{paddingBottom:40},footerLink:{fontSize:"0.875rem",lineHeight:"1.25rem",paddingBottom:"12px",textDecoration:"none","& a:hover":{color:"#1e6ee4"}}}),{name:"FooterDesktopMenu"}),vt=()=>{const t=Bt(),n=c.useContext(X);return n!=null&&n.BOTTOM_MENU?e.jsx(e.Fragment,{children:n.BOTTOM_MENU.map((r,a)=>e.jsxs(o,{item:!0,xs:"auto",sm:"auto",md:"auto",lg:"auto",xl:"auto","data-ready":"true",children:[e.jsx(de,{headerTitle:r.NAME}),r.NESTED_LINKS.map((s,i)=>{const l=s.NAME==="PEAK";return e.jsx(g,{classes:{root:t.footerLink},children:l?e.jsx(g,{href:s.LINK,rel:"nofollow",component:"a",dangerouslySetInnerHTML:{__html:`<!--noindex--> ${s.NAME} <!--/noindex-->`??""},classes:{root:t.footerLink}}):e.jsx(I,{href:s.LINK,underline:"none",children:s.NAME})},i)})]},a))}):null},Mt="/local/traektoria_ta/build/assets/img/tick-logo-bf886a63.png",It=x(t=>({modalTitle:{fontSize:"21px",lineHeight:1.2,margin:"0 0 25px",fontWeight:"normal","@media (max-width: 425px)":{fontSize:"18px",margin:"0 0 18px"}},modalWindowStyle:{paddingInline:24,paddingBlockEnd:24,paddingBlockStart:18,position:"absolute",borderRadius:"4px",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:400,backgroundColor:"#ffffff",boxShadow:"24",p:4,"@media (max-width: 425px)":{width:"300px",padding:"16px 22px"},"@media (max-width: 350px)":{width:"250px",padding:"12px 18px"},"& > .status-msg":{position:"absolute",background:"white",width:"calc(100% - 24px * 2)",height:"calc(100% - 24px * 2 - 56px)","z-index":99999999999,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"space-evenly",bottom:0,paddingBlockEnd:24,"@media (max-width: 425px)":{width:"calc(100% - 20px * 2)",height:"calc(100% - 19px * 2 - 56px)",transform:"translate(-1%, 0%)"}},"& > *:first-child":{textAlign:"right",marginInlineEnd:-6}},bodyTextStyle:{margin:"25px 0","@media (max-width: 425px)":{margin:"16px 0"}},captchaContainer:{display:"flex",justifyContent:"space-between",marginBlockStart:15,border:"1px solid rgba(143, 155, 164, 0.4)",borderRadius:16,padding:15,"flex-wrap":"wrap","& .title":{width:"100%","text-align":"center","margin-block-end":20},"& > img":{cursor:"pointer",padding:5,border:"1px solid transparent","&.active":{"border-color":"rgba(143, 155, 164, 0.4)",borderRadius:16}}}}),{name:"NeedHelp"}),Tt={success:e.jsxs("div",{className:"status-msg",children:[e.jsx(g,{variant:"body1",children:"Мы вам перезвоним"}),e.jsx("img",{style:{width:"60%"},src:Mt,alt:"tickLogo"})]}),error:e.jsx("div",{className:"status-msg",style:{textAlign:"center"},children:e.jsx(g,{variant:"body1",children:"Что-то пошло не так: попробуйте позже"})})},St={success:"Спасибо!",error:"Ошибка!",undefined:"НЕ МОЖЕТЕ ДОЗВОНИТЬСЯ?"},Lt=({phoneMask:t,inputName:n,disabled:r,onChangeFlag:a,open:s,handleClose:i})=>{const l=It(),[h,{isLoading:d}]=Te(),[u,p]=c.useState(),[j,k]=c.useState(""),[A,y]=c.useState({}),[m,w]=c.useState(""),[v,M]=c.useState(""),[T,S]=c.useState([]),[W,{isLoading:Z}]=Se(),P=R(b=>!b.userAuth.isAuth);c.useEffect(()=>{s&&P&&W(null).unwrap().then(({values:b,id:O})=>{S(b),M(O)})},[s,P]);const Be=(b,O,q)=>{k(q)},ve=b=>{a(b)},Me=b=>{if(b.preventDefault(),!Le(j))return y({phone:"Некорректный номер телефона"});h({phone:j,captchaValue:m,captchaID:v}).unwrap().then(({success:O,status:q,errors:Ie})=>{O?p("success"):q==="error"&&(y(Ie),p("error"))})},K=()=>{i(),p("undefined")};return e.jsx(De,{open:s,onClose:K,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:e.jsx("form",{autoComplete:"off",onSubmit:Me,children:e.jsxs(ne,{className:l.modalWindowStyle,children:[e.jsx("div",{children:e.jsx(B,{color:"primary",onClick:K,size:"medium",children:e.jsx(oe,{})})}),e.jsx(g,{className:l.modalTitle,style:u&&{textAlign:"center"},children:St[u]}),Tt[u],e.jsx(g,{className:l.bodyTextStyle,children:"Оставьте свой мобильный номер и наши операторы свяжутся с вами при первой возможности."}),e.jsx(lt,{onSelectFlag:ve,inputMask:t,isDisabled:r,inputValue:j,inputName:n||"phone",error:A,onInputChange:Be,callMeBackModal:!0}),e.jsx(L,{type:"submit",style:{padding:"8px 16px",fontSize:14,marginTop:"12px"},disabled:r,fullWidth:!0,variant:"contained",children:"Перезвоните мне"}),T.length>0&&e.jsxs("div",{className:l.captchaContainer,children:[e.jsx("div",{className:"title",children:"Укажите лишнее изображение"}),T.map(b=>e.jsx("img",{src:`/slim/action/captcha/img/?id=${v}&value=${b}`,onClick:()=>{w&&w(b)},className:m===b?"active":""},b))]})]})})})};function Et(){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:e.jsx("path",{className:"st0",d:"M13.162 18.994c.609 0 .858-.406.851-.915-.031-1.917.714-2.949 2.059-1.604 1.488 1.488 1.796 2.519 3.603 2.519h3.2c.808 0 1.126-.26 1.126-.668 0-.863-1.421-2.386-2.625-3.504-1.686-1.565-1.765-1.602-.313-3.486 1.801-2.339 4.157-5.336 2.073-5.336h-3.981c-.772 0-.828.435-1.103 1.083-.995 2.347-2.886 5.387-3.604 4.922-.751-.485-.407-2.406-.35-5.261.015-.754.011-1.271-1.141-1.539-.629-.145-1.241-.205-1.809-.205-2.273 0-3.841.953-2.95 1.119 1.571.293 1.42 3.692 1.054 5.16-.638 2.556-3.036-2.024-4.035-4.305-.241-.548-.315-.974-1.175-.974h-3.255c-.492 0-.787.16-.787.516 0 .602 2.96 6.72 5.786 9.77 2.756 2.975 5.48 2.708 7.376 2.708z",fill:"white"})})}const Nt=x(t=>({phoneText:{fontFamily:"TTFirsNeue-Medium, sans-serif",fontSize:t.typography.pxToRem(20),lineHeight:t.typography.pxToRem(24)},iconBtn:{padding:"6px 8px",backgroundColor:"#5D6871",borderRadius:8,color:t.color.black0,"&:not(:last-child)":{marginRight:16},"&:hover":{backgroundColor:"#8F9BA4"}},thxText:{padding:15,"white-space":"nowrap"}}),{name:"NeedHelp"}),_=()=>{const t=Nt(),n=R(u=>u.userAuth.phoneMask),r=R(u=>{var p;return(p=u.errors)==null?void 0:p.authForm}),a=re("(max-width: 1279px)"),s=Ee(),[i,l]=c.useState(!1),h=()=>l(!0),d=()=>{l(!1)};return e.jsxs(e.Fragment,{children:[e.jsx(Lt,{open:i,phoneMask:n,validatePhoneMsg:r,phoneForm:"authForm",handleClose:d,onValidatePhone:u=>{},onChangeFlag:u=>{s(Ne(u)),s(Pe())}}),e.jsxs(o,{item:!0,xs:12,xl:8,children:[e.jsx(de,{headerTitle:"Нужна помощь?"}),e.jsxs(o,{container:!0,item:!0,spacing:3,children:[e.jsx(o,{item:!0,xs:12,children:e.jsx(g,{variant:"body1",children:e.jsx("a",{href:"tel: 8 495 648 65 05",style:{textDecoration:"none",color:"#1e6ee4"},children:"8 495 648 65 05"})})}),e.jsx(o,{item:!0,xs:12,children:e.jsx(L,{color:"default",variant:"outlined",onClick:h,children:"перезвоните мне"})}),e.jsx(o,{container:!0,item:!0,spacing:3,justifyContent:"space-between",children:e.jsxs(o,{container:!0,item:!0,spacing:3,xs:a?10:12,children:[e.jsx(o,{item:!0,xs:"auto",children:e.jsx("noindex",{children:e.jsx(B,{classes:{root:t.iconBtn},href:"https://t.me/traektoria_boardshop",rel:"nofollow",children:e.jsx(Ve,{})})})}),e.jsx(o,{item:!0,xs:"auto",children:e.jsx("noindex",{children:e.jsx(B,{classes:{root:t.iconBtn},href:"https://www.youtube.com/channel/UC05By8FMmQHacyDQG5Vzehw",rel:"nofollow",children:e.jsx(Ue,{})})})}),e.jsx(o,{item:!0,xs:"auto",children:e.jsx("noindex",{children:e.jsx(B,{classes:{root:t.iconBtn},href:"https://vk.com/traektoriaboardshop",rel:"nofollow",children:e.jsx(Et,{})})})})]})})]})]})]})},Pt=x(t=>({menuContainer:{paddingTop:"32px"},footerLink:{color:t.color.black100,fontSize:"0.875rem",lineHeight:"1.25rem",paddingBottom:"12px"},menuMobileHeader:{boxShadow:"unset",backgroundColor:"unset",color:t.color.black100,padding:"0 16px 0 16px"},menuMobileHeaderTitle:{padding:0},menuMobileBody:{display:"block"}}),{name:"FooterMobileMenu"}),Rt=()=>{const t=Pt(),n=c.useContext(X);return n!=null&&n.BOTTOM_MENU?e.jsx(ne,{className:t.menuContainer,"data-ready":"true",children:n.BOTTOM_MENU.map((r,a)=>e.jsxs(Ze,{square:!0,classes:{root:t.menuMobileHeader},children:[e.jsx(qe,{expandIcon:e.jsx(Ge,{}),classes:{root:t.menuMobileHeaderTitle},children:e.jsx(g,{children:r.NAME})}),e.jsx(Qe,{classes:{root:t.menuMobileBody},children:r.NESTED_LINKS.map((s,i)=>e.jsx(g,{classes:{root:t.footerLink},children:e.jsx(I,{href:s.LINK,underline:"none",children:s.NAME})},i))})]},a))}):null},zt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGsAAAAgCAYAAAAVIIajAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH6AIUECE0InXiwQAACj5JREFUaN7tW39QlNUafr7F1VZYlgVslkuBg4xgOs004OSQDTUG1k6OIIhaQOOUSplTEzaZjEPjMMFUVE4zdleGX9U6QzHjLpotRJugshiaKMmP6NsLxgAtEIssyY9ln/tH+V33oolbdLHLM3P++N73nPecPc/3vec97zkL/AcLADwPoAaADcAYAM6Vv7yMA+gDYAGw+zde3LAcwL/mJmpWlisAYgFAABAA4CKAf2AOsxVOABEyADvniJr1mAegVAZg059p9f7774efn9/c9P75WAkAjj/Dt4aHh7Ouro4ked99982tNTNT4PqjRhYtWsSuri6SZH9/P+VyuUd2/P39qVar50j5HbL+sJG33nqL15CZmemRjXXr1vH48eOsqKjg1q1b54iZKbLOnj1Lp9PJ3NxcCoLgkY3IyEguXLiQcXFxzMnJoUKh4OHDh3nkyBEmJyczJCSEJ06coE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Block:{marginBlockStart:10},linksBlock:{"& div":{marginBlockStart:8,"& :first-child":{marginInlineEnd:8}}}}),{name:"ApplicationLinks"}),ue=()=>{const t=Ft();return e.jsxs(o,{item:!0,lg:12,xl:8,classes:{root:t.mainBlock},children:[e.jsx(g,{children:"Скачайте наше приложение"}),e.jsxs(o,{classes:{root:t.linksBlock},children:[e.jsxs(o,{container:!0,children:[e.jsx(I,{target:"_blank",underline:"none",href:"https://apps.apple.com/ru/app/%D1%82%D1%80%D0%B0%D0%B5%D0%BA%D1%82%D0%BE%D1%80%D0%B8%D1%8F-%D1%81%D0%BF%D0%BE%D1%80%D1%82%D0%B8%D0%B2%D0%BD%D1%8B%D0%B5-%D1%82%D0%BE%D0%B2%D0%B0%D1%80%D1%8B/id1630790907",children:e.jsx("img",{src:zt,alt:"appstore"})}),e.jsx(I,{target:"_blank",underline:"none",href:"https://play.google.com/store/apps/details?id=ru.traektoria.android&hl=ru",children:e.jsx("img",{src:Wt,alt:"googleplay"})})]}),e.jsxs(o,{container:!0,children:[e.jsx(I,{target:"_blank",underline:"none",href:"https://appgallery.huawei.com/app/C110325935?sharePrepath=ag&channelId=%D0%A1%D0%B0%D0%B9%D1%82%20traektoria.ru&id=3ec6e24bb09b468db6d2fba5d4be9721&s=F57AD58AF557446186311E06D9636647C6014FCB091BE1DCC68D49C5715AC1E3&detailType=0&v=&callType=AGDLINK&installType=0000&shareTo=qrcode",children:e.jsx("img",{src:Ot,alt:"appgallery"})}),e.jsx(I,{target:"_blank",underline:"none",href:"https://apps.rustore.ru/app/ru.traektoria.android?mt_click_id=mt-me10h4-1709043443-1710722805",children:e.jsx("img",{src:Ht,alt:"rustore"})})]})]})]})},Dt=x(t=>({footerWrapper:{backgroundColor:"#F0F3F6",paddingTop:45,paddingBottom:40}}));function Vt({isFetching:t}){const n=Dt();return e.jsxs(f,{maxWidth:!1,disableGutters:!0,classes:{root:n.footerWrapper},children:[e.jsx(f,{fixed:!0,maxWidth:"xl",children:e.jsxs(o,{item:!0,xl:12,spacing:3,container:!0,justifyContent:"space-between",children:[e.jsx(E,{mdDown:!0,children:e.jsx(vt,{})}),e.jsx(E,{lgUp:!0,children:e.jsx(_,{})}),e.jsxs(E,{mdDown:!0,children:[e.jsxs(o,{item:!0,xs:3,container:!0,direction:"row-reverse",children:[e.jsx(_,{}),e.jsx(ue,{})]}),e.jsx(o,{item:!0,md:12,children:e.jsx(D,{})}),e.jsx(kt,{})]})]})}),e.jsx(E,{lgUp:!0,children:e.jsx(Rt,{})})]})}const Ns=({isFetching:t})=>e.jsx(Vt,{isFetching:t}),Ut=x(t=>({root:{transform:"scale(1, 1)",backgroundColor:t.color.black20},text:{width:"90px",height:"24px",margin:"24px 0","@media (max-width: 479px)":{width:"auto"}}}),{name:"InfoPagesPreloader"});function Zt(){const t=Ut();return e.jsxs(o,{container:!0,item:!0,justifyContent:"space-between",children:[e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})})]})}const qt=x(t=>({headerCatalogMenu:{height:"auto",position:"relative"},menuButton:{lineHeight:"24px",textTransform:"uppercase",padding:"24px 0",borderRadius:0,borderBottom:"1px solid transparent","@media (min-width: 1656px)":{fontSize:t.typography.pxToRem(17)},"@media (max-width: 1440px)":{fontSize:t.typography.pxToRem(15)},"@media (max-width: 1280px)":{fontSize:t.typography.pxToRem(14)},"&:hover":{borderBottom:"1px solid #1e6ee4"}},menuButtonActive:{borderBottom:"1px solid #1e6ee4"},menuContainer:{width:"100%",maxWidth:"unset",height:500,borderRadius:"unset",border:"unset",boxShadow:"unset",borderTop:"1px solid #F0F3F6"},categoryContainer:{maxHeight:430,"@media (max-width: 1440px)":{maxHeight:320},"@media (max-width: 1280px)":{maxHeight:300}},categoryWrapper:{paddingTop:40,paddingBottom:40},menuHeaderText:{fontFamily:"TTFirsNeue-Medium, sans-serif",paddingBottom:12},menuLink:{"&:not(:last-child)":{paddingBottom:10}},menuLinkColor:{color:t.color.black100},menuMoreLinkColor:{color:t.color.blue},menuItem:{"& .submenu":{position:"absolute",background:"white",padding:20,"border-radius":2,border:"1px solid #F0F3F6","box-shadow":"0px 10px 20px rgb(0 0 0 / 4%), 0px 2px 6px rgb(0 0 0 / 4%), 0px 0px 1px rgb(0 0 0 / 4%)",bottom:0,transform:"translateY(100%)",width:"100%",left:0,"border-top":"1px solid lightgrey","box-sizing":"border-box",opacity:0,visibility:"hidden"},"&:hover":{"& .submenu":{opacity:1,visibility:"visible",transition:"opacity .3s .25s, visibility 0s .25s"}}}}),{name:"CatalogMenu"}),Gt=({content:t})=>{const n=qt();return t?e.jsx(f,{disableGutters:!0,maxWidth:!1,classes:{root:n.headerCatalogMenu},"data-id":"catalog-menu",children:e.jsx(f,{fixed:!0,maxWidth:"xl",children:e.jsx(o,{container:!0,item:!0,justifyContent:"space-between",children:t.map(r=>{const a=r.code!=="new"&&r.sections;return e.jsxs(o,{item:!0,md:"auto",classes:{root:n.menuItem},children:[e.jsx(L,{variant:"text",color:"default",classes:{root:n.menuButton},href:r.url,"aria-haspopup":"true",onClickCapture:s=>{a&&s.nativeEvent.pointerType==="touch"&&s.preventDefault()},children:r.name}),a&&e.jsx("div",{className:"submenu",children:e.jsx(f,{fixed:!0,maxWidth:"xl",className:n.categoryWrapper,children:e.jsx(o,{container:!0,justifyContent:"space-between",children:e.jsx(o,{item:!0,xl:8,children:e.jsx(o,{classes:{root:n.categoryContainer},container:!0,item:!0,direction:"column",spacing:2,justifyContent:"space-between",children:r.sections.map(s=>{const i=s.name==="Penny customaizer",l=s.name==="Конструктор скейтбордов";return!i&&!l&&e.jsx(o,{item:!0,md:"auto",children:e.jsx(g,{classes:{root:n.menuLink},variant:"body1",children:e.jsx(I,{classes:{root:n.menuLinkColor},underline:"none",href:s.url,children:s.name})})},s.id)})})})})})})]},r.id)})})})}):e.jsx(f,{disableGutters:!0,maxWidth:!1,classes:{root:n.headerCatalogMenu},children:e.jsx(f,{fixed:!0,maxWidth:"xl",children:e.jsx(Zt,{})})})},Qt=x(t=>({topLineLinksWrapper:{backgroundColor:"#F0F3F6",minHeight:32,display:"flex",alignItems:"center"}}),{name:"HeaderTopLine"});function Xt({children:t}){const n=Qt();return e.jsx(f,{disableGutters:!0,maxWidth:!1,classes:{root:n.topLineLinksWrapper},children:e.jsx(f,{fixed:!0,maxWidth:"xl",children:e.jsx(o,{container:!0,item:!0,justifyContent:"space-between",alignItems:"center",children:t})})})}const Kt=x(t=>({topLinkContainer:{"&:not(:last-child)":{paddingRight:16}},headerTopLinkColor:{"&:hover":{color:t.color.blue}},headerTopLink:{textTransform:"uppercase",fontSize:t.typography.pxToRem(14),lineHeight:t.typography.pxToRem(18),"&:hover":{color:t.color.blue}},topLinkMenu:{fontSize:t.typography.pxToRem(14),lineHeight:t.typography.pxToRem(18),"&:hover":{color:t.color.blue}}}),{name:"SwitchSiteLinks"});function Jt(){const t=Kt();return e.jsx(o,{item:!0,xs:"auto",children:e.jsx(o,{container:!0,item:!0,children:e.jsx(o,{item:!0,xs:"auto",classes:{root:t.topLinkContainer},children:e.jsx(g,{classes:{root:t.headerTopLink},children:e.jsx(I,{underline:"none",href:"https://peakstore.ru/",classes:{root:t.headerTopLinkColor},children:"Peak"})})})})})}const Yt=x(t=>({root:{transform:"scale(1, 1)",backgroundColor:t.color.black0},text:{width:"75px",height:"16px","@media (max-width: 479px)":{width:"auto"}}}),{name:"InfoPagesPreloader"});function _t(){const t=Yt();return e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:"auto",sm:"auto",xs:"auto",children:e.jsxs(o,{container:!0,item:!0,spacing:3,children:[e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})})]})})}const $t=x(t=>({headerTopLink:{fontSize:t.typography.pxToRem(14),lineHeight:t.typography.pxToRem(18)},linkHref:{color:t.color.black80,"&:hover":{color:t.color.blue}}}),{name:"InfoPagesLinks"});function xe({links:t}){const n=$t();return t?e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:"auto",sm:"auto",xs:"auto",children:e.jsx(o,{container:!0,item:!0,spacing:3,children:t.map(r=>e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:e.jsx(g,{classes:{root:n.headerTopLink},children:e.jsx(I,{underline:"none",href:r.LINK,classes:{root:n.linkHref},children:r.NAME})})},r.LINK))})}):e.jsx(_t,{})}const es=x(t=>({headerMiddleSection:{"@media (min-width: 1280px)":{paddingTop:24,paddingBottom:0}}}),{name:"HeaderMiddleLine"});function ts({children:t}){const n=es();return e.jsx(f,{fixed:!0,maxWidth:"xl",children:e.jsx(o,{container:!0,children:e.jsx(o,{container:!0,item:!0,justifyContent:"space-between",alignItems:"center",classes:{root:n.headerMiddleSection},children:t})})})}function V(t){return e.jsx(z,{...t,children:e.jsx("path",{d:`M16.83 16.12C18.3921 14.3731 19.2111 12.0857 19.1131 9.74433C19.015 7.40292
            18.0075 5.19209 16.3049 3.5819C14.6022 1.9717 12.3386 1.08913 9.99537 1.12183C7.65213
            1.15452 5.41406 2.09991 3.75698 3.75699C2.0999 5.41407 1.15452 7.65214 1.12182
            9.99538C1.08912 12.3386 1.97169 14.6022 3.58189 16.3049C5.19209 18.0075
            7.40291 19.015 9.74432 19.1131C12.0857 19.2111 14.3731 18.3921 16.12 16.83L22.78 23.47L23.47 22.77L16.83 16.12ZM2.11999 10.12C2.11999 8.53775 2.58919 6.99103 3.46824 5.67544C4.34729 4.35985 5.59672 3.33447 7.05853 2.72897C8.52034 2.12346 10.1289 1.96504 11.6807 2.27372C13.2326 2.5824 14.658 3.34433 15.7768 4.46315C16.8957 5.58197 17.6576 7.00743 17.9663 8.55928C18.275 10.1111 18.1165 11.7197 17.511 13.1815C16.9055 14.6433 15.8801 15.8927 14.5646 16.7718C13.249 17.6508 11.7022 18.12 10.12 18.12C7.99826 18.12 5.96343 17.2771 4.46314 15.7769C2.96285 14.2766 2.11999 12.2417 2.11999 10.12Z`})})}function he(t){return e.jsx(z,{...t,children:e.jsx("path",{d:"M17 3.25C17.6264 3.23879 18.2487 3.35239 18.8307 3.58416C19.4128 3.81594 19.9428 4.16127 20.39 4.6C20.853 5.0773 21.2121 5.64542 21.4444 6.2685C21.6768 6.89157 21.7774 7.55606 21.74 8.22C21.7029 8.94537 21.5169 9.65534 21.1934 10.3057C20.87 10.956 20.4161 11.5328 19.86 12H19.81L11.86 20L9.3 17.42L4.13 12.25V12.2C3.59633 11.7593 3.16187 11.2107 2.85511 10.5903C2.54834 9.96989 2.37621 9.29162 2.35 8.6C2.29612 7.90667 2.38746 7.20972 2.61819 6.55368C2.84892 5.89765 3.21397 5.29696 3.69 4.79C4.63277 3.86019 5.90588 3.34232 7.23 3.35C7.96129 3.34783 8.68416 3.5061 9.34764 3.81365C10.0111 4.1212 10.5991 4.57054 11.07 5.13L12 6.3L13 5.14C13.4868 4.55024 14.0976 4.07509 14.789 3.7484C15.4804 3.42172 16.2353 3.25154 17 3.25ZM17 2C16.0458 1.9985 15.103 2.20741 14.2388 2.61187C13.3746 3.01633 12.6102 3.60638 12 4.34C11.4196 3.63759 10.6909 3.07243 9.86618 2.68513C9.04144 2.29783 8.14115 2.098 7.23 2.1C6.41111 2.09481 5.59924 2.25112 4.84081 2.55998C4.08238 2.86884 3.39229 3.3242 2.81 3.9C2.20064 4.51798 1.72576 5.25537 1.41524 6.0658C1.10471 6.87622 0.965252 7.74214 1.00564 8.60908C1.04603 9.47602 1.26539 10.3252 1.64992 11.1033C2.03445 11.8813 2.57583 12.5714 3.24 13.13L11.86 21.75L20.65 13C21.3249 12.4524 21.8797 11.7715 22.2796 10.9999C22.6795 10.2282 22.9159 9.38233 22.9741 8.51515C23.0323 7.64796 22.911 6.7781 22.6178 5.95992C22.3246 5.14174 21.8657 4.39283 21.27 3.76C20.7098 3.19911 20.044 2.75478 19.3111 2.45269C18.5782 2.1506 17.7927 1.99674 17 2Z"})})}function me(t){return e.jsxs(z,{...t,children:[e.jsxs("g",{children:[e.jsx("path",{d:"M12.1199 1.12001C9.95679 1.119 7.84141 1.75576 6.03831 2.95066C4.2352 4.14556 2.82442 5.84556 1.98239 7.83804C1.14036 9.83051 0.904474 12.027 1.30422 14.1529C1.70398 16.2787 2.72162 18.2395 4.22989 19.79C4.39989 19.52 4.54989 19.24 4.73989 18.98C3.40099 17.5419 2.51115 15.7441 2.17958 13.8073C1.84801 11.8706 2.08915 9.87916 2.8734 8.07752C3.65765 6.27589 4.95088 4.74245 6.59434 3.66544C8.2378 2.58842 10.16 2.0147 12.1249 2.0147C14.0898 2.0147 16.012 2.58842 17.6554 3.66544C19.2989 4.74245 20.5921 6.27589 21.3764 8.07752C22.1606 9.87916 22.4018 11.8706 22.0702 13.8073C21.7386 15.7441 20.8488 17.5419 19.5099 18.98C19.4618 19.0414 19.4082 19.0983 19.3499 19.15L18.7799 19.7C18.9596 19.9579 19.12 20.2286 19.2599 20.51C19.4299 20.35 19.6099 20.2 19.7799 20.03L20.0199 19.79C21.5288 18.2389 22.5466 16.2772 22.946 14.1504C23.3454 12.0236 23.1087 9.8263 22.2654 7.83342C21.4222 5.84054 20.0098 4.14065 18.2052 2.94651C16.4006 1.75237 14.2838 1.11703 12.1199 1.12001Z"}),e.jsx("path",{d:"M12.1199 6.12C12.7132 6.12 13.2932 6.29594 13.7866 6.62559C14.2799 6.95523 14.6645 7.42377 14.8915 7.97194C15.1186 8.52012 15.178 9.12332 15.0622 9.70527C14.9465 10.2872 14.6608 10.8218 14.2412 11.2413C13.8216 11.6609 13.2871 11.9466 12.7051 12.0624C12.1232 12.1781 11.52 12.1187 10.9718 11.8916C10.4236 11.6646 9.95511 11.2801 9.62547 10.7867C9.29582 10.2934 9.11987 9.71334 9.11987 9.12C9.11987 8.32435 9.43595 7.56128 9.99855 6.99867C10.5612 6.43607 11.3242 6.12 12.1199 6.12ZM12.1199 5.12C11.3287 5.12 10.5554 5.35459 9.89759 5.79412C9.2398 6.23364 8.72711 6.85836 8.42436 7.58926C8.12161 8.32017 8.04239 9.12443 8.19673 9.90036C8.35107 10.6763 8.73204 11.389 9.29145 11.9484C9.85086 12.5078 10.5636 12.8888 11.3395 13.0431C12.1154 13.1975 12.9197 13.1183 13.6506 12.8155C14.3815 12.5128 15.0062 12.0001 15.4458 11.3423C15.8853 10.6845 16.1199 9.91112 16.1199 9.12C16.1199 8.05913 15.6984 7.04171 14.9483 6.29157C14.1982 5.54142 13.1807 5.12 12.1199 5.12Z"}),e.jsx("path",{d:"M19.5098 19C19.4617 19.0614 19.4081 19.1183 19.3498 19.17L18.7798 19.72C18.9595 19.9778 19.1199 20.2486 19.2598 20.53C19.4298 20.37 19.6098 20.22 19.7798 20.05L20.0198 19.81C19.8498 19.52 19.6998 19.24 19.5098 19Z"}),e.jsx("path",{d:"M19.35 19.15L18.78 19.7C18.0493 18.6048 17.0596 17.7068 15.8987 17.0857C14.7378 16.4647 13.4416 16.1397 12.125 16.1397C10.8084 16.1397 9.51215 16.4647 8.35124 17.0857C7.19033 17.7068 6.20065 18.6048 5.46999 19.7C5.5079 19.7358 5.54798 19.7692 5.58999 19.8C7.41519 21.3489 9.73118 22.1991 12.125 22.1991C14.5188 22.1991 16.8348 21.3489 18.66 19.8C18.702 19.7692 18.7421 19.7358 18.78 19.7C18.9597 19.9579 19.1201 20.2286 19.26 20.51L19.03 20.68C17.0742 22.2572 14.6375 23.1172 12.125 23.1172C9.61253 23.1172 7.17578 22.2572 5.21999 20.68L4.99999 20.51C4.82999 20.35 4.64999 20.2 4.47999 20.03L4.23999 19.79C4.40999 19.52 4.55999 19.24 4.74999 18.98C5.57909 17.7897 6.68362 16.8175 7.96947 16.1461C9.25533 15.4747 10.6844 15.1241 12.135 15.1241C13.5856 15.1241 15.0147 15.4747 16.3005 16.1461C17.5864 16.8175 18.6909 17.7897 19.52 18.98C19.4687 19.0418 19.4118 19.0988 19.35 19.15Z"})]}),e.jsx("defs",{children:e.jsx("clipPath",{children:e.jsx("rect",{width:"22.25",height:"22.25",fill:"white",transform:"translate(1 1)"})})})]})}const pe=x(t=>({userMenuBody:{border:"1px solid rgba(143, 155, 164, 0.4)",boxSizing:"border-box",borderRadius:16,minWidth:252},userMenuPadding:{padding:"8px 0"},userMenuIcon:{minWidth:35},userMenuBtn:{padding:"12px 20px"},badgeColors:{backgroundColor:"#039855"},badgePosition:{transform:"scale(1.5) translate(50%, -50%)",zIndex:-1}}),{name:"UserAuth"}),ss=({handleClose:t})=>{var s;const n=pe(),[r]=Re(),a="/personal/";return e.jsxs(Xe,{disableListWrap:!0,disabledItemsFocusable:!0,classes:{padding:n.userMenuPadding},children:[e.jsxs(H,{onClick:t,component:G,to:`${a}orders/`,classes:{root:n.userMenuBtn},children:[e.jsx(F,{classes:{root:n.userMenuIcon},children:e.jsx(Ke,{})}),"История заказов"]}),e.jsxs(H,{onClick:t,component:G,to:`${a}${(s=ze.personal.nested)==null?void 0:s.wishlist}`,classes:{root:n.userMenuBtn},children:[e.jsx(F,{classes:{root:n.userMenuIcon},children:e.jsx(Je,{})}),"Избранное"]}),e.jsxs(H,{onClick:t,component:G,to:a,classes:{root:n.userMenuBtn},children:[e.jsx(F,{classes:{root:n.userMenuIcon},children:e.jsx(Ye,{})}),"Профиль"]}),e.jsxs(H,{onClick:()=>{t(),r()},classes:{root:n.userMenuBtn},children:[e.jsx(F,{classes:{root:n.userMenuIcon},children:e.jsx(_e,{})}),"Выйти"]})]})},ns=()=>{const t=pe(),[n,r]=c.useState(null),a=i=>{r(i.currentTarget)},s=()=>{r(null)};return e.jsxs(e.Fragment,{children:[e.jsx(ie,{color:"primary",badgeContent:" ",variant:"dot",classes:{colorPrimary:t.badgeColors,anchorOriginTopRightRectangular:t.badgePosition},children:e.jsx(B,{onClick:a,children:e.jsx(me,{color:"primary"})})}),e.jsx($e,{id:n?"user-menu-list":void 0,open:!!n,anchorEl:n,onClose:s,elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"right"},transitionDuration:300,classes:{paper:t.userMenuBody},children:e.jsx(ss,{handleClose:s})})]})},os=x(t=>({iconBtn:{padding:0},authBtnWrapper:{paddingTop:32,"& > *:not(:first-child)":{marginLeft:20},paddingBottom:24},authBtnVariant:{padding:0,"&:hover":{backgroundColor:"unset",color:t.color.blue}},authBtnVariantActive:{color:t.color.blue},headerIconBtn:{position:"relative",padding:0,"&:hover":{backgroundColor:"unset"}}}),{name:"UserAuthScreen"}),ge=({stateOpenUserAuth:t,setOpenUserAuth:n})=>{const r=os(),a=R(l=>l.userAuth.authScreen),{data:s,isFetching:i}=We();return s!=null&&s.data?e.jsx(ns,{}):e.jsxs(e.Fragment,{children:[e.jsx(B,{classes:{root:r.iconBtn},disabled:i,onClick:()=>n(!0),"data-id":"auth-button",children:e.jsx(me,{color:"primary"})}),e.jsx(N,{style:{zIndex:1400},isWrapped:!0,showCloseIcon:!0,open:t,onClose:()=>n(!1),handlerCloseIcon:()=>n(!1),closeIconPosition:"right",anchor:"right",title:J[a].title,subTitle:J[a].subTitle,children:e.jsx(dt,{})})]})},rs=x(t=>({root:{transform:"scale(1, 1)",backgroundColor:t.color.black20},text:{width:"90px",height:"16px","@media (max-width: 479px)":{width:"auto"}}}),{name:"GenderMenuPreloader"});function is(){const t=rs();return e.jsxs(e.Fragment,{children:[e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:4,sm:4,xs:4,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:4,sm:4,xs:4,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:4,sm:4,xs:4,children:e.jsx(C,{variant:"text",classes:{root:t.root,text:t.text},animation:"wave"})})]})}const as=x(t=>({link:{color:t.color.black60,"&:hover":{color:t.color.black100}},mobileLink:{textAlign:"center",fontSize:t.typography.pxToRem(14),lineHeight:t.typography.pxToRem(20),minHeight:52}}),{name:"CatalogMenuLinks"});function Ce({items:t}){const n=as(),r=re("(max-width: 1280px)");return t?e.jsx(o,{container:!0,item:!0,spacing:5,justifyContent:r?"space-between":"center",children:t.map((a,s)=>e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:4,sm:4,xs:4,children:e.jsx(L,{fullWidth:!0,variant:"text",color:"default",href:a.LINK,classes:{root:ce([n.link,r&&n.mobileLink])},children:a.NAME})},s))}):e.jsx(o,{container:!0,item:!0,spacing:5,justifyContent:r?"space-between":"center",children:e.jsx(is,{})})}function ls(t){return e.jsxs(z,{...t,children:[e.jsxs("g",{children:[e.jsx("path",{d:"M19.75 7.38V21.88H4.25V7.38H19.75ZM21 6.12H3V23.12H21V6.12Z"}),e.jsx("path",{d:"M12 1.12C10.6739 1.12 9.40215 1.64678 8.46447 2.58446C7.52678 3.52214 7 4.79391 7 6.12V9.12H8V6.12C8 5.05913 8.42143 4.04171 9.17157 3.29157C9.92172 2.54142 10.9391 2.12 12 2.12C13.0609 2.12 14.0783 2.54142 14.8284 3.29157C15.5786 4.04171 16 5.05913 16 6.12V9.12H17V6.12C17 5.46339 16.8707 4.81321 16.6194 4.20658C16.3681 3.59995 15.9998 3.04875 15.5355 2.58446C15.0712 2.12017 14.52 1.75187 13.9134 1.5006C13.3068 1.24932 12.6566 1.12 12 1.12Z"})]}),e.jsx("defs",{children:e.jsx("clipPath",{children:e.jsx("rect",{width:"18",height:"22.13",fill:"white",transform:"translate(3 1)"})})})]})}const cs=x(t=>({basketButton:{padding:0}}),{name:"BasketButton"}),je=()=>{var p;const t=cs(),[n,r]=c.useState(!1),[a,{data:s,isFetching:i}]=Oe(),l=(s==null?void 0:s.data.BASKET)||{},h=Object.values(l).reduce((j,k)=>k.QUANTITY+j,0),d=()=>{r(!0),a()};c.useEffect(()=>{a()},[]);const u=e.jsx(B,{classes:{root:t.basketButton},onClick:d,children:e.jsx(ls,{color:"primary"})});return e.jsxs(e.Fragment,{children:[h>0?e.jsx(ie,{badgeContent:h,color:"primary",children:u}):u,e.jsx(N,{isWrapped:!0,showCloseIcon:!0,open:n,onClose:()=>r(!1),handlerCloseIcon:()=>r(!1),anchor:"right",closeIconPosition:"right",children:e.jsx(ut,{loading:i,itemsBasket:l,pricesBasket:s==null?void 0:s.data.ORDER_PRICES,couponList:Object.values(((p=s==null?void 0:s.data.DISCOUNT_DATA)==null?void 0:p.COUPON_LIST)??{})})})]})},U=c.createContext(void 0),Ps=({content:t,children:n})=>{const[r,a]=c.useState(void 0);return c.useEffect(()=>{var s;t&&(a(t),(s=t.SEO_BLOCK)!=null&&s.redirect&&window.location.replace(t.SEO_BLOCK.redirect))},[t]),e.jsx(U.Provider,{value:r,children:n})},fe=()=>{const t=document.getElementById("digi-shield"),n=document.getElementsByClassName("digi-dolyame-modal digi-dolyame-modal__background digi-dolyame-modal");if(n!==null&&t!==null){for(;n.length>0;)n[0].parentNode.removeChild(n[0]);t.parentNode.removeChild(t)}const r=document.head;r.querySelectorAll('link[rel="preconnect"]').forEach(s=>{r.removeChild(s)});const a=r.querySelector('script[src="//cdn.diginetica.net/1240/client.js"][defer][async]');a&&r.removeChild(a)},Ae=()=>{const t=document.head;[{rel:"preconnect",href:"https://tracking-app.diginetica.net/"},{rel:"preconnect",href:"https://tracking.diginetica.net/"},{rel:"preconnect",href:"https://cdn.diginetica.net/"}].forEach(({rel:s,href:i})=>{const l=document.createElement("link");l.rel=s,l.href=i,t.insertBefore(l,t.firstChild)});const r=document.createElement("script");r.src="//cdn.diginetica.net/1240/client.js",r.defer=!0,r.async=!0;const a=t.querySelectorAll("link")[2];t.insertBefore(r,a.nextSibling)},ds=x(t=>({searchTextField:{height:"30px",padding:"0 8px",fontSize:16,"@media (max-width: 562px)":{width:"110px",fontSize:12},"@media (max-width: 438px)":{width:"50px"}}}),{name:"TextField"}),ye=({open:t,iconStart:n,iconEnd:r,InputProps:a,fullWidth:s,type:i,id:l,name:h,className:d,autoComplete:u,placeholder:p,value:j,onChange:k,handleCloseSearch:A,onInput:y,onFocus:m,onBlur:w})=>{const v=ds();return e.jsx(Q,{InputProps:{...a,classes:{input:v.searchTextField},startAdornment:n?e.jsx(Y,{position:"start",children:n}):null,endAdornment:r?e.jsx(Y,{onClick:A,position:"end",children:r}):null,onFocusCapture:m,autoFocus:t,onBlur:w},fullWidth:s,placeholder:p,value:j,type:i,id:l,name:h,className:d,autoComplete:u,onChange:k,onInput:y})};function be(t){return e.jsxs(z,{...t,width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M6.66666 6.66663L25.3333 25.3333",stroke:"#3A474E",strokeWidth:"1.25",strokeMiterlimit:"10"}),e.jsx("path",{d:"M25.3333 6.66663L6.66666 25.3333",stroke:"#3A474E",strokeWidth:"1.25",strokeMiterlimit:"10"})]})}const us=()=>{var t;return(t=document.querySelector("[data-id=catalog-menu]"))==null?void 0:t.getBoundingClientRect().top},$=()=>document.body.style.setProperty("--digi-top",us()),xs=({open:t,handleCloseSearch:n})=>{c.useEffect(()=>{Ae(),$(),document.body.onscroll=$},[]);const[r]=se();return t?e.jsx(ye,{open:t,type:"text",name:"q",id:"cat_search",className:"js-analytics-searchInput digi-instant-search jc-ignore",placeholder:"Поиск по каталогу",autoComplete:"off",handleCloseSearch:n,iconStart:e.jsx(V,{color:"primary",style:{paddingLeft:"12px",fontSize:16}}),iconEnd:e.jsx(be,{color:"primary",style:{paddingRight:"12px",fontSize:16,cursor:"pointer"}}),onInput:a=>{r({type:"search",text:a.target.value})},onFocus:a=>{var i;const s=document.querySelector(".digi-ac");s&&(s.hidden=!((i=document.querySelector(".digi-main .digi-products-grid"))!=null&&i.matches(":empty")))}}):null},hs=x(t=>({drawer:{"& h1":{"@media (max-width: 960px)":{fontSize:"1.5rem"}},"& button:nth-child(1)":{"@media (max-width: 1024px)":{top:21}}},responseText:{fontSize:"1.5rem"}}),{name:"PanelChangePass"}),ke=()=>{const t=hs(),n=new URLSearchParams(location.search),r=n.get("USER_LOGIN"),a=n.get("USER_CHECKWORD"),[s,i]=c.useState(""),[l,h]=c.useState({}),[d,u]=c.useState(!0),[p]=He(),j=async A=>{var y;try{const{data:m}=await p({...A,userCheckword:a});if((m==null?void 0:m.status)==="success")return i("Пароль успешно изменён.");if((m==null?void 0:m.errors[0].customData)==="CHECKWORD")return i(`К сожалению, срок действия ссылки для восстановления пароля истек.
                    Для получения новой ссылки, пожалуйста, повторите процедуру сброса пароля.`);h((y=m==null?void 0:m.errors)==null?void 0:y.reduce((w,{customData:v,message:M})=>(w[v]=M,w),{}))}catch(m){console.error(m)}},k=()=>{u(!1)};return e.jsx(N,{isWrapped:!0,showCloseIcon:!0,open:d,onClose:k,handlerCloseIcon:k,closeIconPosition:"right",anchor:"right",title:"Восстановление пароля",classes:{root:t.drawer},children:s?e.jsx(o,{children:e.jsx(g,{classes:{root:t.responseText},children:s})}):e.jsx("form",{onSubmit:function(A){A.preventDefault(),j(Object.fromEntries(new FormData(A.currentTarget)))},children:e.jsxs(o,{container:!0,item:!0,spacing:3,children:[e.jsx(o,{item:!0,xs:12,children:e.jsx(et,{name:"userLogin",value:r,fullWidth:!0,readOnly:!0})}),e.jsx(o,{item:!0,xs:12,children:e.jsx(Q,{name:"userPassword",fullWidth:!0,required:!0,placeholder:"Пароль",type:"password",autoComplete:"off",error:"PASSWORD"in l,helperText:l==null?void 0:l.PASSWORD})}),e.jsx(o,{item:!0,xs:12,children:e.jsx(Q,{name:"userConfirmPassword",fullWidth:!0,required:!0,placeholder:"Подтвердите пароль",type:"password",autoComplete:"off",error:"CONFIRM_PASSWORD"in l,helperText:l==null?void 0:l.CONFIRM_PASSWORD})}),e.jsx(o,{item:!0,xs:12,children:e.jsx(L,{component:"button",fullWidth:!0,variant:"contained",color:"default",type:"submit",children:"Сохранить"})})]})})})},ms=x(t=>({headerTopLine:{position:"relative","z-index":t.zIndex.drawer,backgroundColor:"#ffffff","@media (max-width: 1200px)":{height:64,display:"flex",alignItems:"center"}},headerTopLineOpenedSearch:{position:"relative",zIndex:999999999,backgroundColor:"#ffffff","@media (max-width: 1200px)":{height:64,display:"flex",alignItems:"center"}},bannerContainer:{"text-align":"center",background:"#8F9BA4",height:60,"line-height":"60px"},"link-banner":{"font-family":"TTFirsNeue-Regular, sans-serif","font-size":15,color:"white","text-decoration":"none","vertical-align":"middle"},info:{"vertical-align":"middle","margin-inline-start":"5px","margin-top":-2}}),{name:"PageHeader"}),ps=({setShowSearch:t,showSearch:n,handleCloseSearch:r,isFetching:a})=>{var y,m,w,v,M,T;const s=ms(),i=c.useContext(U),l=R(S=>S.userAuth.isAuth),[h,d]=c.useState(location.hash==="#login"),u=Fe(),[p,j]=c.useState(!1),k=new URLSearchParams(location.search).has("change_password"),A=()=>{l?u("/personal/wishList"):d(!0)};return c.useEffect(()=>{n||fe()},[n]),e.jsx(tt,{mouseEvent:"onMouseDown",touchEvent:"onTouchStart",onClickAway:S=>r(S),children:e.jsxs(f,{disableGutters:!0,maxWidth:!1,classes:{root:n?s.headerTopLineOpenedSearch:s.headerTopLine},children:[e.jsxs(Xt,{children:[e.jsx(Jt,{}),e.jsx(xe,{links:i==null?void 0:i.TOP_RIGHT_MENU})]}),(i==null?void 0:i.BANNER)&&e.jsxs("div",{className:s.bannerContainer,children:[e.jsx("a",{className:s["link-banner"],href:(m=(y=i==null?void 0:i.BANNER)==null?void 0:y.banner)==null?void 0:m.link,children:(v=(w=i==null?void 0:i.BANNER)==null?void 0:w.banner)==null?void 0:v.name}),e.jsxs("svg",{onClick:()=>j(!0),className:s.info,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("path",{d:"M12.75 16.5V10.5H9.75V12H11.25V16.5H9V18H15V16.5H12.75Z",fill:"white",fillOpacity:"0.7"}),e.jsx("path",{d:"M12 6C11.7775 6 11.56 6.06598 11.375 6.1896C11.19 6.31321 11.0458 6.48891 10.9606 6.69448C10.8755 6.90005 10.8532 7.12625 10.8966 7.34448C10.94 7.56271 11.0472 7.76316 11.2045 7.9205C11.3618 8.07783 11.5623 8.18498 11.7805 8.22838C11.9988 8.27179 12.225 8.24951 12.4305 8.16436C12.6361 8.07922 12.8118 7.93502 12.9354 7.75002C13.059 7.56501 13.125 7.3475 13.125 7.125C13.125 6.82663 13.0065 6.54048 12.7955 6.3295C12.5845 6.11853 12.2984 6 12 6Z",fill:"white",fillOpacity:"0.7"}),e.jsx("path",{d:"M12 22.5C9.9233 22.5 7.89323 21.8842 6.16652 20.7304C4.4398 19.5767 3.09399 17.9368 2.29927 16.0182C1.50455 14.0996 1.29661 11.9884 1.70176 9.95156C2.1069 7.91476 3.10693 6.04383 4.57538 4.57538C6.04383 3.10693 7.91476 2.1069 9.95156 1.70176C11.9884 1.29661 14.0996 1.50455 16.0182 2.29927C17.9368 3.09399 19.5767 4.4398 20.7304 6.16652C21.8842 7.89323 22.5 9.9233 22.5 12C22.5 14.7848 21.3938 17.4555 19.4246 19.4246C17.4555 21.3938 14.7848 22.5 12 22.5ZM12 3C10.22 3 8.47992 3.52785 6.99987 4.51678C5.51983 5.50571 4.36628 6.91132 3.68509 8.55585C3.0039 10.2004 2.82567 12.01 3.17294 13.7558C3.5202 15.5016 4.37737 17.1053 5.63604 18.364C6.89472 19.6226 8.49836 20.4798 10.2442 20.8271C11.99 21.1743 13.7996 20.9961 15.4442 20.3149C17.0887 19.6337 18.4943 18.4802 19.4832 17.0001C20.4722 15.5201 21 13.78 21 12C21 9.61306 20.0518 7.32387 18.364 5.63604C16.6761 3.94822 14.387 3 12 3Z",fill:"white",fillOpacity:"0.7"})]}),e.jsx(ae,{open:p,onClose:()=>j(!1),onCloseIcon:()=>j(!1),maxWidth:!1,children:e.jsx("div",{style:{padding:"24px"},children:e.jsx(g,{variant:"body1",children:e.jsx("div",{dangerouslySetInnerHTML:{__html:(T=(M=i==null?void 0:i.BANNER)==null?void 0:M.banner)==null?void 0:T.html_body}})})})})]}),e.jsxs(ts,{children:[e.jsx(o,{item:!0,lg:"auto",xl:4,children:e.jsx(o,{container:!0,item:!0,alignItems:"center",children:e.jsx(le,{})})}),e.jsx(o,{item:!0,lg:"auto",xl:4,children:e.jsx(Ce,{items:i==null?void 0:i.GENDER_MENU})}),e.jsx(o,{item:!0,lg:4,xl:4,children:e.jsxs(o,{container:!0,item:!0,justifyContent:"flex-end",alignItems:"center",style:{display:"flex",columnGap:"18px"},children:[e.jsxs(o,{item:!0,md:"auto",children:[n&&e.jsx(xs,{handleCloseSearch:r,open:n}),!n&&e.jsx(V,{color:"primary",onClick:()=>t(!0)})]}),e.jsx(o,{item:!0,md:"auto",children:e.jsx(B,{onClick:()=>A(),children:e.jsx(he,{color:"primary"})})}),e.jsx(o,{item:!0,md:"auto",children:e.jsx(ge,{stateOpenUserAuth:h,setOpenUserAuth:d})}),e.jsx(o,{item:!0,md:"auto",children:e.jsx(je,{})}),k&&e.jsx(ke,{})]})})]}),e.jsx(Gt,{content:i==null?void 0:i.MAIN_MENU})]})})},we=x(t=>({menuTabPanel:{minHeight:52,borderTop:"0.5px solid #E0E3E6",borderBottom:"0.5px solid #E0E3E6"},menuTabIndicator:{height:1,backgroundColor:"#1e6ee4"},menuTab:{fontSize:t.typography.pxToRem(14),lineHeight:t.typography.pxToRem(20),textTransform:"unset",minHeight:52},menuTabPanelContainer:{paddingTop:16},childHeaderContainer:{minHeight:64,borderBottom:"1px solid #E0E3E6",marginBottom:16},childHeaderText:{fontSize:t.typography.pxToRem(18)},menuItemChildren:{width:"100%"},menuItem:{padding:"0 16px",display:"flex",justifyContent:"space-between",alignItems:"center",minHeight:40},menuItemIcon:{fontSize:t.typography.pxToRem(12),"& > *:first-child":{fontSize:t.typography.pxToRem(12)}}}),{name:"CatalogMenuMobile"}),ee=({isLink:t,children:n,href:r,...a})=>{const s=we();return e.jsx(L,{...a,classes:{root:s.menuItem,iconSizeMedium:s.menuItemIcon},href:t?r:void 0,fullWidth:!0,endIcon:!t&&e.jsx(nt,{}),children:n})},gs=({content:t})=>{var l,h;const n=we(),[r,a]=at.useState(0),[s,i]=c.useState(!1);return t?e.jsxs(o,{container:!0,item:!0,classes:{root:n.menuTabPanelContainer},children:[t.map((d,u)=>{const p=["new","sale"].includes(d.code);return e.jsx(o,{item:!0,xs:12,children:e.jsx(ee,{onClick:()=>{a(u),i(Array.isArray(d==null?void 0:d.sections)&&!p)},variant:"text",color:"default",href:d.url,isLink:p,children:d.name})},d.id)}),e.jsx(N,{closeIconPosition:"left",anchor:"right",showCloseIcon:!0,isWrapped:!1,open:s,IconComponent:e.jsx(st,{}),classes:{paper:n.menuItemChildren},handlerCloseIcon:()=>i(!1),children:e.jsxs(o,{container:!0,children:[e.jsx(o,{container:!0,item:!0,alignItems:"center",classes:{root:n.childHeaderContainer},children:e.jsx(o,{item:!0,xs:12,children:e.jsx(g,{classes:{root:n.childHeaderText},variant:"h3",align:"center",children:t[r].name})})}),((l=t[r])==null?void 0:l.sections)&&((h=t[r].sections)==null?void 0:h.map((d,u)=>e.jsx(o,{item:!0,xs:12,children:e.jsx(ee,{isLink:!0,href:d.url,children:d.name})},u)))]})}),";"]}):null},Cs=x(t=>({locationBtn:{padding:0,fontFamily:"TTFirsNeue-Light, sans-serif",display:"flex",justifyContent:"flex-start","@media (max-width: 1024px)":{fontSize:t.typography.pxToRem(14),minHeight:40}}}),{name:"ChangeLocation"});function js({variant:t,IconComponent:n,iconPosition:r}){const a=Cs(),s=c.useContext(U),[i,l]=c.useState(!1);return e.jsxs(o,{item:!0,xl:"auto",lg:"auto",md:12,sm:12,xs:12,children:[e.jsx(L,{fullWidth:!0,variant:"text",color:"default",classes:{root:a.locationBtn},startIcon:r==="start"&&n,endIcon:r==="end"?n:!n&&e.jsx(ot,{}),onClick:()=>l(!0),children:s!=null&&s.SITIES.USER_REGION_ID?s==null?void 0:s.SITIES.REGIONS[s==null?void 0:s.SITIES.USER_REGION_ID].region_name:"Регион не определен"}),e.jsx(N,{isWrapped:!0,showCloseIcon:!0,handlerCloseIcon:()=>l(!1),onClose:()=>l(!1),anchor:"right",open:i,children:e.jsx(ct,{onChange:(h,d)=>null,onChangeInput:(h,d)=>null,options:s!=null&&s.SITIES.REGIONS?Object.values(s==null?void 0:s.SITIES.REGIONS).map(h=>({title:h.region_name,value:h.region_code})):[],popular:void 0})})]})}const fs=()=>{var t;return(t=document.querySelector("[data-id=catalog-menu]"))==null?void 0:t.getBoundingClientRect().top},te=()=>document.body.style.setProperty("--digi-top",fs()),As=({open:t,handleCloseSearch:n,onBlur:r})=>{c.useEffect(()=>{Ae(),te(),document.body.onscroll=te},[]);const[a]=se();return t?e.jsx(ye,{open:t,type:"text",name:"q",id:"cat_search",className:"js-analytics-searchInput digi-instant-search jc-ignore digi-hidden-mobile",placeholder:"Поиск по каталогу",autoComplete:"off",handleCloseSearch:n,iconStart:e.jsx(V,{color:"primary",style:{paddingLeft:"12px",fontSize:16}}),iconEnd:e.jsx(be,{color:"primary",style:{paddingRight:"12px",fontSize:16,cursor:"pointer"}}),onInput:s=>{a({type:"search",text:s.target.value})},onFocus:s=>{document.querySelector(".digi-ac").hidden=!document.querySelector(".digi-main .digi-products-grid").matches(":empty")},onBlur:r}):null},ys=x(t=>({headerWrapper:{position:"relative",backgroundColor:"#fff",zIndex:t.zIndex.drawer},headerWrapperOpenedSearch:{position:"relative",backgroundColor:"#fff",zIndex:999999999},headerContainer:{minHeight:64},headerMenuContainer:{top:"auto",bottom:0,width:"100%"},headerMenuContainerAuto:{height:"calc(100% - 64px)"},headerMenuContainerBx:{height:"calc(100% - 103px)"},menuBreaker:{width:"calc(100% - 32px)",margin:"16px auto",backgroundColor:"#E0E3E6"},infoContainer:{padding:"0 16px","&:last-child":{paddingBottom:16}},locationIcon:{transform:"rotate(-45deg) translateY(-3px)"},burgerMenuBtn:{padding:"0 16px 0 0","&:not(:last-child)":{paddingRight:t.spacing(3)}},headerIconBtn:{position:"relative",padding:0,"&:hover":{backgroundColor:"unset"}},cartBadge:{backgroundColor:"#107BA2",color:t.color.black0},genderMenuContainer:{borderTop:"0.5px solid #E0E3E6",borderBottom:"0.5px solid #E0E3E6"},bannerContainer:{"text-align":"center",background:"#8F9BA4",height:60,"line-height":"60px"},"link-banner":{"font-family":"TTFirsNeue-Regular, sans-serif","font-size":8,color:"white","text-decoration":"none","vertical-align":"middle","@media (min-width: 760px)":{"font-size":15}},info:{"vertical-align":"middle","margin-inline-start":"5px",height:"15px","margin-top":-5,"@media (min-width: 760px)":{height:"24px"}}}),{name:"HeaderMobile"}),bs=({setShowSearch:t,showSearch:n,handleCloseSearch:r,isFetching:a})=>{var M,T,S,W,Z,P;const s=ys(),i=c.useContext(U),[l,h]=c.useState(!1),d=c.useRef(document.querySelector("#bx-panel")),u=d.current?d.current.offsetHeight:0,[p,j]=c.useState(typeof window!==void 0&&location.hash==="#login"),[k,A]=c.useState(!1),y=c.useRef(),[m,w]=c.useState(0),v=new URLSearchParams(location.search).has("change_password");return c.useEffect(()=>{y.current&&w(y.current.offsetHeight)},[i==null?void 0:i.BANNER]),c.useEffect(()=>()=>{n||fe()},[n]),e.jsxs(f,{disableGutters:!0,maxWidth:!1,classes:{root:n?s.headerWrapperOpenedSearch:s.headerWrapper},children:[(i==null?void 0:i.BANNER)&&e.jsxs("div",{className:s.bannerContainer,ref:y,children:[e.jsx("a",{className:s["link-banner"],href:(T=(M=i==null?void 0:i.BANNER)==null?void 0:M.banner)==null?void 0:T.link,children:(W=(S=i==null?void 0:i.BANNER)==null?void 0:S.banner)==null?void 0:W.name}),e.jsxs("svg",{onClick:()=>A(!0),className:s.info,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("path",{d:"M12.75 16.5V10.5H9.75V12H11.25V16.5H9V18H15V16.5H12.75Z",fill:"white",fillOpacity:"0.7"}),e.jsx("path",{d:"M12 6C11.7775 6 11.56 6.06598 11.375 6.1896C11.19 6.31321 11.0458 6.48891 10.9606 6.69448C10.8755 6.90005 10.8532 7.12625 10.8966 7.34448C10.94 7.56271 11.0472 7.76316 11.2045 7.9205C11.3618 8.07783 11.5623 8.18498 11.7805 8.22838C11.9988 8.27179 12.225 8.24951 12.4305 8.16436C12.6361 8.07922 12.8118 7.93502 12.9354 7.75002C13.059 7.56501 13.125 7.3475 13.125 7.125C13.125 6.82663 13.0065 6.54048 12.7955 6.3295C12.5845 6.11853 12.2984 6 12 6Z",fill:"white",fillOpacity:"0.7"}),e.jsx("path",{d:"M12 22.5C9.9233 22.5 7.89323 21.8842 6.16652 20.7304C4.4398 19.5767 3.09399 17.9368 2.29927 16.0182C1.50455 14.0996 1.29661 11.9884 1.70176 9.95156C2.1069 7.91476 3.10693 6.04383 4.57538 4.57538C6.04383 3.10693 7.91476 2.1069 9.95156 1.70176C11.9884 1.29661 14.0996 1.50455 16.0182 2.29927C17.9368 3.09399 19.5767 4.4398 20.7304 6.16652C21.8842 7.89323 22.5 9.9233 22.5 12C22.5 14.7848 21.3938 17.4555 19.4246 19.4246C17.4555 21.3938 14.7848 22.5 12 22.5ZM12 3C10.22 3 8.47992 3.52785 6.99987 4.51678C5.51983 5.50571 4.36628 6.91132 3.68509 8.55585C3.0039 10.2004 2.82567 12.01 3.17294 13.7558C3.5202 15.5016 4.37737 17.1053 5.63604 18.364C6.89472 19.6226 8.49836 20.4798 10.2442 20.8271C11.99 21.1743 13.7996 20.9961 15.4442 20.3149C17.0887 19.6337 18.4943 18.4802 19.4832 17.0001C20.4722 15.5201 21 13.78 21 12C21 9.61306 20.0518 7.32387 18.364 5.63604C16.6761 3.94822 14.387 3 12 3Z",fill:"white",fillOpacity:"0.7"})]}),e.jsx(ae,{open:k,onClose:()=>A(!1),onCloseIcon:()=>A(!1),scroll:"body",maxWidth:!1,children:e.jsx("div",{style:{padding:"24px"},children:e.jsx(g,{variant:"body1",children:e.jsx("div",{dangerouslySetInnerHTML:{__html:(P=(Z=i==null?void 0:i.BANNER)==null?void 0:Z.banner)==null?void 0:P.html_body}})})})})]}),e.jsxs(f,{fixed:!0,maxWidth:"xl",children:[e.jsxs(o,{container:!0,alignItems:"center",justifyContent:"space-between",classes:{root:s.headerContainer},children:[e.jsx(o,{item:!0,xs:"auto",children:e.jsxs(o,{container:!0,item:!0,alignItems:"center",children:[e.jsx(o,{item:!0,xs:"auto",children:l?e.jsx(B,{classes:{root:s.burgerMenuBtn},onClick:()=>h(!1),children:e.jsx(oe,{})}):e.jsx(B,{classes:{root:s.burgerMenuBtn},onClick:()=>h(!0),children:e.jsx(rt,{})})}),e.jsx(le,{})]})}),e.jsx(o,{item:!0,xs:"auto",children:e.jsxs(o,{container:!0,item:!0,alignItems:"center",spacing:3,children:[l&&e.jsx(o,{item:!0,xs:"auto",children:e.jsx(B,{classes:{root:s.headerIconBtn},children:e.jsx(he,{color:"primary"})})}),!l&&e.jsx(o,{item:!0,xs:"auto",children:e.jsxs(B,{children:[n&&e.jsx(As,{handleCloseSearch:r,open:n,onBlur:()=>t(!1)}),e.jsx(V,{color:"primary",onClick:()=>t(!0)})]})}),!l&&e.jsx(o,{item:!0,xs:"auto",children:e.jsx(je,{})}),e.jsx(o,{item:!0,xs:"auto",children:e.jsx(ge,{stateOpenUserAuth:p,setOpenUserAuth:j})}),v&&e.jsx(ke,{})]})})]}),e.jsxs(N,{isWrapped:!1,style:{top:64+u,zIndex:1e3},classes:{paper:ce([s.headerMenuContainer,u?s.headerMenuContainerBx:s.headerMenuContainerAuto])},PaperProps:{style:{top:64+m+u}},BackdropProps:{style:{position:"absolute",top:m}},open:l,handlerCloseIcon:()=>h(!1),onClose:()=>h(!1),children:[e.jsx(f,{maxWidth:!1,className:s.genderMenuContainer,children:e.jsx(Ce,{items:i==null?void 0:i.GENDER_MENU})}),e.jsx(gs,{content:i==null?void 0:i.MAIN_MENU}),e.jsx(D,{classes:{root:s.menuBreaker}}),e.jsx(o,{container:!0,classes:{root:s.infoContainer},children:e.jsx(xe,{links:i==null?void 0:i.TOP_RIGHT_MENU})}),e.jsx(D,{classes:{root:s.menuBreaker}}),e.jsx(o,{container:!0,classes:{root:s.infoContainer},children:e.jsx(ue,{})}),e.jsx(D,{classes:{root:s.menuBreaker}}),e.jsx(o,{container:!0,classes:{root:s.infoContainer},children:e.jsx(js,{IconComponent:e.jsx(it,{classes:{root:s.locationIcon}}),iconPosition:"start",variant:"mobile"})})]})]})]})},Rs=({isFetching:t})=>{const[n,r]=c.useState(!1),a=s=>{s.target.closest(".digi-ac")||s.target.closest(".digi-main")||r(!1)};return e.jsxs(e.Fragment,{children:[e.jsx(E,{lgUp:!0,children:e.jsx(bs,{handleCloseSearch:a,showSearch:n,setShowSearch:r,isFetching:t})}),e.jsx(E,{mdDown:!0,children:e.jsx(ps,{handleCloseSearch:a,showSearch:n,setShowSearch:r,isFetching:t})})]})};export{Es as F,Ps as H,Et as V,Rs as a,Ns as b,U as c};