(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2771],{6886:function(e,n,t){"use strict";t.d(n,{Z:function(){return MyAccountLayout_MyAccountLayout}});var r=t(7306),c=t(727),a=t(9009),s=t(3339),o=t(7085),i=t.n(o),u=t(679),l=t(1549),Nav=e=>{var{items:n}=e,t=(0,s.useRouter)().pathname;return(0,l.jsx)("ul",{className:i().nav,children:n.map(e=>{var{route:n,title:r}=e;return(0,l.jsx)("li",{className:i().navItem,"data-is-selected":t.includes(n),children:(0,l.jsx)(c.Z,{href:n,tabIndex:0,children:r})},n)})})},MyAccountMenu_MyAccountMenu=e=>{var{avatarImageUrl:n,accountName:t,items:r}=e,{isDesktop:c}=(0,u.Z)();return(0,l.jsxs)("div",{className:i().menu,children:[c?(0,l.jsxs)("div",{className:i().account,children:[(0,l.jsxs)("div",{className:i().avatarContainer,children:[n?(0,l.jsx)("img",{className:i().avatar,src:n}):(0,l.jsx)("span",{className:i().avatar,children:null==t?void 0:t[0]}),(0,l.jsx)("h2",{children:t})]}),(0,l.jsx)(a.Z,{className:i().switchButton,variant:"secondary",size:"small",children:"Switch"})]}):null,(0,l.jsx)(Nav,{items:r})]})},MyAccountLayout_MyAccountLayout=e=>{var{children:n,accountName:t}=e;return(0,l.jsxs)("div",{className:i().layout,children:[(0,l.jsx)(MyAccountMenu_MyAccountMenu,{accountName:t,items:r.Z}),(0,l.jsx)("section",{children:n})]})}},2592:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return _},default:function(){return Profile}});var r=t(3067),c=t(5935),a=t(6886),s=t(9173),o=t(1772),i=t(6924),u=t(1549),after=function(){return(0,u.jsx)(u.Fragment,{})},before=function(){return(0,u.jsx)(u.Fragment,{})};function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach(function(n){(0,r.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var l=_objectSpread(_objectSpread({},o.Z),i.Z),_=!0;function Profile(e){var{globalSections:n,accountName:t}=e;return(0,u.jsxs)(s.ZP,{globalSections:n.sections,components:l,children:[(0,u.jsx)(c.PB,{noindex:!0,nofollow:!0}),(0,u.jsxs)(a.Z,{accountName:t,children:[(0,u.jsx)(before,{}),(0,u.jsx)("div",{children:(0,u.jsx)("h1",{children:"Profile"})}),(0,u.jsx)(after,{})]})]})}},300:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/profile",function(){return t(2592)}])},7085:function(e){e.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"}}},function(e){e.O(0,[6031,9173,9774,2888,179],function(){return e(e.s=300)}),_N_E=e.O()}]);