exports.id=6886,exports.ids=[6886],exports.modules={16886:(a,e,t)=>{"use strict";t.d(e,{Z:()=>MyAccountLayout_MyAccountLayout});var s=t(56890),n=t(42210),c=t(40727),i=t(83339),o=t(33339),u=t(48720),l=t.n(u),r=t(60679),_=t(20997);let Nav=({items:a})=>{let e=(0,o.useRouter)(),t=e.pathname;return _.jsx("ul",{className:l().nav,children:a.map(({route:a,title:e})=>_.jsx("li",{className:l().navItem,"data-is-selected":t.includes(a),children:_.jsx(c.Z,{href:a,tabIndex:0,children:e})},a))})},MyAccountMenu_MyAccountMenu=({avatarImageUrl:a,accountName:e,items:t})=>{let{isDesktop:s}=(0,r.Z)();return(0,_.jsxs)("div",{className:l().menu,children:[s?(0,_.jsxs)("div",{className:l().account,children:[(0,_.jsxs)("div",{className:l().avatarContainer,children:[a?_.jsx("img",{className:l().avatar,src:a}):_.jsx("span",{className:l().avatar,children:e?.[0]}),_.jsx("h2",{children:e})]}),_.jsx(i.Z,{className:l().switchButton,variant:"secondary",size:"small",children:"Switch"})]}):null,_.jsx(Nav,{items:t})]})},d=[n.d3],MyAccountLayout_MyAccountLayout=({children:a,accountName:e,isRepresentative:t=!0})=>{let n=t?s.Z:s.Z.filter(({route:a})=>!d.includes(a));return(0,_.jsxs)("div",{className:l().layout,children:[_.jsx(MyAccountMenu_MyAccountMenu,{accountName:e,items:n}),_.jsx("section",{children:a})]})}},48720:a=>{a.exports={layout:"section_layout__QJ4xs",menu:"section_menu__WKZdl",account:"section_account__YjCAC",avatarContainer:"section_avatarContainer__1RMsJ",switchButton:"section_switchButton__ul06M",nav:"section_nav__Jjee8",navItem:"section_navItem__yr27R",avatar:"section_avatar__IQLo8"}}};