1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6663],{76239:function(n,e,a){"use strict";var t,r=a(11720);function c(){return c=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var t in a)({}).hasOwnProperty.call(a,t)&&(n[t]=a[t])}return n},c.apply(null,arguments)}e.Z=function(n){return r.createElement("svg",c({className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"#000"},n),t||(t=r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})))}},38086:function(n,e,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/customer/account-managers",function(){return a(73314)}])},84584:function(n,e,a){"use strict";a.d(e,{Z:function(){return l}});var t=a(97997),r=(a(11720),a(51759)),c=a(55437),o=a(64897),i=a(4158),d=a.n(i),u=function(n){var e=n.last,a=n.item;return(0,t.BX)("li",{className:d().item,children:[a.url?(0,t.tZ)(o.Z,{href:a.url,"aria-current":e?"page":void 0,children:a.name}):a.name,e?null:(0,t.tZ)("span",{className:d().spacer,children:"/"})]})},s=a(69914),l=function(n){var e=n.items,a=n.wide,o=n.hideHomeAndCurrent,i=(0,r.Z)("common").t,l=(0,s.hp)(),m=e||l;return m?(0,t.tZ)(c.Z,{className:a?d().wide:void 0,children:(0,t.tZ)("nav",{"aria-label":"Breadcrumb",className:d().root,children:(0,t.tZ)("ol",{className:d().list,children:o?m.slice(0,-1).map((function(n,e){return(0,t.tZ)(u,{item:n,last:m.length-2===e},e)})):(0,t.BX)(t.HY,{children:[(0,t.tZ)(u,{item:{name:i("new-balance"),url:"/"}}),m.map((function(n,e){return(0,t.tZ)(u,{item:n,last:m.length-1===e},e)}))]})})})}):null}},47418:function(n,e,a){"use strict";a.d(e,{Z:function(){return B}});var t=a(14924),r=a(51351),c=a(97997),o=a(11720),i=a(94184),d=a.n(i),u=a(51759),s=a(97802),l=a(76239),m=a(16195),v=a(37517),h=a(8154),f=a(64897),g=a(97431),p=a(10084),Z=a(38348),A=a(10722),y=a(72694),R=a.n(y),D=function(n){var e=n.beforeIcon,a=n.children,r=n.href,i=n.onClick,u=(0,s.tv)(),m=(0,o.useMemo)((function(){return"string"===typeof r&&u.pathname.includes(r)}),[u.pathname,r]);return(0,c.tZ)("li",{className:d()(R().menuItem,(0,t.Z)({},R().menuItemActive,m)),"data-qa-customer_menu_item":r,children:(0,c.BX)(f.Z,{href:r,onClick:i,children:[(0,c.BX)("span",{children:[e?(0,c.tZ)(g.Z,{src:e,layout:"fixed",width:"auto",alt:"",height:"auto",className:R().listIcon}):null,a]}),(0,c.tZ)(Z.Z,{content:l.Z,className:R().menuItemArrow})]})})},B=function(n){n=null!==n?n:(0,r.Z)(new TypeError("Cannot destructure undefined"));var e,a=(0,u.Z)("common").t,t=(0,m.ON)(),i=(0,h.nW)(void 0,{enabled:t.isLoggedIn}).data,d=(0,h.k1)(void 0,{enabled:t.isLoggedIn}).data,l=(0,s.tv)(),f=(0,o.useCallback)((function(){t.actions.customerLogout(),l.push("/")}),[]),g=(0,o.useMemo)((function(){var n;return(null!==(n=null===i||void 0===i?void 0:i.features)&&void 0!==n?n:[]).includes(v.Te.LoyaltyCard)}),[null===i||void 0===i?void 0:i.features]),Z=(0,o.useMemo)((function(){var n;return(null!==(n=null===i||void 0===i?void 0:i.features)&&void 0!==n?n:[]).includes(v.Te.Rga)}),[null===i||void 0===i?void 0:i.features]),y=(0,A.mz)(Z);return(0,c.BX)("div",{className:R().root,children:[(0,c.BX)("ul",{className:R().menu,children:[(0,c.tZ)("li",{className:R().welcome,"data-qa-customer_menu_welcome":!0,children:(0,c.BX)("span",{children:[a("welcome")," ",null===d||void 0===d||null===(e=d.customer)||void 0===e?void 0:e.user.firstName,"!"]})}),(0,c.tZ)(D,{href:"/customer/change-data",children:a("my-data")}),(0,c.tZ)(D,{href:"/customer/change-password",children:a("change-password")}),(0,c.tZ)(D,{href:"/customer/addresses",children:a("my-addresses")}),(0,c.tZ)(D,{href:"/customer/orders",children:a("my-orders")}),Z&&y.length>0?(0,c.tZ)(D,{href:"/customer/rga-advanced",children:a((0,A.EA)(y))}):null,g?(0,c.tZ)(D,{href:"/customer/club",children:a("spartavity")}):null,(0,c.tZ)(D,{href:"/repository",children:a("wishlist")}),(0,c.tZ)(D,{href:"/customer/reviews",children:a("reviews")}),(0,c.tZ)(D,{href:"/customer/agreements",children:a("terms-and-conditions")}),(0,c.tZ)(D,{href:"/customer/delete-account",children:a("delete-account")})]}),(0,c.tZ)("div",{className:R().actions,children:(0,c.tZ)(p.Z,{variant:"tertiary",size:"large",width:"full",onClick:f,"data-customer_log_out_button":!0,children:a("logout")})})]})}},42421:function(n,e,a){"use strict";var t=a(97997),r=(a(11720),a(79535)),c=a(55437),o=a(5925),i={container:""};e.Z=function(n){var e=n.children,a=n.withoutContainer,d=n.withoutBreadcrumbs,u=n.wideBreadcrumbs,s=n.classNames,l=(0,o.Yd)(i,s);return(0,t.BX)(t.HY,{children:[d?null:(0,t.tZ)(r.Z,{wide:u}),a?e:(0,t.tZ)(c.Z,{classNames:{container:l.container},children:e})]})}},4455:function(n,e,a){"use strict";a.d(e,{Z:function(){return t.Z}});var t=a(42421)},73314:function(n,e,a){"use strict";a.r(e),a.d(e,{__N_SSP:function(){return g},default:function(){return p}});var t=a(3723),r=a(97997),c=a(51759),o=a(8154),i=a(83664),d=a(97431),u=a(70027),s=(a(11720),a(67579)),l=function(){var n=(0,c.Z)("common").t;return(0,r.tZ)(s.Z,{breadcrumbs:[{name:n("account-managers"),url:"/customer/account-managers"}]})},m=a(7469),v=a.n(m),h=function(){var n=(0,o.A$)(),e=n.data,a=n.isFetched,t=(0,c.Z)("common").t;return(0,r.tZ)(i.Z,{children:(null===e||void 0===e?void 0:e.accountManagers.length)?(0,r.tZ)("ul",{className:v().list,children:e.accountManagers.map((function(n){return(0,r.BX)("li",{className:v().item,children:[n.group?(0,r.tZ)("p",{className:v().group,children:n.group}):null,(0,r.BX)("p",{className:v().imageWithName,children:[n.pictureUrl?(0,r.tZ)(d.Z,{src:n.pictureUrl,height:100,width:75,layout:"fixed",className:v().image,alt:"".concat(n.firstName," ").concat(n.lastName)}):null,(0,r.BX)("p",{className:v().name,children:[n.firstName," ",n.lastName]})]}),n.email?(0,r.BX)("p",{children:[(0,r.tZ)("strong",{children:t("email")}),":"," ",(0,r.tZ)("a",{href:"mailto:".concat(n.email),children:n.email})]}):null,n.phone?(0,r.BX)("p",{children:[(0,r.tZ)("strong",{children:t("telep
1hone")}),":"," ",(0,r.tZ)("a",{href:"tel:".concat(n.phone),children:n.phone})]}):null]},n.email)}))}):(0,r.tZ)("p",{children:a?t("no-account-managers"):(0,r.tZ)(u.Z,{})})})};h.Metadata=l,h.pagePath="/customer/account-managers";var f=h,g=!0,p=(0,t.v)(f)},79535:function(n,e,a){"use strict";a.d(e,{Z:function(){return t.Z}});var t=a(84584)},67579:function(n,e,a){"use strict";var t=a(26042),r=a(69396),c=a(99534),o=a(29815),i=a(97997),d=a(11720),u=a(15199),s=a(51759),l=a(31323);e.Z=function(n){var e=n.title,a=n.breadcrumbs,m=(0,c.Z)(n,["title","breadcrumbs"]),v=(0,s.Z)("common").t;(0,l.Z)();var h=(0,d.useMemo)((function(){var n=[{name:"".concat(v("my-account")),url:"/customer"}].concat((0,o.Z)(null!==a&&void 0!==a?a:[]));return[(0,o.Z)(n).reverse().map((function(n){return n.name})).join(" - "),n]}),[e,a]),f=h[0],g=h[1];return(0,i.tZ)(u.Z,(0,r.Z)((0,t.Z)({},m),{title:null!==e&&void 0!==e?e:f,breadcrumbs:g}))}},75943:function(n,e,a){"use strict";var t=a(97997),r=(a(11720),a(16195)),c=a(87947),o=a(4455),i=a(45603),d=a(38348),u=a(64897),s=a(47418),l=a(1314),m=a.n(l),v=a(69914),h=function(n){var e=n.header,a=n.back;return(0,t.BX)("div",{className:m().header,children:[a?(0,t.tZ)(u.Z,{href:a,children:(0,t.tZ)(d.Z,{content:d.c.arrow,className:m().backArrow,"aria-label":"Go back"})}):null,(0,t.tZ)("div",{className:m().headerText,children:e})]})},f={root:m().wrapper};e.Z=function(n){var e=n.children,a=n.action,d=n.withoutHeader,u=(0,c.dD)(),l=(0,v.hp)();return(0,r.ON)(!0),(0,t.tZ)(o.Z,{withoutBreadcrumbs:!!(u||l&&1===l.length),children:(0,t.BX)("div",{className:m().root,children:[u?(0,t.tZ)(h,{header:l&&l[l.length-1].name,back:l&&l.length>1?l[l.length-2].url:void 0}):null,u&&e?null:(0,t.tZ)(s.Z,{}),e?(0,t.BX)(i.Z,{header:u||d?void 0:l&&l[l.length-1].name,classNames:f,action:u?void 0:a,children:[u&&a?(0,t.tZ)("div",{className:m().actions,children:a}):null,(0,t.tZ)("div",{className:m().content,children:e})]}):null]})})}},83664:function(n,e,a){"use strict";a.d(e,{Z:function(){return t.Z}});var t=a(75943)},10722:function(n,e,a){"use strict";a.d(e,{EA:function(){return i},mz:function(){return d}});var t=a(15414),r=a(58999),c=[r.Y.Return,r.Y.Complaint];function o(n){var e=new Set((null!==n&&void 0!==n?n:[]).map((function(n){return n.type})));return c.filter((function(n){return e.has(n)}))}function i(n){var e=n.includes(r.Y.Return),a=n.includes(r.Y.Complaint);return e&&a?"my-returns-and-complaints":a?"my-complaints":"my-returns"}function d(){var n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=(0,t.t8)(void 0,{enabled:n}).data;return o(null===e||void 0===e?void 0:e.rgaAdvancedBehaviours)}},58999:function(n,e,a){"use strict";a.d(e,{Y:function(){return c},Z:function(){return t}});var t,r=a(69940);!function(n){n.Verification="verification",n.Orders="orders",n.Products="products",n.Transport="transport",n.Summary="summary",n.Success="success"}(t||(t={}));var c=r.TK},45603:function(n,e,a){"use strict";var t=a(97997),r=(a(11720),a(5925)),c=a(58428),o=a.n(c),i={root:o().root,headerWrapper:o().headerWrapper,header:o().header,styled:o().styled};e.Z=function(n){var e=n.header,a=n.classNames,c=n.children,o=n.contentStyling,d=n.action,u=(0,r.Yd)(i,a);return(0,t.BX)("div",{className:u.root,children:[(0,t.BX)("div",{className:u.headerWrapper,children:[e&&(0,t.tZ)("h1",{"data-qa-info_header":!0,className:u.header,children:e})," ",null!==d&&void 0!==d?d:null]}),o?(0,t.tZ)("div",{className:u.styled,children:c}):c]})}},3723:function(n,e,a){"use strict";a.d(e,{v:function(){return d}});var t,r=a(11720),c=a(8679),o=a.n(c),i=a(62522),d=function(n,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null!==(t=n.displayName)&&void 0!==t?t:n.name,c=function(e){return(0,i.ON)(!0),n(e)};c.displayName="withLoggedCustomer(".concat(a,")");var d=!1===e?c:(0,r.memo)(c,e);return o()(d,n)}},15414:function(n,e,a){"use strict";a.d(e,{H:function(){return k},LM:function(){return $},Qf:function(){return D},VN:function(){return I},_k:function(){return _},nh:function(){return b},t8:function(){return y}});var t=a(71482),r=a(79610),c=a(3471),o=a(72421),i="\n fragment RgaAdvancedRefundBreakdownData on RgaAdvancedRefundBreakdown {\n quantity\n unitPrice {\n ...PriceData\n }\n}\n ",d="\n fragment RgaAdvancedOrderItemProductData on RgaAdvancedOrderItemProduct {\n id\n variantId\n name\n variantName\n picture\n}\n ",u="\n fragment RgaAdvancedOrderItemData on RgaAdvancedOrderItem {\n orderItemId\n quantity\n isReturnable\n price {\n ...PriceData\n }\n totalPrice {\n ...PriceData\n }\n refundBreakdown {\n ...RgaAdvancedRefundBreakdownData\n }\n product {\n ...RgaAdvancedOrderItemProductData\n }\n}\n ",s="\n fragment RgaAdvancedContactData on RgaAdvancedContact {\n email\n telephone\n}\n ",l="\n fragment RgaAdvancedCustomerDataData on RgaAdvancedCustomerData {\n address {\n ...AddressData\n }\n contact {\n ...RgaAdvancedContactData\n }\n}\n ",m="\n fragment RgaAdvancedTransportData on RgaAdvancedTransport {\n id\n name\n label\n logo\n isCu
1stomerPickup\n price {\n ...PriceData\n }\n}\n ",v="\n fragment RgaAdvancedOrderData on RgaAdvancedOrder {\n orderId\n individualOrderId\n createdAt\n paidAtDeliveryTime\n requiresBankAccountNumber\n items {\n ...RgaAdvancedOrderItemData\n }\n delivery {\n ...RgaAdvancedCustomerDataData\n }\n transports {\n ...RgaAdvancedTransportData\n }\n}\n ",h="\n fragment RgaAdvancedStateData on RgaAdvancedState {\n name\n isFinishable\n isRejectable\n}\n ",f="\n fragment RgaAdvancedDictionaryData on RgaAdvancedDictionary {\n id\n name\n}\n ",g="\n fragment RgaAdvancedBehaviourData on RgaAdvancedBehaviour {\n id\n type\n name\n maxItemsCount\n shouldSeparateItems\n attachmentRequired\n dictionaries {\n expectation {\n ...RgaAdvancedDictionaryData\n }\n reason {\n ...RgaAdvancedDictionaryData\n }\n contactPreference {\n ...RgaAdvancedDictionaryData\n }\n }\n}\n ",p="\n fragment RgaAdvancedItemData on RgaAdvancedItem {\n id\n orderItemId\n productVariantId\n productName\n quantity\n individualNumber\n picture\n applicantReason\n descriptionsOfIncident\n price {\n ...PriceData\n }\n}\n ",Z="\n fragment RgaAdvancedData on RgaAdvanced {\n id\n hash\n orderUuid\n individualNumber\n expectation\n createdAt\n returnCode\n state {\n ...RgaAdvancedStateData\n }\n transport {\n ...RgaAdvancedTransportData\n }\n behaviour {\n ...RgaAdvancedBehaviourData\n }\n items {\n ...RgaAdvancedItemData\n }\n applicant {\n ...RgaAdvancedCustomerDataData\n }\n pickup {\n ...RgaAdvancedCustomerDataData\n }\n totalPrice {\n ...PriceData\n }\n}\n ",A="\n query rgaAdvancedBehaviours {\n rgaAdvancedBehaviours {\n ...RgaAdvancedBehaviourData\n }\n}\n ".concat(g,"\n").concat(f),y=function(n,e){return(0,c.useQuery)(void 0===n?["rgaAdvancedBehaviours"]:["rgaAdvancedBehaviours",n],(0,o.r)(A,n),e)};y.getKey=function(n){return void 0===n?["rgaAdvancedBehaviours"]:["rgaAdvancedBehaviours",n]},y.fetcher=function(n,e){return(0,o.r)(A,n,e)};var R="\n query orderByBehaviour($behaviourId: ID!, $orderId: ID!, $authorizationCode: String) {\n orderByBehaviour(\n behaviourId: $behaviourId\n orderId: $orderId\n authorizationCode: $authorizationCode\n ) {\n ...RgaAdvancedOrderData\n }\n}\n ".concat(v,"\n").concat(u,"\n").concat(r.kU,"\n").concat(i,"\n").concat(d,"\n").concat(l,"\n").concat(t.$k,"\n").concat(s,"\n").concat(m),D=function(n,e){return(0,c.useQuery)(["orderByBehaviour",n],(0,o.r)(R,n),e)};D.getKey=function(n){return["orderByBehaviour",n]},D.fetcher=function(n,e){return(0,o.r)(R,n,e)};var B="\n query ordersByBehaviour($behaviourId: ID!) {\n ordersByBehaviour(behaviourId: $behaviourId) {\n ...RgaAdvancedOrderData\n }\n}\n ".concat(v,"\n").concat(u,"\n").concat(r.kU,"\n").concat(i,"\n").concat(d,"\n").concat(l,"\n").concat(t.$k,"\n").concat(s,"\n").concat(m),I=function(n,e){return(0,c.useQuery)(["ordersByBehaviour",n],(0,o.r)(B,n),e)};I.getKey=function(n){return["ordersByBehaviour",n]},I.fetcher=function(n,e){return(0,o.r)(B,n,e)};var N="\n query rgaAdvanced($rgaId: ID!, $orderUuid: ID, $authorizationCode: String) {\n rgaAdvanced(\n rgaId: $rgaId\n orderUuid: $orderUuid\n authorizationCode: $authorizationCode\n ) {\n ...RgaAdvancedData\n }\n}\n ".concat(Z,"\n").concat(h,"\n").concat(m,"\n").concat(r.kU,"\n").concat(g,"\n").concat(f,"\n").concat(p,"\n").concat(l,"\n").concat(t.$k,"\n").concat(s),b=function(n,e){return(0,c.useQuery)(["rgaAdvanced",n],(0,o.r)(N,n),e)};b.getKey=function(n){return["rgaAdvanced",n]},b.fetcher=function(n,e){return(0,o.r)(N,n,e)};var w="\n query rgasAdvanced($type: RgaAdvancedBehaviourType!, $limit: Int, $page: Int) {\n rgasAdvanced(type: $type, limit: $limit, page: $page) {\n ...RgasAdvancedData\n }\n}\n ".concat("\n fragment RgasAdvancedData on RgasAdvanced {\n items {\n ...RgaAdvancedData\n }\n pagination {\n ...PaginationData\n }\n}\n ","\n").concat(Z,"\n").concat(h,"\n").concat(m,"\n").concat(r.kU,"\n").concat(g,"\n").concat(f,"\n").concat(p,"\n").concat(l,"\n").concat(t.$k,"\n").concat(s,"\n").concat(r.rf),k=function(n,e){return(0,c.useQuery)(["rgasAdvanced",n],(0,o.r)(w,n),e)};k.getKey=function(n){return["rgasAdvanced",n]},k.fetcher=function(n,e){return(0,o.r)(w,n,e)};var C="\n mutation verifyRgaAdvanced($customerEmail: String!, $individualOrderId: ID!, $behaviourType: String!) {\n verifyRgaAdvanced(\n customerEmail: $customerEmail\n individualOrderId: $
1individualOrderId\n behaviourType: $behaviourType\n ) {\n ...RgaAdvancedVerifyResponseData\n }\n}\n ".concat("\n fragment RgaAdvancedVerifyResponseData on RgaAdvancedVerifyResponse {\n orderUuid\n authorizationCode\n}\n "),$=function(n){return(0,c.useMutation)(["verifyRgaAdvanced"],(function(n){return(0,o.r)(C,n)()}),n)};$.fetcher=function(n,e){return(0,o.r)(C,n,e)};var O="\n mutation createRgaAdvanced($body: RgaAdvancedInput!, $orderUuid: ID, $authorizationCode: String) {\n createRgaAdvanced(\n body: $body\n orderUuid: $orderUuid\n authorizationCode: $authorizationCode\n ) {\n ...RgaAdvancedData\n }\n}\n ".concat(Z,"\n").concat(h,"\n").concat(m,"\n").concat(r.kU,"\n").concat(g,"\n").concat(f,"\n").concat(p,"\n").concat(l,"\n").concat(t.$k,"\n").concat(s),_=function(n){return(0,c.useMutation)(["createRgaAdvanced"],(function(n){return(0,o.r)(O,n)()}),n)};_.fetcher=function(n,e){return(0,o.r)(O,n,e)}},7469:function(n){n.exports={list:"G5njm4qSrR",item:"O-RSkeeo16",name:"n6Xqda6oa2",imageWithName:"sbRDazMf0S",group:"nrZOBS5M9V"}},4158:function(n){n.exports={root:"Ra1rCJpETr",wide:"tgdgj0ucOh",list:"_6XviIua45a",item:"azPTPOgXBL",spacer:"So-arPZct1"}},72694:function(n){n.exports={root:"o07XhPg0dK",actions:"_6nNpUC8Gy-",menu:"_5LNNI2dR3B",menuItem:"t2FSYIO3aX",menuItemActive:"l5BOaT2wr5",welcome:"Sm9JZAU0d6",menuItemArrow:"_89Vd58v607"}},1314:function(n){n.exports={root:"Mzs2rnRnad",wrapper:"_1raEyfIlrl",actions:"_0I3Ok5VDN4",content:"kxKlVs-j4y",headerText:"wrb9UyZ-Ck",backArrow:"gDDZajFD8b",header:"RFIT33kBoQ"}},58428:function(n){n.exports={root:"FHhfCbDDj1",header:"_1OzfYrhi7C",styled:"BkdtKLsYza",prose:"OomjeyZi9B","md:prose":"ka53bRpuGD",headerWrapper:"I3-mjpAmUK"}}},function(n){n.O(0,[9294,9774,2888,179],(function(){return e=38086,n(n.s=e);var e}));var e=n.O();_N_E=e}]);
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.