1import{a as F}from"./chunk-JZJBSCYZ.js";import{e as W,f as H,g as K}from"./chunk-3Z4POWSQ.js";import"./chunk-POHO7RGC.js";import"./chunk-GG46TP4C.js";import"./chunk-XGSJJPD6.js";import"./chunk-WPCFRNFQ.js";import"./chunk-2ASPUHTX.js";import"./chunk-Y3AZN6IK.js";import{a as U,e as y,f as N,g as X,h as B}from"./chunk-BCETYUMZ.js";import{a as P}from"./chunk-I6DVG7UX.js";import{K as D,M as V}from"./chunk-SG2MX73N.js";import{H as O,Jb as l,Kb as s,Mb as w,Mc as S,Nb as g,Nc as E,Ob as A,Pb as m,Qb as c,Rb as d,Sb as k,Zb as v,_a as h,bc as b,cb as r,dc as n,ha as x,lb as u,m as M,ma as p,na as _,nc as L,sa as R,sb as I,sc as C,uc as T}from"./chunk-WRBLWZTT.js";import"./chunk-TWZW5B45.js";function j(e,o){if(e&1){let t=v();c(0,"a",5),b("click",function(){p(t);let a=n().$implicit,f=n(4);return _(f.activeItemMenu=a)}),C(1),S(2,"translate"),d()}if(e&2){let t=n().$implicit,i=n(4);m("routerLink","/"+t.url)("href",t.url,h)("active",(i.activeItemMenu==null?null:i.activeItemMenu.url)==t.url)("disabled",i.isDisabledMenu(t)),r(),T(" ",E(2,5,t.name)," ")}}function Y(e,o){if(e&1){let t=v();c(0,"a",6),b("click",function(){p(t);let a=n().$implicit,f=n(4);return _(f.activeItemMenu=a)}),C(1),S(2,"translate"),d()}if(e&2){let t=n().$implicit,i=n(4);m("href",t.url,h)("active",(i.activeItemMenu==null?null:i.activeItemMenu.url)==t.url)("disabled",i.isDisabledMenu(t)),r(),T(" ",E(2,4,t.name)," ")}}function G(e,o){if(e&1&&(l(0,j,3,7,"a",3),l(1,Y,3,6,"a",4)),e&2){let t=o.$implicit;s(t.visible&&!t.url.includes("http")?0:-1),r(),s(t.visible&&t.url.includes("http")?1:-1)}}function Z(e,o){if(e&1&&(c(0,"nav",2),g(1,G,2,2,null,null,w),d()),e&2){n(2);let t=L(2),i=n();m("tabPanel",t),r(),A(i.itemsMenu)}}function z(e,o){if(e&1&&(c(0,"div",1),l(1,Z,3,1,"nav",2),d()),e&2){let t=n(2);r(),s(t.showElement?1:-1)}}function J(e,o){if(e&1&&(l(0,z,2,1,"div",1),c(1,"mat-tab-nav-panel",null,0),k(3,"router-outlet"),d()),e&2){let t=n();s(t.disabledMenu()?-1:0)}}var $=(()=>{class e{constructor(t,i,a){this.router=t,this.menuService=i,this.languageService=a,this.destroyRef=x(R),this.showElement=!1,this.itemsMenuOffline=[{name:"observation.index",url:"observacion/portada",active:!0,visible:!0,description:"",enabled:!0},{name:"observation.weather-network",url:"observacion/rede-meteoroloxica",active:!1,visible:!0,description:"",enabled:!0},{name:"observation.ocean-network",url:"observacion/rede-oceanografica",active:!1,visible:!0,description:"",enabled:!0},{name:"observation.satelite",url:"observacion/satelite",active:!1,visible:!0,description:"",enabled:!0},{name:"observation.radiosonde",url:"observacion/radiosondaxe",active:!1,visible:!0,description:"",enabled:!0},{name:"observation.lightnings",url:"observacion/raios",active:!1,visible:!0,description:"",enabled:!0},{name:"observation.radar",url:"observacion/radar",active:!1,visible:!0,description:"",enabled:!0},{name:"observation.webcams",url:"observacion/camaras",active:!1,visible:!0,description:"",enabled:!0}]}ngOnInit(){this.languageService.getDefaultLanguage().pipe(P(this.destroyRef)).subscribe(t=>{this.loadItemsMenu()}),setTimeout(()=>{this.showElement=!0},100)}loadItemsMenu(){this.menuService.getObservationMenu().pipe(O(()=>M(this.itemsMenuOffline))).subscribe(t=>{this.itemsMenu=t;let i=this.itemsMenu.find(a=>this.router.url.includes(a.url));this.activeItemMenu=i||this.itemsMenu[0],this.loadItemMenuActive()})}loadItemMenuActive(){this.itemsMenu&&this.router.events.subscribe(t=>{if(t instanceof U&&this.itemsMenu){let i=this.itemsMenu.find(a=>this.router.url.includes(a.url));this.activeItemMenu=i||this.itemsMenu[0],i&&(i.active=!0)}})}disabledMenu(){return this.itemsMenu?this.itemsMenu.every(t=>!t.visible):!0}isDisabledMenu(t){return!!(t&&t==this.activeItemMenu)}static{this.\u0275fac=function(i){return new(i||e)(u(N),u(F),u(V))}}static{this.\u0275cmp=I({type:e,selectors:[["app-observation"]],decls:1,vars:1,consts:[["tabPanel",""],[1,"submenu"],["mat-tab-nav-bar","","disableRipple","true",3,"tabPanel"],["mat-tab-link","","routerLinkActive","router-link-active",3,"routerLink","href","active","disabled"],["mat-tab-link","","routerLinkActive","router-link-active",3,"href","active","disabled"],["mat-tab-link","","routerLinkActive","router-link-active",3,"click","routerLink","href","active","disabled"],["mat-tab-link","","routerLinkActive","router-link-active",3,"click","href","active","disabled"]],template:function(i,a){i&1&&l(0,J,4,1),i&2&&s(a.items
1Menu&&a.itemsMenu.length>0?0:-1)},dependencies:[X,B,y,W,H,K,D],styles:['@font-face{font-family:XuntaSans;src:url("./media/XuntaSans-Regular-RZFVRW3M.woff2") format("woff2"),url("./media/XuntaSans-Regular-KZGYT35O.woff") format("woff");font-weight:400;font-style:normal}@font-face{font-family:XuntaSans;src:url("./media/XuntaSans-Bold-XNU2UBJN.woff2") format("woff2"),url("./media/XuntaSans-Bold-RCFTN5ST.woff") format("woff");font-weight:700;font-style:normal}@font-face{font-family:XuntaSans;src:url("./media/XuntaSans-Italic-IB4ABEJN.woff2") format("woff2"),url("./media/XuntaSans-Italic-PO5ZTMKL.woff") format("woff");font-weight:400;font-style:italic}@font-face{font-family:XuntaSans;src:url("./media/XuntaSans-BoldItalic-NHHOKYN2.woff2") format("woff2"),url("./media/XuntaSans-BoldItalic-L2YRVP33.woff") format("woff");font-weight:700;font-style:italic}@media(min-width:500px){.submenu[_ngcontent-%COMP%]{min-height:47px}}']})}}return e})();var ue=[{path:"",component:$,children:[{path:"",redirectTo:"portada",pathMatch:"full"},{path:"portada",loadChildren:()=>import("./chunk-GJD5NBUT.js").then(e=>e.FRONT_ROUTES)},{path:"estado-actual-do-ceo",loadChildren:()=>import("./chunk-OIGJCQYV.js").then(e=>e.REALTIME_STATE_SKY_ROUTES)},{path:"rede-meteoroloxica",loadChildren:()=>import("./chunk-K7O5K6MU.js").then(e=>e.WEATHER_NETWORK_ROUTES)},{path:"rede-oceanografica",loadChildren:()=>import("./chunk-M23GLRTA.js").then(e=>e.OCEAN_NETWORK_ROUTES)},{path:"satelite",loadChildren:()=>import("./chunk-3FEEGEZX.js").then(e=>e.SATELITE_ROUTES)},{path:"radiosondaxe",loadChildren:()=>import("./chunk-YJRMXU75.js").then(e=>e.RADIOSONDE_ROUTES)},{path:"raios",loadChildren:()=>import("./chunk-TK23CQQD.js").then(e=>e.LIGHTNINGS_ROUTES)},{path:"radar",loadChildren:()=>import("./chunk-SXSXDBTB.js").then(e=>e.RADAR_ROUTES)},{path:"camaras",loadChildren:()=>import("./chunk-XVFUM52I.js").then(e=>e.WEBCAMS_ROUTES)},{path:"efemerides",loadChildren:()=>import("./chunk-UAMOLZVQ.js").then(e=>e.EXTREME_VALUES_ROUTES)},{path:"rede",loadChildren:()=>import("./chunk-4BGOY5ET.js").then(e=>e.STATIONS_LIST_ROUTES)},{path:"illas-atlanticas",loadChildren:()=>import("./chunk-L2GZLE6J.js").then(e=>e.ATLANTIC_ISLANDS_ROUTES)},{path:"parametros",loadChildren:()=>import("./chunk-6FPUHUCG.js").then(e=>e.PARAMETER_LIST_ROUTES)},{path:"publicacions",loadChildren:()=>import("./chunk-XDCJGCTQ.js").then(e=>e.WEATHER_STATION_PUBLICATIONS_ROUTES)},{path:"meteomapas",loadChildren:()=>import("./chunk-7VQ2FVKS.js").then(e=>e.WEATHER_MAPS_ROUTES)},{path:"meteovisor",loadChildren:()=>import("./chunk-RJKAEEDH.js").then(e=>e.METEOVISOR_ROUTES)},{path:"meteovisor-api",loadChildren:()=>import("./chunk-ADZ5FEIC.js").then(e=>e.METEOVISOR_API_ROUTES)}]}];export{ue as OBSERVATION_ROUTES};
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.