PageSourceSearch

https://www.vrijemeradar.ba/pwa-feature-weather-news-XIDZLXDS.js

js vrijemeradar.ba collected 2026-10-08 17:16:26 UTC 15,710 bytes, 1 lines download raw bytes

1import{b as j}from"./chunk-YSHO27TG.js";import{a as ze}from"./chunk-ODVLCTSM.js";import{a as Ge}from"./chunk-SRT2Z7NB.js";import{a as Ve}from"./chunk-25A62TVA.js";import"./chunk-WKND5DXZ.js";import"./chunk-FF7F3BCM.js";import"./chunk-PB7WVMMH.js";import{b as ve,g as Ce}from"./chunk-6P772R2L.js";import"./chunk-A2Q5BVD4.js";import{b as le,f as ue,h as ye,i as we}from"./chunk-XFPUBVRO.js";import"./chunk-W6QZLAMH.js";import"./chunk-TSQBXLI2.js";import"./chunk-MCI2J3WK.js";import"./chunk-TM5CKSTK.js";import"./chunk-TYTNI5HX.js";import{d as E,e as fe,f as ke}from"./chunk-GULZMVST.js";import"./chunk-LXA42CUM.js";import{a as pe}from"./chunk-MTCDERQP.js";import"./chunk-GV643EUX.js";import"./chunk-CW7PCIGC.js";import"./chunk-PTR3PBDT.js";import"./chunk-55JFKD3A.js";import{a as be}from"./chunk-WGITZO6F.js";import"./chunk-NOJV3KSM.js";import{a as Le}from"./chunk-SMBH2C3S.js";import{a as he}from"./chunk-7USCWIBI.js";import"./chunk-UXIWTNTN.js";import{a as R}from"./chunk-HR4AOW4I.js";import"./chunk-VQHR7VZN.js";import"./chunk-UIKBAYM2.js";import"./chunk-A7PQP7HS.js";import{a as S}from"./chunk-AQ3NSFZ7.js";import"./chunk-NYQHEW6P.js";import"./chunk-5MPAODFY.js";import{d as Se}from"./chunk-657HBIN2.js";import{a as De}from"./chunk-GRHEF4BH.js";import"./chunk-TT7I2YR3.js";import"./chunk-SCNJEYEE.js";import"./chunk-IARPDDQN.js";import"./chunk-LLJAUVCG.js";import"./chunk-I3VPXZBK.js";import"./chunk-NI3NU7HV.js";import"./chunk-M4O5FOTI.js";import"./chunk-SUBUTYRL.js";import{a as x}from"./chunk-HJYHLBGT.js";import{a as c}from"./chunk-5VWIYV7A.js";import"./chunk-PXDEO37U.js";import{b as _e}from"./chunk-2LKIBAP4.js";import"./chunk-H3HQFFWX.js";import"./chunk-3KVBTOHM.js";import"./chunk-OMF7P7PC.js";import"./chunk-AIWSXWG6.js";import"./chunk-SN6DZXPT.js";import"./chunk-ZOJTBD2T.js";import"./chunk-OQ4BLCGM.js";import"./chunk-C4ICBDDG.js";import"./chunk-OF5DFPGV.js";import"./chunk-SKDI7DWF.js";import"./chunk-RHYQEFZ4.js";import"./chunk-IXACGCPM.js";import"./chunk-XKOLHBET.js";import"./chunk-ZCIOIGL7.js";import{a as _,b as O}from"./chunk-TE5WBW6N.js";import"./chunk-6LWED5AJ.js";import"./chunk-6DUHP35K.js";import"./chunk-LM6QDXFO.js";import"./chunk-CQKJTCUB.js";import"./chunk-YV4XWXBB.js";import{d as de}from"./chunk-VGXV6ATU.js";import{n as F,p as xe}from"./chunk-IQEAPOSY.js";import"./chunk-IVHNOYTO.js";import"./chunk-ADVV5ONN.js";import{c as ae}from"./chunk-XWE7H3HT.js";import"./chunk-47ZOTNDE.js";import"./chunk-Z3ATNGTR.js";import{b as Me}from"./chunk-7TOLEIK7.js";import"./chunk-TKOTFYQR.js";import"./chunk-27XKJMCV.js";import{d as Pe}from"./chunk-IEHBLZGY.js";import{h as me,k as ge}from"./chunk-UFPWKMEN.js";import"./chunk-GCCEWEET.js";import"./chunk-NFIAYGHJ.js";import"./chunk-PAM3RPUJ.js";import{b as ce}from"./chunk-GCTRA7JF.js";import"./chunk-3UF247RB.js";import{h as se}from"./chunk-VJGCODMT.js";import{$b as D,Da as Q,Hb as y,Ic as w,Jc as N,L as q,Ma as X,Mc as M,Nc as T,Ob as Z,Oc as te,Qa as Y,Tc as ie,Uc as ne,Vc as oe,Zc as re,ac as P,dd as v,ed as C,f as W,fc as m,gc as l,ha as f,hc as k,ic as g,ka as J,ma as r,md as h,r as H,t as $,tb as s,td as u,vc as ee,xc as B}from"./chunk-HBQGYQK3.js";import"./chunk-PVQQOPSA.js";import{a as d,b as p}from"./chunk-PCOOZPAX.js";var Te=new J("ErrorPageUiContentLoader");function Oe(t){return[d({provide:Te},t.contentLoader),d({provide:R},t.navigation),{provide:ue,useValue:()=>!1}]}var A=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=f({token:e,factory:e.\u0275fac});let t=e;return t})(),Re=(()=>{let e=class e{constructor(){this.errorPageConfig=r(A),this.linkSvc=r(fe),this.center=h(()=>this.errorPageConfig.centerLinkBoxItems()),this.useMobile=h(()=>!this.errorPageConfig.useDesktopStyle()),this.tickerLink=u(),this.radarLink=u(),this.homeLink=u(),this.homeIcon=h(()=>this.errorPageConfig.iconPathBuilder()?.("home")??""),this.tickerIcon=h(()=>this.errorPageConfig.iconPathBuilder()?.("ticker")??""),this.radarIcon=h(()=>this.errorPageConfig.iconPathBuilder()?.("radar")??"")}onClickLink(i){this.linkSvc.onClickLink(i,this.tickerLink())}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=y({type:e,selectors:[["err-link-box"]],hostVars:4,hostBindings:function(n,o){n&2&&N("mobile",o.useMobile())("center",o.center())},inputs:{tickerLink:[1,"tickerLink"],radarLink:[1,"radarLink"],homeLink:[1,"homeLink"]},decls:20,vars:20,consts:[[1,"wrapper"],[3,"link"],[1,"container"],[1,"icon"],[1,"headline"],[3,"click","link"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"wo-flex-a",1)(2,"div",2),g(3,"div",3),l(4,"div",4),M(5),v(6,"editorialTranslate"),k()()(),l(7,"wo-flex-a",5),v(8,"isLink"),ee("click",function(Ee){return o.onClickLink(Ee)}),l(9,"div",2),g(10,"div",3),l(11,"div",4),M(12),v(13,"editorialTranslate"),k()()(),l(14,"wo-flex-a",1)(15,"div",2),g(16,"div",3),l(17,"div",4),M(18),v(19,"editorialTranslate"),k()()()()),n&2&&(s(),m("link",o.homeLink()),s(2),w("background-image",o.homeIcon()),s(2),T(C(6,12,"menu_home")),s(2),m("link",C(8,14,o.tickerLink())),s(3),w("background-image",o.tickerIcon()),s(2),T(C(13,16,"menu_ticker")),s(2),m("link",o.radarLink()),s(2),w("background-image",o.radarIcon()),s(2),T(C(19,18,"menu_weatherradar")))},dependencies:[pe,E,ke],styles:["[_nghost-%COMP%]{height:70px;display:flex;justify-content:space-around;width:80%;margin-bottom:20px;color:#fff}html[data-device=desktop]   [_nghost-%COMP%]   .icon[_ngcontent-%COMP%]{height:36px}[data-device=desktop][_nghost-%COMP%]   .icon[_ngcontent-%COMP%]{height:36px}.mobile[_nghost-%COMP%]{padding:0 20px;width:unset;height:unset}.mobile[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-direction:column}.mobile[_nghost-%COMP%]   wo-flex-a[_ngcontent-%COMP%]{align-items:normal}.center[_nghost-%COMP%]{align-items:center}.center[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]{width:auto}html[data-device]   .center[_nghost-%COMP%]   .icon[_ngcontent-%COMP%]{height:46px;width:46px}[data-device].center[_nghost-%COMP%]   .icon[_ngcontent-%COMP%]{height:46px;width:46px}.wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-around;width:100%}.container[_ngcontent-%COMP%]{color:#fff;display:flex;flex-direction:row;align-items:center;align-content:center;text-decoration:none;cursor:pointer}.icon[_ngcontent-%COMP%]{height:32px;width:36px;background-repeat:no-repeat;background-position:center;margin-right:16px;background-size:contain}.headline[_ngcontent-%COMP%]{font-size:16px}wo-flex-a[_ngcontent-%COMP%]{padding:5px 0}"]});let t=e;return t})();function Fe(t,e){t&1&&(l(0,"h1",0),M(1),v(2,"editorialTranslate"),k()),t&2&&(s(),te(" ",C(2,1,"page_content_unavailable_headline")," "))}function je(t,e){t&1&&g(0,"div",1)}function Ae(t,e){if(t&1&&g(0,"err-link-box",2),t&2){let a=B();m("tickerLink",a.tickerLink())("radarLink",a.radarLink)("homeLink",a.homeLink)}}function Ke(t,e){if(t&1&&g(0,"common-edit-recommendations-block",4),t&2){let a=B(),i=oe(4);m("block",i[0])("allowCategoryNav",!0)("readMoreLink",a.tickerLink())}}var Ie=(()=>{let e=class e extends A{constructor(){super(),this.contentLoader=r(Te),this.i18n=r(he),this.recommendationSvc=r(Ce),this.navi=r(R),this.errorPageData=de(this.contentLoader.errorPageData().pipe(q(1))),this.i18nIsInitialized=Q(!1),this.streamDeeplink=h(()=>this.errorPageData()?.recommendations.deeplinks.stream),this.recommendationsBlocks=h(()=>{let i=this.errorPageData();return i?this.recommendationSvc.buildBlocks(i.recommendations):[]}),this.tickerLink=h(()=>{let i=this.streamDeeplink();if(i)return this.navi.buildRouteForTarget({navTarget:{target:"stream",tickerAppDeeplink:i},allowReturnDeeplinkFunction:!0})}),this.radarLink=this.navi.buildRouteForTarget({navTarget:{target:"weather-radar"}}),this.homeLink=this.navi.buildRouteForTarget({navTarget:{target:"home"}}),this.centerLinkBoxItems=u(!1),this.useDesktopStyle=u.required(),this.iconPathBuilder=u(void 0),this.plainDesign=u(!1),X(()=>{let i=this.errorPageData();i&&(this.i18n.init(new be(i)),this.i18nIsInitialized.set(!0))})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=y({type:e,selectors:[["err-error-page-main"]],hostVars:4,hostBindings:function(n,o){n&2&&N("desktop",o.useDesktopStyle())("plain-design",o.plainDesign())},inputs:{centerLinkBoxItems:[1,"centerLinkBoxItems"],useDesktopStyle:[1,"useDesktopStyle"],iconPathBuilder:[1,"iconPathBuilder"],plainDesign:[1,"plainDesign"]},features:[re([{provide:A,deps:[e],useFactory:i=>i}]),Z],decls:6,vars:6,consts:[[1,"title"],[1,"image"],[1,"links",3,"tickerLink","radarLink","homeLink"],[1,"recommendations",3,"isDesktop"],[3,"block","allowCategoryNav","readMoreLink"]],template:function(n,o){if(n&1&&(D(0,Fe,3,3,"h1",0),D(1,je,1,0,"div",1),D(2,Ae,1,3,"err-link-box",2),l(3,"wo-content-box",3),ie(4),D(5,Ke,1,3,"common-edit-recommendations-block",4),k()),n&2){P(o.i18nIsInitialized()?0:-1),s(),P(o.plainDesign()?-1:1),s(),P(o.i18nIsInitialized()&&!o.plainDesign()?2:-1),s(),m("isDesktop",o.useDesktopStyle()),s();let V=ne(o.recommendationsBlocks());s(),P(V.length>0?5:-1)}},dependencies:[Re,le,ve,E],styles:["html[data-device=mobile]   .desktop[_nghost-%COMP%]   .recommendations[_ngcontent-%COMP%]{margin-top:0}[data-device=mobile].desktop[_nghost-%COMP%]   .recommendations[_ngcontent-%COMP%]{margin-top:0}html[data-device=desktop]   [_nghost-%COMP%]{margin-top:-8px}[data-device=desktop][_nghost-%COMP%]{margin-top:-8px}.plain-design[_nghost-%COMP%]{background:#fff}.plain-design[_nghost-%COMP%]   .title[_ngcontent-%COMP%]{color:#3c3c3c}[_nghost-%COMP%]{align-content:space-between;color:#fff;background:linear-gradient(180deg,#10658e,#00537f);height:100%;display:flex;flex-direction:column;align-items:center}.image[_ngcontent-%COMP%]{height:180px;margin-bottom:64px;width:150px;background-repeat:no-repeat;background-image:url(assets/ic_error_default.svg)}.recommendations[_ngcontent-%COMP%]{margin-top:30px;margin-bottom:40px;padding:0!important}.links[_ngcontent-%COMP%]{margin-top:30px}.title[_ngcontent-%COMP%], .image[_ngcontent-%COMP%]{margin-top:64px}.title[_ngcontent-%COMP%]{font-size:16px;font-weight:300;white-space:pre-line;color:#fff}"]});let t=e;return t})();var I=(()=>{let e=class e{constructor(){this.resolvedData$=new W(1)}errorPageData(){return this.resolvedData$.asObservable().pipe($(i=>{let n=d({},i.recommendations);return n.forCategory.length>0&&(n.forCategory=F({array:n.forCategory,countOfElements:3})),n.ofNewest.length>0&&(n.ofNewest=F({array:n.ofNewest,countOfElements:3})),p(d({},i),{recommendations:n})}))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=f({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Be=(()=>{let e=class e{constructor(){this.device=r(ae),this.response=r(De,{optional:!0}),this.iconPathBuilder=i=>
1{switch(i){case"home":return"url('assets/app-shell/ic_home.svg')";case"ticker":return"url('assets/app-shell/ic_weatherticker.svg')";case"radar":return"url('assets/app-shell/ic_weatherradar.svg')";default:return"url('assets/app-shell/ic_home.svg')"}},this.response?.status(410)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=y({type:e,selectors:[["wo-error-container"]],decls:1,vars:3,consts:[[3,"centerLinkBoxItems","useDesktopStyle","iconPathBuilder"]],template:function(n,o){n&1&&g(0,"err-error-page-main",0),n&2&&m("centerLinkBoxItems",!o.device.isDesktop())("useDesktopStyle",!!o.device.isDesktop())("iconPathBuilder",o.iconPathBuilder)},dependencies:[Ie],encapsulation:2});let t=e;return t})();var U=(()=>{let e=class e extends we{constructor(){super(...arguments),this.contentLoader=r(I),this.lang=r(Me),this.commonSeoService=r(ye),this.i18nConfig=r(_e),this.seoSvc=r(Se),this.loc=r(se),this.preferences=r(Pe)}async fetchContent(){let i=this.preferences.get("testLocale"),n=await H(this.api.load(xe));this.setSeoData(n),this.overridePreservedRouteForError=this.loc.path();let o=p(d({},n),{appLanguage:i?"st":this.lang.locale.langWithoutCharSet,appRegion:i?"TE":this.lang.locale.region,region:i?"TE":this.lang.locale.region??"GB",language:i?"st":this.lang.locale.langWithoutCharSet??"en"});return this.contentLoader.resolvedData$.next(o),o}setSeoData(i){let n=c.fromMaybeString(i.seoData.pagetitle);this.seoSvc.overwriteConfig={noindex:!0,imageIndex:void 0,metaTitle:n,pageTitle:n,canonicalUrl:void 0,metaDescription:c.fromMaybeString(i.seoData.description),openGraphTags:this.seoSvc.asOgTags(this.commonSeoService.getOgTagsForPWA(i,{region:this.lang.locale.region,language:this.lang.locale.langWithCharSet,regionName:this.i18nConfig.config.countryName}))}}};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=Y(e)))(o||e)}})(),e.\u0275prov=f({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Lt=[{path:"",component:Be,resolve:{[U.routeDataKey]:U},providers:[Oe({contentLoader:{useExisting:I},navigation:{useExisting:Le}})]}];var Ue=ce().makeChild("[WeatherNewsRoutingModule]"),L={routes:[],map:{}},z={routes:[],map:{}};function b(t,e,a){!e.path&&!a&&Ue.error("addRoute with empty route path and no overridePathMapKey was called. This is probably a mistake, because empty routes cannot be remembered by the path map. Consider setting an overridePathMapKey for this route and make sure it is not used for any other routes in this module.");let i=a??e.path;!i||i in t.map||(t.map[i]=!0,t.routes.push(e))}for(let t of me.map(e=>ge.fromLocale(e))){b(L,{path:t.basePath("stream").leaf,canActivate:[S],loadChildren:()=>import("./article-stream.routes-JDBBPS6T.js").then(a=>a.articleStreamRoutes),data:{seoConfig:{pageTitle:c.fromTranslationKey("ticker_pagetitle"),metaDescription:c.fromTranslationKey("ticker_metadescription"),openGraphTags:{"og:type":c.fromString("article")},twitter:"tickerOrTeaser",jsonLdSchemas:[x.breadcrumb]},backgroundColor:_.white,footerDistance:!1,capabilityCondition:["news"],hideFooter:!0,adTarget:{static:{screen:O.ticker}}},resolve:{[j.routeDataKey]:j}});let e={canActivate:[S],loadChildren:()=>import("./teaser.routes-FG3ERBLH.js").then(a=>a.teaserRoutes),data:{capabilityCondition:["news"],seoConfig:{pageTitle:c.fromTranslationKey("teaser_pagetitle_topics"),metaDescription:c.fromTranslationKey("teaser_metadescription_topics"),openGraphTags:{"og:type":c.fromString("article")},twitter:"tickerOrTeaser",jsonLdSchemas:[x.breadcrumb]},backgroundColor:_.white,footerDistance:!1,adTarget:{static:{screen:O.editorsPick}}}};b(L,d({path:t.basePath("teaser").leaf},e)),b(z,p(d({},e),{path:"",data:p(d({},Ne(["capabilityCondition"],e.data)),{disableAds:!0,noSkyScraper:!0,disableShowSmartBanner:!0})}),"productMarketingTeaser"),b(L,{path:t.basePath("authors").leaf,canActivate:[S],loadChildren:()=>import("./authors.routes-ZYWBGDZO.js").then(a=>a.authorsRoutes),data:{seoConfig:{imageIndex:!1,pageTitle:c.fromTranslationKey("authors_pagetitle"),metaDescription:c.fromTranslationKey("authors_metadescription"),openGraphTags:{"og:type":c.fromString("website")},twitter:"authors",jsonLdSchemas:[x.breadcrumb]},backgroundColor:_.white}})}var G={path:":postId",canActivate:[S],loadChildren:()=>import("./single-post.routes-H3SCR75D.js").then(t=>t.singlePostRoutes),data:{seoConfig:{pageTitle:c.fromTranslationKey("ticker_pagetitle"),metaDescription:c.fromTranslationKey("ticker_metadescription"),openGraphTags:{"og:type":c.fromString("article")},twitter:"single",jsonLdSchemas:[x.breadcrumb]},backgroundColor:_.white,footerDistance:!1,capabilityCondition:["news","timelessArticles"],adTarget:{static:{screen:O.tickerPost}}}};b(L,G);b(z,p(d({},G),{data:p(d({},Ne(["capabilityCondition"],G.data)),{disableAds:!0,noSkyScraper:!0})}));var Ft=L.routes,jt=z.routes;function Ne(t,e){return e?Object.fromEntries(Object.entries(e).filter(([a])=>!t.includes(a))):{}}export{Ge as SeoDataResolver,Lt as errorRoutes,jt as productMarketingRoutes,Ve as singlePostRoutes,ze as teaserRoutes,Ft as weatherNewsRoutes};

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.