1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8707],{4267:(r,e,t)=>{"use strict";t.r(e),t.d(e,{__N_SSP:()=>u,default:()=>d});var n=t(37876),o=t(30605),i=t(55874),c=t(39526),a=t(48230),s=t.n(a),u=!0;let d=r=>{let{guid:e,brand:t}=r,a=(0,c.Y)(e,(0,i.$)(!0,e));return(0,n.jsxs)(o.F,{head:(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("title",{children:["Checkout - Delivery | ",t.brandTitle]},"title")}),children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:(0,n.jsx)(s(),{href:"/n/renewals/".concat(e,"/shipping"),children:"Shipping"})}),(0,n.jsx)("li",{children:(0,n.jsx)(s(),{href:"/n/renewals/".concat(e,"/billing"),children:"Billing"})}),(0,n.jsx)("li",{children:(0,n.jsx)(s(),{href:"/n/renewals/".concat(e,"/confirm"),children:"Confirm"})})]}),(0,n.jsx)("div",{className:"my-22.5",children:"Confirm page goes here"})]}),a&&(0,n.jsx)(n.Fragment,{})]})}},5599:(r,e,t)=>{"use strict";t.d(e,{O:()=>o,r:()=>n});let n={shippingUrl:"/n/customer_order/shipping",billingUrl:"/n/customer_order/billing",confirmUrl:"/n/customer_order/confirm"};function o(r,e){return{shippingUrl:r?"/n/renewals/".concat(e,"/shipping"):"/n/edit_customer_order/".concat(e,"/shipping"),billingUrl:r?"/n/renewals/".concat(e,"/billing"):"/n/edit_customer_order/".concat(e,"/billing"),confirmUrl:r?"/n/renewals/".concat(e,"/confirm"):"/n/edit_customer_order/".concat(e,"/confirm")}}},10803:(r,e,t)=>{"use strict";t.d(e,{s:()=>i});var n=t(45860),o=t(65364);let i={getCustomerOrdersForDashboard:function(r){let e="/api/v1/private/customer_orders?serializer=dashboard";return r&&(e+="&page=".concat(r)),n.k.get(e)},getFirstExpiringOrder:function(){return n.k.get("/api/private/content/customer_order/first_expiring_order")},getActiveOrders:function(){return"true"===o.env.NEXT_PUBLIC_DEV_MOCK_API_CALLS?Promise.resolve([]):n.k.get("/api/v1/private/customer_orders/active_orders")},getCustomerOrder:function(r){return n.k.get("/api/v1/private/customer_orders/".concat(r))},getCustomerOrderItems:function(r){return n.k.get("/api/v1/private/customer_orders/".concat(r,"/items"))},getMonthlyRates:function(r){return n.k.get("/api/v1/private/customer_orders/".concat(r,"/monthly_rates"))},addCurrentCartToOrder:function(r){return n.k.post("/api/v1/private/customer_orders/".concat(r,"/add_current_cart_to_order"),{})},getValidDeliveryDates:function(r){return n.k.get("/api/v1/private/customer_orders/".concat(r,"/valid_delivery_dates"))},postShippingInfo:function(r,e){return n.k.post("/api/v1/private/customer_orders/".concat(r,"/shipping"),e)},selectAddress:function(r,e){return n.k.put("/api/v1/private/customer_orders/".concat(r,"/select_address"),{address_id:e})},createPayment:function(r){return n.k.post("/charges",r)},updatePaymentAndChargeOpenInvoices:function(r){return n.k.post("/charges/update_billing",r)},addPromoCode:function(r,e){return n.k.post("/api/v1/private/customer_orders/".concat(r,"/promo_codes"),{promo_code:e})},removePromoCode:function(r){return n.k.destroy("/api/v1/private/customer_orders/".concat(r,"/promo_codes"))},updateDuration:function(r,e){return n.k.post("/api/v1/private/customer_orders/".concat(r,"/update_duration"),{duration:e})},updateExtensionDuration:function(r,e){return n.k.post("/api/v1/private/customer_orders/".concat(r,"/update_extension_duration"),{extension_duration:e})},removeUnavailableItems:function(r){return n.k.put("/api/v1/private/customer_orders/".concat(r,"/remove_unavailable_items"),{})},prepareInitialContract:function(r){return n.k.post("/api/v1/private/customer_orders/".concat(r,"/prepare_initial_contract"),{})},acceptInitialContract:function(r){return n.k.post("/api/v1/private/customer_orders/".concat(r,"/accept_initial_contract"),{})},prepareAmendedContract:function(r){return n.k.post("/api/v1/private/customer_orders/".concat(r,"/prepare_amended_contract"),{})},acceptAmendedContract:function(r){return n.k.post("/api/v1/private/customer_orders/".concat(r,"/accept_amended_contract"),{})},prepareRenewalContract:function(r){return n.k.post("/api/v1/private/customer_orders/".concat(r,"/prepare_renewal_contract"),{})},acceptRenewalContract:function(r){return n.k.post("/api/v1/private/customer_orders/".concat(r,"/accept_renewal_contract"),{})},getReceipt:function(r,e){return n.k.get("/api/v1/private/customer_orders/".concat(r,"/receipts/").concat(e))}}},30605:(r,e,t)=>{"use strict";t.d(e,{F:()=>a});var n=t(37876),o=t(69924),i=t(77328),c=t.n(i);t(14232);let a=r=>{let{head:e,children:t}=r;return(0,n.jsxs)(o.g,{hideNav:!0,children:[(0,n.jsx)(c(),{children:e}),t]})}},39526:(r,e,t)=>{"use strict";t.d(e,{Y:()=>s});var n=t(61871),o=t(10803),i=t(29208),c=t(89099),a=t(14232);function s(r,e){let t=(0,a.useContext)(i.IK),[s,u]=(0,a.useState)(null),d=(0,c.useRouter)(),{data:p}=(0,n.C)(),l=null==p?void 0:p.currentUser;return(0,a.useEffect)(()=>{void 0!==l&&null!==l&&l.hasInvoiceDelinquency},[l]),(0,a.useEffect)(()=>{r&&Promise.all([o.s.getCustomerOrder(r),o.s.getCustomerOrderItems(r)]).then(r=>{let t=function(r,e){let t=!1;for(let n=0;n<r.length&&!(t=(0,r[n])(e));n++);return t}(e,r[0]);return t&&(t.externalRoute?location.assign(t.redirectTo):d.push(t.redirectTo)),r}).then(r=>{u(r)}
1).catch(r=>{t.addBread(i.h1)})},[r]),s}},54562:(r,e,t)=>{"use strict";t.d(e,{E2:()=>a,YI:()=>s,dh:()=>n,of:()=>o,xK:()=>c,yW:()=>i});let n=function(r){return"new"!==r.orderState&&{redirectTo:"/n/dashboard"}},o=function(r){return"new"===r.orderState&&{redirectTo:"/n/dashboard"}},i=function(r){return function(e){return!!e.needsShippingInfo&&{redirectTo:r}}},c=function(r){return function(e){return!!e.needsBillingInfo&&{redirectTo:r}}},a=function(r){return function(e){return!e.needsShippingInfo&&!e.tentativeOrderTrip&&{redirectTo:r}}},s=function(r){return!r.renewalEligible&&{redirectTo:"/n/dashboard"}}},55874:(r,e,t)=>{"use strict";t.d(e,{$:()=>p,Wm:()=>d,X3:()=>i,do:()=>a,eT:()=>c,lz:()=>s,rA:()=>u});var n=t(5599),o=t(54562);let i=function(r,e){return[o.of,(0,o.E2)((0,n.O)(r,e).confirmUrl)]},c=function(r,e){return[o.of,(0,o.yW)((0,n.O)(r,e).shippingUrl)]},a=function(r,e){return[o.of,(0,o.yW)((0,n.O)(r,e).shippingUrl)]},s=function(r,e){return[o.of,o.YI]},u=function(r,e){return[o.of,o.YI,(0,o.E2)((0,n.O)(r,e).confirmUrl)]},d=function(r,e){return[o.of,o.YI,(0,o.yW)((0,n.O)(r,e).shippingUrl)]},p=function(r,e){return[o.of,o.YI,(0,o.yW)((0,n.O)(r,e).shippingUrl)]}},98372:(r,e,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[brand]/n/renewals/[guid]/confirm",function(){return t(4267)}])}},r=>{r.O(0,[8992,5480,4982,9924,636,6593,8792],()=>r(r.s=98372)),_N_E=r.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.