1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9603],{49233:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/orders/[orderId]/shipments/[shipmentId]",function(){return r(62550)}])},62550:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>m,default:()=>g});var s=r(37876),a=r(4781),l=r(42288),i=r(28399),n=r(32173),o=r(80143),d=r(73766),u=r(2365),c=r(90467),f=r(89099),h=r(14232),_=r(98854),v=r(86883),w=r(39437),E=r(15785),p=r(93378),m=!0;let g=(0,c.j)(function(e){let{source:t,loginComponent:r,locationData:c}=e,m=(0,_.d4)(o.nU),g=m.loading,N=(0,_.d4)(o.L),P=(0,_.d4)(o.Yf),I=(0,_.wA)(),b=(0,f.useRouter)(),{shipmentId:j,orderId:k}=b.query||{},y=(0,p.o)(m.data,t,k,g),A=(0,h.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,w.Ay)(null==m?void 0:m.data,e)},[null==m?void 0:m.data]);if((0,h.useEffect)(()=>{k&&j&&(I((0,d.zB)({orderId:k,shipmentId:j})),I((0,d.rN)({shipmentId:j})))},[k,j,I]),(0,h.useEffect)(()=>{let e=null;if(m){var t;(null==m||null==(t=m.data)?void 0:t.refreshDeliveryLabel)?e=setInterval(()=>{"visible"===document.visibilityState&&I((0,d.zB)({orderId:k,shipmentId:j,showLoader:!1}))},v.rP):clearInterval(e)}return()=>{clearInterval(e)}},[m]),(0,h.useEffect)(()=>{sessionStorage.setItem("current_segment_pagesource",E.Km)},[I]),(0,h.useEffect)(()=>{g||I((0,n.eP)({source:t}))},[I,t,g]),(0,h.useEffect)(()=>{if((null==P?void 0:P.data)&&(null==m?void 0:m.data)){let e=(0,w.hn)(P);A({pageName:w.Bi.SHIPMENT,source:b.query.prevPage||w.Bi.ORDER_HISTORY,sourceType:w.m7.PREV_PAGE,refundStatus:e})}},[m,P]),y)return(0,s.jsx)(a.A,{showLoader:!0});let D=!m.initialised||m.loading;return(0,s.jsx)(a.A,{showLoader:D,children:(0,s.jsx)(u.w6,{cookieData:{source:t,locationData:c,sendPostOrderAnalytics:A},children:(0,s.jsx)(l.L,{loginComponent:r,showBottomNav:!1,showHeader:t===v.iz,showFooter:t===v.iz,page:"order-status",children:(0,s.jsx)(i.A,{orderDetails:N,shipmentDetails:m,source:t,refundDetails:(null==P?void 0:P.data)||{}})})})})})}},e=>{e.O(0,[9111,582,8625,4309,8285,182,2655,3283,7033,7906,2031,9178,8762,6182,7550,7585,5924,513,9758,2357,9777,9779,9200,5624,8437,5269,4889,5443,4917,3168,4853,9106,6061,5311,5885,675,555,873,8477,4146,5089,7507,6364,2034,682,4296,4359,2372,9112,4536,4716,4752,487,2617,2186,192,4593,9390,5228,6980,1102,9618,5025,777,818,8127,4635,8367,6299,9255,6494,1621,9626,4276,4551,1062,1555,2004,6076,317,3645,9982,5718,5279,6238,9517,151],()=>e(e.s=49233)),_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.