1(self.webpackChunk=self.webpackChunk||[]).push([[441],{38931(e,n,l){l.r(n),l.d(n,{default:()=>$});var t,o=l(96540),i=l(3100),r=l.n(i),a=l(61225),s=l(44886),p=l(89901),c=l(96768),f=l(34757),d=l(72785),u=l(42039),v=l.n(u);function g(e,n,l,o){t||(t="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var i=e&&e.defaultProps,r=arguments.length-3;if(n||0===r||(n={children:void 0}),1===r)n.children=o;else if(r>1){for(var a=Array(r),s=0;s<r;s++)a[s]=arguments[s+3];n.children=a}if(n&&i)for(var p in i)void 0===n[p]&&(n[p]=i[p]);else n||(n=i||{});return{$$typeof:t,type:e,key:void 0===l?null:""+l,ref:null,props:n,_owner:null}}const m={0:"Ei siitepölyä",1:"Siitepölyä vähän",2:"Siitepölyä kohtalaisesti",3:"Siitepölyä runsaasti"},h=r()(v())(function(e){let{rating:n}=e;const l=Array.from({length:n},(e,n)=>n);return g("div",{className:"pollen-rating",role:"img","aria-label":m[n]},void 0,l.map(e=>g("div",{className:"pollen-dot"},e)))});var w,y=l(84743),x=l.n(y),b=l(47979),S=l.n(b);function k(e,n,l,t){w||(w="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(n||0===i||(n={children:void 0}),1===i)n.children=t;else if(i>1){for(var r=Array(i),a=0;a<i;a++)r[a]=arguments[a+3];n.children=r}if(n&&o)for(var s in o)void 0===n[s]&&(n[s]=o[s]);else n||(n=o||{});return{$$typeof:w,type:e,key:void 0===l?null:""+l,ref:null,props:n,_owner:null}}const C=r()(S())(function(e){let{pollenDataForDate:n}=e;const{plants:l,date:t}=n;return k("table",{className:"pollen-table"},void 0,k("caption",{className:"pollen-forecast-caption"},void 0,function(e){const n=x()().tz("Europe/Helsinki");return x()(e).tz("Europe/Helsinki").isAfter(n,"day")?"Ennuste":"Havainto"}(t)," ",(0,p.sq)(t,"Europe/Helsinki")),k("tbody",{},void 0,l.map(e=>{const{fi:n,rating:l}=e;return k("tr",{className:"pollen-table-row"},n,k("th",{className:"plant-name-cell",scope:"row"},void 0,n),k("td",{className:"pollen-rating-cell"},void 0,k(h,{rating:l})))})))});var N,_,A,z=l(52786),D=l.n(z);function L(e,n,l,t){A||(A="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(n||0===i||(n={children:void 0}),1===i)n.children=t;else if(i>1){for(var r=Array(i),a=0;a<i;a++)r[a]=arguments[a+3];n.children=r}if(n&&o)for(var s in o)void 0===n[s]&&(n[s]=o[s]);else n||(n=o||{});return{$$typeof:A,type:e,key:void 0===l?null:""+l,ref:null,props:n,_owner:null}}const $=r()(D())(function(e){let{routeLocation:n,geoLocation:l,weatherDataKey:t}=e;const i=(0,a.useDispatch)(),r=(0,a.useSelector)(e=>e.weatherLocationPollen);(0,c.k)({routeLocation:n,geoLocation:l,actions:(0,o.useCallback)(e=>{Promise.all([(0,s._B)({...e})].map(i))},[i])});const u=(0,p.as)(r,t);if(!u||0===u.pollen.length)return null;const{pollen:v}=u;return L(f.A,{className:"weather-now-pollen"},void 0,N||(N=L(d.A,{headingLevel:"h2"},void 0,"Siitepölyennuste")),L("div",{className:"weather-now-pollen-content"},void 0,v.map(e=>{const{date:n}=e;return L(C,{pollenDataForDate:e},n)})),_||(_=L("div",{className:"pollen-level-descriptions"},void 0,L("div",{className:"pollen-level-description-item"},void 0,L(h,{rating:1}),"Vähän"),L("div",{className:"pollen-level-description-item"},void 0,L(h,{rating:2}),"Kohtalaisesti"),L("div",{className:"pollen-level-description-item"},void 0,L(h,{rating:3}),"Runsaasti"))))})},47433(e,n,l){var t=l(76314)(function(e){return e[1]});t.push([e.id,".pollen-rating{align-items:center;display:flex;flex:none;flex-flow:row nowrap}.pollen-rating .pollen-dot{background-color:var(--visited-text-color);border-radius:50%;flex:none;height:12px;width:12px}.pollen-rating .pollen-dot:not(:last-child){margin-right:4px}",""]),t.locals={},e.exports=t},34845(e,n,l){var t=l(76314)(function(e){return e[1]});t.push([e.id,".pollen-table{border-spacing:0 2px}.pollen-table .pollen-forecast-caption{caption-side:top;color:var(--secondary-text-color);font-size:17px;font-weight:700;margin-bottom:14px;text-align:left;white-space:nowrap}.pollen-table .plant-name-cell{flex:none;font-size:17px;font-weight:600;padding:0 14px 0 0;text-align:left;text-transform:capitalize}.pollen-table .pollen-rating-cell{min-width:46px}",""]),t.locals={},e.exports=t},53824(e,n,l){var t=l(76314)(function(e){return e[1]});
1t.push([e.id,".weather-now-pollen{display:flex;flex-flow:column nowrap}.weather-now-pollen .weather-title{flex:1 1 auto;margin:21px 14px 0;text-align:center}.weather-now-pollen .weather-now-pollen-content{display:flex;flex-flow:row wrap;font-family:Bernina Sans Condensed,Arial,sans-serif;gap:14px;justify-content:space-evenly;padding:21px 14px}.weather-now-pollen .pollen-level-descriptions{color:var(--visited-text-color);display:flex;flex-flow:row wrap;font-family:Bernina Sans Condensed,Arial,sans-serif;font-size:15px;font-weight:600;justify-content:center;margin:0 0 21px;padding:0 14px}.weather-now-pollen .pollen-level-description-item{align-items:baseline;display:flex;flex-flow:row nowrap;margin-right:14px}.weather-now-pollen .pollen-level-description-item:last-of-type{margin-right:0}.weather-now-pollen .pollen-level-description-item .pollen-rating{margin-right:4px}",""]),t.locals={},e.exports=t},42039(e,n,l){var t=l(47433),o=l(61352),i="string"==typeof t?[[e.id,t,""]]:t;(n=e.exports=t.locals||{})._getContent=function(){return i},n._getCss=function(){return""+t},n._insertCss=function(e){return o(i,e)}},47979(e,n,l){var t=l(34845),o=l(61352),i="string"==typeof t?[[e.id,t,""]]:t;(n=e.exports=t.locals||{})._getContent=function(){return i},n._getCss=function(){return""+t},n._insertCss=function(e){return o(i,e)}},52786(e,n,l){var t=l(53824),o=l(61352),i="string"==typeof t?[[e.id,t,""]]:t;(n=e.exports=t.locals||{})._getContent=function(){return i},n._getCss=function(){return""+t},n._insertCss=function(e){return o(i,e)}}}]); 2//# sourceMappingURL=WeatherNowPollen.97d4e7bcc.chunk.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.