1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9246],{8794:(e,t,n)=>{var o,i,r;void 0===(i="function"==typeof(o=r=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var o in n)t[o]=n[o]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(o){function i(){}function r(t,n,r){if("undefined"!=typeof document){"number"==typeof(r=e({path:"/"},i.defaults,r)).expires&&(r.expires=new Date(new Date*1+864e5*r.expires)),r.expires=r.expires?r.expires.toUTCString():"";try{var s=JSON.stringify(n);/^[\{\[]/.test(s)&&(n=s)}catch(e){}n=o.write?o.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var c="";for(var a in r)r[a]&&(c+="; "+a,!0!==r[a]&&(c+="="+r[a].split(";")[0]));return document.cookie=t+"="+n+c}}function s(e,n){if("undefined"!=typeof document){for(var i={},r=document.cookie?document.cookie.split("; "):[],s=0;s<r.length;s++){var c=r[s].split("="),a=c.slice(1).join("=");n||'"'!==a.charAt(0)||(a=a.slice(1,-1));try{var l=t(c[0]);if(a=(o.read||o)(a,l)||t(a),n)try{a=JSON.parse(a)}catch(e){}if(i[l]=a,e===l)break}catch(e){}}return e?i[e]:i}}return i.set=r,i.get=function(e){return s(e,!1)},i.getJSON=function(e){return s(e,!0)},i.remove=function(t,n){r(t,"",e(n,{expires:-1}))},i.defaults={},i.withConverter=n,i}(function(){})})?o.call(t,n,t,e):o)||(e.exports=i),e.exports=r()},9246:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>O});var o,i,r=n(7002),s=n(8794),c=n.n(s),a=n(6466),l=function(e){var t=e.condition,n=e.wrapper,o=e.children;return t?n(o):o};function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var d="bottom";(o=i||(i={})).STRICT="strict",o.LAX="lax",o.NONE="none";var b="byCookieValue",f="CookieConsent",v=["children"],m={disableStyles:!1,hideOnAccept:!0,hideOnDecline:!0,location:d,visible:b,onAccept:function(e){},onDecline:function(){},cookieName:f,cookieValue:"true",declineCookieValue:"false",setDeclineCookie:!0,buttonText:"I understand",declineButtonText:"I decline",debug:!1,expires:365,containerClasses:"CookieConsent",contentClasses:"",buttonClasses:"",buttonWrapperClasses:"",declineButtonClasses:"",buttonId:"rcc-confirm-button",declineButtonId:"rcc-decline-button",extraCookieOptions:{},disableButtonStyles:!1,enableDeclineButton:!1,flipButtons:!1,sameSite:i.LAX,ButtonComponent:function(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,v);return a.createElement("button",Object.assign({},n),t)},overlay:!1,overlayClasses:"",onOverlayClick:function(){},acceptOnOverlayClick:!1,ariaAcceptLabel:"Accept cookies",ariaDeclineLabel:"Decline cookies",acceptOnScroll:!1,acceptOnScrollPercentage:25,customContentAttributes:{},customContainerAttributes:{},customButtonProps:{},customDeclineButtonProps:{},customButtonWrapperAttributes:{},style:{},buttonStyle:{},declineButtonStyle:{},contentStyle:{},overlayStyle:{}},y={visible:!1,style:{alignItems:"baseline",background:"#353535",color:"white",display:"flex",flexWrap:"wrap",justifyContent:"space-between",left:"0",position:"fixed",width:"100%",zIndex:"999"},buttonStyle:{background:"#ffd42d",border:"0",borderRadius:"0px",boxShadow:"none",color:"black",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},declineButtonStyle:{background:"#c12a2a",border:"0",borderRadius:"0px",boxShadow:"none",color:"#e5e5e5",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},contentStyle:{flex:"1 0 300px",margin:"15px"},overlayStyle:{position:"fixed",left:0,top:0,width:"100%",height:"100%",zIndex:"999",backgroundColor:"rgba(0,0,0,0.3)"}},h=function(e){void 0===e&&(e=f);var t=c().get(e);return void 0===t?c().get(g(e)):t},g=function(e){return e+"-legacy"},C=function(e){function t(){var t;return t=e.apply(this,arguments)||this,t.state=y,t.handleScroll=function(){var e=u({},m,t.props).acceptOnScrollPercentage,n=document.documentElement,o=document.body,i="scrollTop",r="scrollHeight";(n[i]||o[i])/((n[r]||o[r])-n.clientHeight)*100>e&&t.accept(!0)},t.removeScrollListener=function(){t.props.acceptOnScroll&&window.removeEventListener("scroll",t.handleScroll)},t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,p(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props.debug;(void 0===this.getCookieValue()||e)&&(this.setState({visible:!0}),this.props.acceptOnScroll&&window.addEventListener("scroll",this.handleScroll,{passive:!0}))},n.componentWillUnmount=function(){this.removeScrollListener()},n.accept=function(e){void 0===e&&(e=!1);var t,n=u({},m,this.props),o=n.cookieName,i=n.cookieValue,r=n.hideOnAccept,s=n.onAccept;this.setCookie(o,i),s(null!=(t=e)&&t),r&&(this.setState({visible:!1}),this.removeScrollListener())},n.overlayClick=function(){var e=u({},m,this.props),t=e.acceptOnOverlayClick,n=e.onOverlayClick;t&&this.accept(),n()},n.decline=function(){var e=u({},m,this.props),t=e.cookieName,n=e.declineCookieValue,o=e.hideOnDecline,i=e.onDecline;e.setDeclineCookie&&this.setCookie(t,n),i(),o&&this.setState({visible:!1})},n.setCookie=function(e,t){var n=this.props,o=n.extraCookieOptions,r=n.expires,s=n.sameSite,a=this.props.cookieSecurity;void 0===a&&(a=!window.location||"https:"===window.location.protocol);var l=u({expires:r},o,{sameSite:s,secure:a});s===i.NONE&&c().set(g(e),t,l),c().set(e,t,l)},n.getCookieValue=function(){return h(this.props.cookieName)},n.render=function(){var e=this;switch(this.props.visible){case"hidden":return null;case b:if(!this.state.visible)return null}var t=this.props,n=t.location,o=t.style,i=t.buttonStyle,r=t.declineButtonStyle,s=t.contentStyle,c=t.disableStyles,p=t.buttonText,f=t.declineButtonText,v=t.containerClasses,m=t.contentClasses,y=t.buttonClasse
1s,h=t.buttonWrapperClasses,g=t.declineButtonClasses,C=t.buttonId,k=t.declineButtonId,O=t.disableButtonStyles,x=t.enableDeclineButton,S=t.flipButtons,B=t.ButtonComponent,j=t.overlay,w=t.overlayClasses,D=t.overlayStyle,N=t.ariaAcceptLabel,A=t.ariaDeclineLabel,E=t.customContainerAttributes,I=t.customContentAttributes,L=t.customButtonProps,P=t.customDeclineButtonProps,T=t.customButtonWrapperAttributes,R={},V={},_={},U={},W={};switch(c?(R=Object.assign({},o),V=Object.assign({},i),_=Object.assign({},r),U=Object.assign({},s),W=Object.assign({},D)):(R=Object.assign({},u({},this.state.style,o)),U=Object.assign({},u({},this.state.contentStyle,s)),W=Object.assign({},u({},this.state.overlayStyle,D)),O?(V=Object.assign({},i),_=Object.assign({},r)):(V=Object.assign({},u({},this.state.buttonStyle,i)),_=Object.assign({},u({},this.state.declineButtonStyle,r)))),n){case"top":R.top="0";break;case d:R.bottom="0"}var J=[];return x&&J.push(a.createElement(B,Object.assign({key:"declineButton",style:_,className:g,id:k,"aria-label":A,onClick:function(){e.decline()}},P),f)),J.push(a.createElement(B,Object.assign({key:"acceptButton",style:V,className:y,id:C,"aria-label":N,onClick:function(){e.accept()}},L),p)),S&&J.reverse(),a.createElement(l,{condition:j,wrapper:function(t){return a.createElement("div",{style:W,className:w,onClick:function(){e.overlayClick()}},t)}},a.createElement("div",Object.assign({className:""+v,style:R},E),a.createElement("div",Object.assign({style:U,className:m},I),this.props.children),a.createElement("div",Object.assign({className:""+h},T),J.map(function(e){return e}))))},t}(a.Component);C.defaultProps=m;var k=n(2615);let O=()=>(0,r.jsx)(C,{location:"bottom",buttonText:"Ymm\xe4rr\xe4n!",ButtonComponent:e=>{let{style:t,...n}=e;return(0,r.jsx)(k.$n,{...n,sx:{flex:"0 0 auto",margin:"15px",padding:"5px 10px"}})},buttonStyle:{},cookieName:"ValvontaKeksi",style:{background:"#000",color:"rgb(255, 255, 255)"},expires:360,children:"Diktaattorip\xf6rssi k\xe4ytt\xe4\xe4 ev\xe4steit\xe4 vakoillakseen ja mahdollisesti my\xf6s vainotakseen minua."})}}]);
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.