PageSourceSearch

https://www.gopili.de/_next/static/chunks/pages/[locale]/redirect/[company]-b51af3bdfdd5dbc8.js

js gopili.de collected 2026-10-08 12:20:46 UTC 7,844 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 n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(e[a]=r[a])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:kombo-app":!0})}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3149],{24430:(e,n,r)=>{"use strict";r.d(n,{Y:()=>U});var a=r(80263),t=r(25164),s=r(82032),o=r(75213),l=r(69316),i=r(17343),c=r(87913),d=r(98879),h=r(43449),u=r(95217),x=r.n(u),_=r(80397),p=r.n(_),m=r(65708),j=r(53239),f=r(94638),g=r(52840),b=r(42059),v=r(17836),N=r(44915),w=r(57525),H=r(90185),k=r(42277),y=r(67843),M=r.n(y),I=r(23727);let C=x().bind(M()),E=e=>{let{currentLocale:n,isOpen:r,localeUrls:t}=e;return r?(0,a.jsx)("div",{className:C("header-translation-options"),children:(0,a.jsx)(H.Ux,{localeUrls:t,currentLocale:n})}):null},A=e=>{var n;let{localeUrls:r,onOpen:t,onClose:s,variant:o="default",onHero:u=!1}=e,{t:x}=(0,f.B)([N.NS.Menu]),_=(0,b.Ym)(),{auth:y,mainPassenger:M,checkedAuth:A,isMainPassengerLoading:T}=(0,g.As)(),S=(0,b.LV)(),O=w.f[S],{asPath:Y}=(0,m.useRouter)(),L=(0,j.useMemo)(()=>!A||T,[A,T]),[P,U]=(0,j.useState)(!1),B=(0,j.useMemo)(()=>H.yg[_],[_]),F=u&&null!=(n=O.menuChevronColorOnHero)?n:O.menuChevronColor,z=(0,j.useMemo)(()=>P?(0,a.jsx)(h.A,{icon:"chevronUp",color:F,height:"16px",width:"16px"}):(0,a.jsx)(h.A,{icon:"chevronDown",color:F,height:"16px",width:"16px"}),[P,F]),K=(0,j.useMemo)(()=>(0,i.brandHasLogin)(S)?y?(0,v.GC)(_):(0,v.aX)(_):"/".concat(_,"/aftersales"),[y,_,S]),R=(0,j.useMemo)(()=>y?(0,v.sZ)(_):(0,v.K)(_),[y,_]),Z="true"!==I.env.NEXT_PUBLIC_LANDING_FRONT&&!(0,b.IX)(S,Y),D=M?"".concat(M.firstName," ").concat(M.lastName):void 0;return(0,a.jsxs)("div",{className:C("header-menu-links","no-mobile"),children:[Z&&(0,a.jsxs)("div",{className:C("current-flag"),onClick:()=>U(!P),children:[(0,a.jsx)(c.A,{marginRight:"8px",children:(0,a.jsx)(h.A,{icon:B,height:"20px",width:"20px"})}),z,(0,a.jsx)(E,{currentLocale:_,isOpen:P,localeUrls:r})]}),!L&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p(),{href:K,className:C("label"),children:(0,a.jsxs)(c.A,{d:"flex",gap:"16px",alignItems:"center",children:[M&&(0,a.jsx)(k.q,{url:M.profilePicture,firstName:M.firstName,lastName:M.lastName,size:"sm",variant:u?"default":"inverted"}),null!=D?D:x("MY_TICKETS")]})}),O.showConnectButton&&(0,a.jsx)(d.A,{as:p(),href:R,variant:"deepBlue"===o?"outlineWhite":"secondary",children:x(y?"MY_TICKETS":"CONNECT")})]}),(0,a.jsx)(l.A,{localeUrls:r,onOpen:t,onClose:s,isHeaderNarrow:!1})]})};var T=r(56267),S=r(84814),O=r(89005),Y=r(99315),L=r.n(Y);let P=x().bind(L()),U=e=>{var n;let{localeUrls:r,noMenu:c,showBackButton:d=!1,backHref:h,showShareButton:u=!1,shareButtonMobileOnly:x=!1,compactMenu:_=!1,customContent:f,sticky:g=!1,isHeaderNarrow:b=!1,variant:v="default",logoHref:N,hideSeasonalLogo:w=!1,onHero:H=!1}=e,{pathname:k}=(0,m.useRouter)(),y=(0,T.Y)(),M=(0,m.useRouter)(),I=(0,o.LV)(),C=(n=M.asPath,I===i.Brand.Gopili?(0,O.Dy)(n,y):I===i.Brand.Kelbus?"/":"/".concat(y)),[E,Y]=(0,j.useState)(!1);return k.includes("/app")?null:(0,a.jsx)("header",{className:"".concat(P("header-container",{hamburgerIsOpen:E,"deep-blue":"deepBlue"===v,sticky:g,narrow:b})).concat(H?" header-on-hero":""),children:(0,a.jsx)(S.H,{children:(0,a.jsxs)("div",{className:P("header-content"),children:[(0,a.jsx)("div",{className:P("back-button-container"),children:d&&(h?(0,a.jsx)(p(),{href:h,className:P("back-button"),children:(0,a.jsx)(t.I,{icon:"chevron-left-outline",color:"white",height:"24px",width:"24px"})}):(0,a.jsx)("button",{className:P("back-button"),onClick:()=>{M.back()},tabIndex:0,children:(0,a.jsx)(t.I,{icon:"chevron-left-outline",color:"white",height:"30px",width:"30px"})}))}),f?(0,a.jsx)("div",{className:P("header-logo","custom-content"),children:f}):(0,o.xk)(I)&&!(0,o.s7)(I)?(0,a.jsx)("a",{href:(0,o.If)(I,y),className:P("header-logo"),children:(0,a.jsx)(s.FQ,{variant:"secondary",onLightSurface:H})}):(0,a.jsx)(p(),{href:null!=N?N:C,children:(0,a.jsx)("div",{className:P("header-logo"),children:(0,a.jsx)(s.FQ,{hideSeasonalLogo:w,onLightSurface:H})})}),(0,a.jsxs)("div",{className:P("menu-container",{compact:_}),children:[u&&(0,a.jsx)("div",{className:x?"no-desktop":void 0,children:(0,a.jsx)("button",{className:P("share-button"),onClick:()=>{navigator.share?navigator.share({url:window.location.href}):navigator.clipboard.writeText(window.location.href)},tabIndex:0,children:(0,a.jsx)(t.I,{icon:"export",color:"white",height:"20px",width:"20px"})})}),!c&&(_?(0,a.jsx)(l.A,{localeUrls:r,onOpen:()=>Y(!0),onClose:()=>Y(!1),isHeaderNarrow:b}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"no-desktop",children:(0,a.jsx)(l.A,{localeUrls:r,onOpen:()=>Y(!0),onClose:()=>Y(!1)})}),(0,a.jsx)("div",{className:"no-mobile",children:(0,a.jsx)(A,{localeUrls:r,onOpen:()=>Y(!0),onClose:()=>Y(!1),variant:v,onHero:H})})]}))]})]})})})}},43101:(e,n,r)=>{"use strict";r.d(n,{EY:()=>s.A,Zp:()=>t.A,az:()=>a.A});var a=r(87913),t=r(93543),s=r(14073)},46090:(e,n,r)=>{"use strict";r.r(n),r.d(n,{__N_SSP:()=>f,default:()=>g});var a=r(80263),t=r(43101),s=r(82032),o=r(63958),l=r.n(o),i=r(53239);let c=e=>{let{fallback:n,...r}=e,[t,s]=(0,i.useState)(!1);return t?n:(0,a.jsx)(l(),{...r,onError:()=>{s(!0)},objectFit:"contain"})};var d=r(44915),h=r(69768),u=r(48719),x=r.n(u),_=r(65708),p=r(94638),m=r(91378),j=r(24430),f=!0;let g=e=>{let{redirectionUrl:n,partnerAsset:r,partnerLabel:o}=e,{t:l}=(0,p.B)([d.NS.Home]),u=(0,_.useRouter)();return(0,i.useEffect)(()=>{let e=setTimeout(()=>{u.push(n)},3e3);return()=>clearTimeout(e)},[n,u]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.bV,{title:l("Redirection")}),(0,a.jsx)(x(),{children:(0,a.jsx)("meta",{name:"robots",content:"noindex"})}),(0,a.jsx)(j.Y,{noMenu:!0}),(0,a.jsx)(m.H,{__minHeight:"520px",d:"flex",alignItems:"center",children:(0,a.jsxs)(t.Zp,{title:l("redirection.title"),children:[(0,a.jsxs)(t.az,{d:"flex",width:"100%",display:"flex",alignItems:"center",children:[(0,a.jsx)(t.az,{__width:"33%",children:(0,a.jsx)(s.FQ,{variant:"secondary"})}),(0,a.jsx)(t.az,{__width:"34%",textAlign:"center",children:(0,a.jsx)(t.EY,{__fontSize:"32px",children:"->"})}),(0,a.jsx)(t.az,{__width:"33%",display:"flex",justifyContent:"center",alignItems:"center",children:(0,a.jsx)(c,{src:"/assets/images/partner/".concat(r,".svg"),fallback:(0,a.jsx)(t.EY,{children:o}),width:130,height:40,style:{width:"100%",height:"auto",maxHeight:"48px"},alt:o})})]}),(0,a.jsxs)(t.az,{children:[(0,a.jsx)(t.EY,{as:"p",children:l("redirection.description1")}),(0,a.jsx)(t.EY,{as:"p",children:l("redirection.description2")})]})]})})]})}},67843:e=>{e.exports={"header-menu-links":"HeaderMenu_header-menu-links__IZfNl",label:"HeaderMenu_label__jGeNv","current-flag":"HeaderMenu_current-flag___yt2p","header-translation-options":"HeaderMenu_header-translation-options__Dw5PU",fadeIn:"HeaderMenu_fadeIn__5NfMl"}},95745:(e,n,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/redirect/[company]",function(){return r(46090)}])},99315:e=>{e.exports={"header-container":"Header_header-container__f_Qy6","deep-blue":"Header_deep-blue__Tdx9e",sticky:"Header_sticky__EfsNc",narrow:"Header_narrow__IknKF",hamburgerIsOpen:"Header_hamburgerIsOpen__cVhG3","header-content":"Header_header-content__IrhCq","back-button-container":"Header_back-button-container__hMSa1","header-logo":"Header_header-logo__D3ZML","custom-content":"Header_custom-content__8vnll","menu-container":"Header_menu-container__YKPCi",compact:"Header_compact__y4A_k","share-button":"Header_share-button__vHb2x",fadeIn:"Header_fadeIn__9JZMP"}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=95745)),_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.