PageSourceSearch

https://www.balticsentinel.eu/build-mm-v6/bundle-482f6a66125eb55534e3.js

js balticsentinel.eu collected 2026-10-02 07:52:56 UTC 14,072 bytes, 13 lines download raw bytes

1(function(){try{var n=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},u=new n.Error().stack;u&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[u]="1fcf947e-929c-4da8-a287-51b26235b832",n._sentryDebugIdIdentifier="sentry-dbid-1fcf947e-929c-4da8-a287-51b26235b832")}catch(e){}})(),(self.webpackChunkmysterious_monoceros=self.webpackChunkmysterious_monoceros||[]).push([[5037],{5067:(n,u,e)=>{var i={"./map-ee-black.svg":74705,"./map-ee.svg":41799};function l(s){var o=d(s);return e(o)}function d(s){if(!e.o(i,s)){var o=new Error("Cannot find module '"+s+"'");throw o.code="MODULE_NOT_FOUND",o}return i[s]}l.keys=function(){return Object.keys(i)},l.resolve=d,n.exports=l,l.id=5067},7274:(n,u,e)=>{var i={"./arrow-down-disabled.svg":91643,"./arrow-down-white.svg":90526,"./arrow-down.svg":40082};function l(s){var o=d(s);return e(o)}function d(s){if(!e.o(i,s)){var o=new Error("Cannot find module '"+s+"'");throw o.code="MODULE_NOT_FOUND",o}return i[s]}l.keys=function(){return Object.keys(i)},l.resolve=d,n.exports=l,l.id=7274},9581:(n,u,e)=>{"use strict";n.exports=e.p+"assets/map-lv-black-7054c771296f0fe0018d.svg"},10789:(n,u,e)=>{"use strict";e.d(u,{A:()=>m});var i=function(){var v=this,h=v._self._c;return h(v.href?"a":"span",{tag:"component",staticClass:"shadow-button",class:[v.classes,{"shadow-button--dark":v.dark}],attrs:{href:v.href},on:{click:function(c){return v.$emit("click")}}},[v._t("default"),v._v(" "),v.showIcon?h("div",{staticClass:"icon",style:`background-image: url('${e(7274)(`./arrow-down${v.dark?"-white":""}.svg`)}')`}):v._e()],2)},l=[];i._withStripped=!0;var d={name:"ShadowButton",props:{href:{type:String,default:null},state:{type:[Array,String],default:()=>[]},showIcon:{type:Boolean,default:!1},dark:{type:Boolean,default:!1}},computed:{classes(){return typeof this.state=="string"?["shadow-button--"+this.state]:this.state.length?this.state.map(f=>"shadow-button--"+f):null}}},s=d,o=e(14486),_=(0,o.A)(s,i,l,!1,null,"aa3bbae8",null),m=_.exports},14030:(n,u,e)=>{"use strict";e.d(u,{A:()=>_});var i=function(){var f=this,v=f._self._c;return v("img",{staticClass:"loader",attrs:{src:e(16751),alt:""}})},l=[];i._withStripped=!0;var d=e(14486),s={},o=(0,d.A)(s,i,l,!1,null,"1c0335aa",null),_=o.exports},16751:(n,u,e)=>{"use strict";n.exports=e.p+"assets/loader-70be172057568a7f47a5.svg"},20287:(n,u,e)=>{var i={"./black/clear-day.svg":92316,"./black/clear.svg":32389,"./black/cloudy.svg":37978,"./black/fog.svg":50986,"./black/hail.svg":5580,"./black/partly-cloudy-day.svg":97980,"./black/partly-cloudy.svg":67109,"./black/precipitation.svg":87127,"./black/rain.svg":54060,"./black/sleet.svg":76815,"./black/snow.svg":30067,"./black/thunderstorm.svg":83423,"./black/wind.svg":56892,"./white/clear-day.svg":28678,"./white/clear.svg":68807,"./white/cloudy.svg":89368,"./white/fog.svg":94496,"./white/hail.svg":45002,"./white/partly-cloudy-day.svg":83546,"./white/partly-cloudy.svg":35131,"./white/precipitation.svg":60353,"./white/rain.svg":90058,"./white/sleet.svg":92013,"./white/snow.svg":58633,"./white/thunderstorm.svg":19041,"./white/wind.svg":52602};function l(s){var o=d(s);return e(o)}function d(s){if(!e.o(i,s)){var o=new Error("Cannot find module '"+s+"'");throw o.code="MODULE_NOT_FOUND",o}return i[s]}l.keys=function(){return Object.keys(i)},l.resolve=d,n.exports=l,l.id=20287},25363:(n,u,e)=>{"use strict";n.exports=e.p+"assets/map-lv-6861eee65e0392874384.svg"},28939:(n,u,e)=>{"use strict";e.d(u,{A:()=>f});var i=function(){var h=this,c=h._self._c;return c("div",{staticClass:"weather-error-view flex flex--direction-column flex flex--align-items-center flex--justify-content-center"},[c("img",{staticClass:"weather-error-view__icon",attrs:{src:e(45708),width:"60",height:"51"}}),h._v(" "),c("p",{staticClass:"weather-error-view__text",domProps:{innerHTML:h._s(h.translate("Ilmaandmete kuvamisel tekkis viga.<br>Palun v\xE4rskenda lehte."))}})])},l=[];i._withStripped=!0;var d=e(53949),s={name:"error",props:{language:{type:String,default:"et"},country:{type:String,default:"ee"}},created(){d.A.setLocale(this.country,this.language)},methods:{translate(v){return d.A.translate(v)}}},o=s,_=e(14486),m=(0,_.A)(o,i,l,!1,null,"30912c87",null),f=m.exports},31717:(n,u,e)=>{"use strict";n.exports=e.p+"assets/arrow-385d02b59f574045b04f.svg"},40082:(n,u,e)=>{"use strict";n.exports=e.p+"assets/arrow-down-abfbafe3f6dc01b258d5.svg"},41494:(n,u,e)=>{"use strict";n.exports=e.p+"assets/keskkonnaagentuur-e68f1bf107cdc19c7a29.svg"},41799:(n,u,e)=>{"use strict";n.exports=e.p+"assets/map-ee-27f2439579a7c8686370.svg"},42428:(n,u,e)=>{"use strict";e.r(u),e.d(u,{default:()=>H});var i=function(){var t=this,r=t._self._c;return r("WeatherMap",t._b({attrs:{dark:t.theme==="dark"}},"WeatherMap",t.$attrs,!1))},l=[];i._withStripped=!0;var d=function(){var t=this,r=t._self._c;return r("section",{staticStyle:{"min-height":"215px",position:"relative"}}
1,[t.isError?r("Error",{attrs:{language:t.language,country:t.country}}):[t.locations.length?r("Map",{attrs:{locations:t.locations,language:t.language,country:t.country,group:t.group,highlightColor:t.highlightColor,groupButtons:t.groupButtons,dark:t.dark},on:{locationClick:t.extendedForecastRedirect}}):r("Loader")],t._v(" "),!t.isError&&t.locations.length?r("WeatherSource",{staticClass:"weather__source",attrs:{provider:t.provider,sources:t.sources,country:t.country,language:t.language}}):t._e()],2)},s=[];d._withStripped=!0;var o=function(){var t=this,r=t._self._c;return r("div",{staticClass:"weather-map",class:["weather-map--"+t.country,"weather-map--"+t.group,{"weather-map--dark":t.dark}]},[r("div",{staticClass:"flex flex--align-items-center flex--justify-content-space-between navigation-bar-top"},[r("div",t._l(t.forecastButtons,function(p){return r("ShadowButton",{key:p.id,class:{"shadow-button--active":t.activeData===p.id},attrs:{state:t.buttonsState,dark:t.dark,"aria-pressed":t.activeData===p.id?"true":"false",role:"button",tabindex:"0"},on:{click:function(g){return t.setActiveData(p.id)}}},[t._v(`
2        `+t._s(t.translate(p.title))+`
3      `)])}),1),t._v(" "),t.groupButtons.length?r("div",t._l(t.groupButtons,function(p,g){return r("ShadowButton",{key:"menu-"+g,attrs:{state:p.state,href:t.getBtnHref(p),dark:t.dark}},[t._v(`
4        `+t._s(t.translate(p.title))+`
5      `)])}),1):t._e()]),t._v(" "),r("div",{staticClass:"weather-map__map-container"},[r("img",{staticClass:"weather-map__bg",attrs:{src:t.mapImage(),alt:""}}),t._v(" "),r("div",{staticClass:"container"},t._l(t.locations,function(p){return r("div",{staticClass:"location",class:"location--"+p.id,style:"left:"+t.getPosition("longitude",p)+"%; top:"+t.getPosition("latitude",p)+"%;"},[r("span",{staticClass:"circle",style:t.beachFlagStyle(p)}),t._v(" "),r("span",{staticClass:"location__name",attrs:{role:"button",tabindex:"0"},on:{click:function(g){return t.$emit("locationClick",p)},keyup:function(g){return!g.type.indexOf("key")&&t._k(g.keyCode,"enter",13,g.key,"Enter")?null:t.$emit("locationClick",p)}}},[t._v(t._s(p.name))]),t._v(" "),t.isButtonsDisabled?t._e():r("div",{staticClass:"info-container",class:"info-container--"+t.activeData,style:{"background-color":t.infoContainerColor}},[t.activeData==="temperature"?[r("img",{attrs:{src:t.weatherIcon(p.forecast.currently[0].icon,!0,p.forecast.currently[0].isDayTime),alt:"",width:"23",height:"23"}}),t._v(" "),r("div",[t._v(`
6              `+t._s(t.round(p.forecast.currently[0].temperature))+`\xB0
7            `)])]:t.activeData==="wind"?[r("img",{style:"transform: rotate("+p.forecast.currently[0].windBearing+"deg);",attrs:{src:e(31717),height:"19",width:"19",alt:""}}),t._v(" "),r("div",[t._v(`
8              `+t._s(t.round(p.forecast.currently[0].windSpeed,0))+" "+t._s(t.translate("m/s"))+`
9            `)])]:[r("img",{attrs:{src:e(60353),width:"14",height:"23",alt:""}}),t._v(" "),r("div",[t._v(`
10              `+t._s(t.replaceWithDot(t.round(p.forecast.currently[0].humidity)))+`
11              `),r("span",{staticStyle:{"font-size":"9px"}},[t._v(t._s(t.translate("mm")))])])]],2)])}),0)])])},_=[];o._withStripped=!0;var m=e(53949),f=e(20194),v=e(10789),h={name:"Map",components:{ShadowButton:v.A},data(){return{activeData:"temperature",forecastButtons:[{id:"temperature",title:"Temperatuur"},{id:"precipitation",title:"Sademed"},{id:"wind",title:"Tuul"}]}},props:{locations:{type:Array,required:!0},language:{type:String,default:"et"},country:{type:String,default:"ee"},group:{type:String,default:"estonia"},highlightColor:{type:String,required:!0},groupButtons:{type:Array,default:()=>[]},dark:{type:Boolean,default:!1}},created(){this.isButtonsDisabled&&(this.activeData=""),m.A.setLocale(this.country,this.language)},methods:{translate(a){return m.A.translate(a)},weatherIcon:f.u7,weatherIconRatio:f.bl,round:f.LI,replaceWithDot:f.q7,getPosition(a,t){if(!a||!t)return;let r={};return this.group.toLowerCase().includes("latvija")?r={longitude:{0:21.572014,100:27.333319},latitude:{0:57.77781,100:55.874753}}:r={longitude:{0:22.50389,100:28.19028},latitude:{0:59.43696,100:57.77781}},(t[a]-r[a][0])*(100/(r[a][100]-r[a][0]))},beachFlagStyle(a){let t=this.highlightColor;return this.group!=="beach"?{"background-color":this.highlightColor}:(a.forecast&&a.forecast.beach&&a.forecast.beach.length&&a.forecast.beach[0]&&a.forecast.beach[0].flag&&(t=(0,f.QV)(a.forecast.beach[0].flag)),{"background-color":t})},mapImage(){let a=null;try{a=e(57369)(`./map-${this.country}${this.dark?"-black":""}.svg`)}
11catch(t){a=e(5067)(`./map-ee${this.dark?"-black":""}.svg`)}return a},getBtnHref(a){if(!(a.state&&a.state.includes("disabled"))&&a.url)return a.url},setActiveData(a){this.isButtonsDisabled||(this.activeData=a)}},computed:{isButtonsDisabled(){return["beach","port"].includes(this.group)},buttonsState(){return this.isButtonsDisabled?["disabled"]:[]},infoContainerColor(){return this.dark&&this.highlightColor==="#ccc"?"":this.highlightColor}}},c=h,y=e(14486),w=(0,y.A)(c,o,_,!1,null,"461d653c",null),x=w.exports,B=e(28939),O=e(71889),E=e(14030),M=(a,t,r)=>new Promise((p,g)=>{var b=k=>{try{C(r.next(k))}catch(S){g(S)}},V=k=>{try{C(r.throw(k))}catch(S){g(S)}},C=k=>k.done?p(k.value):Promise.resolve(k.value).then(b,V);C((r=r.apply(a,t)).next())}),j={name:"WeatherMap",data(){return{locations:[],isError:!1,provider:null}},props:{group:{type:String,default:"estonia"},language:{type:String,default:"et"},country:{type:String,default:"ee"},dark:{type:Boolean,default:!1},highlightColor:{type:String,default:function(){return this.dark?"#ccc":"#071C39"}},groupButtons:{type:Array,default:()=>[]},sources:{type:Array,default:()=>[]}},created(){return M(this,null,function*(){try{let a="currently";this.group==="beach"&&(a="beach");const t=`groups/${this.group}/forecast?type=${a}&language=${this.language}`,{data:r,provider:p}=yield(0,f.UO)(t);if(this.provider=p,r.length){let g=r.filter(b=>b.showInMap!==!1);a==="beach"&&g.map(b=>(b.forecast.currently=b.forecast.beach,b)),this.locations=g}}catch(a){this.isError=!0}})},methods:{extendedForecastRedirect(a){window.location.href="/forecast/"+a.id}},components:{Loader:E.A,Map:x,Error:B.A,WeatherSource:O.A}},W=j,I=(0,y.A)(W,d,s,!1,null,null,null),F=I.exports,N=e(34640),R=Object.defineProperty,D=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,A=(a,t,r)=>t in a?R(a,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[t]=r,$=(a,t)=>{for(var r in t||(t={}))L.call(t,r)&&A(a,r,t[r]);if(D)for(var r of D(t))P.call(t,r)&&A(a,r,t[r]);return a},T={name:"weather-map-wrapper",components:{WeatherMap:F},computed:$({},(0,N.aH)({theme:a=>a.user.theme}))},U=T,z=(0,y.A)(U,i,l,!1,null,null,null),H=z.exports},45708:(n,u,e)=>{"use strict";n.exports=e.p+"assets/error-35024857c7ae11a5375d.svg"},57369:(n,u,e)=>{var i={"./map-ee-black.svg":74705,"./map-ee.svg":41799,"./map-lv-black.svg":9581,"./map-lv.svg":25363};function l(s){var o=d(s);return e(o)}function d(s){if(!e.o(i,s)){var o=new Error("Cannot find module '"+s+"'");throw o.code="MODULE_NOT_FOUND",o}return i[s]}l.keys=function(){return Object.keys(i)},l.resolve=d,n.exports=l,l.id=57369},64030:(n,u,e)=>{var i={"./black/partly-cloudy.svg":67109,"./white/partly-cloudy.svg":35131};function l(s){var o=d(s);return e(o)}function d(s){if(!e.o(i,s)){var o=new Error("Cannot find module '"+s+"'");throw o.code="MODULE_NOT_FOUND",o}return i[s]}l.keys=function(){return Object.keys(i)},l.resolve=d,n.exports=l,l.id=64030},71889:(n,u,e)=>{"use strict";e.d(u,{A:()=>v});var i=function(){var c=this,y=c._self._c;return c.providers.length?y("div",{staticStyle:{display:"flex","align-items":"center",gap:"4px"}},[y("span",[c._v(c._s(c.translate("Allikas"))+":")]),c._v(" "),c._l(c.providers,function(w,x){return y("span",{key:w,staticStyle:{display:"flex","align-items":"center"}},[x>0?y("span",[c._v(", ")]):c._e(),c._v(" "),c.providerDisplay(w)&&c.providerDisplay(w).logo?y("img",{attrs:{width:"150",src:e(41494),alt:c.translate("Allikas: Riigi Ilmateenistus")}}):c.providerDisplay(w)?y("span",[c._v(c._s(c.providerDisplay(w).text))]):y("span",[c._v(c._s(w))])])})],2):c._e()},l=[];i._withStripped=!0;var d=e(53949),s=e(20194),o={name:"WeatherSource",props:{provider:{type:String,default:null},sources:{type:Array,default:()=>[]},country:{type:String,default:"ee"},language:{type:String,default:"et"}},created(){d.A.setLocale(this.country,this.language)},computed:{providers(){return this.sources&&this.sources.length?this.sources:this.provider?this.provider.split(",").map(h=>h.trim()).filter(Boolean):[]}},methods:{translate(h){return d.A.translate(h)},providerDisplay(h){return s.t[h]||null}}},_=o,m=e(14486),f=(0,m.A)(_,i,l,!1,null,null,null),v=f.exports},74705:(n,u,e)=>{"use strict";n.exports=e.p+"assets/map-ee-black-7be14dcdf3f2b521e8ad.svg"},90526:(n,u,e)=>{"use strict";n.exports=e.p+"assets/arrow-down-white-c2295eaa2a39c054960d.svg"},91643:(n,u,e)=>{"use strict";n.exports=e.p+"assets/arrow-down-disabled-9484e0acea8ef85dfac3.svg"}}]);
12
13//# sourceMappingURL=bundle-482f6a66125eb55534e3.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.