PageSourceSearch

https://www.myfaresguide.com/_next/static/chunks/pages/metatransaction/failure/[failure]-7ee342501fea55d3.js

js myfaresguide.com collected 2026-10-08 15:23:09 UTC 6,096 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[53],{39446:function(e,t,n){"use strict";n.r(t);var i=n(50029),l=n(64687),a=n.n(l),o=n(67294),r=n(71843),s=n(57051),u=n(10682),d=n(34051),c=n(31555),v=n(43626),f=n(66294),h=n(11163),x=n(24575),p=n(73266),g=n(35017),m=(n(25304),n(74146),n(38663)),k=n(38389),b=n(47649),j=(n(48349),n(93064),n(27950)),y=n(56938),_=n(85893);t.default=function(){var e=(0,h.useRouter)(),t=(null===e||void 0===e?void 0:e.query).failure;console.log(t,"check the failure");var n=(0,o.useState)({}),l=n[0],D=n[1],N=(0,o.useState)(!1),Z=N[0],w=N[1],S=(0,o.useState)(!1),E=(S[0],S[1]),O=(0,o.useState)(!0),T=O[0],H=O[1],I=(0,o.useState)(!0),R=(I[0],I[1]),B=(0,o.useState)({}),F=B[0],C=B[1],P=(0,o.useState)([]),G=(P[0],P[1]),K=(0,o.useState)([]),L=(K[0],K[1]),W=(0,o.useState)({}),X=(W[0],W[1]),q=function(e){var t,n;null===e||void 0===e||null===(t=e.priceDetail)||void 0===t||null===(t=t.BookingFlightDetails[0])||void 0===t||null===(t=t.fare)||void 0===t||null===(t=t.grandTotal)||void 0===t||t.toFixed(2,0),(null===e||void 0===e||null===(n=e.paymentInfo)||void 0===n?void 0:n.currency)||j.x_},J=function(){var e=(0,i.Z)(a().mark((function e(){var n,i,l,o,r,s;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t){e.next=20;break}return e.next=3,(0,f.S_)(Number(t),w);case 3:return o=e.sent,console.log(o,"DKJGDKGKDG"),e.next=7,(0,k.FB)(Number(t),w);case 7:if(e.sent,r=parseInt(o.data.priceDetail.BookingFlightDetails[0].fare.grandTotal),0!==Object.keys(null===o||void 0===o||null===(n=o.data)||void 0===n?void 0:n.flightDetailReturn).length){e.next=15;break}return e.next=12,(0,k.oU)(r,t,H);case 12:s=e.sent,e.next=18;break;case 15:return e.next=17,(0,k.Bx)(r,t,H);case 17:s=e.sent;case 18:C(null===(i=s)||void 0===i?void 0:i.data),1===(null===o||void 0===o||null===(l=o.data)||void 0===l?void 0:l.status)?(D(null===o||void 0===o?void 0:o.data),q(null===o||void 0===o?void 0:o.data)):w(!0);case 20:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),M=function(){var e=(0,i.Z)(a().mark((function e(){var t,n,i,o,r,s,u,d,c,v,f,h,x;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(Object.keys(l).length>0)){e.next=13;break}return e.next=3,(0,b.M)(l,R);case 3:if(!1===(null===(n=e.sent)||void 0===n||null===(t=n.data)||void 0===t||null===(t=t.baseResponse)||void 0===t?void 0:t.status)){e.next=12;break}return o={sethotelLoading:R,setHotelError:E,bookingDetails:l},e.next=8,(0,b.$)(o,n);case 8:!1===(null===(r=e.sent)||void 0===r||null===(i=r.data)||void 0===i?void 0:i.status)?E(!0):(c=function(e,t){return e.price-t.price},G(null===r||void 0===r||null===(s=r.data)||void 0===s||null===(s=s.Hotels)||void 0===s?void 0:s.Hotel),v=null===r||void 0===r||null===(u=r.data)||void 0===u||null===(u=u.Hotels)||void 0===u?void 0:u.Hotel.map((function(e){var t;return{hotelId:null===e||void 0===e?void 0:e.hotel_Id,price:Number(null===e||void 0===e||null===(t=e.rooms)||void 0===t||null===(t=t.room[0])||void 0===t?void 0:t.baseFare)}})),f=null===v||void 0===v?void 0:v.sort(c),h=null===f||void 0===f?void 0:f.slice(0,5),x=null===r||void 0===r||null===(d=r.data)||void 0===d||null===(d=d.Hotels)||void 0===d?void 0:d.Hotel.filter((function(e){return h.some((function(t){return t.hotelId===e.hotel_Id}))})),L(x)),e.next=13;break;case 12:E(!0);case 13:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),U=function(){var e=(0,i.Z)(a().mark((function e(){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,f.WW)(t,w);case 3:n=e.sent,X(n),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),w(!0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();return(0,o.useEffect)((function(){M()}),[l]),(0,o.useEffect)((function(){J()}),[t]),(0,o.useEffect)((function(){U()}),[t]),Z?(0,_.jsx)(m.Z,{title:"Their Is Some Technical Error Please Contact +91-1204814491 ",subTitle:"There is some technical issue during payment please contact our support for futhure information"}):T?(0,_.jsxs)("div",{className:"flights-asload d-flex loaderpre paymentstatus",children:[(0,_.jsx)(r.Z,{}),(0,_.jsx)("div",{className:"m-auto",children:(0,_.jsxs)("div",{className:"container text-center",children:[(0,_.jsx)("div",{className:"triple-spinner"}),(0,_.jsx)("div",{className:"mt-3",children:(0,_.jsx)("img",{src:null===y.Oc||void 0===y.Oc?void 0:y.Oc.imgPath,alt:"myfaresguide",width:"100"})})]})})]}):(0,_.jsxs)("div",{className:"hotel-listing-page pystatus",children:[(0,_.jsx)(r.Z,{}),(0,_.jsx)(s.Z,{currency:j.x_,styles:{backgroundColor:"#ffffff",borderBottom:"1px solid #ffffff",color:"#000000"}}),(0,_.jsx)("div",{className:"book-flight-engine bgengine py failed",children:(0,_.jsx)(u.Z,{children:(0,_.jsx)(v.Z,{paymentStatus:"/transaction-failure",bookingDetails:l,metaLinkid:t,bookDetails:F})})}),(0,_.jsx)(u.Z,{children:(0,_.jsxs)(d.Z,{className:"align-items-start my-4",children:[(0,_.jsxs)(c.Z,{xs:12,lg:8,xxl:9,children:[(0,_.jsx)("div",{className:"shwdta-sp",children:(0,_.jsx)(x.Z,{itineary:null===l||void 0===l?void 0:l.flightDetail,returnitineary:Object.keys(null===l||void 0===l?void 0:l.flightDetailReturn).length>0?null===l||void 0===l?void 0:l.flightDetailReturn:null===l||void 0===l?void 0:l.flightDetail,price:j.x_,tripType:0!==Object.keys(null===l||void 0===l?void 0:l.flightDetailReturn).length?"round":null})}),(0,_.jsx)(g.Z,{p_details:null===l||void 0===l?void 0:l.paxDetails})]}),(0,_.jsx)(c.Z,{xs:12,lg:4,xxl:3,className:"mb-3 mb-lg-0 chkprice-sticky",children:(0,_.jsx)(p.default,{bookingDetails:l,currency:j.x_,paymentStatus:"/transaction-failure",tripType:0!==Object.keys(null===l||void 0===l?void 0:l.flightDetailReturn).length?"round":null})})]})})]})}},36090:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/metatransaction/failure/[failure]",function(){return n(39446)}])}},function(e){e.O(0,[4885,5675,9603,1354,1219,3726,7203,7279,6791,8302,1424,2888,9774,179],(function(){return t=36090,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.