PageSourceSearch

https://www.meteogalicia.gal/web/chunk-5YGUCAFC.js

js meteogalicia.gal collected 2026-09-24 09:05:04 UTC 3,804 bytes, 1 lines download raw bytes

1import{b as T,i as L}from"./chunk-G4PJ6BAY.js";import{a as u}from"./chunk-I6DVG7UX.js";import{J as B,M as _}from"./chunk-SG2MX73N.js";import{Ib as w,Jb as S,Kb as C,Tb as s,Ub as m,Vb as x,Zb as y,_b as M,_c as r,cb as g,cc as v,dc as f,ha as c,lb as l,ma as d,na as h,sa as p,sb as b}from"./chunk-WRBLWZTT.js";import{h as H}from"./chunk-TWZW5B45.js";var i=H(T());function X(a,D){if(a&1){let o=y();s(0,"button",2),v("click",function(){d(o);let t=f();return h(t.clickButton())}),x(1,"i",3),m()}if(a&2){let o=f();M("title",o.homeButtonTitle),w("aria-label",o.homeButtonTitle)}}var O=(()=>{class a{get map(){return this._map}set map(o){o&&(this._map=o,this.addHomeButtonControl(o))}addHomeButtonControl(o){if(this.enableHomeButtonControl()){let e=i.Control.extend({onAdd(){let t=i.DomUtil.get("meteo-home-button-wrap"),n=i.DomEvent.stopPropagation;return t&&i.DomEvent.on(t,"mousedown",n).on(t,"touchstart",n).on(t,"dblclick",n).on(t,"mousewheel",n).on(t,"MozMozMousePixelScroll",n),t},onRemove(){let t=i.DomUtil.get("meteo-home-button-wrap"),n=i.DomEvent.stopPropagation;return t&&i.DomEvent.off(t,"mousedown",n).off(t,"touchstart",n).off(t,"dblclick",n).off(t,"mousewheel",n).off(t,"MozMozMousePixelScroll",n),t}});this.control=new e({position:this.position()}).addTo(o)}}constructor(o,e,t){this.sixtMeteoMapService=o,this.translateService=e,this.languageService=t,this.destroyRef=c(p),this.enableHomeButtonControl=r(!0),this.position=r("topright"),this.latLng=r([42.8,-8.517181]),this.zoom=r(2.25),this._map=null,this.destroyRef.onDestroy(()=>{this.destroyControl()})}ngOnInit(){this.loadLanguage(),this.sixtMeteoMapService.map$.pipe(u(this.destroyRef)).subscribe(o=>{this.map=o}),this.translateService.stream("map.button.home").subscribe(o=>{this.homeButtonTitle=o})}clickButton(){this._map&&this._map.flyTo(this.latLng(),this.zoom())}loadLanguage(){this.languageService.getDefaultLanguage().pipe(u(this.destroyRef)).subscribe(o=>{let e=localStorage.getItem("language");e&&(this.translateService.setFallbackLang(e),this.translateService.use(e))})}destroyControl(){this.control&&this._map?.removeControl(this.control)}static{this.\u0275fac=function(e){return new(e||a)(l(L),l(B),l(_))}}static{this.\u0275cmp=b({type:a,selectors:[["sixt-meteo-home-button-control"]],inputs:{enableHomeButtonControl:[1,"enableHomeButtonControl"],position:[1,"position"],latLng:[1,"latLng"],zoom:[1,"zoom"]},decls:2,vars:1,consts:[["id","meteo-home-button-wrap",1,"meteo-home-button-wrap"],[1,"meteo-home-button",3,"title"],[1,"meteo-home-button",3,"click","title"],[1,"ri-home-2-fill","meteo-home-button-icon"]],template:function(e,t){e&1&&(s(0,"div",0),S(1,X,2,2,"button",1),m()),e&2&&(g(),C(t.enableHomeButtonControl()?1:-1))},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}.meteo-home-button[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:32px;height:32px;background-color:#262c3080;border-radius:2px;color:#fff;line-height:32px}.meteo-home-button-icon[_ngcontent-%COMP%]{font-size:24px;line-height:24px}']})}}return a})();export{O as a};

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.