PageSourceSearch

https://www.gopili.co.uk/_next/static/chunks/pages/[locale]/axepta…/[transactionId]-995a4a767ced2308.js

js gopili.co.uk collected 2026-09-24 12:30:23 UTC 18,287 bytes, 1 lines download raw bytes

1!function(){try{var a="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=function(a){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(null!=t)for(var n in t)t.hasOwnProperty(n)&&(a[n]=t[n])}return a}({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:kombo-app":!0})}catch(a){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[585],{6299:(a,e,t)=>{"use strict";t.d(e,{n:()=>s});var n=t(87490),o=t(56507),r=t(56732);let c=n.A.create({baseURL:"//"+r.yb+"/afterSales",timeout:6e4});c.defaults.withCredentials=!0;let s=(0,o.VT)("afterSales",{getAfterSalesBookings:async(a,e)=>(await c.get("reservation/".concat(a),{params:e})).data,getAfterSalesRelatedBookings:async(a,e)=>(await c.get("reservation/".concat(a,"/relatedBookings"),{params:e})).data,getAfterSalesBookingDetails:async(a,e,t)=>(await c.get("".concat(a,"/").concat(e,"/details"),{params:t})).data,getSubTripRefundDetails:async(a,e,t,n)=>(await c.get("".concat(a,"/").concat(e,"/subTrip/").concat(t,"/refund"),{params:n})).data,async isPassAvailable(a,e,t,n,o){var r;return(null==(r=(await c.get("".concat(a,"/").concat(e,"/trip/").concat(t,"/wallet/").concat(n,"/isAvailable"),{params:o})).data)?void 0:r.isAvailable)||!1},getGooglePassUrl:async(a,e,t,n)=>(await c.get("".concat(a,"/").concat(e,"/trip/").concat(t,"/wallet/GoogleWallet/passUrl"),{params:n})).data,async getApplePassBuffer(a,e,t){if(!a||!e||!t)return;let n=r.th?"http":"https";return new URL("aftersales/".concat(a,"/").concat(e,"/trip/").concat(t,"/wallet/AppleWallet/passBuffer"),"".concat(n,"://").concat(r.yb))},getTripsTicketStatus:async(a,e)=>(await c.get("reservation/".concat(a,"/").concat(e,"/tripsTicketStatus"))).data,cancelStuckBooking:async(a,e)=>(await c.post("".concat(a,"/").concat(e,"/booking/cancelStuck"))).data,downloadBookingInvoice:async(a,e,t)=>(await c.get("".concat(a,"/").concat(e,"/invoice"),{...t,responseType:"blob",timeout:6e4})).data,sendBookingInvoice:async(a,e,t)=>(await c.get("".concat(a,"/").concat(e,"/sendInvoice"),{params:t})).data,scheduleBookingInvoice:async(a,e,t)=>(await c.get("".concat(a,"/").concat(e,"/scheduleInvoice"),{params:t})).data,getKomboInvoiceDefaults:async(a,e)=>(await c.get("".concat(a,"/").concat(e,"/komboInvoice/defaults"))).data,requestKomboInvoice:async(a,e,t)=>(await c.post("".concat(a,"/").concat(e,"/komboInvoice"),t)).data,createRefund:async(a,e,t,n)=>(await c.post("".concat(a,"/").concat(e,"/subTrip/").concat(t,"/refund"),{passengerIds:n})).data,createBookingRefund:async(a,e)=>(await c.post("".concat(a,"/").concat(e,"/booking/refund"))).data,requestReservationNumber:async(a,e)=>(await c.get("reservation/email/".concat(a),{params:e})).data,searchExchangeTrips:async(a,e,t,n)=>(await c.post("".concat(a,"/").concat(e,"/subTrip/").concat(t,"/exchange/search"),n,{timeout:12e4})).data,changePassengerInfo:async(a,e,t)=>(await c.post("".concat(a,"/").concat(e,"/passengers"),{passengers:t})).data,getExchangeSegmentSeatMap:async(a,e,t,n)=>(await c.post("".concat(a,"/").concat(e,"/subTrip/").concat(t,"/exchange/seatMap"),n)).data,getExchangeSeatMapEligibility:async(a,e,t,n)=>(await c.post("".concat(a,"/").concat(e,"/subTrip/").concat(t,"/exchange/seatMapEligibility"),n)).data,saveExchangeDraft:async(a,e,t,n)=>(await c.post("/".concat(a,"/").concat(e,"/subTrip/").concat(t,"/exchange/draft"),n)).data,retrieveAxeptaExchangeEncodedData:async(a,e,t,n)=>(await c.post("/".concat(a,"/").concat(e,"/subTrip/").concat(t,"/exchange/axepta/retrieveEncodedData"),n)).data,async pollExchangeStatus(a,e){let t="exchange/".concat(a,"/subTrip/").concat(e,"/pollStatus");return(r.th?await n.A.get("".concat(r.th?"http:":window.location.protocol,"//").concat(r.yb,"/afterSales/").concat(t)):await c.get(t)).data},confirmFreeExchange:async(a,e,t)=>(await c.post("".concat(a,"/").concat(e,"/subTrip/").concat(t,"/exchange/confirm/free"),{},{timeout:9e4})).data})},6955:(a,e,t)=>{"use strict";t.d(e,{HN:()=>l,Mg:()=>h,OP:()=>p,en:()=>g,fm:()=>u,kn:()=>y,zD:()=>d});var n=t(56732),o=t(28394),r=t(5737);let c={APP_RATING:"appRating",ASK_NOTIFICATION_PERMISSION:"ASK_NOTIFICATION_PERMISSION",BRIGHTNESS:a=>"BRIGHTNESS_".concat(a),OPEN_OCTOPUS:"OPEN_OCTOPUS",CLOSE_OCTOPUS:"CLOSE_OCTOPUS"},s=a=>{let e=(()=>{var a,e;let t=null==window||null==(e=window.webkit)||null==(a=e.messageHandlers)?void 0:a.ReactNativeWebView;if(t)return{postMessage:a=>
1t.postMessage(a)};let n=null==window?void 0:window.ReactNativeWebView;return n&&"function"==typeof n.postMessage?n:null})();if(!e)return!1;try{return e.postMessage(a),!0}catch(a){return(0,r.v)(a),!1}},i=!1,l=(a,e)=>{if(!n.jx&&(0,o.KR)()){if(!(0,o.Qi)("nativeEvents")){if(!i){var t,c;i=!0,(0,r.O)("nativeEvents unsupported by this app version",{tags:{appSupportsNativeEvents:"false"},extra:{userAgent:null!=(c=null==(t=window.navigator)?void 0:t.userAgent)?c:""}})}return}s(JSON.stringify({type:"firebaseLog",event:a,data:e}))}},u=()=>{s(c.APP_RATING)},d=a=>{s(c.BRIGHTNESS(a))},p=()=>{s(c.OPEN_OCTOPUS)},y=()=>{s(c.CLOSE_OCTOPUS)},g=a=>{s(a)},h=()=>{s(c.ASK_NOTIFICATION_PERMISSION)}},13145:(a,e,t)=>{"use strict";t.d(e,{A:()=>x,X:()=>R});var n=t(80263),o=t(1368),r=t(34601),c=t(27242),s=t(17533),i=t(56732),l=t(85022),u=t(26623),d=t(58012),p=t(827),y=t(47179),g=t(49450),h=t(84563),f=t(79161),v=t(34786),w=t(56507),E=t(87490),m=t(95217),T=t.n(m),P=t(77823),S=t(53239),N=t(94638),b=t(85080),A=t(24912),_=t.n(A);let C=T().bind(_()),R=async a=>i.th?(await (0,w.oi)("discountCardPurchase.getPurchaseStatus",async()=>E.A.get("".concat(i.th?"http:":window.location.protocol,"//").concat(i.yb,"/discountCardPurchase/").concat(a,"/pollStatus")))).data:h.N.getPurchaseStatus(a),x=a=>{let{price:e,encodedBookingId:t,locale:i,cardTypeUrlParam:h,company:w,isClickable:E,isOpen:m,title:T}=a,{t:A}=(0,N.B)([v.NS.PaymentForm]),_=(0,b.wA)(),x=(0,P.useRouter)(),{handleConfirmPurchase:I}=(0,l.TO)(),{retrieveEncodedAxeptaData:O}=(0,u.js)();(0,S.useEffect)(()=>{_((0,f.VR)(f.ME.Payment,!1))},[_]);let k=(0,S.useCallback)(async a=>{await I(t,e,o.PaymentMethod.Paypal,a)},[I,t,e]);return(0,d.$)(async()=>{let a=await R(t);if(null==a?void 0:a.authorizationErrorReason){let e;if(null==a?void 0:a.paymentErrorTranslationKey)e=null==a?void 0:a.paymentErrorTranslationKey;else{let t=(0,g.SK)(null==a?void 0:a.authorizationErrorReason,o.PurchaseFunnelType.DiscountCard);e=null==t?void 0:t.message}_((0,f.VR)(f.ME.Payment,!0,f.VL.Error,e)),await O()}else(null==a?void 0:a.done)&&await x.replace("/".concat(i,"/discount-card/").concat(h,"/confirm/").concat(t))},1e3),(0,n.jsx)(c.A,{clickable:E,open:m,title:null!=T?T:A("PAIEMENT"),children:(0,n.jsxs)("div",{className:C("payment-page-container"),children:[(0,n.jsx)(s.A,{place:f.ME.Payment,namespaces:[v.NS.PaymentForm,v.NS.Common]}),(0,n.jsx)(r.e,{encodedBookingId:t,priceToPay:e,onPaypalCancel:async()=>Promise.resolve(),onPaypalApprove:k,onPaypalError:async()=>{_((0,f.VR)(f.ME.Payment,!0,f.VL.Error,"ERROR_TRY_AGAIN"))},purchaseType:o.PurchaseFunnelType.DiscountCard,displayVoucher:!1,displayPaypal:!1,authorizationRequest:async()=>!0,enableSaveCardCheckbox:!0}),e.amount>0&&w&&(0,n.jsx)(y.A,{companies:[w],cgvLinkOverride:(0,p.vz)(h,i)})]})})}},20502:(a,e,t)=>{"use strict";t.d(e,{Qm:()=>o,Tt:()=>r});var n=t(53239);let o=3,r=(a,e)=>{let{intervalMs:t,maxIntervalMs:o=15e3,onError:r}=e,c=(0,n.useRef)(a),s=(0,n.useRef)(r),i=(0,n.useRef)(0),[l,u]=(0,n.useState)(0);return(0,n.useEffect)(()=>{c.current=a},[a]),(0,n.useEffect)(()=>{s.current=r},[r]),(0,n.useEffect)(()=>{let a;if(null===t){0!==i.current&&(i.current=0,u(0));return}let e=!1,n=null,r=async()=>{if(e||null!==n)return;let l={controller:new AbortController,startedAt:Date.now(),abandoned:!1};n=l;try{if(await c.current(l.controller.signal),e||l.abandoned)return;0!==i.current&&(i.current=0,u(0))}catch(a){var d;if(e||l.abandoned)return;i.current+=1,u(i.current),null==(d=s.current)||d.call(s,a,i.current)}finally{n===l&&(n=null)}e||(a=setTimeout(r,((a,e,t)=>e<=0?a:Math.min(a*2**e,t))(t,i.current,o)))},l=()=>{clearTimeout(a),a=setTimeout(r,0)},d=()=>{if(!e){if(null!==n){if(Date.now()-n.startedAt<t)return;let a=n;a.abandoned=!0,n=null,a.controller.abort(),l();return}0!==i.current&&l()}},p=()=>{"visible"===document.visibilityState&&d()},y=()=>d();return a=setTimeout(r,t),document.addEventListener("visibilitychange",p),window.addEventListener("pageshow",y),window.addEventListener("online",d),()=>{e=!0,clearTimeout(a),null==n||n.controller.abort(),document.removeEventListener("visibilitychange",p),window.removeEventListener("pageshow",y),window.removeEventListener("online",d)}},[t,o]),l}},21935:(a,e,t)=>{"use strict";t.d(e,{L:()=>S,y:()=>P});var n=t(80263),o=t(58805),r=t(77940),c=t(34601),s=t(27242),i=t(17533),l=t(56732),u=t
1(26623),d=t(58012),p=t(49450),y=t(21937),g=t(79161),h=t(34786),f=t(56507),v=t(87490),w=t(77823),E=t(53239),m=t(94638),T=t(85080);let P=async a=>l.th?(await (0,f.oi)("komboGiftCard.getPurchaseStatus",async()=>v.A.get("http://".concat(l.yb,"/giftCardPurchase/").concat(a,"/pollStatus")))).data:y.N.getPurchaseStatus(a),S=a=>{let{encodedBookingId:e,amount:t}=a,{t:l}=(0,m.B)([h.NS.Menu,h.NS.PaymentForm]),y=(0,r.Y)(),f=(0,T.wA)(),{retrieveEncodedAxeptaData:v}=(0,u.js)(),S=(0,w.useRouter)();return(0,E.useEffect)(()=>{f((0,g.VR)(g.ME.Payment,!1))},[f]),(0,d.$)(async()=>{let a=await P(e);if(null==a?void 0:a.authorizationErrorReason){let e;if(null==a?void 0:a.paymentErrorTranslationKey)e=null==a?void 0:a.paymentErrorTranslationKey;else{let t=(0,p.SK)(null==a?void 0:a.authorizationErrorReason,o.ybf.GiftCard);e=null==t?void 0:t.message}f((0,g.VR)(g.ME.Payment,!0,g.VL.Error,e)),await v()}else(null==a?void 0:a.done)&&await S.replace("/".concat(y,"/gift-card/confirm/").concat(e))},1e3),(0,n.jsx)(s.A,{clickable:!1,open:!0,confirmed:!1,title:l("PAIEMENT",{ns:h.NS.PaymentForm}),children:(0,n.jsxs)("div",{className:"payment-page-container",children:[(0,n.jsx)(i.A,{place:g.ME.Payment,namespaces:[h.NS.Common]}),(0,n.jsx)(c.e,{encodedBookingId:e,priceToPay:t,onPaypalCancel:async()=>Promise.resolve(),onPaypalError:async()=>{f((0,g.VR)(g.ME.Payment,!0,g.VL.Error,"ERROR_TRY_AGAIN"))},purchaseType:o.ybf.GiftCard,displayVoucher:!1,displayPaypal:!1,authorizationRequest:async()=>!0,enableSaveCardCheckbox:!0})]})})}},21937:(a,e,t)=>{"use strict";t.d(e,{N:()=>s});var n=t(87490),o=t(56507),r=t(56732);let c=n.A.create({baseURL:"//".concat(r.yb),timeout:6e4});c.defaults.withCredentials=!0;let s=(0,o.VT)("komboGiftCard",{createDraft:async a=>(await c.post("/giftCardPurchase/draft",a)).data,retrieveAxeptaEncodedData:async(a,e)=>(await c.post("/giftCardPurchase/".concat(a,"/axepta/retrieveEncodedData"),e)).data,getPurchaseDetails:async a=>(await c.get("/giftCardPurchase/".concat(a))).data,getPurchaseStatus:async a=>(await c.get("/giftCardPurchase/".concat(a,"/pollStatus"))).data})},24912:a=>{a.exports={"payment-page-container":"styles_payment-page-container__a9Aly"}},42881:(a,e,t)=>{"use strict";t.d(e,{Z:()=>n.A});var n=t(53276)},60224:a=>{a.exports={"pending-container":"styles_pending-container__an5g0","info-modal":"styles_info-modal__BEx9I"}},62079:(a,e,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/axepta/pending/[funnelType]/[transactionId]",function(){return t(81759)}])},81759:(a,e,t)=>{"use strict";t.r(e),t.d(e,{__N_SSP:()=>G,default:()=>F});var n=t(80263),o=t(1368),r=t(40096),c=t(56732),s=t(6299),i=t(38882),l=t(25796),u=t(6164),d=t(6955),p=t(56507),y=t(87490),g=t(38776),h=t(13145),f=t(21935),v=t(33480),w=t(77172),E=t(81697),m=t(20502),T=t(5737),P=t(95217),S=t.n(P),N=t(77823),b=t(53239),A=t(94638),_=t(72804),C=t(34786);let R=/^https?:\/\/[^/]+$/,x=["localhost","127.0.0.1"],I=(a,e)=>{if(!R.test(e))return a;let t=new URL(e),n=new URL(a,t);return x.includes(n.hostname)||(n.protocol=t.protocol,n.host=t.host),n.toString()};var O=t(60224),k=t.n(O);let M=S().bind(k()),D=()=>"axeptaUrlBack:".concat(window.location.pathname),B=(a,e)=>(0,T.v)(a,{extra:{consecutiveFailures:e}}),L=a=>{let{pollStatusRequest:e,onSuccess:t}=a,{t:o}=(0,A.B)([C.NS.Errors,C.NS.PaymentForm]),r=(0,N.useRouter)(),[c,s]=(0,b.useState)(""),[i,l]=(0,b.useState)(!1),[u,d]=(0,b.useState)(void 0),[p,y]=(0,b.useState)(!1),[g,h]=(0,b.useState)(!1);(0,b.useEffect)(()=>{let a=setTimeout(()=>{l(!0)},2500);return()=>clearTimeout(a)},[]),(0,b.useEffect)(()=>{let a=sessionStorage.getItem(D());a&&d(a)},[]);let f=(0,m.Tt)(async a=>{var n,o;if(window!==window.parent)return;let c=null!=(n=new URL(window.location.href).searchParams.get("urlBack"))?n:void 0,i=await e(a);(null==i?void 0:i.isPaymentInAwaitingState)&&h(!0);let l=null!=(o=null==i?void 0:i.urlBack)?o:c;if(l&&(d(l),sessionStorage.setItem(D(),l)),(null==i?void 0:i.done)===!0){if(y(!0),i.paymentErrorTranslationKey)return void s(i.paymentErrorTranslationKey);t(),i.urlSuccess&&await r.replace(I(i.urlSuccess,window.location.origin))}},{intervalMs:p||window!==window.parent?null:1e3,onError:B})>=m.Qm,T="EXCHANGE_ERROR_ALREADY_EXCHANGED"===c,P=(0,b.useCallback)(()=>u?T?void window.location.assign(I(u,window.location.origin)):void r.replace(u):void r.reload(),[u,r,T]);return(0,n.jsxs)("div",{className:M("pending-container"),children:[c&&(0,n.jsx)(w.A,{headingText:o(T?"EXCHANGE_ALREADY_EXCHANGED_TITLE":"PAYMENT_ERROR_TITLE"),disableCloseButton:!0,children:(0,n.jsxs)("div",{className:M("info-modal"),children:[(0,n.jsx)(v.E,{variant:"medium",fontWeight:"normal",as:"p",children:o(c)}),(0,n.jsx)(v.$,{variant:"primary",onClick:P,children:(0,n.jsx)(v.E,{variant:"large",fontWeight:"bold",children:o(T?"EXCHANGE_ALREADY_EXCHANGED_CTA":"PAYMENT_ERROR_RETRY_CTA")})})]})}),!c&&g&&(0,n.jsx)(w.A,{headingText:o("PAYMENT_AWAITING_CONFIRMATION"),disableCloseButton:!0,mobile:{isBottomModal:!0},children:(0,n.jsxs)("div",{className:M("info-modal"),children:[(0,n.jsx)(v.E,{variant:"medium",fontWeight:"normal",as:"p",children:(0,n.jsx)(_.x,{i18nKey:"INSTANEA_AWAITING_BANK_CONFIRMATION",components:{bold:(0,n.jsx)(v.E,{fontWeight:"semibold"})}})}),(0,n.jsx)(v.$,{variant:"primary",onClick:P,children:(0,n.jsx)(v.E,{variant:"large",fontWeight:"bold",children:o("USE_ANOTHER_PAYMENT_METHOD")})})]})}),(0,n.jsx)(E.A,{loadingSentence:c||g?"":f?o("PAYMENT_CONNECTION_LOST_RETRYING"):i?o("LOADING_SENTENCE_PAYMENT"):""})]})},j=async(a,e)=>c.th?(await (0,p.oi)("booking.pollBookingStatus",async()=>y.A.get("http://".concat(c.yb,"/booking/").concat(a,"/pollStatus")))).data:i._.pollBookingStatus(a,e);var G=!0;let F=a=>{let{funnelType:e,transactionId:t}=a,p=(0,g.Y)(),{logPurchase:y}=(0,l.b)(),v=async a=>{switch(e){case o.PurchaseFunnelType.Booking:return j(t,a);case o.PurchaseFunnelType.GiftCard:return(0,f.y)(t);case o.PurchaseFunnelType.DiscountCard:return(0,h.X)(t);case o.PurchaseFunnelType.Exchange:{let[a,e]=t.split("_").map(Number);if(!a||!e)throw Error("Invalid transactionId format for Exchange funnel type");return s.n.pollExchangeStatus("K".concat(a),e)}case o.PurchaseFunnelType.GroupBooking:return i._.pollGroupBookingStatus(t)}},w=async()=>
1{if(e===o.PurchaseFunnelType.Booking&&!c.th){let{booking:a,dependencies:e}=await i._.getBooking(t,{locale:p});if(a.state===o.BookingState.BookingStarted&&((0,u.Od)(a),y(a,e),(0,r.oh)())){let e=a.reservationNumber,t=a.voucherTrip?a.voucherTrip/100:void 0;e&&t&&(0,d.HN)("purchase",{id:e,value:t,currency:a.currency})}}};return(0,n.jsx)(L,{pollStatusRequest:v,onSuccess:w})}},84563:(a,e,t)=>{"use strict";t.d(e,{N:()=>s});var n=t(87490),o=t(56507),r=t(56732);let c=n.A.create({baseURL:"//"+r.yb+"/discountCardPurchase",timeout:6e4});c.defaults.withCredentials=!0;let s=(0,o.VT)("discountCardPurchase",{getCardDetails:async(a,e,t,n)=>(await c.get("cardDetails/".concat(a),{params:{departureCityId:t,arrivalCityId:n,locale:e}})).data,createDraft:async a=>(await c.post("draft",a)).data,retrieveAxeptaEncodedData:async(a,e)=>(await c.post("".concat(a,"/axepta/retrieveEncodedData"),e)).data,authorizePurchase:async(a,e)=>(await c.post("".concat(a,"/authorization"),e)).data,purchaseDiscountCard:async(a,e)=>(await c.post("".concat(a),e)).data,getPurchaseStatus:async a=>(await c.get("".concat(a,"/pollStatus"))).data,getPurchaseDetails:async a=>(await c.get("".concat(a))).data,getDiscountCardPdfUrl:async a=>(await c.get("".concat(a,"/pdfUrl"))).data})},85022:(a,e,t)=>{"use strict";t.d(e,{TO:()=>u,r_:()=>d});var n=t(80263),o=t(1368),r=t(77823),c=t(53239),s=t(49450),i=t(84563);let l=c.createContext(void 0),u=()=>{let a=c.useContext(l);if(void 0===a)throw Error("useDiscountCardPurchaseConfirmation must be used within a DiscountCardPurchaseConfirmationProvider");return a},d=a=>{let{children:e}=a,t=(()=>{var a,e;let t=(0,r.useRouter)(),n=o.LOCALE[null==(a=t.query)?void 0:a.locale],l=null==(e=t.query)?void 0:e.slug,[u,d]=(0,c.useState)(!1),[p,y]=(0,c.useState)(!0),[g,h]=(0,c.useState)(),[f,v]=(0,c.useState)(),[w,E]=(0,c.useState)(),m=(0,c.useMemo)(()=>null==f?void 0:f.cardNumber,[f]),T=(0,c.useMemo)(()=>null==f?void 0:f.cardType,[f]),P=(0,c.useMemo)(()=>null==f?void 0:f.passenger,[f]),S=(0,c.useMemo)(()=>null==f?void 0:f.expirationDate,[f]),N=(0,c.useMemo)(()=>null==f?void 0:f.purchaseType,[f]);return{handleConfirmPurchase:(0,c.useCallback)(async(a,e,r,c)=>{d(!0);try{let u=await i.N.authorizePurchase(a,{displayedPrice:e,method:r});if(!1===u.success){let a=(0,s.SK)(u.reason,o.PurchaseFunnelType.DiscountCard);throw Error(a.message)}if((await i.N.purchaseDiscountCard(a,{paymentMethod:r,tokenOrOrderId:c})).success)await t.replace("/".concat(n,"/discount-card/").concat(l,"/confirm/").concat(a));else throw Error()}catch(a){var u,p;a instanceof Error&&h((null==a||null==(u=a.message)?void 0:u.includes("BOOKING_"))?a.message:null==(p=(0,s.SK)(void 0,o.PurchaseFunnelType.DiscountCard))?void 0:p.message)}finally{d(!1)}},[l,n,t]),purchaseErrorNotification:g,setPurchaseErrorNotification:h,fetchDiscountCardDetails:(0,c.useCallback)(async a=>{v(await i.N.getPurchaseDetails(a)),E((await i.N.getDiscountCardPdfUrl(a)).url),y(!1)},[]),cardNumber:m,cardType:T,cardHolder:P,expirationDate:S,pdfUrl:w,purchaseType:N,isConfirming:u,isPending:p}})();return(0,n.jsx)(l.Provider,{value:t,children:e})}}},a=>{a.O(0,[2918,663,7359,8027,5040,8805,1287,4601,5319,7179,636,6593,8792],()=>a(a.s=62079)),_N_E=a.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.