1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2506],{3481:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,pE:()=>c,r:()=>p,rI:()=>s});var n=r(39345),o=r(22405);function i(e){return!!e}function a(e){return(0,n.el)(e)}function c(e){return e.filter(i).map(function(e){return a(e)}).join(" | ")}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return c([e,o.k.defaults.titleSuffix])}function p(e){return c([e,o.k.defaults.descriptionSuffix])}},6110:(e,t,r)=>{"use strict";r.d(t,{A:()=>o.A,UY:()=>i.U,p8:()=>n.p8,pE:()=>o.pE,r:()=>o.r,rI:()=>o.rI,v2:()=>a.v,yN:()=>n.yN});var n=r(6675),o=r(3481),i=r(94709),a=r(79011)},6675:(e,t,r)=>{"use strict";r.d(t,{p8:()=>c,yN:()=>a});var n=r(31018),o=r(22405),i={gif:"image/gif",jpeg:o.k.openGraph.image.jpegType,jpg:o.k.openGraph.image.jpegType,png:"image/png",svg:"image/svg+xml",webp:"image/webp"};function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.imageUrl,r=e.category;return t&&"null"!==t?t:(0,n.VR)(r)?"".concat(o.k.defaults.metaImageBaseUrl,"/").concat(r,".jpg"):o.k.defaults.imageUrl}function c(e){var t,r,n=null!=(t=null==(r=e.split(".").at(-1))?void 0:r.split(/[?#]/)[0])?t:"";return n in i?i[n]:""}},10680:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(74361),o=r(85588);function i(){var e=(0,n.useState)(),t=e[0],r=e[1];return(0,o.A)((0,n.useCallback)(function(){return r(!0),function(){return r(!1)}},[])),t}},39318:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(98276);r(74361);var o=r(66044),i=r(10680),a=r(38896),c=r(62021);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}let p=function(e){var t=(0,i.A)();return a.m0?null:t?(0,c.jsx)(o.A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){(0,n.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({barStyle:"light-content",translucent:!0,backgroundColor:"transparent"},e)):null}},61291:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(98276);r(74361);var o=r(87599),i=r.n(o),a=r(62021);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){(0,n.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let p=function(e){var t=e.title,r=e.meta,n=e.links,o=e.jsonLd;return(0,a.jsxs)(i(),{children:[void 0!==t?(0,a.jsx)("title",{children:t},"title"):null,(void 0===r?[]:r).filter(function(e){return""!==e.content}).map(function(e){return(0,a.jsx)("meta",s({},e),"name"in e?"name:".concat(e.name):"property:".concat(e.property))}),(void 0===n?[]:n).map(function(e,t){return(0,a.jsx)("link",s({},e),"".concat(e.rel,":").concat(e.href,":").concat(t))}),(void 0===o?[]:o).map(function(e,t){var r;return(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e).replace(/</g,"\\u003c")}},"".concat(null!=(r=e["@id"])?r:e["@type"],":").concat(t))})]})}},67902:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>q});var n=r(98276),o=r(74361),i=r(12756),a=r(48751),c=r.n(a),s=r(7909),p=r(81603),u=r(49798),d=r(65712),l=r(15197),f=r(65514),g=r(42780),m=r(40864),y=r(76037),b=r(38713),h=r(39318),j=r(58321),O=r(15786),v=r(59847),A=r(51523),x=r(99031),w=r(97240),P=r(53707),k=r(60706),S=r(57125),E=r(99092),N=r(82400),_=r(49802),B=r(69005),C=r(26085),D=r(92503),T=r(94659),I=r(62021);function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var L=(0,f.S)().useParam,U=function(){return(0,I.jsx)(u.A,{style:W.itemSeparator})},F=(0,d.PA)(function(){var e,t=(0,l.Bd)("app-order",{keyPrefix:"shippingAddressListScreen"}).t,r=(0,x.A)().safeAreaBottom,a=(0,w.A)().push,p=(0,S.A)(),d=p.user,f=p.etc,_=(0,P.A)(),F=(0,N.A)();(0,g.A)(function(){return(0,m.u4)("shippingAddressListScreenViewed")});var G=(0,E.A)().openAgreeTermsBottomSheetIfNeeded;(0,o.useEffect)(function(){d.shouldShowTermSheet&&G({termsIncluded:F<=N.Y.NO_PHONENUM?E.r.unverifiedExistingUserFeatureAccess:E.r.verifiedExistingUserFeatureAccess,goBackWhenCanceled:!0})},[_,G,d.shouldShowTermSheet,F]);var H=(0,y.A)(),M=(0,B.A)(H.data),R=(0,o.useCallback)(function(e){var t=e.item;return(0,I.jsx)(v.A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?$(Object(r),!0).forEach(function(t){(0,n.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},t))},[]),Y="Purchase"===L("from")[0],J=(0,o.useCallback)((e=(0,i.A)(c().mark(function e(t){return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:f.setShippingAddressForPurchaseSelected(t),_();case 4:case"end":return e.stop()}},e)})),function(t){return e.apply(this,arguments)}),[f,_]);return(0,k.C)(H.refetch),(0,I.jsxs)(u.A,{style:W.container,children:[(0,I.jsx)(h.A,{}),(0,I.jsx)(j.A.WithNavigation,{title:t(Y?"header.title.change":"header.title.manage")}),(0,I.jsx)(s.A,{ListHeaderComponent:(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(O.A,{style:W.infoBox,text:t("infoBox.defaultAddressChange")}),(0,I.jsx)(O.A,{style:W.infoBoxWithMarginBottom,text:t("infoBox.remoteAreaSurcharge")})]}),data:M.concat().sort(function(e,t){return t.defaultAddr?1:null!=e&&e.defaultAddr?-1:1}).map(function(e){return{id:e._id,name:e.receiverName,address:[(0,T.cy)(e.postNum),e.addr1,e.addr2,e.addr3].filter(Boolean).join(" "),phoneNumber:e.receiverPhoneNum,phoneNumberPrefix:C.z.isJP?"TEL":void 0,isDefault:e.defaultAddr,nonePadding:!0,onPress:function(){Y?J(e):a({web:{pathname:A.yi.editShippingAddress,query:{addressId:e._id}},mobile:{screen:A.bw.editShippingAddress.name,detail:{params:{addressId:e._id}}}})},onPressEmpty:function(){a({web:{pathname:A.yi.editShippingAddress},mobile:{screen:A.bw.editShippingAddress.name}})}}}),contentContainerStyle:W.contentContainer,renderItem:R,keyExtractor:D.F,ItemSeparatorComponent:U}),(0,I.jsx)(u.A,{style:[W.bottomButtonContainer,{paddingBottom:r?r+16:16}],children:(0,I.jsx)(b.A,{content:t("button.add"),accessibilityLabel:t("button.add"),navParam:{type:"push",web:{pathname:A.yi.editShippingAddress},mobile:{screen:A.bw.editShippingAddress.name}}})})]})}),W=p.A.create({container:{flex:1,backgroundColor:_.Tj.$black},infoBox:{marginTop:_.xe.$2},infoBoxWithMarginBottom:{marginTop:_.xe.$2,marginBottom:_.xe.$6},contentContainer:{paddingTop:_.xe.$2,paddingLeft:_.xe.$4,paddingRight:_.xe.$4,paddingBottom:_.xe.$8},bottomButtonContainer:{width:"100%",paddingTop:_.xe.$4,paddingLeft:_.xe.$4,paddingRight:_.xe.$4},itemSeparator:{height:8}}),G=r(69484),H=r(61291),M=r(22405),R=r(6110);function Y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var J="".concat(M.k.site.origin,"/shipping-address-list"),V=(0,R.UY)("page.shippingAddress.title"),X=(0,R.r)(V);let q=function(){var e=(0,R.rI)(V),t=(0,R.yN)(),r=(0,R.p8)(t),o={title:e,meta:[{name:"robots",content:M.k.robots.noindexNofollow},{name:"description",content:X},{property:"og:title",content:e},{property:"og:description",content:X},{property:"og:url",content:J},{property:"og:type",content:M.k.openGraph.type.website},{property:"og:image",content:t},{property:"og:image:alt",content:X},{property:"og:image:secure_url",content:t},{property:"og:image:type",content:r},{property:"og:image:width",content:M.k.openGraph.image.defaultWidth},{property:"og:image:height",content:M.k.openGraph.image.defaultHeight},{property:"og:site_name",content:M.k.site.name},{name:"keywords",content:M.k.defaults.keywords},{property:"al:web:url",content:J}],links:[{rel:"canonical",href:J}],jsonLd:[{"@context":M.k.schema.context,"@type":"WebPage","@id":J,url:J,name:(0,R.v2)({title:V})}]};return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(H.A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(r),!0).forEach(function(t){(0,n.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},o)),(0,I.jsx)(G.A,{children:(0,I.jsx)(F,{})})]})}},79011:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(22405),o=r(3481),i=r(94709);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,r=e.categoryName,a=(0,o.A)(null!=t?t:"");return a||(r?(0,i.U)("dynamic.categoryTradeAppTitle",{category:r}):n.k.defaults.title)}},81531:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/shipping-address-list",function(){return r(67902)}])}},e=>{e.O(0,[9250,7044,4785,9484,636,6593,8792],()=>e(e.s=81531)),_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.