2024-02-23 14:22:09 +01:00
|
|
|
(()=>{"use strict";var M,N,u,D={31724:(M,N,u)=>{var D=u(85471),A=u(92457),g=u(85168),I=u(51651),j=u(53334),e=u(26623);const L={name:"StarOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var i=u(14486);const y=(0,i.A)(L,(function(){var M=this,t=M._self._c;return t("span",M._b({staticClass:"material-design-icon star-outline-icon",attrs:{"aria-hidden":!M.title||null,"aria-label":M.title,role:"img"},on:{click:function(t){return M.$emit("click",t)}}},"span",M.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:M.fillColor,width:M.size,height:M.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z"}},[M.title?t("title",[M._v(M._s(M.title))]):M._e()])])])}),[],!1,null,null,null).exports;var a=u(24764),r=u(52054),T=u(34968),c=u(44131),n=u(76534),s=u(81004),w=u(6389),o=u(26287),z=u(99498);const C=async M=>{const t=(0,z.KT)("apps/weather_status/api/v1/favorites");return(await o.A.put(t,{favorites:M})).data.ocs.data};var E=u(96763);const d={clearsky_day:{icon:"icon-clearsky-day",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} clear sky later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} clear sky",{temperature:M,unit:N})}},clearsky_night:{icon:"icon-clearsky-night",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} clear sky later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} clear sky",{temperature:M,unit:N})}},cloudy:{icon:"icon-cloudy",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} cloudy later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} cloudy",{temperature:M,unit:N})}},fair_day:{icon:"icon-fair-day",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} fair weather later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} fair weather",{temperature:M,unit:N})}},fair_night:{icon:"icon-fair-night",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} fair weather later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} fair weather",{temperature:M,unit:N})}},partlycloudy_day:{icon:"icon-partlycloudy-day",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} partly cloudy later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} partly cloudy",{temperature:M,unit:N})}},partlycloudy_night:{icon:"icon-partlycloudy-night",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} partly cloudy later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} partly cloudy",{temperature:M,unit:N})}},fog:{icon:"icon-fog",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} foggy later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} foggy",{temperature:M,unit:N})}},lightrain:{icon:"icon-lightrain",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} light rainfall later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} light rainfall",{temperature:M,unit:N})}},rain:{icon:"icon-rain",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} rainfall later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} rainfall",{temperature:M,u
|