1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="78bf1459-b435-4e76-8157-66acb003ad85",e._sentryDebugIdIdentifier="sentry-dbid-78bf1459-b435-4e76-8157-66acb003ad85")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8406],{2410:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/myaccount/npai/new-delivery",function(){return r(33329)}])},4913:(e,t,r)=>{"use strict";r.d(t,{A:()=>y,r:()=>x});var i=r(80263),n=r(78910),a=r.n(n),l=r(35458),s=r(53239),o=r(4461),d=r(94217),c=r(90489),u=r(61429),p=r(44680),f=r(12131),h=r(7624);let x=function(){let{RedirectComponent:e,isPublic:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r=>{let n=n=>{let{hasAuthError:a,member:o=null,pageProps:p}=n,{setMember:f}=(0,s.useContext)(c.cy),{asPath:h}=(0,l.useRouter)();return((0,s.useEffect)(()=>{(async()=>o||t?((0,u.C2)(o),f(o)):(0,u.mL)(h))()},[o]),(t||o)&&!a)?(0,i.jsx)(r,{...p}):null!=e?e:(0,i.jsx)(d.A,{})};return n.getInitialProps=async e=>{let i=null;if(e.req&&e.res){let r=(0,f.Ri)(f.wf.ASPXAUTH,{cookieHeader:e.req&&e.req.headers.cookie}),n=!!(0,f.Ri)(f.wf.DATA_CONTEXT,{cookieHeader:e.req&&e.req.headers.cookie})||!!(0,f.Ri)(f.wf.DATA_CONTEXT_FB,{cookieHeader:e.req&&e.req.headers.cookie});if(!t&&!r)return(0,u.mL)(e.asPath,e),{};if(t&&n&&!r){if(await (0,u.Tc)(e,void 0,!0))return{}}else if(r){let[n,a]=await (0,u.Tb)(r);if(i=n,!t&&(!i||a!==h.d3.SUCCESS))return(0,u.mL)(e.asPath,e),{}}}else{let r=(0,u.yI)();if(r&&(i=(0,u.H2)(r)),!t&&!i)return(0,u.mL)(e.asPath),{pageProps:{}}}try{let t=r.getInitialProps?await r.getInitialProps({...e,member:i}):{};return{member:i,pageProps:t}}catch(r){if(r instanceof o.lR){if((0,p.fL)()&&!t)return(0,u.mL)(e.asPath,e),{};return(0,u.mL)(e.asPath,e),{hasAuthError:!0,pageProps:{}}}throw r}},a()(n,r,{getInitialProps:!0}),n}},y=x},11230:(e,t)=>{var r;!function(){"use strict";var i={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)i.call(e,r)&&e[r]&&(t=a(t,r));return t}(r)))}return e}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):void 0===(r=(function(){return n}).apply(t,[]))||(e.exports=r)}()},16748:function(e,t,r){"use strict";var i=this&&this.__rest||function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)0>t.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.IconBack=void 0;let n=r(80263);t.IconBack=e=>{var{title:t,titleId:r,height:a="30px",width:l="30px"}=e,s=i(e,["title","titleId","height","width"]);return(0,n.jsxs)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:a,viewBox:"0 0 24 24","aria-labelledby":r},s,{children:[t?(0,n.jsx)("title",{id:r,children:t}):null,(0,n.jsx)("path",{fill:"#464650",fillRule:"evenodd",d:"M19.494 11.5H5.644l6.215-6.66a.499.499 0 1 0-.73-.682l-7 7.5c-.009.01-.008.023-.016.032a.5.5 0 0 0-.096.192q-.007.028-.012.057a.5.5 0 0 0 .028.247q.001.005.002.012c.005.012.018.017.023.03.021.038.04.078.071.112l7 7.5a.5.5 0 0 0 .706.024.5.5 0 0 0 .024-.706L5.644 12.5h13.85a.5.5 0 0 0 0-1"})]}))},t.default=t.IconBack},20690:(e,t,r)=>{"use strict";r.d(t,{G:()=>p});var i=r(24239),n=r(33302),a=r(14816),l=r(14426),s=r(13833),o=r(11868),d=r(12718);let c={name:d.UU,prefetch:async(e,t)=>{let{orderId:r}=e;return await (0,s.Ay)(l.A.get("api.postsales.getNpaiStatus"),{headers:{Cookie:t},toInterpolate:{orderId:r}}).catch(e=>{throw(0,o.v)(e,"Cannot fetch npai details"),e})},reducer:d.Ff},u=async(e,t)=>{await (0,i.yj)(c,e,t).catch(()=>{(0,n.V2)(a.i$)})},p=e=>{(0,i.XP)(u,e)}},29027:(e,t,r)=>{"use strict";var i=r(34544);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,t,r,n,a,l){if(l!==i){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
1:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:n};return r.PropTypes=r,r}},32582:(e,t,r)=>{"use strict";r.d(t,{r:()=>l});var i=r(80263),n=r(70264),a=r(88396);let l=()=>(0,i.jsx)(n.az,{display:"flex",justify:"center",align:"center",position:"fixed",width:"full",className:"inset-0 bg-neutral-white",children:(0,i.jsx)(a.Loader,{"aria-hidden":!0})})},33329:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>q});var i=r(80263),n=r(70408),a=r.n(n),l=r(35458),s=r(53239),o=r(45191),d=r(73545),c=r(45631),u=r(87356),p=r(33302),f=r(76005),h=r(47172),x=r(32582),y=r(70264),g=r(24244),m=r.n(g),v=r(43087),E=r.n(v),j=r(44797);let _=e=>{let{orderId:t}=e,{t:r}=(0,d.s9)();return(0,i.jsxs)("div",{children:[(0,i.jsx)(y.az,{marginBottom:"xl",children:(0,i.jsxs)(m(),{scale:g.Scale.TITLE,children:[" ",r("npai.delivery.retry.title")]})}),(0,i.jsx)(y.az,{marginBottom:"xl",children:(0,i.jsxs)(m(),{scale:g.Scale.REGULARTEXT,children:[" ",r("npai.delivery.retry.text1").replace("${orderId}",t)]})}),(0,i.jsx)(y.az,{marginBottom:"xl",children:(0,i.jsxs)(m(),{scale:g.Scale.REGULARTEXT,children:[" ",r("npai.delivery.retry.text2")]})}),(0,i.jsx)(y.az,{display:"flex",marginTop:"3xl",gap:"xl",children:(0,i.jsx)(y.$n,{variant:"primary",asChild:!0,"aria-label":r("npai.delivery.retry.cta"),children:(0,i.jsx)(E(),{href:j.OY.HOME,children:r("npai.delivery.retry.cta")})})})]})};var T=r(99916),b=r(31060),w=r(59432),R=r(67785),S=r(90489),A=r(79108),P=r(39363),I=r(1252),D=r(49502),O=r(12718),N=r(2450);let k=N.default.div.withConfig({displayName:"styles__Body",componentId:"groot__sc-52706975-0"})(["display:flex;justify-content:center;"]),L=N.default.div.withConfig({displayName:"styles__Content",componentId:"groot__sc-52706975-1"})(["max-width:972px;"]),U=N.default.div.withConfig({displayName:"styles__AddressFormWrapper",componentId:"groot__sc-52706975-2"})(["max-width:486px;"]),C=e=>{let{orderId:t}=e,{t:r,i18n:n}=(0,d.s9)(),a=(0,S.Ay)(),l=(0,c.j)(),s=(0,u.G)(D.aP);if(!a)return null;let{locale:o}=a;return(0,i.jsx)(i.Fragment,{children:s?(0,i.jsx)(P.F,{status:I.ZR.NEW_ADDRESS_REQUESTED}):(0,i.jsx)(k,{children:(0,i.jsxs)(L,{children:[(0,i.jsx)(y.az,{marginBottom:"xl",children:(0,i.jsxs)(m(),{scale:g.Scale.TITLE,children:[" ",r("npai.delivery.title")]})}),(0,i.jsx)(y.az,{marginBottom:"xl",children:(0,i.jsxs)(m(),{scale:g.Scale.REGULARTEXT,children:[" ",r("npai.delivery.text1")]})}),(0,i.jsx)(w.LanguageProvider,{locale:o,isPrivalia:null==n?void 0:n.isPrivalia,children:(0,i.jsx)(R.Auth,{member:a,children:(0,i.jsx)(T.AddressProvider,{children:(0,i.jsx)(U,{children:(0,i.jsx)(b.AddressForm,{addressType:I.vs,orderId:t,fullWidth:!0,onError:e=>{l((0,O.jx)(e))},onSuccess:()=>{l((0,O.I8)(!0))}})})})})}),(0,i.jsx)(A.N,{}),(0,i.jsx)(y.az,{marginBottom:"xl",children:(0,i.jsx)(m(),{scale:g.Scale.BODY_SMALL_TEXT_REGULAR,children:((e,t,r)=>{let n=e.split("{link}");return(0,i.jsxs)(i.Fragment,{children:[n[0]," ",(0,i.jsx)(y.Yq,{size:"lg",children:(0,i.jsx)(E(),{href:{pathname:j.q6,query:{orderId:r}},children:"".concat(t," ")})}),n[1]]})})(r("npai.delivery.link.sentence"),r("npai.delivery.link.word"),t)})})]})})})};var B=r(20690),z=r(38960),F=r(48114);let X=e=>{let{orderId:t}=e;(0,B.G)({orderId:t});let r=(0,l.useRouter)(),n=(0,s.useRef)(null),{t:o}=(0,d.s9)(),p=(0,c.j)(),y=(0,u.G)(D.A_),g=(0,u.G)(D.Av),m=(0,u.G)(D.Tx);return((0,s.useEffect)(()=>{if(void 0!==m&&!I.Au.includes(m))return void(0,F.kv)(r);m===I.ZR.REFUNDED_REQUESTED&&(0,F.A8)(r,t)},[m]),y)?(0,i.jsx)(x.r,{}):m===I.ZR.NEW_ADDRESS_REQUESTED||m===I.ZR.NOT_SET?(0,i.jsxs)(h.P,{withoutSideMenu:!0,children:[(0,i.jsx)(z.A,{ref:n}),(0,i.jsx)(a(),{variant:"error",open:!!g,duration:"med",onClose:()=>p((0,O.$j)()),container:n.current,children:o("errors.general_retry.notification")}),(0,i.jsx)(f.m,{children:m===I.ZR.NEW_ADDRESS_REQUESTED?(0,i.jsx)(_,{orderId:t}):(0,i.jsx)(C,{orderId:t})})]}):void 0};X.getInitialProps=async e=>{let{query:t}=e;return{orderId:(0,p.qn)(t,I.$u)}},X.isFullWidth=!0;let q=(0,o.r)()(X)},34544:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},38960:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var i=r(55678);let n=r(2450).default.div.withConfig({displayName:"sharedStyles__NotifContainer",componentId:"groot__sc-bbebf495-0"})(["position:fixed;top:","px;left:0;width:100%;"],i.DEFAULT_HEADER_HEIGHT)},39363:(e,t,r)=>{"use strict";r.d(t,{F:()=>f});var i=r(80263),n=r(70264),a=r(24244),l=r.n(a),s=r(43087),o=r.n(s),d=r(44797),c=r(16536),u=r(73545),p=r(1252);let f=e=>{let{status:t}=e,{t:r}=(0,u.s9)(),{device:s}=(0,c.O6)(),f=!!(null==s?void 0:s.isWebview),h=t===p.ZR.REFUNDED_REQUESTED?"npai.refund.title":"npai.delivery.confirmation.title",x=t===p.ZR.REFUNDED_REQUESTED?{p1:"npai.refund.confirmation.text1",p2:"npai.refund.confirmation.text3"}:{p1:"npai.delivery.confirmation.text1",p2:"npai.delivery.confirmation.text2"},y=t===p.ZR.REFUNDED_REQUESTED?"npai.refund.confirmation.cta":"npai.delivery.confirmation.cta";return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.az,{marginBottom:"xl",children:(0,i.jsxs)(l(),{scale:a.Scale.TITLE,children:[" ",r(h)]})}),(0,i.jsxs)(n.az,{marginBottom:"xl",children:[(0,i.jsx)(l(),{scale:a.Scale.REGULARTEXT,tag:a.Tag.SPAN,children:r(x.p1)}),t===p.ZR.REFUNDED_REQUESTED&&(0,i.jsx)(l(),{scale:a.Scale.BODY_SMALL_BOLD_TEXT,tag:a.Tag.SPAN,children:r("npai.refund.confirmation.text2")})]}),(0,i.jsx)(n.az,{marginBottom:"xl",children:(0,i.jsx)(l(),{scale:a.Scale.REGULARTEXT,children:r(x.p2)})}),!f&&(0,i.jsx)(n.az,{display:"flex",marginTop:"3xl",gap:"xl",children:(0,i.jsx)(n.$n,{variant:"primary",asChild:!0,"aria-label":r(y),children:(0,i.jsx)(o(),{href:d.OY.HOME,children:r(y)})})})]})}},45191:(e,t,r)=>{"use strict";r.d(t,{r:()=>i.r,P:()=>d});
1var i=r(4913),n=r(80263),a=r(78910),l=r.n(a),s=r(61429),o=r(12131);let d=e=>t=>{let r=e=>{let{pageProps:r}=e;return(0,n.jsx)(t,{...r})};return r.getInitialProps=async r=>{var i,n;return((0,o.Ri)(o.wf.DATA_CONTEXT,{cookieHeader:null==(i=r.req)?void 0:i.headers.cookie})||(0,o.Ri)(o.wf.DATA_CONTEXT_FB,{cookieHeader:null==(n=r.req)?void 0:n.headers.cookie}))&&await (0,s.Tc)(r,e,!0)?{}:{pageProps:t.getInitialProps?await t.getInitialProps(r):{}}},l()(r,t,{getInitialProps:!0}),r}},45631:(e,t,r)=>{"use strict";r.d(t,{j:()=>n});var i=r(207);let n=()=>(0,i.wA)()},47172:(e,t,r)=>{"use strict";r.d(t,{P:()=>a});var i=r(80263),n=r(70264);let a=e=>{let{withoutSideMenu:t,children:r}=e;return t?(0,i.jsx)(n.az,{"data-testid":"layout-box-without-side-menu",paddingTop:{base:"sm",md:"5xl"},paddingX:{base:"xl",sm:"8xl"},paddingBottom:"xl",children:r}):(0,i.jsx)(n.az,{"data-testid":"layout-box-with-side-menu",paddingTop:{base:"xl",md:"3xl"},paddingX:{base:"xl",md:"none"},paddingBottom:{base:"xl",md:"5xl"},children:r})}},49502:(e,t,r)=>{"use strict";r.d(t,{A_:()=>l,Av:()=>s,Tx:()=>o,aP:()=>d});var i=r(42526),n=r(12718);let a=e=>e[n.UU],l=(0,i.Mz)(a,e=>null==e?void 0:e.loading),s=(0,i.Mz)(a,e=>null==e?void 0:e.error),o=(0,i.Mz)(a,e=>{var t;return null==e||null==(t=e.result)?void 0:t.status}),d=(0,i.Mz)(a,e=>null==e?void 0:e.messageHasBeenSent)},76005:(e,t,r)=>{"use strict";r.d(t,{m:()=>a});var i=r(80263),n=r(70264);let a=e=>{let{children:t}=e;return(0,i.jsx)(n.az,{as:"main",width:"full",className:"max-md:max-w-full",marginX:"auto",height:"full",children:t})}},77117:(e,t,r)=>{e.exports=r(29027)()},79108:(e,t,r)=>{"use strict";r.d(t,{N:()=>a});var i=r(80263),n=r(70264);let a=()=>(0,i.jsx)(n.az,{marginY:"3xl",children:(0,i.jsx)(n.cG,{})})},94217:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var i=r(80263),n=r(23051);let a=()=>{let e={container:{backgroundColor:"#fff",display:"flex",height:"100%",justifyContent:"center",position:"absolute",top:"0",width:"100%",zIndex:999},innerWrapper:{alignItems:"center",display:"flex",flexDirection:"column",position:"absolute",top:"30%"}};return(0,i.jsx)("div",{style:e.container,children:(0,i.jsx)("div",{style:e.innerWrapper,children:(0,i.jsx)(n.Loader,{"data-testid":"base-loader"})})})}}},e=>{e.O(0,[3885,3087,7900,9631,4706,2276,1283,1060,3655,636,6593,8792],()=>e(e.s=2410)),_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.