PageSourceSearch

https://www.gopili.de/_next/static/chunks/pages/[locale]/discount-…/confirm/[bookingId]-0ddcd95084f03ed7.js

js gopili.de collected 2026-10-08 12:20:34 UTC 5,425 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];if(null!=t)for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:kombo-app":!0})}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6517],{18:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/discount-card/[slug]/confirm/[bookingId]",function(){return t(43261)}])},43261:(e,a,t)=>{"use strict";t.r(a),t.d(a,{__N_SSG:()=>U,default:()=>q});var r=t(80263),n=t(17343),i=t(98879),c=t(93543),s=t(14073);let o={src:"/_next/static/media/check.a02cb03f.png",height:256,width:256,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAIVBMVEUOq04Pp00Oq04NqU4NqE0Oq05MaXEOrE4Nqk4OrE8Pt1RvLbP1AAAACnRSTlP8L7L2YOoA1IG6XtlZZAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADZJREFUCJk1yzEOADEIxEADS0j2/w+OctJVbsasyKqMRbTBHeTrngM93qJgJEGRPgLnw/7wv18lSwEJp81UsgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8};var l=t(59913),d=t(8809),h=t(47591),u=t(43565),A=t(75129),m=t(20110),g=t(44915),_=t
1(95217),p=t.n(_),x=t(55514),y=t(48719),f=t.n(y),N=t(63958),b=t.n(N),j=t(80397),k=t.n(j),v=t(65708),E=t(40586),w=t(14721),O=t(49425),T=t(43230),C=t(45706),D=t(94638),M=t(43318),S=t.n(M);let P=p().bind(S()),B=e=>{let{holderName:a,holderEmail:t,cardNumber:i,cardTypeId:c,cardTypeName:o,expiringDate:l,locale:d}=e,{t:h}=(0,D.B)([g.NS.DiscountCardFunnel]);return(0,r.jsxs)(w.A,{children:[(0,r.jsx)(T.A,{title:h("discount-card.card.title",{context:o}),variant:"large"}),(0,r.jsxs)(O.A,{className:P("discount-card-details"),children:[(0,r.jsx)(s.A,{fontWeight:"semibold",as:"p",children:a}),t&&(0,r.jsx)(s.A,{color:"grey3",as:"p",children:t}),(0,r.jsxs)(s.A,{color:"grey3",as:"p",children:["N\xb0",(0,r.jsx)(s.A,{color:"primary",children:(0,n.formatDiscountCardNumber)(i,c)})]}),(0,r.jsxs)(s.A,{color:"grey3",as:"p",children:[h("discount-card.confirm.validity"),(0,r.jsx)(s.A,{color:"primary",children:" ".concat((0,C.G8)(new Date(l),d))})]})]})]})},I=p().bind(S()),R=e=>{let{slug:a,locale:t}=e,{t:_}=(0,x.Bd)([g.NS.DiscountCardFunnel]),{fetchDiscountCardDetails:p,cardHolder:y,cardNumber:f,expirationDate:N,pdfUrl:j,purchaseType:w,isPending:O,cardType:T}=(0,h.TO)(),{query:C}=(0,v.useRouter)(),D=C.bookingId;(0,u.$)(async()=>{let e=await m.N.getPurchaseStatus(D);(null==e?void 0:e.status)!==n.BookingState.BookingStarted&&await p(D)},y&&j?null:2*d.WO);let M=E.Qs.some(e=>e===T);return(0,r.jsx)(l.A,{children:(0,r.jsx)(A.A,{idName:"discount-card-purchase-confirmation-body",locale:t,useSimpleHeader:!0,children:(0,r.jsx)("div",{className:I("discount-card-confirm-container"),children:(0,r.jsx)(c.A,{children:(0,r.jsx)("div",{className:I("card-container"),children:(0,r.jsxs)("div",{className:I("card-sub-container"),children:[(0,r.jsxs)("div",{className:I("thanks"),children:[(0,r.jsx)(b(),{className:I("icon"),src:o,width:75,height:75,alt:"Pending purchase",style:{maxWidth:"100%",height:"auto"}}),(0,r.jsx)(s.A,{as:"p",variant:"h3",fontWeight:"semibold",color:"goodGreen",children:_("PENDING_BOOKING_THANKS")})]}),(0,r.jsx)(s.A,{variant:"h4",fontWeight:"semibold",as:"h2",lineHeight:"8",children:_(O?w===n.DiscountCardPurchaseType.CREATION?"discount-card.confirm.activation.in.progress":"discount-card.confirm.renewal.in.progress":w===n.DiscountCardPurchaseType.CREATION?"discount-card.confirm.active":"discount-card.confirm.reactivated",{cardType:_("discount-card.card.title",{context:a})})}),T&&(0,r.jsx)(s.A,{variant:"medium",marginTop:"16px",as:"p",lineHeight:"short",children:M?_("discount-card.confirm.email",{context:a}):_("discount-card.confirm.email-carnet")}),!O&&y&&f&&N&&(0,r.jsxs)("div",{className:I("book-ticket-paragraph"),children:[(0,r.jsx)(B,{holderName:"".concat(y.firstName," ").concat(y.lastName),holderEmail:y.email,cardNumber:f,cardTypeId:T,cardTypeName:a,expiringDate:N,locale:t}),M&&(0,r.jsxs)("div",{className:I("book-ticket-paragraph"),children:[(0,r.jsx)(s.A,{variant:"h4",fontWeight:"semibold",lineHeight:"8",children:_("discount-card.confirm.travel.title",{ns:g.NS.DiscountCardFunnel})}),(0,r.jsx)(s.A,{variant:"medium",as:"p",lineHeight:"short",children:_("discount-card.confirm.travel.sentence")})]})]}),(0,r.jsx)("div",{className:I("book-ticket-paragraph"),children:(0,r.jsx)(i.A,{as:k(),href:"/".concat(t),fullWidth:!0,children:_("BOOK_A_TICKET")})})]})})})})})})};var U=!0;let q=e=>{let{t:a}=(0,x.Bd)([g.NS.DiscountCardFunnel]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f(),{children:(0,r.jsx)("title",{children:a("discount-card.confirm-title")})}),(0,r.jsx)(h.r_,{children:(0,r.jsx)(R,{...e})})]})}},43318:e=>{e.exports={"discount-card-confirm-container":"styles_discount-card-confirm-container__HyPUg","card-container":"styles_card-container__D8dBD","card-sub-container":"styles_card-sub-container__54OqJ",thanks:"styles_thanks__lMMll",icon:"styles_icon__pmCr9","link-btn":"styles_link-btn__5mnjK","email-notice":"styles_email-notice__y9VUe","discount-card-details":"styles_discount-card-details__GyT4N","book-ticket-paragraph":"styles_book-ticket-paragraph__MmFzl"}}},e=>{e.O(0,[596,7146,4457,8834,5040,2496,4335,5744,8514,2559,9141,6740,7376,2977,636,6593,8792],()=>e(e.s=18)),_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.