1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6139],{6139:function(e,n,t){"use strict";t.d(n,{Z:function(){return MyAccountPage_MyAccountLayout}});var o,i,r,l,a,c,s=t(67294),d=t(71383),u=t(1469),h=t.n(u),x=t(92371),f=t(19395),p=t(33170),y=t(68414),j=t(26176),m=t.n(j),v=t(22181),g=t(85893),_=x.Z,components_PageTitleTooltipModal=function(e){var n=e.title,t=e.textContent,i=(0,s.useState)(!1),r=i[0],l=i[1],handleOpen=function(){l(!0)},handleClose=function(){l(!1)};return(0,g.jsxs)("div",{className:m().tooltipWrapper,children:[(0,g.jsx)("button",{type:"button",onClick:function(){return handleOpen()},className:m().tooltipButton,children:"?"}),(0,g.jsx)(_,{open:r,onClose:handleClose,className:m().modalPositioning,children:(0,g.jsxs)("div",{className:m().modal,children:[n&&""!==n&&(0,g.jsx)(v.Dx,{children:n}),(0,g.jsx)("div",{className:m().scollableContent,children:t.map(function(e){return"subHeader"===e.type?(0,g.jsx)(p.Z,{variant:"preamble",children:e.content}):"list"===e.type?(0,g.jsx)("ul",{children:h()(e.content)&&e.content.map(function(e,n){return(0,g.jsx)("li",{children:(0,g.jsx)(p.Z,{variant:"body2",children:e})},n)})}):(0,g.jsx)(p.Z,{variant:"body2",children:e.content})})}),(0,g.jsx)("div",{className:m().actions,children:(0,g.jsx)(y.Z,{variant:"ghost",onClick:function(){return handleClose()},children:(0,f.t)(o||(o=(0,d.Z)(["Close"])))})})]})})]})},M=t(65344),T=t(35161),b=t.n(T),Z=t(41664),I=t.n(Z),C=t(9311),w=t(96702),P=t(80062);function MyAccountLayoutNavigation(e){var n=e.user,t=(0,C.Z)(n,{invoiceIndicator:(0,g.jsx)(P.Z,{})}),o=(0,w.JL)().customer;return(0,g.jsx)(v.Bi,{children:(0,g.jsxs)("ul",{children:[(0,g.jsx)("li",{children:(0,g.jsx)("strong",{children:(0,f.t)(i||(i=(0,d.Z)(["My account"])))})}),b()(t,function(e){var n=e.href,t=e.active,i=e.label,c=e.extra;return"verification"!==e.key||null!=o&&o.isVerified?(0,g.jsx)(v.oU,{$active:t,children:(0,g.jsx)(I(),{href:n,legacyBehavior:!0,children:(0,g.jsxs)("a",{children:[i,c]})})},n):(0,g.jsxs)(v.oU,{$active:t,children:[(0,g.jsx)(I(),{href:n,legacyBehavior:!0,children:(0,g.jsxs)("a",{children:[(0,f.t)(r||(r=(0,d.Z)(["Verification"]))),c]})}),(0,g.jsxs)(N,{children:[(0,g.jsx)(k,{children:(0,f.t)(l||(l=(0,d.Z)(["Complete your information"])))}),(0,g.jsx)(A,{children:(0,f.t)(a||(a=(0,d.Z)(["To be able to buy and sell, you need to verify your identity."])))})]})]},n)})]})})}var N=(0,M.Z)("div",{target:"ew3jr4s2"})({name:"v3oxwj",styles:"display:flex;flex-direction:column;gap:12px;padding:12px;border:solid 1px #eda617;background-color:#fdf6e8;max-width:150px;margin-top:4px"}),k=(0,M.Z)("h3",{target:"ew3jr4s1"})({name:"c4jkw",styles:"font-family:var(--font-secondary);font-size:16px;font-weight:600;line-height:1.38;letter-spacing:0.7px;color:#000;margin:0;text-transform:none"}),A=(0,M.Z)("p",{target:"ew3jr4s0"})({name:"1qucz7l",styles:"font-family:var(--font-secondary);font-size:16px;line-height:1.38;color:#000;margin:0;text-transform:none;font-weight:normal"}),B=t(27361),L=t.n(B);function MyAccountUserInformation(e){var n=e.user;return(0,g.jsxs)(v.pQ,{children:[(0,g.jsx)(v.GT,{children:L()(n,"userName")}),(0,g.jsx)(v.jo,{"data-cy":"myAccountLogoutBtn",children:(0,f.t)(c||(c=(0,d.Z)(["Logout"])))})]})}var MyAccountPage_MyAccountLayout=function(e){var n=e.title,t=e.user,o=e.children,i=e.withTooltipTitle,r=e.tooltipContent,l=void 0===r?[]:r;return(0,g.jsxs)(v.W2,{children:[(0,g.jsx)(v.nw,{children:(0,g.jsx)(MyAccountLayoutNavigation,{user:t})}),(0,g.jsxs)(v.VY,{children:[(0,g.jsxs)(v.h4,{children:[(0,g.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,g.jsx)(v.Dx,{children:n}),l.length>0&&(0,g.jsx)(components_PageTitleTooltipModal,{title:void 0===i||i?n:"",textContent:l})]}),(0,g.jsx)(MyAccountUserInformation,{user:t})]}),(0,g.jsx)(v.uT,{children:o})]})]})}},80062:function(e,n,t){"use strict";t.d(n,{Z:function(){return MyInvoiceIndicator_MyInvoiceIndicator}}),t(67294);var o=t(65344),i=t(5482),r=t(85893);function MyInvoiceIndicator(){var e=(0,i.K)();return e?(0,r.jsx)(l,{children:e}):null}var l=(0,o.Z)("div",{target:"ebaxwcy0"})({name:"j0kq8z",styles:"background:var(--color-primary);border-radius:100%;color:#ffffff;display:flex;font-weight:600;justify-content:center;line-height:1.25rem;font-size:0.75rem;margin-left:0.5rem;text-align:center;height:1.25rem;width:1.25rem"});function MyInvoiceIndicator_MyInvoiceIndicator(){return(0,r.jsx)(MyInvoiceIndicator,{})}}
1,26176:function(e){e.exports={tooltipWrapper:"PageTitleTooltipModal_tooltipWrapper__cdJWm",tooltipButton:"PageTitleTooltipModal_tooltipButton__9vIPZ",modalPositioning:"PageTitleTooltipModal_modalPositioning__IKcPO",modal:"PageTitleTooltipModal_modal__U6IG9",scollableContent:"PageTitleTooltipModal_scollableContent__4R2GN",actions:"PageTitleTooltipModal_actions__yDhRo"}}}]);
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.