PageSourceSearch

https://www.airbaltic.com/_nuxt/Bt-8jDyv.js

js airbaltic.com collected 2026-09-24 08:33:13 UTC 4,514 bytes, 2 lines download raw bytes

1import{d as O,A as l,aC as P,aF as R,o as i,c as d,f as t,a as m,b as I,g,X as T,$ as z,e as F,t as p,ah as h,G as V}from"./fVQkwvbV.js";import{_ as A}from"./BZ64Y0v7.js";import{b as G,c as H,S as W,a as X}from"./B23hBYzu.js";import{_ as q}from"./zZFaoNNN.js";import"./BoyyPqMC.js";import"./BOyKBhyU.js";import"./CChXv0fD.js";import"./BB_LjOKl.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"6563e1b01ed63d5fd27245241aa9b63f8a764302"}}catch{}})();try{(function(){var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new s.Error().stack;o&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[o]="09086ecb-547c-41f9-908a-93043306ed87",s._sentryDebugIdIdentifier="sentry-dbid-09086ecb-547c-41f9-908a-93043306ed87")})()}catch{}const Y={key:0,"data-test":"hero-banner-picture",class:"pointer-events-none absolute inset-0 z-0 block","aria-hidden":"true"},J=["srcset","media"],K=["srcset","media"],Q=["srcset","media"],Z=["srcset","media"],ee={key:1,"data-test":"hero-banner-content",class:"hero-banner-content relative z-10 flex h-full w-full items-center px-4 py-6 lg:px-24 xl:items-start xl:px-53 xl:pb-0 xl:pt-40"},te=O({__name:"HeroBanner",props:{blok:{},imageLoading:{default:"eager"}},setup(s){const o=s,n={mobile:{width:320,height:464},tablet:{width:728,height:430},smallDesktop:{width:1e3,height:432},desktop:{width:1128,height:460},largeDesktop:{width:1416,height:560}},k=l(()=>o.blok.textPositionOnMobile||"bottom"),x=l(()=>o.blok.textContentColor??"darkBlue"),D=h("hero-banner relative h-116 overflow-hidden rounded-md sm:h-108 lg:h-115 xl:h-140",{variants:{hasShadow:{true:"shadow-lg",false:""}}}),B=h("hero-banner-layout flex h-full w-full flex-col items-start gap-6 sm:gap-28 md:justify-center md:gap-0 lg:h-auto lg:justify-start lg:gap-10 xl:gap-12",{variants:{textContentColor:{white:"text-white",darkBlue:"text-bt-blue-dark"},textPositionOnMobile:{bottom:"justify-end",top:"justify-start sm:justify-end"}}}),E=h("hero-banner-text w-full space-y-2 text-left sm:max-w-72 sm:sp
1ace-y-4 sm:px-2.5 md:px-0 lg:max-w-144 xl:max-w-174",{variants:{textContentColor:{white:"hero-banner-text--light",darkBlue:"hero-banner-text--dark"}}}),S=h("w-full md:w-fit",{variants:{textPositionOnMobile:{bottom:"",top:"mt-auto sm:mt-0"}}}),M=l(()=>D({hasShadow:o.blok.hasShadow})),N=l(()=>B({textContentColor:x.value,textPositionOnMobile:k.value})),U=l(()=>E({textContentColor:x.value})),L=l(()=>S({textPositionOnMobile:k.value})),c=e=>!!(e!=null&&e.filename),j=P(),w=e=>({quality:80,smart:!0,...e.focus?{filters:{focal:e.focus}}:{}}),b=(e,r)=>j(e.filename,{...r,...w(e)},{provider:"storyblok"}),a=l(()=>{const e=o.blok.largeDesktopImage;if(!c(e))return;const r=c(o.blok.mobileImage)?o.blok.mobileImage:e,f=c(o.blok.tabletImage)?o.blok.tabletImage:e,u=c(o.blok.smallDesktopImage)?o.blok.smallDesktopImage:e;return{mobileImage:r,mobileModifiers:w(r),tabletUrl:b(f,n.tablet),smallDesktopUrl:b(u,n.smallDesktop),desktopUrl:b(u,n.desktop),largeDesktopUrl:b(e,n.largeDesktop)}});return(e,r)=>{var y,C,_;const f=V,u=R("StoryblokComponent"),$=A;return i(),d("div",{"data-test":"hero-banner",class:p(t(M))},[t(a)?(i(),d("picture",Y,[m("source",{srcset:t(a).largeDesktopUrl,media:`(min-width: ${t(G)}px)`},null,8,J),m("source",{srcset:t(a).desktopUrl,media:`(min-width: ${t(H)}px)`},null,8,K),m("source",{srcset:t(a).smallDesktopUrl,media:`(min-width: ${t(W)}px)`},null,8,Q),m("source",{srcset:t(a).tabletUrl,media:`(min-width: ${t(X)}px)`},null,8,Z),I(f,{"data-test":"hero-banner-image",provider:"storyblok",src:t(a).mobileImage.filename,width:n.mobile.width,height:n.mobile.height,modifiers:t(a).mobileModifiers,loading:e.imageLoading,fetchpriority:e.imageLoading==="eager"?"high":void 0,alt:"",class:"h-full w-full object-cover object-center"},null,8,["src","width","height","modifiers","loading","fetchpriority"])])):g("",!0),(y=e.blok.textContent)!=null&&y.length||(C=e.blok.ctaButton)!=null&&C.length?(i(),d("div",ee,[m("div",{class:p(t(N))},[(i(!0),d(T,null,z(e.blok.textContent,v=>(i(),F(u,{key:v._uid,blok:v,class:p(t(U))},null,8,["blok","class"]))),128)),(_=e.blok.ctaButton)!=null&&_[0]?(i(),d("div",{key:0,class:p(t(L))},[I($,{blok:e.blok.ctaButton[0],size:"lg","full-width-on-tablet":""},null,8,["blok"])],2)):g("",!0)],2)])):g("",!0)],2)}}}),me=q(te,[["__scopeId","data-v-40b3405f"]]);export{me as default};
2//# sourceMappingURL=Bt-8jDyv.js.map

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.