1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9843],{62184:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/paymentMethod",function(){return n(95344)}])},95344:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return _},default:function(){return paymentMethod}});var r=n(85893),o=n(91309),i=n(67294),a=n(82729),s=n(50066),d=n(86206);function _templateObject(){var e=(0,a._)(["\ndisplay: flex;\nflex-direction: column;\njustify-content: center;\nwidth: 100%;\nmax-width: 1108px;\n@media ","{\n padding-left: 20px;\n padding-right: 20px;\n}\n\n"]);return _templateObject=function(){return e},e}var u=s.ZP.div(_templateObject(),d.device.desktopS);n(13654);var l=n(55678),c=n(47041),p=n(11163),h=n(86834),m=n(41248),f=n(51128),Payment_PaymentMethod=function(e){var t=e.orderDetail,n=e.toastmessage,a=(0,o._)(i.useState(!0),2),s=a[0],d=a[1],_=(0,p.useRouter)(),g=(0,m.I0)();return(0,i.useEffect)(function(){if(t){if((0,c.setCookie)("orderId",void 0),d(!1),"payment done successfully please wait"===n){var e;l.Am.success(n,{position:"top-right",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"light"}),g((0,h.rL)()),_.push({pathname:"/thank_you",query:{payment_method:"Credit Card",orderId:null==t?void 0:null===(e=t.Orders[0])||void 0===e?void 0:e.masterOrderId}})}else l.Am.error(n||"No Order Found Against the Provided Data.",{position:"top-right",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"light"}),_.push({pathname:"/viewcart"})}},[t]),(0,r.jsx)(u,{style:{display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",height:"80vh",maxWidth:"1600px"},children:s&&(0,r.jsx)(f.Z,{})})},_=!0,paymentMethod=function(e){var t=e.orderDetail,n=e.toastmessage;return(0,r.jsx)(Payment_PaymentMethod,{orderDetail:t,toastmessage:n})}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=62184)}),_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.