PageSourceSearch

https://www.val.se/webapp-resource/4.162047b519a91d05331107d/360.5…/1788768557270/webapp-assets.js

js val.se collected 2026-10-02 03:28:30 UTC 34,977 bytes, 2 lines download raw bytes

1AppRegistry.registerBundle({applicationId:'iw-mega-header|1.5.0',bundle: {"en":{"searchPlaceholder":"Du måste skriva ett sökord här","clearField":"Clear search field","subMenu":"sub menu","clear":"clear","suggestionsClosed":"Searchsuggestions closed.","menu":"Menu","mustWriteSearchTerm":"You have to type a search term here","search":"Search","download":"Download","file":"file","inNewTab":"in new a tab","ariaLabelNavHeadMenu":"Main menu","arrowNavigationExplanation":"Använd upp och nerpil för navigering.","availableSuggestions":"available suggestions for","noSuggestionsAvailable":"No suggestions available for query:","close":"Close","ariaLabelNav":"Quick links","open":"Open","selected":"selected","suggestionsCouldntLoad":"Suggestions could not be loaded."},"sv":{"clearField":"Rensa sökfält","subMenu":"undermeny","clear":"rensa","suggestionsClosed":"Sökförslag stängda.","menu":"Meny","mustWriteSearchTerm":"Du måste skriva ett sökord här","search":"Sök","download":"Ladda ned","file":"filen","inNewTab":"i en ny flik","ariaLabelNavHeadMenu":"Huvudmeny","arrowNavigationExplanation":"Använd upp och nerpil för navigering.","availableSuggestions":"förslag tillgängliga för","noSuggestionsAvailable":"Inga sökförslag är tillgängliga för sökterm:","close":"Stäng","ariaLabelNav":"Snabblänkar","open":"Öppna","selected":"vald","suggestionsCouldntLoad":"Sökförslag kunde inte laddas in."}}});
2AppRegistry.registerModule({applicationId:'iw-mega-header|1.5.0',path:'/main',module:function(define){'use strict';define(["i18n","react","react-dom"],(function(e,t,n){return function(){var a={834:function(e,t,n){"use strict";var a=n(489);function l(){}function r(){}r.resetWarningCache=l,e.exports=function(){function e(e,t,n,l,r,i){if(i!==a){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:l};return n.PropTypes=n,n}},352:function(e,t,n){e.exports=n(834)()},489:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},184:function(t){"use strict";t.exports=e},959:function(e){"use strict";e.exports=t},398:function(e){"use strict";e.exports=n}},l={};function r(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={exports:{}};return a[e](n,n.exports,r),n.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return function(){"use strict";r.r(i),r.d(i,{default:function(){return Ve}});var e=r(959),t=r.n(e),n=r(398),a=r.n(n),l=r(184),s=r.n(l),c=r(352),o=r.n(c);const m=o().shape({searchUrl:o().string,suggestionsUrl:o().string,searchPlaceholder:o().string,currentLocale:o().string,turnOffSearch:o().string}),u=o().shape({imageSrc:o().string,ariaLabel:o().string,altText:o().string}),d=o().shape({navId:o().string});var h={...o(),searchSettings:m,logoData:u,elementSettings:d};const g="undefined"!=typeof navigator?navigator.userAgent:"",p=(0,e.createContext)({isMobile:Boolean(g.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile|WPDesktop/i))||!1}),f=n=>{let{children:a,initialValue:l}=n;const[r,i]=(0,e.useState)(l),s=(0,e.useCallback)((()=>{i(window.innerWidth<768)}),[]);(0,e.useEffect)((()=>(i(window.innerWidth<768),window.addEventListener("resize",s),()=>window.removeEventListener("resize",s))),[]);const c={isMobile:r};return t().createElement(p.Provider,{value:c},a)};f.propTypes={children:o().element,initialValue:o().bool};var E=f;const C=t=>{let{children:n}=t;const{isMobile:a}=(0,e.useContext)(p);return a?n:null};C.propTypes={children:o().element};const v=t=>{let{children:n}=t;const{isMobile:a}=(0,e.useContext)(p);return a?null:n};v.propTypes={children:o().element};const w=e=>e.predicate?e.children:e.fallback||null;w.propTypes={predicate:o().boolean,children:o().any,fallback:o().any};const b="a, button, input, textarea, select, details",k=n=>{let{enable:a,children:l}=n;const r=(0,e.useRef)(null),i=(0,e.useRef)(null);return t().createElement(t().Fragment,null,t().createElement("a",{title:"",href:"#",ref:r,"data-ft":"focustrapStart",className:"sv-visuallyhidden",onFocus:()=>{const e=i.current?.parentElement.querySelectorAll(b);e[Array.from(e).indexOf(i?.current)-1].focus()},tabIndex:a?"0":"-1"}),l,t().createElement("a",{title:"",href:"#",ref:i,"data-ft":"focustrapEnd",className:"sv-visuallyhidden",onFocus:()=>{const e=r.current?.parentElement.querySelectorAll(b);e[Array.from(e).indexOf(r.current)+1].focus()},tabIndex:a?"0":"-1"}))};k.propTypes={enable:o().boolean,children:o().element,trapClass:o().string};const y="#154194";const H=e=>{let{handleBlurClick:n}=e;return t().createElement("div",{onClick:n,"aria-hidden":"true",className:"_475nCHvO7X8
2sEot7Xtf"})};H.propTypes={handleBlurClick:o().func};var M={list:"lzfapO3SFoSV9BeCtxmz",flex:"PSFhcygB89gli7RYH8Rw",flexVertical:"ytpM1bSmFRurCVGNOTkH",masonry:"r9CpBo33nJ4PphaWQuJO",masonryColumns2:"hm4zUviEbLBqrw00IXU6",masonryColumns3:"ce4zmtTUNfShLM_Dyr2i"};const L="flexVertical",N="masonry",x=e=>{let{type:n="flex",children:a,className:l}=e;return t().createElement(w,{predicate:a},t().createElement("ul",{className:`${M.list} ${M[n]} ${l}`},a))},V=e=>x({...e,className:M[`masonryColumns${e.columns||3}`],type:N}),S=e=>x({...e,type:L});x.propTypes={children:o().element,className:o().string,type:o().oneOf([L,"flexWrap",N])};const T=()=>t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"24px",height:"40px",viewBox:"0 0 24 41",version:"1.1"},t().createElement("path",{d:"M 23.96875 20.46875 L 24 20.46875 L 4.246094 0.816406 L 0 5.046875 L 15.507812 20.53125 L 0.03125 35.953125 L 4.28125 40.183594 L 24 20.53125 Z M 23.96875 20.46875 "})),B=()=>t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.56944 5.14286H3.73611L1.5 7.4L3.73611 9.65714H9.56944V5.14286ZM20.2639 9.34286H14.4306V13.8571H20.2639L22.5 11.6L20.2639 9.34286ZM11.0278 20H12.9722V4H11.0278V20Z"})),Z=()=>t().createElement("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 10.25C2.5 5.96979 5.96979 2.5 10.25 2.5C14.5302 2.5 18 5.96979 18 10.25C18 14.5302 14.5302 18 10.25 18C5.96979 18 2.5 14.5302 2.5 10.25ZM10.25 0C4.58908 0 0 4.58908 0 10.25C0 15.9109 4.58908 20.5 10.25 20.5C12.63 20.5 14.8205 19.6889 16.5602 18.328L23.3661 25.1339L25.1338 23.3661L18.3279 16.5602C19.6889 14.8205 20.5 12.63 20.5 10.25C20.5 4.58908 15.9109 0 10.25 0Z"})),_=()=>t().createElement("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("rect",{x:"0.808594",y:"2.22021",width:"2.5",height:"24",transform:"rotate(-45 0.808594 2.22021)"}),t().createElement("rect",{x:"17.7793",y:"0.806152",width:"2.5",height:"24",transform:"rotate(45 17.7793 0.806152)"})),P=()=>t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"14",viewBox:"0 0 16 14",fill:"none"},t().createElement("rect",{y:"12",width:"16",height:"2"}),t().createElement("rect",{y:"6",width:"16",height:"2"}),t().createElement("rect",{width:"16",height:"2"})),O=()=>t().createElement("svg",{viewBox:"0 0 16 10",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M8.01333 9.70667V9.72L16 1.72L14.28 0L7.98667 6.28L1.72 0.0133333L0 1.73333L7.98667 9.72L8.01333 9.70667Z"})),R=()=>t().createElement("svg",{width:"23",height:"23",viewBox:"0 0 23 23",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 20L12.0039 5.92616C12.0039 4.30994 13.3141 3 14.9307 3H22V20H12Z"}),t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 20V3H8.06927C9.68585 3 10.9961 4.30994 10.9961 5.92616L11 20H1Z"})),$=()=>t().createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M15.1714 0H2.82857C1.26823 0 0 1.26823 0 2.82857V15.1714C0 16.7318 1.26823 18 2.82857 18H15.1714C16.7318 18 18 16.7318 18 15.1714V2.82857C18 1.26823 16.7318 0 15.1714 0ZM16.4571 15.1714C16.4571 15.8801 15.8801 16.4571 15.1714 16.4571H2.82857C2.11989 16.4571 1.54286 15.8801 1.54286 15.1714V2.82857C1.54286 2.11989 2.11989 1.54286 2.82857 1.54286H15.1714C15.8801 1.54286 16.4571 2.11989 16.4571 2.82857V15.1714ZM3.87669 3.85714H14.1624V6.94286H3.87669V3.85714ZM3.85714 9H14.1429V10.5429H3.85714V9ZM3.85714 12.6H14.1429V14.1429H3.85714V12.6Z"})),I=()=>t().createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M9 0C4.02957 0 0 4.02957 0 9C0 13.9704 4.02957 18 9 18C13.9709 18 18 13.9704 18 9C18 4.02957 13.9709 0 9 0ZM4.92568 10.6852L2.91551 5.73665L7.04919 4.05778L7.73465 5.72059L4.61724 6.98789L6.10589 10.6769L4.92568 10.6852ZM7.70254 12.4297L5.69092 7.47681L9.82459 5.79795L10.475 7.39946L7.33378 8.67551L8.85843 12.4297H7.70254ZM13.1692 13.8089H10.3266L8.44832 9.17124L12.6545 7.49238L14.9249 13.0957L13.1692 13.8089Z"})),F=()=>t().createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.36364 4.29547L18 0.613647V16.1591L7.36364 12.4773V4.29547ZM6.13636 12.4773V4.29547H0V12.4773H6.13636ZM6.13636 13.7046V17.3864H5.72727C3.91979 17.3864 2.45455 15.9211 2.45455 14.1136V13.7046H6.13636Z"})),A=()=>t().createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.2727 1.63636H5.72727V0H4.09091V1.
263636H0V5.11364H18V1.63636H13.9091V0H12.2727V1.63636ZM0 18V6.34091H18V18H0ZM3.27273 11.0455H5.72727V9.40909H3.27273V11.0455ZM5.72727 15.1364H3.27273V13.5H5.72727V15.1364ZM7.77273 11.0455H10.2273V9.40909H7.77273V11.0455ZM14.7273 11.0455H12.2727V9.40909H14.7273V11.0455ZM7.77273 15.1364H10.2273V13.5H7.77273V15.1364Z"})),D=()=>t().createElement("svg",{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M14.3157 8.74562C14.2384 8.64253 12.7522 1.15982 12.6233 0.962226C12.4859 0.738862 11.2659 0.45536 11.0512 1.72682C11.0082 1.96737 10.991 3.98624 10.9738 4.37283C10.9567 4.75942 10.3725 5.06011 10.1835 4.8797C9.99448 4.69929 5.29523 0.249178 5.29523 0.249178C4.943 -0.0858692 4.376 -0.0858692 4.03236 0.26636C3.68872 0.609997 3.70591 1.15982 4.05813 1.50346L7.86392 5.11165C7.86392 5.11165 8.00138 5.29206 7.82097 5.46388C7.66633 5.60993 7.51169 5.51543 7.51169 5.51543L2.93272 1.52923C2.56331 1.20277 1.99631 1.23714 1.66985 1.59796C1.3434 1.95878 1.37776 2.5086 1.74717 2.83505L6.36051 6.70098C6.36051 6.70098 6.54092 6.88139 6.39487 7.05321C6.23164 7.23362 6.05982 7.1563 6.05982 7.1563L1.85885 4.00342C1.46367 3.71133 0.905257 3.77147 0.604574 4.15806C0.303891 4.53606 0.38121 5.08588 0.767802 5.38656L5.06328 8.4879C5.06328 8.4879 5.21791 8.61676 5.08046 8.79717C4.96018 8.9604 4.81414 8.87449 4.81414 8.87449L1.3348 6.75252C0.913848 6.4948 0.364028 6.61507 0.106299 7.02743C-0.151429 7.43121 0.0891175 7.86076 0.510074 8.11848C0.510074 8.11848 1.84167 8.96899 3.35368 9.93117L7.37424 10.6786C7.55465 10.7129 7.72647 10.7473 7.8897 10.7731C7.26256 9.80231 7.07356 9.50163 7.00483 9.3384C6.64401 8.53944 6.71274 7.74907 7.19383 7.14771C7.63197 6.60648 8.38797 6.2972 8.98934 6.40889L9.16116 6.44325L9.28143 6.4948C9.53916 6.61507 9.57352 6.63225 13.0614 10.0514C13.869 10.8418 14.7625 11.7181 15.1405 12.0875C15.2693 12.1133 15.6387 12.1734 15.905 12.2164V10.1975C15.2092 9.57035 14.3587 8.79717 14.3157 8.73703V8.74562Z",fill:"#333333"}),t().createElement("path",{d:"M14.64 13.0496C14.5197 12.998 9.04725 7.54277 8.83247 7.43968C8.59193 7.32799 7.42356 7.74895 7.96479 8.92591C8.06788 9.14927 9.19329 10.8503 9.39948 11.1853C9.60566 11.5204 9.2878 12.0874 9.03007 12.0358C8.77234 11.9843 2.3549 10.7987 2.3549 10.7987C1.86522 10.7042 1.40131 11.0221 1.3154 11.4946C1.22949 11.9671 1.54735 12.4224 2.03704 12.5169L7.23456 13.4791C7.23456 13.4791 7.44933 13.5564 7.39779 13.797C7.35483 14.0032 7.17442 14.0118 7.17442 14.0118L1.13499 13.1527C0.645302 13.0839 0.198573 13.4104 0.129845 13.8915C0.0611178 14.3726 0.404756 14.8107 0.89444 14.8794L6.89951 15.6268C6.89951 15.6268 7.15724 15.6784 7.12288 15.9018C7.08851 16.1423 6.89951 16.1767 6.89951 16.1767L1.63326 15.8073C1.14358 15.7729 0.71403 16.1337 0.679666 16.6148C0.645302 17.0959 1.0233 17.5169 1.51299 17.5512L6.82219 17.8347C6.82219 17.8347 7.01978 17.8605 7.01119 18.0839C7.01119 18.2815 6.83078 18.29 6.83078 18.29L2.76727 18.4103C2.27758 18.4189 1.8824 18.8227 1.89958 19.3038C1.91676 19.7849 2.3549 20.0082 2.85318 19.9996C2.85318 19.9996 10.7053 19.9653 11.2981 19.9395C11.8909 19.9137 13.6348 19.235 13.8496 19.2265C13.9784 19.2265 15.0781 19.3381 15.9114 19.4326V13.2901C15.2671 13.187 14.7001 13.0839 14.6485 13.0667L14.64 13.0496Z",fill:"#333333"})),j=()=>t().createElement("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M0 17.9999V5.09424H2.73336V15.2999H9.94875V17.9999H0Z",fill:"#333333"}),t().createElement("path",{d:"M5.09766 12.9056V0H7.83102V10.2056H15.0464V12.9056H5.09766Z",fill:"#333333"})),Q=()=>t().createElement("svg",{width:"24",height:"21",viewBox:"0 0 24 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M0 0V17H13.56L18 21V17H24V0H0ZM16.12 6.08C16.71 5.5 17.53 5.2 18.58 5.2C19.25 5.2 19.89 5.33 20.49 5.59L20.12 6.46C19.6 6.22 19.08 6.1 18.56 6.1C17.87 6.1 17.33 6.32 16.94 6.75C16.54 7.18 16.34 7.77 16.34 8.52C16.34 9.31 16.52 9.9 16.88 10.31C17.24 10.72 17.76 10.92 18.43 10.92C18.77 10.92 19.13 10.88 19.52 10.79V9.13H18.19V8.23H20.55V11.46C20.16 11.59 19.79 11.68 19.44 11.73C19.08 11.78 18.7 11.81 18.29 11.81C17.32 11.81 16.57 11.52 16.04 10.95C15.51 10.37 15.25 9.56 15.25 8.51C15.25 7.46 15.55 6.67 16.14 6.08H16.12ZM8.49 5.29H9.77L12.92 10.38H12.95C12.95 10.31 12.93 10.
207 12.91 9.64C12.89 9.21 12.88 8.89 12.88 8.65V5.28H13.84V11.7H12.55L9.39 6.58H9.35L9.37 6.87C9.41 7.41 9.43 7.91 9.43 8.36V11.7H8.48V5.28L8.49 5.29ZM3.47 5.29H7.1V6.18H4.52V7.93H6.94V8.81H4.52V10.83H7.1V11.72H3.47V5.3V5.29Z",fill:"#333333"})),U=()=>t().createElement("svg",{width:"25",height:"21",viewBox:"0 0 25 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M24 15.96V0H0V17H13.57L18.01 21V17H24.01V15.96H24ZM15.66 5.09H19.29V5.98H16.71V7.73H19.13V8.61H16.71V10.63H19.29V11.52H15.66V5.1V5.09ZM10.29 5.09L11.63 9.08C11.7 9.27 11.77 9.52 11.85 9.82C11.93 10.12 11.98 10.34 12 10.49C12.04 10.27 12.1 10.01 12.18 9.72C12.26 9.43 12.32 9.21 12.37 9.07L13.71 5.09H14.8L12.55 11.51H11.44L9.2 5.09H10.28H10.29ZM4.71 10.27C5 10.41 5.31 10.52 5.64 10.6C5.97 10.68 6.28 10.72 6.56 10.72C6.98 10.72 7.28 10.64 7.48 10.48C7.68 10.32 7.78 10.11 7.78 9.84C7.78 9.6 7.69 9.4 7.51 9.23C7.33 9.06 6.95 8.87 6.39 8.64C5.8 8.4 5.39 8.13 5.15 7.83C4.91 7.53 4.79 7.16 4.79 6.73C4.79 6.19 4.98 5.77 5.36 5.46C5.74 5.15 6.25 5 6.89 5C7.53 5 8.12 5.13 8.73 5.4L8.4 6.26C7.83 6.02 7.32 5.9 6.87 5.9C6.53 5.9 6.27 5.97 6.1 6.12C5.92 6.27 5.84 6.46 5.84 6.71C5.84 6.88 5.88 7.02 5.95 7.14C6.02 7.26 6.14 7.37 6.3 7.48C6.46 7.59 6.75 7.72 7.17 7.9C7.64 8.1 7.99 8.28 8.21 8.45C8.43 8.62 8.59 8.81 8.69 9.03C8.79 9.25 8.84 9.5 8.84 9.79C8.84 10.36 8.63 10.81 8.22 11.13C7.81 11.46 7.24 11.62 6.51 11.62C5.78 11.62 5.19 11.51 4.73 11.28V10.29L4.71 10.27Z",fill:"currentColor"}));var G={blocklink:"Uq3Mth85RZOYoSlANMtq",textContainer:"RgRtpveqsFmsztTHDd_z",heading:"QSbbNBGdiT8QMqJxuD7I",noImage:"NBzz8kLe3x1uzHOZ4J2X",image:"B8HAsvn8YGHk5FtnyxfW",limitHeight:"jrOa9fYrQj9KMBHlQD_u",guideText:"l8gtg5frQJkipECAKCOR",ingress:"IfqArefSkRDwgioGopGy"};const W=e=>{let{block:n,limitHeight:a}=e;const l=n.imageSrc?G.hasImage:G.noImage;return t().createElement("div",{className:`${G.blocklink} ${l}`,onClick:function(){window.location.href=n.href},"data-href":n.href},t().createElement(w,{predicate:n.imageSrc},t().createElement("img",{className:`${G.image} ${a?G.limitHeight:""}`,src:n.imageSrc,alt:""})),t().createElement("div",{className:G.textContainer},t().createElement(w,{predicate:n.guideBlock},t().createElement("p",{className:G.guideText},t().createElement(B,null)," Guide")),t().createElement("h2",{className:G.heading},t().createElement("a",{href:n.href},n.title)," ",t().createElement(T,{color:y})),t().createElement(w,{predicate:!n.guideBlock&&n.description},t().createElement("p",{className:G.ingress},n.description))))};W.propTypes={block:o().object,limitHeight:o().boolean};var z={handbook:"sSq3p4K7koBZE4aDpPc5",h2:"Lvid5HV64eCqSSGMuyOc",p:"QCz4Voa5sSVAOtL9ZZWQ",fileLinks:"Jmk12_wS5gb7JM1BTpmI",fileLink:"jhp6KV8BF5w_F7k8Y9o9"};const q=e=>{let{handbook:n}=e;return t().createElement("div",{className:z.handbook},t().createElement("h2",{className:z.h2+" val-heading-3"},t().createElement(R,null),n.title),t().createElement("p",{className:z.p},n.description),t().createElement("div",{className:z.fileLinks},t().createElement("a",{className:`${z.fileLink} ${z.tab} val-file-listing__link`,target:"_blank",rel:"noreferrer",href:n.uri},t().createElement("span",{className:"val-file-listing__link-icon","aria-hidden":"true"},t().createElement("span",{className:"val-file-listing__link-icon--new-tab"}),t().createElement("svg",{className:"val-file-listing__link-icon-extension",width:"20",height:"12",viewBox:"0 0 20 12"},t().createElement("text",{x:"0",y:"10",fill:"white",fontSize:"10"},n.extension))),s().get("open"),t().createElement("span",{className:"sv-visuallyhidden"}," ",n.extension,"-",s().get("file")," ",n.filename,",")," ",s().get("inNewTab")),t().createElement("a",{className:`${z.fileLink} ${z.download} val-file-listing__link`,href:n.uri,download:!0},t().createElement("span",{className:"val-file-listing__link-icon","aria-hidden":"true"},t().createElement("span",{className:"val-file-listing__link-icon--download"}),t().createElement("svg",{className:"val-file-listing__link-icon-extension",width:"20",height:"12",viewBox:"0 0 20 12"},t().createElement("text",{x:"0",y:"10",fill:"white",fontSize:"10"},n.extension))),s().get("download"),t().createElement("span",{className:"sv-visuallyhidden"}," ",n.extension,"-",s().get("file")," ",n.filename))))};q.propTypes={handbook:o().object};const Y=e=>{let{handbooks:n}=e;
2return t().createElement(S,null,n.map((e=>t().createElement("li",{key:e.id},t().createElement(q,{handbook:e})))))};Y.propTypes={handbooks:o().array};const K=e=>{let{handbooks:n}=e;return 0===n.length?null:1===n.length?t().createElement(q,{handbook:n[0]}):t().createElement(Y,{handbooks:n})};K.propTypes={handbooks:o().array};var X="mh8jZIHiWCM498u9SGCQ",J="QxeuEIEfBeQAfu6LIloF",ee="TH_i4SeFw00hezKUa13U";const te=e=>e.handbook,ne=e=>!e.blockLink&&!e.guideBlock&&!e.handbook,ae=e=>e.blockLink||e.guideBlock,le=e=>{let{isMobile:n,children:a,headerMenuItem:l}=e;return n?t().createElement("ul",{className:ee,"data-depth-ul":l.depth},a):t().createElement(V,{columns:l.children.some(ae)?2:3},a)};le.propTypes={isMobile:o().bool,children:o().element,headerMenuItem:o().object};const re=e=>{let{headerMenuItem:n,open:a,isMobile:l=!1,domain:r,limitHeight:i}=e;return t().createElement("div",{className:`QRzIi5wAqxjkbcUvHGfy ${a?X:J}`,key:n.id,id:`mega-menu-${n.id}${l}`},t().createElement("div",{className:`Ffj3A_g0MKfV3S4fGJkm ${a?X:J}`},t().createElement(w,{predicate:n.children.some(ae)},t().createElement("div",{className:"fa2Fal3eBT1c5rYEwc42 blockContainer"},n.children.filter(ae).map((e=>t().createElement(W,{key:e.id,block:e,limitHeight:i}))))),t().createElement(le,{isMobile:l,headerMenuItem:n},n.children.filter(ne).map((e=>t().createElement(ce,{key:e.id,menuItem:e,isMobile:l,domain:r})))),t().createElement(w,{predicate:"VALC"===r},t().createElement(K,{handbooks:n.children.filter(te)}))))};re.propTypes={headerMenuItem:o().object,open:o().bool,isMobile:o().bool,domain:o().string,limitHeight:o().boolean};var ie={li:"CmGi1YMLmjvUQZockMgQ",VAL:"t820gWHbEmlp22zj3jjR",show:"pDdjgPaRb9CgqkWgngZZ",hide:"FZDxCX0HyKkVkQp0ULoD","depth-2":"G_nBEJXXoEEJuxK_c6bQ","depth-3":"ZxkSQbRaXTuHhpYvpsIu","depth-4":"yPWT4PknDlbNooM7LKd0",heading:"MMjj9qu07jPfiPNSrCf0",a:"SC9BK_r9L2PRhi8HGXG1",currentPage:"BtwHHYDdY75ZgZdV0hnC",p:"jH6iEtyLKfdeBj7Qudmx"};const se=n=>{let{children:a,isHeading:l}=n;return t().createElement(t().Fragment,null,e.Children.map(a,(e=>l?t().createElement("h2",{className:ie.heading},e):t().createElement(t().Fragment,null,e))))};se.propTypes={children:o().any,isHeading:o().bool};const ce=n=>{let{menuItem:a,isMobile:l,domain:r}=n;const[i,s]=(0,e.useState)(a.isCurrentPage||a.hasActiveChild),c="VAL"===r,o=`${a.isCurrentPage?ie.currentPage:""} ${a.hasActiveChild?ie.hasActiveChild:""}`,m=c&&a.links?.length,u=a.links?.length||a.children?.length,d=i?ie.show:ie.hide,h=u?a.children.concat(a.links):[];return t().createElement("li",{className:`${ie.li} ${ie[r]} ${d} ${ie["depth-"+a.depth]}`,"data-item-depth":a.depth},t().createElement("div",{className:d},t().createElement(se,{isHeading:u&&a.depth<3},t().createElement("a",{className:`${ie.a} ${o}`,href:a.href},a.title,t().createElement(w,{predicate:c},t().createElement(T,{color:y})))),t().createElement(w,{predicate:a.children?.length||m},t().createElement(oe,{isOpen:i,handleClick:()=>s(!i)}))),t().createElement(w,{predicate:u},t().createElement("ul",{"data-depth-ul":a.depth,className:`${ee} ${d} ${ie["depth"+a.depth]}`},h.map((e=>t().createElement(ce,{key:e.id,menuItem:e,isMobile:l}))))))};ce.propTypes={menuItem:o().object,isMobile:o().bool,domain:o().string},o().array,o().bool;const oe=e=>{let{isOpen:n,handleClick:a}=e;return t().createElement("button",{type:"button",title:(n?s().get("close"):s().get("open"))+" "+s().get("subMenu"),onClick:a,className:"OHBMCXMjMc8tbGS9krBr "+(n?"r44Wfgu1xmtvGpXaiSPu":""),"aria-expanded":n},t().createElement("span",{className:"m6v5hu2VVzX63iSY_4fg"},t().createElement(O,null)))};oe.propTypes={handleClick:o().func,isOpen:o().bool};var me={headerMenu__item:"tToauP43r75TczYOMcLl",headerMenu:"bgX0IrRRSv6nt0Qyu5o_",mainLink:"adBEsKuLLMng6mxgm13N",currentPage:"PwCHvRbQVMzNrlwvimiG",hasActiveChild:"FV7H_H2oU8xO1xfVWRCQ",open:"PXcur9egd2GPH0___rGf",linkContainer:"lMCZ2d63sRtGxpijGuAm",onlyMobile:"Ye9eHFF_bDU2hdwOG441",notMobile:"YWvMLtfn1Of8ht2F9SJf"};const ue=e=>{let{item:n,isOpen:a,isActive:l,handleClick:r,domain:i,limitHeight:s}=e;const c=!!n.children.length&&n.children.length,o=n.hasActiveChild?" "+me.hasActiveChild:"",m=n.currentPage?" "+me.currentPage:"";let u=me.mainLink+m+o;return t().createElement(t().Fragment,null,t().createElement("li",{className:`iw-focustrap ${me.notMobile} ${me.headerMenu__item}`},c?t().createElement(k,{enable:a},t().createElement("div",{className:me.linkContainer},t().createElement("button",{className:u,type:"button","data-active":l,"aria-controls":`mega-menu-${n.id}false`,"aria-expanded":a,onClick:r},n.title)),t().createElement(re,{headerMenuItem:n,open:a,domain:i,limitHeight:s})):t().createElement("div",{className:me.linkContainer},t().createElement("a",{className:u,href:n.href},n.title))),t().createElement("li",{className:`${me.onlyMobile} ${me.headerMenu__item} ${a?me.open:me.closed}`},t().createElement("div",{className:me.linkContainer},t().createElement("a",{className:u+" "+(a?me.open:me.closed),href:n.href,"data-active":n.isCurrentPage},n.title),c&&t().createElement(oe,{isOpen:a,handleClick:r})),t().createElement(w,{predicate:c},t().createElement(re,{headerMenuItem:n,open:l,isMobile:!0,domain:i}))))};ue.propTypes={item:o().object,id:o().string,isOpen:o().bool,isActive:o().bool,handleClick:o().func,domain:o().string,limitHeight:o().boolean,MenuItem:ue};const de=e=>{let{className:n,menuItems:a,activeIndex:l,toggleMega:r,isOpen:i,domain:s,limitHeight:c}=e;return t().createElement(x,{className:`${me.headerMenu} ${n&&n}`},a.map(((e,n)=>t().createElement(ue,{key:e.id,item:e,isOpen:i&&l===n,isActive:l===n,handleClick:()=>r(n),domain:s,limitHeight:c}))))};de.propTypes={menuItems:o().array,activeIndex:o().number,toggleMega:o().func,isOpen:o().bool,className:o().string,domain:o().string,limitHeight:o().boolean};function he(e){let{className:n,logo:a,domain:l}=e;return t().createElement("div",{className:n,lang:"sv"},t().createElement("a",{className:"lrL3puE64FFB64NlI9dF",href:a.startPageUrl,"aria-label":a.ariaLabel},t().createElement("img",{className:"VrNmRU4OnSyRDZ5OgVMm",src:a.imageSrc,alt:a.altText}),t().createElement(w,{predicate:"VALC"===l},t().createElement("span",{className:"dM6W5vv0kE9hL3i7sx96"},"|"),t().createElement("span",{className:"qfj6a84Q63bYkBW6lUDg"},"Valcentralen"))))}
2he.propTypes={logo:o().any,domain:o().string,className:o().string};var ge="emU6ac28ytAMyL6Q1Ulo";function pe(e){let{className:n,showMobileMenu:a,onButtonClick:l}=e;return t().createElement("button",{className:`BOtvcPme9Kei6r8cEInb ${n||""}`,onClick:l,type:"button","aria-expanded":a},a?t().createElement(t().Fragment,null,t().createElement(_,null),t().createElement("span",{className:ge},s().get("close"))):t().createElement(t().Fragment,null,t().createElement(P,null),t().createElement("span",{className:ge},s().get("menu"))))}pe.propTypes={showMobileMenu:o().bool,onButtonClick:o().func,domain:o().string,className:o().string};var fe={form:"E9PKR5XiiIy0kWlkZZNG",label:"VJjkn2LmmZTICETGEk17",icon:"u4Q83qEbgW_EfKP8VJ1U",inputContainer:"HuWXxJZFT9l_bRoWqQy5",input:"APa85PyhFoK_Lf29p1s9",suggestionsActive:"NZNCV1FmvIxQVqTl4PWV",clearBtn:"UVmz1NNP_wAauOoWY2OZ",noClearBtn:"kDSmMK0M02101kIQvN_t",clear:"MDv_Q_TxRirsfghPvd0P",submit:"S1vWxZNf5AbbaKfrl_No",suggestionsList:"bdQqYzrF_fcNkOpNhlJT",srOnly:"XrvgnOG4MBKwlSGF9ou1"};const Ee=(0,e.forwardRef)((function(n,a){const[l,r]=(0,e.useState)(""),[i,c]=(0,e.useState)(n.searchSettings.searchPlaceholder),o=(0,e.useRef)(0),m=(0,e.useRef)(0),u=(0,e.useRef)(null),d=(0,e.useRef)(null),[h,g]=(0,e.useState)([]),[p,f]=(0,e.useState)(-1),[E,C]=(0,e.useState)(""),v=(0,e.useRef)(""),b=(0,e.useRef)(null),k=(0,e.useRef)("search-listbox"),y=(0,e.useRef)("search-status"),H=k.current,M=y.current,L=l?fe.clearBtn:fe.noClearBtn,N=h.length>0,x=p>=0?`${H}-option-${p}`:void 0;(0,e.useEffect)((()=>()=>{clearTimeout(b.current),clearTimeout(u.current),clearTimeout(d.current)}),[]);const V=e=>{v.current!==e&&(v.current=e,u.current&&clearTimeout(u.current),C(""),u.current=setTimeout((()=>{C(e)}),50))},S=e=>{const t=e?.trim();if(!t)return c("Du måste skriva ett sökord här"),void a.current?.focus();const l=new URL(n.searchSettings.searchUrl,window.location.origin);l.searchParams.set("query",t);const r=l.toString();window.location.href!==r?window.location.assign(r):window.location.reload()},T=async e=>{const t=++m.current;if(e.length<2)return g([]),f(-1),v.current="",void C("");try{const a=await fetch(`${encodeURI(n.searchSettings.suggestionsUrl)}.json?state=autoComplete&term=${encodeURIComponent(e)}`),l=await a.text(),r=l.length&&JSON.parse(l)||[];if(t!==m.current)return;g(r),f(-1),((e,t)=>{if(!t||t.length<2)return v.current="",void C("");e.length?V(`${e.length} ${s().get("availableSuggestions")} ${t}. ${s().get("arrowNavigationExplanation")}`):V(`${s().get("noSuggestionsAvailable")} ${t}.`)})(r,e)}catch(e){if(t!==m.current)return void console.log(e);g([]),f(-1),V(s().get("suggestionsCouldntLoad"))}},B=()=>{g([]),f(-1)};return t().createElement("form",{className:fe.form,onSubmit:e=>{e.preventDefault(),S(l)}},t().createElement("label",{className:fe.label,htmlFor:"searchHeader"},s().get("search")),t().createElement("div",{className:fe.inputContainer},t().createElement("span",{className:fe.icon,"aria-hidden":"true"},t().createElement(Z,null)),t().createElement("input",{id:"searchHeader",className:`${fe.input} ${L} ${N?fe.suggestionsActive:""}`,value:l,onChange:e=>{const t=e.target.value;r(t),c(n.searchSettings.searchPlaceholder),d.current&&clearTimeout(d.current),d.current=setTimeout((()=>{T(t)}),250)},onKeyDown:e=>{if(N)switch(e.key){case"ArrowDown":{e.preventDefault();const t=p<h.length-1?p+1:0;f(t);break}case"ArrowUp":{e.preventDefault();const t=p>0?p-1:h.length-1;f(t);break}case"Enter":if(p>=0){e.preventDefault();const t=h[p];r(t),B(),S(t)}break;case"Escape":e.preventDefault(),B(),C(s().get("suggestionsClosed"))}else"ArrowDown"===e.key&&h.length&&(e.preventDefault(),f(0))},onBlur:()=>{b.current=setTimeout((()=>{B()}),100)},onFocus:()=>{l.length>=2&&!h.length&&T(l)},ref:a,type:"text",placeholder:i,autoComplete:"off",role:"combobox","aria-autocomplete":"list","aria-expanded":N,"aria-controls":H,"aria-activedescendant":x}),t().createElement(w,{predicate:N},t().createElement("ul",{id:H,role:"listbox",className:fe.suggestionsList},h.map(((e,n)=>{const l=n===p,i=`${H}-option-${n}`;return t().createElement("li",{id:i,role:"option",key:`${e}-${n}`,"aria-selected":l,className:l?fe.activeSuggestion:"",onMouseDown:e=>{e.preventDefault()},onClick:()=>{(e=>{r(e),g([]),f(-1),C(`${e} ${s().get("selected")}.`),a.current?.focus()})(e),B(),S(e)}},e)})))),t().createElement(w,{predicate:!!l},t().createElement("button",{className:fe.clear,onClick:()=>{r(""),g([]),f(-1),C(""),c(n.searchSettings.searchPlaceholder),a.current?.focus()},type:"button","aria-label":s().get("clearField")},t().createElement(_,null),s().get("clear")))),t().createElement("output",{id:M,className:fe.srOnly,"aria-atomic":"true"},E),t().createElement("button",{className:fe.submit,ref:o,type:"submit"},s().get("search")))}));
2Ee.propTypes={ref:o().any,searchSettings:h.searchSettings};var Ce=Ee,ve="QBTCmHThcQ0oZwU5VX7Z";const we=n=>{let{className:a,searchSettings:l,toggleSearch:r,showSearch:i}=n;const{isMobile:c}=(0,e.useContext)(p),o=(0,e.useRef)(null);return(0,e.useEffect)((()=>{i&&setTimeout((()=>o.current?.focus()),100)}),[i]),l.turnOffSearch?"":t().createElement("div",{className:a},t().createElement(k,{enable:!c&&i},t().createElement("button",{className:"GQvIPmdQTkw0bUYDnlLQ","aria-expanded":i,lang:"SV",type:"button",onClick:()=>r(!i)},i?t().createElement(t().Fragment,null,t().createElement(_,null),s().get("close"),t().createElement("span",{className:ve}," ",s().get("search"))):t().createElement(t().Fragment,null,t().createElement(Z,null),t().createElement("span",{className:ve},s().get("open")," "),s().get("search"))),t().createElement("section",{className:"DAgNpFZ3oPUlo0EVNunA",style:{display:i?"flex":"none"}},t().createElement(Ce,{ref:o,searchSettings:l}))))};we.propTypes={showMega:o().bool,showSearch:o().bool,className:o().string,searchSettings:h.searchSettings,closeMega:o().func,toggleBlur:o().func,toggleSearch:o().func};var be=we;function ke(n){let{links:a,className:l,handleBlur:r=()=>{}}=n;const i=(0,e.useRef)(null),s=e=>{e.target===i.current.lastChild.querySelector("a")&&r()};return t().createElement("ul",{className:`tA914Cgq7B7QxC6TCDQq ${l}`,ref:i},a?.map((e=>t().createElement("li",{key:e.name,className:"YxHdsio7x3ch35cQWt4x"},t().createElement("a",{href:e.href,className:"h4hy6iVWemNU2Sj9JAFc",onBlur:s,lang:"Other languages"==e.name?"en":void 0},t().createElement(ye,{serviceLink:e.iconclass}),e.name)))))}ke.propTypes={links:o().array,className:o().string,handleBlur:o().func};const ye=e=>{let{serviceLink:n}=e;switch(n){case"valid":return t().createElement($,null);case"news":return t().createElement(F,null);case"calendar":return t().createElement(A,null);case"val":return t().createElement(I,null);case"signLanguage":return t().createElement(D,null);case"easyToRead":return t().createElement(j,null);case"en":return t().createElement(Q,null);case"sv":return t().createElement(U,null);default:return null}};
2ye.propTypes={serviceLink:o().string};var He="DkfELDUleTuYe03yO1B9",Me="YMd6aYF72mu2o_MRkiPB";const Le=e=>e.findIndex((e=>e.isCurrentPage||e.hasActiveChild)),Ne=n=>{let{items:a,logo:l,domain:r,serviceLinks:i,searchSettings:c,elementSettings:o,languages:m}=n;const{isMobile:u}=(0,e.useContext)(p),[d,h]=(0,e.useState)(!1),[g,f]=(0,e.useState)(!1),[E,w]=(0,e.useState)(!1),[b,y]=(0,e.useState)(Le(a)),M=o?.navId||"main-navigation";(0,e.useEffect)((()=>{g&&u?x():u?L(d):!u&&d&&f(!1)}),[u]);const L=e=>{f(e),w(e),h(e&&u)},N=e=>{y(null!==e&&e>-1?(e=>d&&e===b?u?-1:Le(a):e)(e):Le(a));const t=!(d&&!u&&e===b||d&&null===e);h(t),w(t),f(t&&u)},x=()=>{h(!1),y(Le(a)),w(!1),f(!1)},V=[...m.map((e=>({name:e.label,href:e.href,iconclass:e.lang}))),...i];return t().createElement(t().Fragment,null,t().createElement("div",{className:"FObhn6GSoqWS4uEXvogU","data-domain":r},t().createElement("div",{className:"PHy1OxPsCBnv7j4hUlcA"},t().createElement(he,{className:"CDJS51MkEFmHtHLmnhdZ",logo:l,domain:r}),t().createElement(k,{enable:u&&d},t().createElement(pe,{className:"VMKFyPIB1GceMrSXCEl7",showMobileMenu:u&&d,onButtonClick:()=>N(null),domain:r}),t().createElement("nav",{className:`V_gChj8neJY2h4OHHAFk ${Me}`,"aria-label":s().get("ariaLabelNav")},t().createElement(ke,{links:V,className:"jFH5dczFfSKXIhgiISQb"})),t().createElement(C,null,t().createElement(be,{className:He,searchSettings:c,showMega:d,toggleSearch:L,showSearch:g,closeMega:x,toggleBlur:w})),t().createElement("nav",{className:`${Me} Kik61GDJjP0CoBXo8Os2 ${d&&u?"riPRGMDztFZmePcA9vxn":""}`,"aria-label":s().get("ariaLabelNavHeadMenu"),id:M},t().createElement(de,{menuItems:a,activeIndex:!d&&g?null:b,toggleMega:N,isOpen:d,domain:r,limitHeight:o?.limitHeight}),t().createElement(ke,{className:"rI3PyFz3R5pulBTpuVMk",links:V,handleBlur:()=>{}})),t().createElement(v,null,t().createElement(be,{className:He,searchSettings:c,showMega:d,toggleSearch:L,showSearch:g,closeMega:x,toggleBlur:w}))))),E&&t().createElement(H,{handleBlurClick:x}))};Ne.propTypes={items:o().array,logo:o().any,domain:o().string,serviceLinks:o().array,searchSettings:h.searchSettings,elementSettings:h.elementSettings,languages:h.languages,currentLocale:o().string};const xe=e=>{let{isMobile:n,...a}=e;return t().createElement(E,{initialValue:n},t().createElement(Ne,a))};xe.propTypes={isMobile:o().boolean,items:o().array,logo:h.logoData,domain:o().string,serviceLinks:o().array,searchSettings:h.searchSettings,elementSettings:h.elementSettings};var Ve=(t,n)=>{a().hydrate(e.createElement(xe,{items:t.items,logo:t.logo,domain:t.domain,serviceLinks:t.serviceLinks,searchSettings:t.searchSettings,isMobile:window.innerWidth<768,languages:t.languages}),n)}}(),i}()}));}});

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.