1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},d=(new e.Error).stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="d66d937b-9a47-449c-951f-d469b9e49d83",e._sentryDebugIdIdentifier="sentry-dbid-d66d937b-9a47-449c-951f-d469b9e49d83")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6838],{9857:(e,d,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/billing-addresses",function(){return n(91355)}])},33570:(e,d,n)=>{"use strict";n.d(d,{B:()=>i});let i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AccountAddresses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"customer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addresses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"prefix"}},{kind:"Field",name:{kind:"Name",value:"firstname"}},{kind:"Field",name:{kind:"Name",value:"middlename"}},{kind:"Field",name:{kind:"Name",value:"lastname"}},{kind:"Field",name:{kind:"Name",value:"suffix"}},{kind:"Field",name:{kind:"Name",value:"city"}},{kind:"Field",name:{kind:"Name",value:"company"}},{kind:"Field",name:{kind:"Name",value:"country_code"}},{kind:"Field",name:{kind:"Name",value:"postcode"}},{kind:"Field",name:{kind:"Name",value:"region"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"region"}},{kind:"Field",name:{kind:"Name",value:"region_code"}},{kind:"Field",name:{kind:"Name",value:"region_id"}}]}},{kind:"Field",name:{kind:"Name",value:"street"}},{kind:"Field",name:{kind:"Name",value:"telephone"}},{kind:"Field",name:{kind:"Name",value:"vat_id"}},{kind:"Field",name:{kind:"Name",value:"default_shipping"}},{kind:"Field",name:{kind:"Name",value:"default_billing"}},{kind:"Field",name:{kind:"Name",value:"customerAddressType"}}]}}]}}]}}]}},91355:(e,d,n)=>{"use strict";n.r(d),n.d(d,{__N_SSG:()=>_,default:()=>b});var i=n(2445),a=n(23249),l=n(93307),s=n(39354),t=n(11694),o=n(32766),r=n(88999),c=n(1989),u=n(47712),m=n(12766),k=n(53278),p=n(15603),f=n(12100),g=n(55721),v=n(33570);function h(){let e=(0,a.Y)(v.B,{fetchPolicy:"cache-and-network"}),{data:d}=e,n=d?.customer;return(0,i.FD)(i.FK,{children:[(0,i.Y)(o.U,{children:(0,i.Y)(r.t,{size:"small",component:"span",icon:c.A,children:(0,i.Y)(m.x6,{id:"Addresses"})})}),(0,i.FD)(k.A,{maxWidth:"md",children:[(0,i.Y)(t.t,{title:u.Ru._("Addresses"),metaRobots:["noindex"]}),(0,i.FD)(l.J,{waitFor:e,children:[(n?.addresses&&n.addresses.length>=1||!n?.addresses)&&(0,i.Y)(r.t,{icon:c.A,children:(0,i.Y)(m.x6,{id:"Addresses"})}),(0,i.FD)(p.A,{sx:{"& .AccountAddresses-button":{display:"none"}},children:[(0,i.Y)(s.a,{...d,addRoute:"/account/billing-addresses/add",editRoute:"/account/billing-addresses/edit",labelLeft:u.Ru._("Billing Addresses"),loading:!d,addresses:n?.addresses?.filter(e=>e?.customerAddressType==="INVOICE")}),(0,i.Y)(f.A,{href:"/account/billing-addresses/add",variant:"pill",color:"primary",size:"large",sx:e=>({display:"block",maxWidth:"max-content",margin:`${e.spacings.md} auto`}),children:(0,i.Y)(m.x6,{id:"Add new address"})})]})]})]})]})}let N={overlayGroup:"account",Layout:g.l,sharedKey:()=>"account/addresses"};h.pageOptions=N;var _=!0;let b=h},20768:(e,d,n)=>{"use strict";n.d(d,{k_:()=>l});var i=n(2445),a=n(86715);let l=function(e){let{Prev:d,...n}=e,{default_billing:l,default_shipping:s}=n,t=(0,a.useRouter)().pathname.includes("billing")?"billing":"shipping";return(0,i.Y)(d,{...n,sx:{"& .AccountAddress-actions":{"& form":{display:l||s?"none":"block"}},"& .AccountAddress-switches":{"& form":{"& div:nth-of-type(1)":{display:"shipping"===t?"flex":"none"},"& div:nth-of-type(2)":{display:"billing"===t?"flex":"none"}}}}})}}},e=>{var d=d=>e(e.s=d);e.O(0,[6843,3090,8383,235,317,1159,7593,787,5331,9772,8582,8133,636,6593,8792],()=>d(9857)),_N_E=e.O()}]);
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.