https://izi1.com/_next/static/chunks/pages/[locale]/checkout/charg…/confirmation-ce4796a12ac60ab6.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1865],{12599:(e,a,n)=>{"use strict";n.d(a,{g:()=>h});var t=n(26514),i=n(24322),l=n.n(i),m=n(26793),r=n(75834);let o=JSON.parse('[{"name":"BusinessAccount","image":null},{"name":"MyPackages","image":null},{"name":"HowItWorks","image":null},{"name":"Kyc","image":null},{"name":"FreightShipmentCalculator","image":null},{"name":"FreightTermsAndConditions","image":null},{"name":"ProductSearch","image":null},{"name":"FreightShipmentDetails","image":null},{"name":"GlobalShipping","image":null},{"name":"ShoppingGuide","image":null},{"name":"TryItOnCheckoutConfirmation","image":null},{"name":"FreightCookies","image":null},{"name":"BusinessAccountConfirmation","image":null},{"name":"ShoppingAssistant","image":null},{"name":"ContactUs","image":null},{"name":"DealSearch","image":null},{"name":"TryItOnCheckout","image":null},{"name":"ReturnFromDestination","image":null},{"name":"Support","image":null},{"name":"VirtualCardsDashboard","image":null},{"name":"KYCSurvey","image":null},{"name":"Favorites","image":null},{"name":"SearchPage","image":null},{"name":"Common","image":null},{"name":"CartCheckout","image":null},{"name":"AboutUs","image":null},{"name":"MobilePayment","image":null},{"name":"QuoteHistory","image":null},{"name":"Terms","image":null},{"name":"DealsAndOffers","image":null},{"name":"ChargeableWeightAdjustmentCheckout","image":null},{"name":"FreightQuoteDetails","image":null},{"name":"RetailersSearch","image":null},{"name":"ProductCategories","image":null},{"name":"Cart","image":null},{"name":"ChargeableWeightAdjustmentCheckoutConfirmation","image":null},{"name":"MyAccount","image":null},{"name":"Magazine","image":null},{"name":"NeedHelp","image":null},{"name":"B2BQuote","image":null},{"name":"OrderDocuments","image":null},{"name":"Memberships","image":null},{"name":"AirFreights","image":null},{"name":"FreightShipmentConfirmation","image":null},{"name":"DiscardCheckout","image":null},{"name":"Emails","image":null},{"name":"CartCheckoutConfirmation","image":null},{"name":"PrivacyPolicy","image":null},{"name":"VirtualCards","image":null},{"name":"ShippingCalculator","image":null},{"name":"Coupons","image":null},{"name":"Cookies","image":null},{"name":"RetailersDirectory","image":null},{"name":"FreightAbout","image":null},{"name":"CheckoutReturnFromDestination","image":null},{"name":"CountryInfo","image":null},{"name":"InPortalBrowser","image":null},{"name":"BusinessHomepage","image":null},{"name":"FreightPrivacyPolicy","image":null},{"name":"Homepage","image":null},{"name":"Product","image":null},{"name":"NewsletterConfirmed","image":null},{"name":"CheckoutConfirmation","image":null},{"name":"FreightHowItWorks","image":null},{"name":"CheckoutComplete","image":null},{"name":"DiscardCheckoutMobilePayment","image":null},{"name":"Checkout","image":null},{"name":"CheckoutReturn","image":null},{"name":"SignUp","image":null},{"name":"VirtualCardInitializing","image":null}]');var u=n(58439),s=n(73491),g=n(10694);let c={width:1200,height:630},d={},h=e=>{let{page:a,path:n,title:i,titleKey:h,description:C,descriptionKey:p,ogTitleKey:f,ogDescriptionKey:y,canonicalHref:j,image:x}=e,{titleTranslation:b,descriptionTranslation:k,ogTitleTranslation:A,ogDescriptionTranslation:w,url:v,imageUrl:S,imageSize:P,canonicalUrl:D}=(e=>{let{page:a,path:n,title:t,titleKey:i,description:l,descriptionKey:h,ogTitleKey:C,ogDescriptionKey:p,canonicalHref:f,image:y}=e,{t:j,i18n:x}=(0,u.M)(),b=(0,r.useId)(),k=t??j(i??`SEO.${a}.Title`,{defaultValue:""}),A=l??j(h??`SEO.${a}.MetaDescription`,{defaultValue:""}),w=C?j(C,{defaultValue:""}):void 0,v=p?j(p,{defaultValue:""}):void 0,S=y??(o??[]).find(e=>e.name===a)?.image,P="https://izi1.com/".replace(/\/$/,""),D=(e=>{if(e)return e.startsWith("http")?e:(0,s.V$)(e,s.gD.BannerXl1216)["1x"]})(S),I=P?`${P}/images/link-share-cover.png`:void 0,W=e=>P?(0,m.VY)(e,x):void 0,_=n?W(n):P,F=f?f.startsWith("http")?f:W(f):void 0;return(0,r.useEffect)(()=>(Object.keys(d).length>
10&&!d[b]&&g.v.error(`Multiple SeoHead components detected for page "${a}". Only one should be used per page.`),d[b]=!0,()=>{delete d[b]}),[]),{titleTranslation:k,descriptionTranslation:A,ogTitleTranslation:w,ogDescriptionTranslation:v,url:_,imageUrl:D??I,imageSize:!D&&I?c:void 0,canonicalUrl:F}})({page:a,path:n,title:i,titleKey:h,description:C,descriptionKey:p,ogTitleKey:f,ogDescriptionKey:y,canonicalHref:j,image:x});return(0,t.jsxs)(l(),{children:[b&&(0,t.jsx)("title",{children:b}),k&&(0,t.jsx)("meta",{name:"description",content:k}),A&&(0,t.jsx)("meta",{property:"og:title",content:A}),w&&(0,t.jsx)("meta",{property:"og:description",content:w}),v&&(0,t.jsx)("meta",{property:"og:url",content:v}),S&&(0,t.jsx)("meta",{property:"og:image",content:S}),P&&(0,t.jsx)("meta",{property:"og:image:width",content:`${P.width}`}),P&&(0,t.jsx)("meta",{property:"og:image:height",content:`${P.height}`}),(0,t.jsx)("meta",{name:"twitter:card",content:S?"summary_large_image":"summary"}),S&&(0,t.jsx)("meta",{name:"twitter:image",content:S}),D&&(0,t.jsx)("link",{rel:"canonical",href:D})]})}},18702:(e,a,n)=>{"use strict";n.d(a,{R:()=>b});var t=n(26514),i=n(66839),l=n(61371),m=n(75834),r=n(46225),o=n(22697),u=n(88833),s=n(58439),g=n(26793),c=n(10847),d=n(50882),h=n(22734),C=n(95465),p=n(61413),f=n(83276),y=n(59713),j=n(71939);let x=e=>{let{totalAmount:a}=e;return(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(y.w,{content:"ChargeableWeightAdjustmentCheckout.Confirmation.Details",className:"text-md font-medium"}),(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm font-normal text-gray-500",children:[(0,t.jsx)(y.w,{content:"ChargeableWeightAdjustmentCheckout.Confirmation.ChargeableWeightAdjustmentFee"}),(0,t.jsx)(j.W,{price:a??0,disableInternalConversion:!0})]}),(0,t.jsx)(l.cG,{}),(0,t.jsxs)("div",{className:"flex items-center justify-between text-lg font-medium",children:[(0,t.jsx)(y.w,{content:"Checkout.Confirmation.TotalPaid"}),(0,t.jsx)(j.W,{price:a??0,disableInternalConversion:!0})]})]})},b=e=>{let{actionHref:a="/",action:n,hasBackButton:y=!0}=e,{orderId:j,isPending:b,totalAmount:k,paymentResponse:A}=(()=>{let e=(0,r.useRouter)(),{i18n:a}=(0,s.M)(),n=Array.isArray(e.query.orderId)?e.query.orderId[0]??"":e.query.orderId??"",{isLoading:t,isAuthenticated:i=!1}=(0,c.g)(),{convertPriceToDisplay:l}=(0,C.V)(),{data:y,isPending:j,isLoadingError:x}=(0,o.I)({queryKey:u.Rl.getChargeableWeightAdjustmentOrderConfirmation(n),queryFn:()=>u.h7.getChargeableWeightAdjustmentOrderConfirmation(n),enabled:i&&!!n,select:e=>e.data}),b=e.isReady&&i&&!t&&(!n||x);(0,m.useEffect)(()=>{if(b){if(window.ReactNativeWebView)return void(0,p.e)(f.yK);e.replace((0,g.$R)("/my-packages",a))}},[b,e,a]);let k=(0,m.useMemo)(()=>{if(!y?.payments?.[0])return;let e=y.payments[0],a=e.paymentMethod===h.e.CreditCard?h.e.CreditCard:h.e.PayPal;return{status:d.dX.Paid,paymentMethod:a,creditCardPaymentDetails:e.cardInformation?.lastDigits&&e.cardInformation?.brand?{lastDigits:e.cardInformation.lastDigits,brand:e.cardInformation.brand}:void 0,orderDate:e.created??"",orderNumber:n??"",amount:e.total}},[y]);return{orderId:n,isPending:j||!y,totalAmount:l(y?.totalAmount,2),paymentResponse:k}})();return(0,t.jsxs)(i.h9,{titleKey:"ChargeableWeightAdjustmentCheckout.Confirmation.Title",subtitleKey:"ChargeableWeightAdjustmentCheckout.Confirmation.Subtitle",actionHref:a,actionTextKey:"ChargeableWeightAdjustmentCheckout.Confirmation.Continue",action:n,hasBackButton:y,isPending:b,actionColor:"primary",actionAtBottom:!0,children:[(0,t.jsx)(i.u5,{orderId:j,paymentResponse:A}),(0,t.jsx)(l.cG,{}),(0,t.jsx)(x,{totalAmount:k})]})}},24322:(e,a,n)=>{e.exports=n(67749)},27754:(e,a,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/checkout/chargeable-weight-adjustment/confirmation",function(){return n(94699)}])},94699:(e,a,n)=>{"use strict";n.r(a),n.d(a,{__N_SSG:()=>m,default:()=>r});var t=n(26514),i=n(12599),l=n(18702),m=!0;let r=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.g,{page:"ChargeableWeightAdjustmentCheckoutConfirmation",path:"/checkout/chargeable-weight-adjustment/confirmation"}),(0,t.jsx)(l.R,{})]})}},e=>{e.O(0,[1943,1085,3607,6839,636,6593,8792],()=>e(e.s=27754)),_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.