PageSourceSearch

https://www.liwest-mobil.at/_nuxt/CZZe6J-Y.js

js liwest-mobil.at collected 2026-10-02 00:26:51 UTC 13,066 bytes, 1 lines download raw bytes

1import{_ as F}from"./Cb5Zzlfc.js";import R from"./CpNIp6Dl.js";import J from"./CA-C0W5z.js";import{J as W,aj as G,k as K,A as Q,I as X,ae as Y,j as e1,N as t1,af as s1,o as s,b as o,u as d,F as w,r as B,c as b,w as c,C as L,a,d as r,B as g,t as A,v as H,b0 as l1,n as o1,e as r1,h as P,x as S,D as n1,bg as a1}from"./CO3rmisD.js";import"./LcFuntGO.js";import"./CRi5lzwR.js";import"./CuGWsV6L.js";try{let i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new i.Error().stack;h&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[h]="b7712d8e-c34f-40e7-9a88-41d695f889ca",i._sentryDebugIdIdentifier="sentry-dbid-b7712d8e-c34f-40e7-9a88-41d695f889ca")}catch{}const i1={key:0,class:"c-maintenance-banner container max-w-screen-xl mx-auto flex justify-center mt-2xl mb-0"},d1=["onClick","aria-label","title"],C1={class:"grid grid-cols-1 md:grid-cols-3 gap-md items-center relative z-10"},u1={class:"col-span-1 md:col-span-2 order-2 md:order-1"},c1=["innerHTML"],y1=["innerHTML"],_1=["innerHTML"],b1={key:0,style:{"--aspect-ratio":"16/9"},class:"order-1 md:order-2 mx-auto"},h1=["src"],f1=["src"],T1=["onClick","aria-label","title"],v1={class:"flex flex-col gap-xl"},k1={key:0,style:{"--aspect-ratio":"16/9"},class:""},w1=["src"],L1=["src"],x1=["innerHTML"],p1=["innerHTML"],M1=["innerHTML"],I1={class:"flex flex-col gap-xl"},m1={key:0,style:{"--aspect-ratio":"16/9"},class:""},B1=["src"],g1=["src"],A1=["innerHTML"],H1=["innerHTML"],P1=["innerHTML"],S1={__name:"Campaigns",props:{types:{default:["banner","overlay"]},display:{default:"block",type:String},screen:{type:String,default:""}},setup(i){const h=i,D=G(),x=K(),V=Q();X();const E=Y(),p=e1(),f=P(new Set),N=P(""),z=P("");t1(()=>{f.value.clear()}),V.afterEach((t,l)=>{t.path===l.path&&Object.entries(l.query).every(([n,C])=>n==="tab"?!0:t.query[n]===C)&&Object.entries(t.query).every(([n,C])=>n==="tab"?!0:l.query[n]===C)||f.value.clear()});function M(t){return x.campaigns.filter(l=>{var j;const _=l.Type===t,n=h.screen||E.pageId,C=Array.isArray(l.Screens)&&l.Screens.some(y=>{var k,q;return((k=y==null?void 0:y.toLowerCase)==null?void 0:k.call(y))===((q=n==null?void 0:n.toLowerCase)==null?void 0:q.call(n))});let e=!1;switch(l.DisplayInterval){case"refresh":e="refresh";break;case"hour":e=36e5;break;case"day":e=864e5;break;case"week":e=6048e5;break;case"once":case"session":e=!1;break}const u=(j=x.disabledCampaigns[l.Id])==null?void 0:j.timestamp;let v=!0;if(e==="refresh")v=!f.value.has(l.Id);else if(u)if(e===!1)v=!1;else{const y=Date.now(),k=u+e;v=y>k}return _&&C&&v})}const $=S(()=>M("card")),U=S(()=>M("banner")),T=S(()=>M("overlay"));s1(T,(t,l)=>{t.length&&p.open(T.value[0].Id)});const I=t=>{Z(t),t.Segment&&t.ClearOnClose&&O(t.Segment)},O=async t=>{await a1({data:{CampaignId:t},complete:()=>{getCampaignsToolAll()}})},Z=t=>{t.DisplayInterval==="refresh"?f.value.add(t.Id):x.disabledCampaigns[t.Id]={timestamp:Date.now()}},m=async t=>{if(t.Segment&&t.ClearOnCTA&&(Z(t),await O(t.Segment)),t.CTAType)switch(t.CTAType){case"url":window.location.href=t.CTAUrl;break;case"screen":V.push(n1(t.CTAScreen));break;case"detailPage":N.value=t.DetailPageTitle,z.value=t.DetailPageText,p.open("CampaignDetailPage"+D);break}};return(t,l)=>{const _=F,n=R,C=J;return s(),o(w,null,[i.types.includes("banner")&&d(U).length?(s(),o("div",i1,[(s(!0),o(w,null,B(d(U),e=>(s(),b(n,{class:o1(["c-promo-box",e.BackgroundImageBase64?"bg-center bg-cover":""]),backgroundColor:e.BackgroundImageBase64?"":"white",style:l1(e.BackgroundImageBase64?{background:`linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(${e.BackgroundImageBase64}) center / cover no-repeat`}:{})},{default:c(()=>[e.Closeable?(s(),o("button",{key:0,class:"c-promo-box__close relative z-20",onClick:u=>I(e),"aria-label":("__"in t?t.__:d(L))("global_action_close"),title:("__"in t?t.__:d(L))("global_action_close")},[...l[1]||(l[1]=[a("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[a("path",{d:"M14.71 7.28983C14.6171 7.19611 14.5065 7.12171 14.3846 7.07094C14.2627 7.02017 14.132 6.99404 14 6.99404C13.868 6.99404 13.7373 7.02017 13.6154 7.07094C13.4936 7.12171 13.383 7.19611 13.29 7.28983L11 9.58984L8.71002 7.28983C8.52171 7.10153 8.26632 6.99574 8.00002 6.99574C7.73372 6.99574 7.47832 7.10153 7.29002 7.28983C7.10171 7.47814 6.99593 7.73353 6.99593 7.99984C6.99593 8.26614 7.10171 8.52153 7.29002 8.70984L9.59002 10.9998L7.29002 13.2898C7.19629 13.3828 7.1219 13.4934 7.07113 13.6153C7.02036 13.7371 6.99422 13.8678 6.99422 13.9998C6.99422 14.1318 7.02036 14.2626 7.07113 14.3844C7.1219 14.5063 7.19629 14.6169 7.29002 14.7098C7.38298 14.8036 7.49358 14.878 7.61544 14.9287C7.7373 14.9795 7.86801 15.0056 8.00002 15.0056C8.13203 15.0056 8.26274 14.9795 8.38459 14.9287C8.50645 14.878 8.61705 14.8036 8.71002 14.7098L11 12.4098L13.29 14.7098C13.383 14.8036 13.4936 14.878 13.6154 14.9287C13.7373 14.9795 13.868 15.0056 14 15.0056C14.132 15.0056 14.2627 14.9795 14.3846 14.9287C14.5065 14.878 14.6171 14.8036 14.71 14.7098C14.8037 14.6169 14.8781 14.5063 14.9289 14.3844C14.9797 14.2626 15.0058 14.1318 15.0058 13.9998C15.0058 13.8678 14.9797 13.7371 14.9289 13.6153C14.8781 13.4934 14.8037 13.3828 14.71 13.2898L12.41 10.9998L14.71 8.70984C14.8037 8.61687 14.8781 8.50627 14.9289 8.38441C14.9797 8.26255 15.0058 8.13185 15.0058 7.99984C15.0058 7.86782 14.9797 7.73712 14.9289 7.61526C14.8781 7.4934 14.8037 7.3828 14.71 7.28983ZM18.07 3.92984C17.1476 2.97473 16.0441 2.21291 14.8241 1.68882C13.604 1.16473 12.2918 0.888869 10.964 0.877331C9.63624 0.865793 8.31944 1.11881 7.09048 1.62162
1C5.86151 2.12443 4.745 2.86696 3.80607 3.80589C2.86714 4.74481 2.12461 5.86133 1.6218 7.09029C1.11899 8.31926 0.865976 9.63605 0.877514 10.9638C0.889052 12.2916 1.16491 13.6038 1.689 14.8239C2.21309 16.0439 2.97492 17.1474 3.93002 18.0698C4.85249 19.0249 5.95593 19.7868 7.17597 20.3109C8.39601 20.8349 9.70821 21.1108 11.036 21.1223C12.3638 21.1339 13.6806 20.8809 14.9096 20.3781C16.1385 19.8752 17.255 19.1327 18.194 18.1938C19.1329 17.2549 19.8754 16.1383 20.3782 14.9094C20.881 13.6804 21.1341 12.3636 21.1225 11.0358C21.111 9.70803 20.8351 8.39583 20.311 7.17579C19.7869 5.95575 19.0251 4.8523 18.07 3.92984ZM16.66 16.6598C15.3521 17.9692 13.6306 18.7847 11.7888 18.9671C9.94707 19.1496 8.09902 18.6879 6.55954 17.6606C5.02006 16.6333 3.88438 15.104 3.34599 13.3333C2.80761 11.5626 2.89982 9.65998 3.60693 7.94962C4.31404 6.23926 5.59229 4.82698 7.22391 3.9534C8.85553 3.07981 10.7396 2.79897 12.555 3.15871C14.3705 3.51845 16.0051 4.49653 17.1803 5.9263C18.3555 7.35607 18.9986 9.14907 19 10.9998C19.0036 12.0511 18.7986 13.0927 18.3969 14.0642C17.9953 15.0358 17.4049 15.918 16.66 16.6598Z"})],-1)])],8,d1)):r("",!0),a("div",C1,[a("div",u1,[e.Title?(s(),o("h2",{key:0,class:"h3 !mb-lg",innerHTML:e.Title},null,8,c1)):r("",!0),e.SubTitle?(s(),o("h3",{key:1,class:"h4 !my-lg",innerHTML:e.SubTitle},null,8,y1)):r("",!0),e.Text?(s(),o("div",{key:2,class:"mb-md whitespace-pre-line",innerHTML:e.Text},null,8,_1)):r("",!0),e.CTAType?(s(),b(_,{key:3,variation:"button",onClick:g(u=>m(e),["prevent"])},{default:c(()=>[A(H(e.CTATitle),1)]),_:2},1032,["onClick"])):r("",!0)]),e.VideoPlayerUrl?(s(),o("div",b1,[a("iframe",{src:e.videoPlayerUrl+"?title=0&byline=0&portrait=0&autoplay="+e.videoAutoplay+"&muted="+e.videoMuted+"&controls="+e.enableVideoControls,width:"640",height:"360",frameborder:"0",allow:"autoplay; fullscreen",allowfullscreen:""},null,8,h1)])):e.ImageBase64?(s(),o("img",{key:1,src:e.ImageBase64,width:"350px",class:"order-1 md:order-2 mx-auto"},null,8,f1)):r("",!0)])]),_:2},1032,["class","backgroundColor","style"]))),256))])):r("",!0),i.types.includes("card")&&d($).length?(s(!0),o(w,{key:1},B(d($),e=>(s(),b(n,{class:"c-promo-box",backgroundColor:"white",display:i.display},{default:c(()=>[e.Closeable?(s(),o("button",{key:0,class:"c-promo-box__close",onClick:u=>I(e),"aria-label":("__"in t?t.__:d(L))("global_action_close"),title:("__"in t?t.__:d(L))("global_action_close")},[...l[2]||(l[2]=[a("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[a("path",{d:"M14.71 7.28983C14.6171 7.19611 14.5065 7.12171 14.3846 7.07094C14.2627 7.02017 14.132 6.99404 14 6.99404C13.868 6.99404 13.7373 7.02017 13.6154 7.07094C13.4936 7.12171 13.383 7.19611 13.29 7.28983L11 9.58984L8.71002 7.28983C8.52171 7.10153 8.26632 6.99574 8.00002 6.99574C7.73372 6.99574 7.47832 7.10153 7.29002 7.28983C7.10171 7.47814 6.99593 7.73353 6.99593 7.99984C6.99593 8.26614 7.10171 8.52153 7.29002 8.70984L9.59002 10.9998L7.29002 13.2898C7.19629 13.3828 7.1219 13.4934 7.07113 13.6153C7.02036 13.7371 6.99422 13.8678 6.99422 13.9998C6.99422 14.1318 7.02036 14.2626 7.07113 14.3844C7.1219 14.5063 7.19629 14.6169 7.29002 14.7098C7.38298 14.8036 7.49358 14.878 7.61544 14.9287C7.7373 14.9795 7.86801 15.0056 8.00002 15.0056C8.13203 15.0056 8.26274 14.9795 8.38459 14.9287C8.50645 14.878 8.61705 14.8036 8.71002 14.7098L11 12.4098L13.29 14.7098C13.383 14.8036 13.4936 14.878 13.6154 14.9287C13.7373 14.9795 13.868 15.0056 14 15.0056C14.132 15.0056 14.2627 14.9795 14.3846 14.9287C14.5065 14.878 14.6171 14.8036 14.71 14.7098C14.8037 14.6169 14.8781 14.5063 14.9289 14.3844C14.9797 14.2626 15.0058 14.1318 15.0058 13.9998C15.0058 13.8678 14.9797 13.7371 14.9289 13.6153C14.8781 13.4934 14.8037 13.3828 14.71 13.2898L12.41 10.9998L14.71 8.70984C14.8037 8.61687 14.8781 8.50627 14.9289 8.38441C14.9797 8.26255 15.0058 8.13185 15.0058 7.99984C15.0058 7.86782 14.9797 7.73712 14.9289 7.61526C14.8781 7.4934 14.8037 7.3828 14.71 7.28983ZM18.07 3.92984C17.1476 2.97473 16.0441 2.21291 14.8241 1.68882C13.604 1.16473 12.2918 0.888869 10.964 0.877331C9.63624 0.865793 8.31944 1.11881 7.09048 1.62162
1C5.86151 2.12443 4.745 2.86696 3.80607 3.80589C2.86714 4.74481 2.12461 5.86133 1.6218 7.09029C1.11899 8.31926 0.865976 9.63605 0.877514 10.9638C0.889052 12.2916 1.16491 13.6038 1.689 14.8239C2.21309 16.0439 2.97492 17.1474 3.93002 18.0698C4.85249 19.0249 5.95593 19.7868 7.17597 20.3109C8.39601 20.8349 9.70821 21.1108 11.036 21.1223C12.3638 21.1339 13.6806 20.8809 14.9096 20.3781C16.1385 19.8752 17.255 19.1327 18.194 18.1938C19.1329 17.2549 19.8754 16.1383 20.3782 14.9094C20.881 13.6804 21.1341 12.3636 21.1225 11.0358C21.111 9.70803 20.8351 8.39583 20.311 7.17579C19.7869 5.95575 19.0251 4.8523 18.07 3.92984ZM16.66 16.6598C15.3521 17.9692 13.6306 18.7847 11.7888 18.9671C9.94707 19.1496 8.09902 18.6879 6.55954 17.6606C5.02006 16.6333 3.88438 15.104 3.34599 13.3333C2.80761 11.5626 2.89982 9.65998 3.60693 7.94962C4.31404 6.23926 5.59229 4.82698 7.22391 3.9534C8.85553 3.07981 10.7396 2.79897 12.555 3.15871C14.3705 3.51845 16.0051 4.49653 17.1803 5.9263C18.3555 7.35607 18.9986 9.14907 19 10.9998C19.0036 12.0511 18.7986 13.0927 18.3969 14.0642C17.9953 15.0358 17.4049 15.918 16.66 16.6598Z"})],-1)])],8,T1)):r("",!0),a("div",v1,[e.VideoPlayerUrl?(s(),o("div",k1,[a("iframe",{src:e.videoPlayerUrl+"?title=0&byline=0&portrait=0&autoplay="+e.videoAutoplay+"&muted="+e.videoMuted+"&controls="+e.enableVideoControls,width:"640",height:"360",frameborder:"0",allow:"autoplay; fullscreen",allowfullscreen:""},null,8,w1)])):e.ImageBase64?(s(),o("img",{key:1,src:e.ImageBase64,class:""},null,8,L1)):r("",!0),a("div",null,[e.Title?(s(),o("h2",{key:0,class:"h3 !mb-lg",innerHTML:e.Title},null,8,x1)):r("",!0),e.SubTitle?(s(),o("h3",{key:1,class:"h4 !my-lg",innerHTML:e.SubTitle},null,8,p1)):r("",!0),e.Text?(s(),o("div",{key:2,class:"mb-md whitespace-pre-line",innerHTML:e.Text},null,8,M1)):r("",!0),e.CTAType?(s(),b(_,{key:3,variation:"button",onClick:g(u=>m(e),["prevent"])},{default:c(()=>[A(H(e.CTATitle),1)]),_:2},1032,["onClick"])):r("",!0)])])]),_:2},1032,["display"]))),256)):r("",!0),i.types.includes("overlay")&&d(T).length?(s(!0),o(w,{key:2},B(d(T),e=>(s(),b(C,{showEscape:e.Closeable,preventClose:!e.Closeable,onClosed:u=>I(e),id:e.Id,modalWidth:"700px"},{body:c(()=>[a("div",I1,[e.VideoPlayerUrl?(s(),o("div",m1,[a("iframe",{src:e.videoPlayerUrl+"?title=0&byline=0&portrait=0&autoplay="+e.videoAutoplay+"&muted="+e.videoMuted+"&controls="+e.enableVideoControls,width:"640",height:"360",frameborder:"0",allow:"autoplay; fullscreen",allowfullscreen:""},null,8,B1)])):e.ImageBase64?(s(),o("img",{key:1,src:e.ImageBase64,class:""},null,8,g1)):r("",!0),a("div",null,[e.Title?(s(),o("h2",{key:0,class:"h3 !mb-lg",innerHTML:e.Title},null,8,A1)):r("",!0),e.SubTitle?(s(),o("h3",{key:1,class:"h4 !my-lg",innerHTML:e.SubTitle},null,8,H1)):r("",!0),e.Text?(s(),o("div",{key:2,class:"mb-md whitespace-pre-line",innerHTML:e.Text},null,8,P1)):r("",!0),e.CTAType?(s(),b(_,{key:3,variation:"button",onClick:g(u=>m(e),["prevent"])},{default:c(()=>[A(H(e.CTATitle),1)]),_:2},1032,["onClick"])):r("",!0)])])]),_:2},1032,["showEscape","preventClose","onClosed","id"]))),256)):r("",!0),r1(C,{onClosed:l[0]||(l[0]=e=>d(p).reopenPrevious()),id:"CampaignDetailPage"+d(D)},{header:c(()=>[...l[3]||(l[3]=[])]),body:c(()=>[...l[4]||(l[4]=[])]),_:1},8,["id"])],64)}}},q1=W(S1,[["__scopeId","data-v-119d1254"]]);export{q1 as default};

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.