1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./lMhlchfq2.js","./CcB4CMWB.js","./Bui_qyLE2.js","./hePW80VL.js","./D5nu08v62.js","./CNRgZMyX2.js","./D0AW7n8Z2.js","./DdDBdIiB2.js","./gDvx-K862.js","./CO8brmfb2.js","./Cw45W2Vz2.js","./T4_3CgBw2.js","./CZG77B5J2.js","./CZG77B5J.js","./jg0ndZMc.js","./D29awFlF.js","./D9wpbiUd.js","./BJ2h5KmQ.js","./CQodrrd0.js","./VF61xgdE.js","./BI1SHiFH.js","./BbL5Ia9f.js","./Cmvd8f7w.js","./T07trDcG.js","./CvwRzUWa.js","./D-xVFs2V.js","./Blux7pDt.js","./CH-AjZPh.js","./CpFued1T.js","./oa3Kszor.js","./S13kRBWh.js","./CiI8M575.js","./BPp4HxCY.js","./D7amRiox.js","./BgVfnWbK.js","./CiuGkt5d.js","./BSUvhFSo.js","./CinM-3Z3.js","./Diak6nEY.js","./V968KflW.js","./BXZEw1K8.js","./C3f_v2Nz.js","./Dn0X07rE.js","./Di_CckaT.js","./uTyigaw7.js","./CWKO82B4.js","./B4gU8oM3.js","./Ued_ZpLv.js","./BuqBW2AK.js","./B1iqB-c1.js","./CCjqAUuP.js","./CnsReKCM2.js","./B_ftKjVk2.js","./CWhMqzix2.js"])))=>i.map(i=>d[i]); 2import{Fn as e,Fr as t,Gn as n,Hn as r,Hr as i,In as a,Ln as o,Rn as s,Un as c,Wn as l,Wr as u,Wt as d,br as f,dr as p,i as m,jn as h,lr as g,qn as _,rr as v,sr as y,xr as b,zn as x,zr as S}from"./CcB4CMWB.js";import{t as C}from"./HclGiUj8.js";import{r as w,t as T}from"./BIClz3us.js";import{t as E}from"./COQRaRH1.js";import{t as D}from"./D82rrUzn.js";import{t as O}from"./CIAwlR2T.js";import{t as k}from"./edrQrqt3.js";import{n as A,t as j}from"./CEsAU0sX2.js";var M=[`title`],N={class:`flex flex-col gap-3`},P={class:`typo-meta-regular`},F={class:`relative pr-8`},I={class:`typo-zwischenueberschrift`},L={class:`absolute top-3.5`},R=Object.assign(n({__name:`WeatherItem`,props:{item:{},isFirst:{type:Boolean,default:!1}},setup(t){let n=l(()=>O(Object.assign({
2"../../../assets/svg/weather/icon-A-night.svg":()=>C(()=>import(`./lMhlchfq2.js`),__vite__mapDeps([0,1]),import.meta.url),
2"../../../assets/svg/weather/icon-A.svg":()=>C(()=>import(`./Bui_qyLE2.js`).then(e=>e.n),__vite__mapDeps([2,3,1]),import.meta.url),
2"../../../assets/svg/weather/icon-B-night.svg":()=>C(()=>import(`./D5nu08v62.js`),__vite__mapDeps([4,1]),import.meta.url),
2"../../../assets/svg/weather/icon-B.svg":()=>C(()=>import(`./CNRgZMyX2.js`),__vite__mapDeps([5,1]),import.meta.url),
2"../../../assets/svg/weather/icon-C-night.svg":()=>C(()=>import(`./D0AW7n8Z2.js`),__vite__mapDeps([6,1]),import.meta.url),
2"../../../assets/svg/weather/icon-C.svg":()=>C(()=>import(`./DdDBdIiB2.js`),__vite__mapDeps([7,1]),import.meta.url),
2"../../../assets/svg/weather/icon-D-night.svg":()=>C(()=>import(`./gDvx-K862.js`),__vite__mapDeps([8,1]),import.meta.url),
2"../../../assets/svg/weather/icon-D.svg":()=>C(()=>import(`./CO8brmfb2.js`),__vite__mapDeps([9,1]),import.meta.url),
2"../../../assets/svg/weather/icon-E-night.svg":()=>C(()=>import(`./Cw45W2Vz2.js`),__vite__mapDeps([10,1]),import.meta.url),
2"../../../assets/svg/weather/icon-E.svg":()=>C(()=>import(`./T4_3CgBw2.js`),__vite__mapDeps([11,1]),import.meta.url),
2"../../../assets/svg/weather/icon-F-night.svg":()=>C(()=>import(`./CZG77B5J2.js`),__vite__mapDeps([12,1]),import.meta.url),
2"../../../assets/svg/weather/icon-F.svg":()=>C(()=>import(`./CZG77B5J.js`),__vite__mapDeps([13,1]),import.meta.url),
2"../../../assets/svg/weather/icon-G-night.svg":()=>C(()=>import(`./jg0ndZMc.js`),__vite__mapDeps([14,1]),import.meta.url),
2"../../../assets/svg/weather/icon-G.svg":()=>C(()=>import(`./D29awFlF.js`),__vite__mapDeps([15,1]),import.meta.url),
2"../../../assets/svg/weather/icon-H-night.svg":()=>C(()=>import(`./D9wpbiUd.js`),__vite__mapDeps([16,1]),import.meta.url),
2"../../../assets/svg/weather/icon-H.svg":()=>C(()=>import(`./BJ2h5KmQ.js`),__vite__mapDeps([17,1]),import.meta.url),
2"../../../assets/svg/weather/icon-I-night.svg":()=>C(()=>import(`./CQodrrd0.js`),__vite__mapDeps([18,1]),import.meta.url),
2"../../../assets/svg/weather/icon-I.svg":()=>C(()=>import(`./VF61xgdE.js`),__vite__mapDeps([19,1]),import.meta.url),
2"../../../assets/svg/weather/icon-J-night.svg":()=>C(()=>import(`./BI1SHiFH.js`),__vite__mapDeps([20,1]),import.meta.url),
2"../../../assets/svg/weather/icon-J.svg":()=>C(()=>import(`./BbL5Ia9f.js`),__vite__mapDeps([21,1]),import.meta.url),
2"../../../assets/svg/weather/icon-K-night.svg":()=>C(()=>import(`./Cmvd8f7w.js`),__vite__mapDeps([22,1]),import.meta.url),
2"../../../assets/svg/weather/icon-K.svg":()=>C(()=>import(`./T07trDcG.js`),__vite__mapDeps([23,1]),import.meta.url),
2"../../../assets/svg/weather/icon-L-night.svg":()=>C(()=>import(`./CvwRzUWa.js`),__vite__mapDeps([24,1]),import.meta.url),
2"../../../assets/svg/weather/icon-L.svg":()=>C(()=>import(`./D-xVFs2V.js`),__vite__mapDeps([25,1]),import.meta.url),
2"../../../assets/svg/weather/icon-M-night.svg":()=>C(()=>import(`./Blux7pDt.js`),__vite__mapDeps([26,1]),import.meta.url),
2"../../../assets/svg/weather/icon-M.svg":()=>C(()=>import(`./CH-AjZPh.js`),__vite__mapDeps([27,1]),import.meta.url),
2"../../../assets/svg/weather/icon-N-night.svg":()=>C(()=>import(`./CpFued1T.js`),__vite__mapDeps([28,1]),import.meta.url),
2"../../../assets/svg/weather/icon-N.svg":()=>C(()=>import(`./oa3Kszor.js`),__vite__mapDeps([29,1]),import.meta.url),
2"../../../assets/svg/weather/icon-O-night.svg":()=>C(()=>import(`./S13kRBWh.js`),__vite__mapDeps([30,1]),import.meta.url),
2"../../../assets/svg/weather/icon-O.svg":()=>C(()=>import(`./CiI8M575.js`),__vite__mapDeps([31,1]),import.meta.url),
2"../../../assets/svg/weather/icon-P-night.svg":()=>C(()=>import(`./BPp4HxCY.js`),__vite__mapDeps([32,1]),import.meta.url),
2"../../../assets/svg/weather/icon-P.svg":()=>C(()=>import(`./D7amRiox.js`),__vite__mapDeps([33,1]),import.meta.url),
2"../../../assets/svg/weather/icon-Q-night.svg":()=>C(()=>import(`./BgVfnWbK.js`),__vite__mapDeps([34,1]),import.meta.url),
2"../../../assets/svg/weather/icon-Q.svg":()=>C(()=>import(`./CiuGkt5d.js`),__vite__mapDeps([35,1]),import.meta.url),
2"../../../assets/svg/weather/icon-R-night.svg":()=>C(()=>import(`./BSUvhFSo.js`),__vite__mapDeps([36,1]),import.meta.url),
2"../../../assets/svg/weather/icon-R.svg":()=>C(()=>import(`./CinM-3Z3.js`),__vite__mapDeps([37,1]),import.meta.url),
2"../../../assets/svg/weather/icon-S-night.svg":()=>C(()=>import(`./Diak6nEY.js`),__vite__mapDeps([38,1]),import.meta.url),
2"../../../assets/svg/weather/icon-S.svg":()=>C(()=>import(`./V968KflW.js`),__vite__mapDeps([39,1]),import.meta.url),
2"../../../assets/svg/weather/icon-T-night.svg":()=>C(()=>import(`./BXZEw1K8.js`),__vite__mapDeps([40,1]),import.meta.url),
2"../../../assets/svg/weather/icon-T.svg":()=>C(()=>import(`./C3f_v2Nz.js`),__vite__mapDeps([41,1]),import.meta.url),
2"../../../assets/svg/weather/icon-U-night.svg":()=>C(()=>import(`./Dn0X07rE.js`),__vite__mapDeps([42,1]),import.meta.url),
2"../../../assets/svg/weather/icon-U.svg":()=>C(()=>import(`./Di_CckaT.js`),__vite__mapDeps([43,1]),import.meta.url),
2"../../../assets/svg/weather/icon-V-night.svg":()=>C(()=>import(`./uTyigaw7.js`),__vite__mapDeps([44,1]),import.meta.url),
2"../../../assets/svg/weather/icon-V.svg":()=>C(()=>import(`./CWKO82B4.js`),__vite__mapDeps([45,1]),import.meta.url),
2"../../../assets/svg/weather/icon-W-night.svg":()=>C(()=>import(`./B4gU8oM3.js`),__vite__mapDeps([46,1]),import.meta.url),
2"../../../assets/svg/weather/icon-W.svg":()=>C(()=>import(`./Ued_ZpLv.js`),__vite__mapDeps([47,1]),import.meta.url),
2"../../../assets/svg/weather/icon-X-night.svg":()=>C(()=>import(`./BuqBW2AK.js`),__vite__mapDeps([48,1]),import.meta.url),
2"../../../assets/svg/weather/icon-X.svg":()=>C(()=>import(`./B1iqB-c1.js`),__vite__mapDeps([49,1]),import.meta.url),
2"../../../assets/svg/weather/icon-Y-night.svg":()=>C(()=>import(`./CCjqAUuP.js`),__vite__mapDeps([50,1]),import.meta.url),
2"../../../assets/svg/weather/icon-Y.svg":()=>C(()=>import(`./CnsReKCM2.js`),__vite__mapDeps([51,1]),import.meta.url),
2"../../../assets/svg/weather/icon-Z-night.svg":()=>C(()=>import(`./B_ftKjVk2.js`),__vite__mapDeps([52,1]),import.meta.url),
2"../../../assets/svg/weather/icon-Z.svg":()=>C(()=>import(`./CWhMqzix2.js`),__vite__mapDeps([53,1]),import.meta.url)
2}),`../../../assets/svg/weather/icon-${t.item.weatherCode}.svg`,7)),r=e(()=>t.isFirst?`Heute`:`Morgen`),i=e(()=>t.item.title?t.item.title:`Wetter ${r.value}: ${t.item.temperature}° - ${t.item.weatherType} (${t.item.location})`);return(e,o)=>t.item?(g(),x(`div`,{key:0,"data-testid":`weather-widget-item`,title:i.value,class:`mr-8 md:mr-3 h-[76px]`},[a(`div`,N,[a(`span`,P,u(r.value),1),a(`div`,F,[a(`span`,I,u(t.item.temperature)+`°`,1),a(`span`,L,[c(S(n),{class:`w-8 h-8`})])])])],8,M)):s(``,!0)}}),{__name:`WidgetsWeatherItem`}),z=[`title`],B=Object.assign(n({__name:`WeatherWidget`,props:{dynamic:{type:Boolean,default:!1},items:{default:()=>[]},link:{default:`/wetter`},linkText:{default:`Zum Wetter`},regionKey:{},townshipKey:{},attrs:{}},setup(t){let n=t,s=[{day:`Heute`,isGood:!0,location:`Bregenz`,temperature:20,weatherCode:`A`,weatherType:`Sonnig`},{day:`Morgen`,isGood:!0,location:`Bregenz`,temperature:20,weatherCode:`A`,weatherType:`Sonnig`}],l=e(()=>!n.items||n.items.length===0?s:j().townshipForecastFromRawData(n.items)),{widgetTracking:d}=D(),f=d({elementName:`weather_widget`,elementText:n.linkText,elementType:`link_wdg`});return(e,n)=>{let s=R,d=E,m=k;return g(),x(`div`,i(_(t.attrs)),[c(m,{link:t.link,class:`flex flex-shrink-0 px-4 pt-5 pb-4 w-full border md:pt-4 md:pb-3.5 md:rounded-lg bg-main-blau-200 border-main-blau-300/15 md:py-6`,attrs:S(f)},{default:b(()=>[(g(!0),x(h,null,p(S(l).slice(0,2),(e,t)=>(g(),o(s,{key:e.day,"is-first":t===0,item:e},null,8,[`is-first`,`item`]))),128)),a(`div`,{class:`inline-flex items-center justify-center w-full gap-2 -ml-2 text-center md:justify-end typo-button`,title:t.linkText},[r(u(t.linkText)+` `,1),c(d)],8,z)]),_:1},8,[`link`,`attrs`])],16)}}}),{__name:`WidgetsWeatherWidget`}),V=Object.assign(n({__name:`WeatherWrapperWidget`,props:{dynamic:{type:Boolean,default:!1},link:{default:`/wetter`},linkText:{default:`Zum Wetter`},regionKey:{},townshipKey:{},useMytownMapping:{type:Boolean,default:!1}},async setup(e){let n,r,i=e,a=d(),s=t({regionKey:i.regionKey||`vorarlberg`,townshipKey:w});if(i.useMytownMapping){let e=T(a.params.mytownSlug);e.exists()&&e.getConfig().weatherTownshipKey!==null&&(s.value={townshipKey:e.getConfig().weatherTownshipKey})}let{data:c}=([n,r]=f(()=>m(A,s,`default`,{},{watch:[s]})),n=await n,r(),n),{impressionTracking:l}=D(),u=l({elementName:`weather_widget`});return y(()=>{if(i.dynamic){let e=T().getFromCookie(),t=i.townshipKey;e&&e!==t&&(t=e,setTimeout(()=>{s.value={regionKey:i.regionKey||`vorarlberg`,townshipKey:t}},0))}}),(e,t)=>{let n=B;return g(),o(n,v({class:`dark:bg-white`,items:S(c)?.townshipWeather},i,{attrs:S(u)}),null,16,[`items`,`attrs`])}}}),{__name:`WidgetsWeatherWrapperWidget`});export{V as default}; 3//# sourceMappingURL=CIGuiORL2.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.