PageSourceSearch

https://www.atl.nu/_next/static/chunks/0u1pxo-ltoffq.js

js atl.nu collected 2026-09-24 20:18:07 UTC 52,921 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,661608,735919,e=>{"use strict";var t=e.i(164309),n=e.i(784544),r=e.i(766417),o=e.i(776172),a=e.i(718146),i=e.i(196505),s=e.i(321689);let l={},c=async e=>{var r;let o=new URLSearchParams;(null==e?void 0:e.target)&&o.set("target",e.target),(null==e?void 0:e.active)!==void 0&&o.set("active",String(e.active)),(null==e?void 0:e.category)&&o.set("category",e.category);let a=o.toString(),i=l[a];if((null==i?void 0:i.data)&&Date.now()-i.ts<6e4)return i.data;if(null==i?void 0:i.promise)return i.promise;let c=(async()=>{try{let e=await s.default.get("/api/marketDataBackend/instruments?".concat(a));if(!e.data.success)throw Error(e.data.error||"Failed to fetch instruments");return l[a]={data:e.data.data,ts:Date.now()},e.data.data}catch(e){throw delete l[a],console.error("Error fetching instruments:",e),e}})();return l[a]=(0,n._)((0,t._)({},i),{ts:0,promise:c,data:null!=(r=null==i?void 0:i.data)?r:[]}),c},u=async e=>{try{let t=e.toLowerCase(),n=await s.default.get("/api/marketDataBackend/instruments/slug/".concat(encodeURIComponent(t)));if(!n.data.success)throw Error(n.data.error||"Failed to fetch instrument");return n.data.data}catch(e){var t,n;throw console.error("[fetchInstrumentBySlug] Error:",{message:e.message,response:null==(t=e.response)?void 0:t.data,status:null==(n=e.response)?void 0:n.status}),e}},d={},f=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"1_month",r=d[e];if((null==r?void 0:r.data)&&Date.now()-r.ts<6e4)return r.data;if(null==r?void 0:r.promise)return r.promise;let o=(async()=>{try{let t=await s.default.get("/api/marketDataBackend/rankings?period=".concat(e));if(!t.data.success)throw Error(t.data.error||"Failed to fetch rankings");return d[e]={data:t.data.data,ts:Date.now()},t.data.data}catch(t){throw delete d[e],console.error("Error fetching rankings:",t),t}})();return d[e]=(0,n._)((0,t._)({},r),{ts:0,promise:o,data:null==r?void 0:r.data}),o},p=async e=>{try{let t=await s.default.get("/api/marketDataBackend/translations?type=".concat(e));if(!t.data.success)throw Error(t.data.error||"Failed to fetch translations");return t.data.data}catch(t){throw console.error("Error fetching ".concat(e," translations:"),t),t}},v=async e=>{try{let t=e.instrumentCode.toUpperCase(),n=new URLSearchParams;n.set("type","history"),n.set("instrumentCode",t),e.from&&n.set("from",e.from),e.to&&n.set("to",e.to),e.limit&&n.set("limit",String(e.limit));let r=await s.default.get("/api/marketDataBackend/prices?".concat(n.toString()));if(!r.data.success)throw Error(r.data.error||"Failed to fetch price history");return r.data.data}catch(r){var t,n;throw console.error("[fetchPriceHistory] Error:",{message:r.message,response:null==(t=r.response)?void 0:t.data,status:null==(n=r.response)?void 0:n.status,instrumentCode:e.instrumentCode}),r}},h=async()=>{try{let e=await s.default.get("/api/marketDataBackend/newest-analysis");if(!e.data.analysis)throw Error("Failed to fetch newest analysis");return e.data.analysis}catch(n){var e,t;throw console.error("[fetchNewestAnalysis] Error:",{message:n.message,response:null==(e=n.response)?void 0:e.data,status:null==(t=n.response)?void 0:t.status}),n}};e.s(["fetchInstrumentBySlug",0,u,"fetchInstruments",0,c,"fetchNewestAnalysis",0,h,"fetchPriceHistory",0,v,"fetchRankings",0,f,"fetchTranslations",0,p],735919);let m=i.default.createContext(void 0);e.s(["MarketDataContextProvider",0,e=>{let{children:s}=e,l=(0,r._)(e,["children"]),c=(0,a.usePathname)(),[u,d]=(0,i.useState)({}),[f,v]=(0,i.useState)({}),[h,b]=(0,i.useState)({}),[g,y]=(0,i.useState)({}),[w,_]=(0,i.useState)({}),[E,S]=(0,i.useState)(!1),[O,k]=(0,i.useState)(!1);async function P(){try{k(!0);let[e,t]=await Promise.all([p("categories"),p("units")]),n={},r={},o={},a={},i={};e.forEach(e=>{n[e.category_key]=e.display_sv,null==e.display_order||Number.isNaN(e.display_order)||(r[e.category_key]=e.display_order)}),v(r),t.forEach(e=>{o[e.unit_key]=e.display_sv,e.measurement_sv&&(a[e.unit_key]=e.measurement_sv),e.is_subunit&&(i[e.unit_key]=!0)}),d(n),b(o),y(a),_(i)}catch(e){console.error("Error fetching translations:",e)}finally{k(!1)}}return(0,i.useEffect)(()=>{(null==c?void 0:c.includes("/marknadsbevakning"))&&0===Object.keys(u).length&&P()},[c]),(0,o.jsx)(m.Provider,(0,n._)((0,t._)({value:{categoryTranslations:u,categoryOrder:f,unitTranslations:h,measurementTranslations:g,unitSubunitByKey:w,convertedCurrency:E,handleCurrencyConverting:function(){return S(e=>!e)},loading:O}},l),{children:s}))},"default",0,m,"useMarketDataContext",0,()=>{let e=i.default.useContext(m);if(void 0===e)throw Error("useMarketDataContext must be used within a MarketDataContextProvider");return e}],661608)},750327,(e,t,n)=>{"use strict";function r(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:o,blurDataURL:a,objectFit:i}=e,s=r?40*r:t,l=o?40*o:n,c=s&&l?"viewBox='0 0 ".concat(s," ").concat(l,"'"):"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' ".concat(c,"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='").concat(20,"'/%3
1E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='").concat(20,"'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='").concat(c?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none","' style='filter: url(%23b);' href='").concat(a,"'/%3E%3C/svg%3E")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},285266,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return i}};for(var o in r)Object.defineProperty(n,o,{enumerable:!0,get:r[o]});let a=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},392132,(e,t,n)=>{"use strict";var r=e.r(196662),o=e.r(892832),a=e.r(394404);Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getImgProps",{enumerable:!0,get:function(){return f}}),e.r(991199);let i=e.r(113378),s=e.r(750327),l=e.r(285266),c=["-moz-initial","fill","none","scale-down",void 0];function u(e){return void 0!==e.default}function d(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function f(e,t){var n,f;let p,v,h,[m,...b]=[e,t],{src:g,sizes:y,unoptimized:w=!1,priority:_=!1,preload:E=!1,loading:S,className:O,quality:k,width:P,height:T,fill:C=!1,style:x,overrideSrc:D,onLoad:N,onLoadingComplete:R,placeholder:j="empty",blurDataURL:F,fetchPriority:I,decoding:A="async",layout:L,objectFit:M,objectPosition:B,lazyBoundary:z,lazyRoot:G}=m,U=a._(m,["src","sizes","unoptimized","priority","preload","loading","className","quality","width","height","fill","style","overrideSrc","onLoad","onLoadingComplete","placeholder","blurDataURL","fetchPriority","decoding","layout","objectFit","objectPosition","lazyBoundary","lazyRoot"]),[W]=b,{imgConf:q,showAltText:V,blurComplete:K,defaultLoader:H}=W,X=q||l.imageConfigDefault;if("allSizes"in X)p=X;else{let e=[...X.deviceSizes,...X.imageSizes].sort((e,t)=>e-t),t=X.deviceSizes.sort((e,t)=>e-t),a=null==(n=X.qualities)?void 0:n.sort((e,t)=>e-t);p=o._(r._({},X),{allSizes:e,deviceSizes:t,qualities:a})}if(void 0===H)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let $=U.loader||H;delete U.loader,delete U.srcSet;let Y="__next_img_default"in $;if(Y){if("custom"===p.loader)throw Object.defineProperty(Error('Image with src "'.concat(g,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader"),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=$;$=t=>{let{config:n}=t;return e(a._(t,["config"]))}}if(L){"fill"===L&&(C=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[L];e&&(x=r._({},x,e));let t={responsive:"100vw",fill:"100vw"}[L];t&&!y&&(y=t)}let J="",Q=d(P),Z=d(T);if((f=g)&&"object"==typeof f&&(u(f)||void 0!==f.src)){let e=u(g)?g.default:g;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(e))),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,
1configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(e))),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(v=e.blurWidth,h=e.blurHeight,F=F||e.blurDataURL,J=e.src,!C)if(Q||Z){if(Q&&!Z){let t=Q/e.width;Z=Math.round(e.height*t)}else if(!Q&&Z){let t=Z/e.height;Q=Math.round(e.width*t)}}else Q=e.width,Z=e.height}let ee=!_&&!E&&("lazy"===S||void 0===S);(!(g="string"==typeof g?g:J)||g.startsWith("data:")||g.startsWith("blob:"))&&(w=!0,ee=!1),p.unoptimized&&(w=!0),Y&&!p.dangerouslyAllowSVG&&g.split("?",1)[0].endsWith(".svg")&&(w=!0);let et=d(k),en=Object.assign(C?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:B}:{},V?{}:{color:"transparent"},x),er=K||"empty"===j?null:"blur"===j?'url("data:image/svg+xml;charset=utf-8,'.concat((0,s.getImageBlurSvg)({widthInt:Q,heightInt:Z,blurWidth:v,blurHeight:h,blurDataURL:F||"",objectFit:en.objectFit}),'")'):'url("'.concat(j,'")'),eo=c.includes(en.objectFit)?"fill"===en.objectFit?"100% 100%":"cover":en.objectFit,ea=er?{backgroundSize:eo,backgroundPosition:en.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:er}:{},ei=function(e){let{config:t,src:n,unoptimized:r,width:o,quality:a,sizes:s,loader:l}=e;if(r){if(n.startsWith("/")&&!n.startsWith("//")){let e=(0,i.getDeploymentId)();if(e){let t=n.indexOf("?");if(-1!==t){let r=new URLSearchParams(n.slice(t+1));r.get("dpl")||(r.append("dpl",e),n=n.slice(0,t)+"?"+r.toString())}else n+="?dpl=".concat(e)}}return{src:n,srcSet:void 0,sizes:void 0}}let{widths:c,kind:u}=function(e,t,n){let{deviceSizes:r,allSizes:o}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))],kind:"x"}}(t,o,s),d=c.length-1;return{sizes:s||"w"!==u?s:"100vw",srcSet:c.map((e,r)=>"".concat(l({config:t,src:n,quality:a,width:e})," ").concat("w"===u?e:r+1).concat(u)).join(", "),src:l({config:t,src:n,quality:a,width:c[d]})}}({config:p,src:g,unoptimized:w,width:Q,quality:et,sizes:y,loader:$}),es=ee?"lazy":S;return{props:o._(r._({},U),{loading:es,fetchPriority:I,width:Q,height:Z,decoding:A,className:O,style:r._({},en,ea),sizes:ei.sizes,srcSet:ei.srcSet,src:D||ei.src}),meta:{unoptimized:w,preload:E||_,placeholder:j,fill:C}}}},245557,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return s}});let r=e.r(196505),o="u"<typeof window,a=o?()=>{}:r.useLayoutEffect,i=o?()=>{}:r.useEffect;function s(e){let{headManager:t,reduceComponentsToState:n}=e;function s(){if(t&&t.mountedInstances){let e=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(e))}}if(o){var l;null==t||null==(l=t.mountedInstances)||l.add(e.children),s()}return a(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),a(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},294557,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return h},defaultHead:function(){return d}};for(var o in r)Object.defineProperty(n,o,{enumerable:!0,get:r[o]});let a=e.r(481258),i=e.r(744066),s=e.r(776172),l=i._(e.r(196505)),c=a._(e.r(245557)),u=e.r(476663);function d(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>
1"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(991199);let p=["name","httpEquiv","charSet","itemProp"];function v(e){let t,n,r,o;return e.reduce(f,[]).reverse().concat(d().reverse()).filter((t=new Set,n=new Set,r=new Set,o={},e=>{let a=!0,i=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){i=!0;let n=e.key.slice(e.key.indexOf("$")+1);t.has(n)?a=!1:t.add(n)}switch(e.type){case"title":case"base":n.has(e.type)?a=!1:n.add(e.type);break;case"meta":for(let t=0,n=p.length;t<n;t++){let n=p[t];if(e.props.hasOwnProperty(n))if("charSet"===n)r.has(n)?a=!1:r.add(n);else{let t=e.props[n],r=o[n]||new Set;("name"!==n||!i)&&r.has(t)?a=!1:(r.add(t),o[n]=r)}}}return a})).reverse().map((e,t)=>{let n=e.key||t;return l.default.cloneElement(e,{key:n})})}let h=function(e){let{children:t}=e,n=(0,l.useContext)(u.HeadManagerContext);return(0,s.jsx)(c.default,{reduceComponentsToState:v,headManager:n,children:t})};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},92555,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let r=e.r(481258)._(e.r(196505)),o=e.r(285266),a=r.default.createContext(o.imageConfigDefault)},776019,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"RouterContext",{enumerable:!0,get:function(){return r}});let r=e.r(481258)._(e.r(196505)).default.createContext(null)},320379,(e,t,n)=>{"use strict";function r(e,t){var n;let r=e||75;return(null==t||null==(n=t.qualities)?void 0:n.length)?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"findClosestQuality",{enumerable:!0,get:function(){return r}})},474467,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return i}});let r=e.r(320379),o=e.r(113378);function a(e){var t;let{config:n,src:a,width:i,quality:s}=e,l=(0,o.getDeploymentId)();if(a.startsWith("/")&&!a.startsWith("//")){let e=a.indexOf("?");if(-1!==e){let t=new URLSearchParams(a.slice(e+1)),n=t.get("dpl");if(n){l=n,t.delete("dpl");let r=t.toString();a=a.slice(0,e)+(r?"?"+r:"")}}}if(a.startsWith("/")&&a.includes("?")&&(null==(t=n.localPatterns)?void 0:t.length)===1&&"**"===n.localPatterns[0].pathname&&""===n.localPatterns[0].search)throw Object.defineProperty(Error('Image with src "'.concat(a,'" is using a query string which is not configured in images.localPatterns.')+"\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns"),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let c=(0,r.findClosestQuality)(s,n);return"".concat(n.path,"?url=").concat(encodeURIComponent(a),"&w=").concat(i,"&q=").concat(c).concat(a.startsWith("/")&&l?"&dpl=".concat(l):"")}a.__next_img_default=!0;let i=a},683754,(e,t,n)=>{"use strict";var r=e.r(196662),o=e.r(892832),a=e.r(394404);Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Image",{enumerable:!0,get:function(){return S}});let i=e.r(481258),s=e.r(744066),l=e.r(776172),c=s._(e.r(196505)),u=i._(e.r(587640)),d=i._(e.r(294557)),f=e.r(392132),p=e.r(285266),v=e.r(92555);e.r(991199);let h=e.r(776019),m=i._(e.r(474467)),b=e.r(287021),g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function y(e,t,n,a,i,s,l){let c=null==e?void 0:e.src;e&&e["data-loaded-src"]!==c&&(e["data-loaded-src"]=c,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let a=!1,i=!1;n.current(o._(r._({},t),{nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>a,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{a=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}}))}(null==a?void 0:a.current)&&a.current(e)}}))}function w(e){return c.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let _=(0,c.forwardRef)((e,t)=>
1{let[n,...i]=[e,t],{src:s,srcSet:u,sizes:d,height:f,width:p,decoding:v,className:h,style:m,fetchPriority:g,placeholder:_,loading:E,unoptimized:S,fill:O,onLoadRef:k,onLoadingCompleteRef:P,setBlurComplete:T,setShowAltText:C,sizesInput:x,onLoad:D,onError:N}=n,R=a._(n,["src","srcSet","sizes","height","width","decoding","className","style","fetchPriority","placeholder","loading","unoptimized","fill","onLoadRef","onLoadingCompleteRef","setBlurComplete","setShowAltText","sizesInput","onLoad","onError"]),[j]=i,F=(0,c.useCallback)(e=>{e&&(N&&(e.src=e.src),e.complete&&y(e,_,k,P,T,S,x))},[s,_,k,P,T,N,S,x]),I=(0,b.useMergedRef)(j,F);return(0,l.jsx)("img",o._(r._({},R,w(g)),{loading:E,width:p,height:f,decoding:v,"data-nimg":O?"fill":"1",className:h,style:m,sizes:d,srcSet:u,src:s,ref:I,onLoad:e=>{y(e.currentTarget,_,k,P,T,S,x)},onError:e=>{C(!0),"empty"!==_&&T(!0),N&&N(e)}}))});function E(e){let{isAppRouter:t,imgAttributes:n}=e,o=r._({as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy},w(n.fetchPriority));return t&&u.default.preload?(u.default.preload(n.src,o),null):(0,l.jsx)(d.default,{children:(0,l.jsx)("link",r._({rel:"preload",href:n.srcSet?void 0:n.src},o),"__nimg-"+n.src+n.srcSet+n.sizes)})}let S=(0,c.forwardRef)((e,t)=>{let n=(0,c.useContext)(h.RouterContext),a=(0,c.useContext)(v.ImageConfigContext),i=(0,c.useMemo)(()=>{var e;let t=g||a||p.imageConfigDefault,n=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),s=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return o._(r._({},t),{allSizes:n,deviceSizes:i,qualities:s,localPatterns:"u"<typeof window?null==a?void 0:a.localPatterns:t.localPatterns})},[a]),{onLoad:s,onLoadingComplete:u}=e,d=(0,c.useRef)(s);(0,c.useEffect)(()=>{d.current=s},[s]);let b=(0,c.useRef)(u);(0,c.useEffect)(()=>{b.current=u},[u]);let[y,w]=(0,c.useState)(!1),[S,O]=(0,c.useState)(!1),{props:k,meta:P}=(0,f.getImgProps)(e,{defaultLoader:m.default,imgConf:i,blurComplete:y,showAltText:S});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(_,o._(r._({},k),{unoptimized:P.unoptimized,placeholder:P.placeholder,fill:P.fill,onLoadRef:d,onLoadingCompleteRef:b,setBlurComplete:w,setShowAltText:O,sizesInput:e.sizes,ref:t})),P.preload?(0,l.jsx)(E,{isAppRouter:!n,imgAttributes:k}):null]})});("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},60529,(e,t,n)=>{t.exports={names:{logo:"logo",user:"user",search:"search",filter:"filter",compare:"compare",info:"info",infoOutline:"infoOutline",menu:"menu",menuClose:"menu-close",arrow:"arrow",warning:"warning",toggleArrow:"toggle-arrow",tinyArrow:"tiny-arrow",sortingArrow:"sorting-arrow",newspaper:"newspaper",play:"play",atliconsFacebookF:"atlicons_facebook_f",atliconsTwitter:"atlicons_twitter",atliconsMail:"atlicons_mail",location:"location",locationWhite:"locationWhite",close:"close",emailicon:"emailicon",etidningicon:"etidningicon",faqicon:"faqicon",profileicon:"profileicon",customerserviceicon:"customerserviceicon",ctaArrow:"cta-arrow",envelope:"envelope",newsletter:"newsletter",phone:"phone",starFilled:"star-filled",star:"star",checkmark:"checkmark",locked:"locked",increasingValueArrow:"increasing-value-arrow",decreasingValueArrow:"decreasing-value-arrow",neutralValueArrow:"neutral-value-arrow",checkMark:"check-mark",marketListCircle:"market-list-circle",pin:"pin",pined:"pined",expand:"expand",abort:"abort",goInto:"goInto",skiraLogo:"skira-logo",iconCattle:"icon-cattle",lager2:"Lager_2",lager12:"Lager_1-2",iconElectricity:"icon-electricity",iconMeat:"icon-meat",iconOats:"icon-oats",iconSeed:"icon-seed",iconWood:"icon-wood",iconMoney:"icon-money",paywallChecks:"paywall-checks",resetIcon:"reset-icon",headphones:"headphones",bell:"bell",arrowLeft:"arrowLeft",chevron:"chevron",fullscreen:"fullscreen",defaultProduct:"defaultProduct",gard:"gard",hus:"hus",jordbruk:"jordbruk",clip09954060:"clip0_995_4060",trad:"trad",openLock:"openLock",fastigheter:"fastigheter",fastigheterMobile:"fastigheterMobile",maskinguiden:"maskinguiden",tvLogo:"tv-logo",emptyState:"emptyState",lager22:"Lager_2-2",tree:"tree",totalArea:"totalArea",arrende:"arrende"}}},851338,e=>{"use strict";var t=e.i(164309),n=e.i(784544),r=e.i(766417),o=e.i(776172),a=e.i(60529);let i=e=>{let{size:a=1.25,href:i,viewBox:s,color:l}=e,c=(0,r._)(e,["size","href","viewBox","color"]),u=a+"em";if(s){let[e,t]=s.split(" ").slice(2,4);u=Number(e)/Number(t)*a+"em"}return(0,o.jsx)("svg",(0,n._)((0,t._)({xmlns:"http://www.w3.org/2000/svg",viewBox:s,width:u,height:a+"em",fill:l},c),{children:(0,o.jsx)("use",{xlinkHref:i})}))};e.s(["Icon",0,e=>{let{name:s}=e,l=(0,r._)(e,["name"]);return(0,o.jsx)(i,(0,n._)((0,t._)({},l),{href:"#".concat(a.default.names[s])}))}])},996972,e=>{"use strict";var t=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not
1(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],n=t.join(","),r="u"<typeof Element,o=r?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=!r&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},i=function(e,t){void 0===t&&(t=!0);var n,r=null==e||null==(n=e.getAttribute)?void 0:n.call(e,"inert");return""===r||"true"===r||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):i(e.parentNode))},s=function(e){var t,n=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===n||"true"===n},l=function(e,t,r){if(i(e))return[];var a=Array.prototype.slice.apply(e.querySelectorAll(n));return t&&o.call(e,n)&&a.unshift(e),a=a.filter(r)},c=function(e,t,r){for(var a=[],s=Array.from(e);s.length;){var l=s.shift();if(!i(l,!1))if("SLOT"===l.tagName){var u=l.assignedElements(),d=c(u.length?u:l.children,!0,r);r.flatten?a.push.apply(a,d):a.push({scopeParent:l,candidates:d})}else{o.call(l,n)&&r.filter(l)&&(t||!e.includes(l))&&a.push(l);var f=l.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(l),p=!i(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(f&&p){var v=c(!0===f?l.children:f.children,!0,r);r.flatten?a.push.apply(a,v):a.push({scopeParent:l,candidates:v})}else s.unshift.apply(s,l.children)}}return a},u=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},d=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||s(e))&&!u(e)?0:e.tabIndex},f=function(e,t){var n=d(e);return n<0&&t&&!u(e)?0:n},p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},v=function(e){return"INPUT"===e.tagName},h=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},m=function(e){if(!e.name)return!0;var t,n=e.form||a(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("u">typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=h(t,e.form);return!o||o===e},b=function(e){return v(e)&&"radio"===e.type&&!m(e)},g=function(e){var t,n,r,o,i,s,l,c=e&&a(e),u=null==(t=c)?void 0:t.host,d=!1;if(c&&c!==e)for(d=!!(null!=(n=u)&&null!=(r=n.ownerDocument)&&r.contains(u)||null!=e&&null!=(o=e.ownerDocument)&&o.contains(e));!d&&u;)d=!!(null!=(s=u=null==(i=c=a(u))?void 0:i.host)&&null!=(l=s.ownerDocument)&&l.contains(u));return d},y=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},w=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(e).visibility)return!0;var i=o.call(e,"details>summary:first-of-type")?e.parentElement:e;if(o.call(i,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return y(e)}else{if("function"==typeof r){for(var s=e;e;){var l=e.parentElement,c=a(e);if(l&&!l.shadowRoot&&!0===r(l))return y(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=s}if(g(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},_=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!o.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1},E=function(e,t){return!(t.disabled||v(t)&&"hidden"===t.type||w(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||_(t))},S=function(e,t){return!(b(t)||0>d(t))&&!!E(e,t)},O=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},k=function(e){var t=[],n=[];return e.forEach(function(e,r){var o=!!e.scopeParent,a=o?e.scopeParent:e,i=f(a,o),s=o?k(e.candidates):a;0===i?o?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:i,item:e,isScope:o,content:s})}),n.sort(p).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},P=t.concat("iframe:not([inert]):not([inert] *)").join(",");e.s(["focusable",0,function(e,t){return(t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:E.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):l(e,t.includeContainer,E.bind(null,t))},"getTabIndex",0,d,"isFocusable",0,function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==o.call(e,P)&&E(t,e)},"isTabbable",0,function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==o.call(e,n)&&S(t,e)},"tabbable",0,function(e,t){return k((t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:S.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:O}):l(e,t.includeContainer,S.bind(null,t)))}])},701958,e=>{"use strict";var t=e.i(996972);function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function r(e,t){var n="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=i(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){var r,o;r=t,o=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t){if(e){if("string"==typeof e)return n(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}var s={getActiveTrap:function(e){return(null==e?void 0:e.length)>0?e[e.length-1]:null},activateTrap:function(e,t){t!==s.getActiveTrap(e)&&s.pauseTrap(e);var n=e.indexOf(t);-1===n||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),s.unpauseTrap(e)},pauseTrap:function(e){var t=s.getActiveTrap(e);null==t||t._setPausedState(!0)},unpauseTrap:function(e){var t=s.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},l=function(e){return(null==e?void 0:e.key)==="Tab"||(null==e?void 0:e.keyCode)===9},c=function(e){return l(e)&&!e.shiftKey},u=function(e){return l(e)&&e.shiftKey},d=function(e){return setTimeout(e,0)},f=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},p=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},v=[];e.s(["createFocusTrap",0,function(e,o){var h,m=(null==o?void 0:o.document)||document,b=(null==o?void 0:o.trapStack)||v,g=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:c,isKeyBackward:u},o),y={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},w=function(e,t,n){return e&&void 0!==e[t]?e[t]:g[n||t]},_=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return y.containerGroups.findIndex(function(t){var r=t.container,o=t.tabbableNodes;return r.contains(e)||(null==n?void 0:n.includes(r))||o.find(function(t){return t===e})})},E=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.hasFallback,a=r.params,s=g[e];if("function"==typeof s&&(s=s.apply(void 0,function(e){if(Array.isArray(e))return n(e)}(t=void 0===a?[]:a)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||i(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),!0===s&&(s=void 0),!s){if(void 0===s||!1===s)return s;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=s;if("string"==typeof s){try{l=m.querySelector(s)}
1catch(t){throw Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!l&&!(void 0!==o&&o))throw Error("`".concat(e,"` as selector refers to no known node"))}return l},S=function(){var e=E("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!(0,t.isFocusable)(e,g.tabbableOptions))if(_(m.activeElement)>=0)e=m.activeElement;else{var n=y.tabbableGroups[0];e=n&&n.firstTabbableNode||E("fallbackFocus")}else null===e&&(e=E("fallbackFocus"));if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},O=function(){if(y.containerGroups=y.containers.map(function(e){var n=(0,t.tabbable)(e,g.tabbableOptions),r=(0,t.focusable)(e,g.tabbableOptions),o=n.length>0?n[0]:void 0,a=n.length>0?n[n.length-1]:void 0,i=r.find(function(e){return(0,t.isTabbable)(e)}),s=r.slice().reverse().find(function(e){return(0,t.isTabbable)(e)}),l=!!n.find(function(e){return(0,t.getTabIndex)(e)>0});return{container:e,tabbableNodes:n,focusableNodes:r,posTabIndexesFound:l,firstTabbableNode:o,lastTabbableNode:a,firstDomTabbableNode:i,lastDomTabbableNode:s,nextTabbableNode:function(e){var o=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=n.indexOf(e);return a<0?o?r.slice(r.indexOf(e)+1).find(function(e){return(0,t.isTabbable)(e)}):r.slice(0,r.indexOf(e)).reverse().find(function(e){return(0,t.isTabbable)(e)}):n[a+(o?1:-1)]}}}),y.tabbableGroups=y.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),y.tabbableGroups.length<=0&&!E("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(y.containerGroups.find(function(e){return e.posTabIndexesFound})&&y.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},k=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?k(t.shadowRoot):t},P=function(e){if(!1!==e&&e!==k(document)){if(!e||!e.focus)return void P(S());e.focus({preventScroll:!!g.preventScroll}),y.mostRecentlyFocusedNode=e,e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select&&e.select()}},T=function(e){var t=E("setReturnFocus",{params:[e]});return t||!1!==t&&e},C=function(e){var n=e.target,r=e.event,o=e.isBackward,a=void 0!==o&&o;n=n||p(r),O();var i=null;if(y.tabbableGroups.length>0){var s=_(n,r),c=s>=0?y.containerGroups[s]:void 0;if(s<0)i=a?y.tabbableGroups[y.tabbableGroups.length-1].lastTabbableNode:y.tabbableGroups[0].firstTabbableNode;else if(a){var u=y.tabbableGroups.findIndex(function(e){var t=e.firstTabbableNode;return n===t});if(u<0&&(c.container===n||(0,t.isFocusable)(n,g.tabbableOptions)&&!(0,t.isTabbable)(n,g.tabbableOptions)&&!c.nextTabbableNode(n,!1))&&(u=s),u>=0){var d=0===u?y.tabbableGroups.length-1:u-1,f=y.tabbableGroups[d];i=(0,t.getTabIndex)(n)>=0?f.lastTabbableNode:f.lastDomTabbableNode}else l(r)||(i=c.nextTabbableNode(n,!1))}else{var v=y.tabbableGroups.findIndex(function(e){var t=e.lastTabbableNode;return n===t});if(v<0&&(c.container===n||(0,t.isFocusable)(n,g.tabbableOptions)&&!(0,t.isTabbable)(n,g.tabbableOptions)&&!c.nextTabbableNode(n))&&(v=s),v>=0){var h=v===y.tabbableGroups.length-1?0:v+1,m=y.tabbableGroups[h];i=(0,t.getTabIndex)(n)>=0?m.firstTabbableNode:m.firstDomTabbableNode}else l(r)||(i=c.nextTabbableNode(n))}}else i=E("fallbackFocus");return i},x=function(e){_(p(e),e)>=0||(f(g.clickOutsideDeactivates,e)?h.deactivate({returnFocus:g.returnFocusOnDeactivate}):f(g.allowOutsideClick,e)||e.preventDefault())},D=function(e){var n=p(e),r=_(n,e)>=0;if(r||n instanceof Document)r&&(y.mostRecentlyFocusedNode=n);else{e.stopImmediatePropagation();var o,a=!0;if(y.mostRecentlyFocusedNode)if((0,t.getTabIndex)(y.mostRecentlyFocusedNode)>0){var i=_(y.mostRecentlyFocusedNode),s=y.containerGroups[i].tabbableNodes;if(s.length>0){var l=s.findIndex(function(e){return e===y.mostRecentlyFocusedNode});l>=0&&(g.isKeyForward(y.recentNavEvent)?l+1<s.length&&(o=s[l+1],a=!1):l-1>=0&&(o=s[l-1],a=!1))}}else y.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return(0,t.getTabIndex)(e)>0})})||(a=!1);else a=!1;a&&(o=C({target:y.mostRecentlyFocusedNode,isBackward:g.isKeyBackward(y.recentNavEvent)})),o?P(o):P(y.mostRecentlyFocusedNode||S())}y.recentNavEvent=void 0},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];y.recentNavEvent=e;var n=C({event:e,isBackward:t});n&&(l(e)&&e.preventDefault(),P(n))},R=function(e){(g.isKeyForward(e)||g.isKeyBackward(e))&&N(e,g.isKeyBackward(e))},j=function(e){((null==e?void 0:e.key)==="Escape"||(null==e?void 0:e.key)==="Esc"||(null==e?void 0:e.keyCode)===27)&&!1!==f(g.escapeDeactivates,e)&&(e.preventDefault(),h.deactivate())},F=function(e){_(p(e),e)>=0||f(g.clickOutsideDeactivates,e)||f(g.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},I=function(){if(y.active)return s.activateTrap(b,h),y.delayInitialFocusTimer=g.delayInitialFocus?d(function(){P(S())}):P(S()),m.addEventListener("focusin",D,!0),m.addEventListener("mousedown",x,{capture:!0,passive:!1}),m.addEventListener("touchstart",x,{capture:!0,passive:!1}),m.addEventListener("click",F,{capture:!0,passive:!1}),m.addEventListener("keydown",R,{capture:!0,passive:!1}),m.addEventListener("keydown",j),h},A=function(e){y.active&&!y.paused&&h._setSubtreeIsolation(!1),y.adjacentElements.clear(),y.alreadySilent.clear();var t,n=new Set,o=new Set,a=r(e);try{for(a.s();!(t=a.n()).done;){var i=t.value;n.add(i);for(var s="u">typeof ShadowRoot&&i.getRootNode()instanceof ShadowRoot,l=i;l;){n.add(l);var c=l.parentElement,u=[];c?u=c.children:!c&&s&&(u=l.getRootNode().children,c=l.getRootNode().host,s="u">typeof ShadowRoot&&c.getRootNode()instanceof ShadowRoot);var d,f=r(u);try{for(f.s();!(d=f.n()).done;){var p=d.value;o.add(p)}}catch(e){f.e(e)}finally{f.f()}l=c}}}catch(e){a.e(e)}finally{a.f()}n.forEach(function(e){o.delete(e)}),y.adjacentElements=o},L=function(){if(y.active)return m.removeEventListener("focusin",D,!0),m.removeEventListener("mousedown",x,!0),m.removeEventListener("touchstart",x,!0),m.removeEventListener("click",F,!0),m.removeEventListener("keydown",R,!0),m.removeEventListener("keydown",j),h},M="u">typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes
1).some(function(e){return e===y.mostRecentlyFocusedNode})})&&P(S())}):void 0,B=function(){M&&(M.disconnect(),y.active&&!y.paused&&y.containers.map(function(e){M.observe(e,{subtree:!0,childList:!0})}))};return Object.defineProperties(h={get active(){return y.active},get paused(){return y.paused},activate:function(e){if(y.active)return this;var t,n,r=w(e,"onActivate"),o=w(e,"onPostActivate"),a=w(e,"checkCanFocusTrap"),i=s.getActiveTrap(b),l=!1;i&&!i.paused&&(null==(t=i._setSubtreeIsolation)||t.call(i,!1),l=!0);try{a||O(),y.active=!0,y.paused=!1,y.nodeFocusedBeforeActivation=k(m),null==r||r();var c=function(){a&&O(),I(),B(),g.isolateSubtrees&&h._setSubtreeIsolation(!0),null==o||o()};if(a)return a(y.containers.concat()).then(c,c),this;c()}catch(e){throw i===s.getActiveTrap(b)&&l&&(null==(n=i._setSubtreeIsolation)||n.call(i,!0)),e}return this},deactivate:function(e){if(!y.active)return this;var t=a({onDeactivate:g.onDeactivate,onPostDeactivate:g.onPostDeactivate,checkCanReturnFocus:g.checkCanReturnFocus},e);clearTimeout(y.delayInitialFocusTimer),y.delayInitialFocusTimer=void 0,y.paused||h._setSubtreeIsolation(!1),y.alreadySilent.clear(),L(),y.active=!1,y.paused=!1,B(),s.deactivateTrap(b,h);var n=w(t,"onDeactivate"),r=w(t,"onPostDeactivate"),o=w(t,"checkCanReturnFocus"),i=w(t,"returnFocus","returnFocusOnDeactivate");null==n||n();var l=function(){d(function(){i&&P(T(y.nodeFocusedBeforeActivation)),null==r||r()})};return i&&o?o(T(y.nodeFocusedBeforeActivation)).then(l,l):l(),this},pause:function(e){return y.active?(y.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return y.active?(y.manuallyPaused=!1,b[b.length-1]!==this)?this:this._setPausedState(!1,e):this},updateContainerElements:function(e){return y.containers=[].concat(e).filter(
1Boolean).map(function(e){return"string"==typeof e?m.querySelector(e):e}),g.isolateSubtrees&&A(y.containers),y.active&&(O(),g.isolateSubtrees&&!y.paused&&h._setSubtreeIsolation(!0)),B(),this}},{_isManuallyPaused:{value:function(){return y.manuallyPaused}},_setPausedState:{value:function(e,t){if(y.paused===e)return this;if(y.paused=e,e){var n=w(t,"onPause"),r=w(t,"onPostPause");null==n||n(),L(),B(),h._setSubtreeIsolation(!1),null==r||r()}else{var o=w(t,"onUnpause"),a=w(t,"onPostUnpause");null==o||o(),h._setSubtreeIsolation(!0),O(),I(),B(),null==a||a()}return this}},_setSubtreeIsolation:{value:function(e){g.isolateSubtrees&&y.adjacentElements.forEach(function(t){var n;e?"aria-hidden"===g.isolateSubtrees?(("true"===t.ariaHidden||(null==(n=t.getAttribute("aria-hidden"))?void 0:n.toLowerCase())==="true")&&y.alreadySilent.add(t),t.setAttribute("aria-hidden","true")):((t.inert||t.hasAttribute("inert"))&&y.alreadySilent.add(t),t.setAttribute("inert",!0)):y.alreadySilent.has(t)||("aria-hidden"===g.isolateSubtrees?t.removeAttribute("aria-hidden"):t.removeAttribute("inert"))})}}}),h.updateContainerElements(e),h}])},314591,(e,t,n)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(o=function(){return!!e})()}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}var l,c,u=e.r(196505),d=e.r(701958).createFocusTrap,f=e.r(996972).isFocusable,p=parseInt(null!=(l=null==(c=/^(\d+)\./.exec(u.version))?void 0:c[1])?l:0,10),v=function(e){var t;function n(e){if(!(this instanceof n))throw TypeError("Cannot call a class as a function");t=n,i=[e],t=a(t),l=d=function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var n=e;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,o()?Reflect.construct(t,i||[],a(this).constructor):t.apply(this,i)),c="getNodeForOption",u=function(e){var t,n,r=null!=(t=this.internalOptions[e])?t:this.originalOptions[e];if("function"==typeof r){for(var o=arguments.length,a=Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];r=r.apply(void 0,a)}if(!0===r&&(r=void 0),!r){if(void 0===r||!1===r)return r;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=r;if("string"==typeof r&&!(s=null==(n=this.getDocument())?void 0:n.querySelector(r)))throw Error("`".concat(e,"` as selector refers to no known node"));return s},(c=s(c))in l?Object.defineProperty(l,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[c]=u,d.handleDeactivate=d.handleDeactivate.bind(d),d.handlePostDeactivate=d.handlePostDeactivate.bind(d),d.handleClickOutsideDeactivates=d.handleClickOutsideDeactivates.bind(d),d.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:d.handleDeactivate,onPostDeactivate:d.handlePostDeactivate,clickOutsideDeactivates:d.handleClickOutsideDeactivates},d.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var t,i,l,c,u,d,f=e.focusTrapOptions;for(var p in f)if(Object.prototype.hasOwnProperty.call(f,p)){if("returnFocusOnDeactivate"===p||"onDeactivate"===p||"onPostDeactivate"===p||"checkCanReturnFocus"===p||"clickOutsideDeactivates"===p){d.originalOptions[p]=f[p];continue}d.internalOptions[p]=f[p]}return d.outsideClick=null,d.focusTrapElements=e.containerElements||[],d.updatePreviousElement(),d}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&i(n,e),t=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("u">typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!!(e.originalOptions.returnFocusOnDeactivate&&null!=t&&t.focus&&(!e.outsideClick||e.outsideClick.allowDeactivation&&!f(e.outsideClick.target,e.internalOptions.tabbableOptions))),r=e.internalOptions.preventScroll;
1n&&t.focus({preventScroll:void 0!==r&&r}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,r=!e.paused&&this.props.paused,o=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();r&&this.focusTrap.pause(),o&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?u.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===u.Fragment)throw Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return u.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&(p>=19?"function"==typeof t.props.ref?t.props.ref(n):t.props.ref&&(t.props.ref.current=n):"function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),n}(u.Component);v.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:d},t.exports=v,t.exports.FocusTrap=v},460059,e=>{e.v({closeButton:"Modal-module__Nt2Wua__closeButton",content:"Modal-module__Nt2Wua__content",fullscreen:"Modal-module__Nt2Wua__fullscreen",large:"Modal-module__Nt2Wua__large",medium:"Modal-module__Nt2Wua__medium",modal:"Modal-module__Nt2Wua__modal",overlay:"Modal-module__Nt2Wua__overlay",small:"Modal-module__Nt2Wua__small"})},954753,e=>{"use strict";var t=e.i(196505);e.s(["useOnClickOutside",0,function(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mousedown";(0,t.useEffect)(()=>{let t=t=>{let r=null==e?void 0:e.current;!r||r.contains(t.target)||n(t)};return document.addEventListener(r,t),()=>{document.removeEventListener(r,t)}},[e,n,r])}])},461014,e=>{"use strict";var t=e.i(776172),n=e.i(264458),r=e.i(196505),o=e.i(587640),a=e.i(314591),i=e.i(460059),s=e.i(851338),l=e.i(954753);let c=(0,r.forwardRef)((e,c)=>{let{isOpen:u,onClose:d,children:f,className:p,contentClassName:v,showCloseButton:h=!0,closeOnOverlayClick:m=!0,closeOnEscape:b=!0,size:g="medium",ariaLabel:y,ariaLabelledBy:w}=e,[_,E]=(0,r.useState)(null!=u&&u),[S,O]=(0,r.useState)(!1),k=(0,r.useRef)(null),P=(0,r.useRef)(null),T=void 0!==u,C=T?u:_,x=(0,r.useCallback)(()=>{T||E(!1),null==d||d()},[T,d]),D=(0,r.useCallback)(()=>{T||E(!0)},[T]);if((0,r.useImperativeHandle)(c,()=>({open:D,close:x}),[D,x]),(0,r.useEffect)(()=>(C?(O(!0),document.body.style.overflow="hidden"):document.body.style.overflow="",()=>{document.body.style.overflow=""}),[C]),(0,r.useEffect)(()=>{if(!C||!b)return;let e=e=>{"Escape"===e.key&&x()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[C,b,x]),(0,l.useOnClickOutside)(P,()=>{m&&C&&x()},"mousedown"),!S||!C)return null;let N=(0,t.jsx)("div",{className:(0,n.default)(i.default.overlay,p),onClick:e=>{m&&e.target===e.currentTarget&&x()},role:"dialog","aria-modal":"true","aria-label":y,"aria-labelledby":w,ref:k,children:(0,t.jsx)(a.FocusTrap,{focusTrapOptions:{escapeDeactivates:b,onDeactivate:x,clickOutsideDeactivates:!1},children:(0,t.jsxs)("div",{ref:P,className:(0,n.default)(i.default.modal,i.default[g],v),children:[h&&(0,t.jsx)("button",{type:"button",className:i.default.closeButton,onClick:x,"aria-label":"Stäng",children:(0,t.jsx)(s.Icon,{viewBox:"0 0 16 16",size:1.2,name:"close"})}),(0,t.jsx)("div",{className:i.default.content,children:f})]})})});return"u">typeof document?(0,o.createPortal)(N,document.body):null});c.displayName="Modal",e.s(["Modal",0,c])},565495,e=>{e.v({toggleButton:"Toggle-module__sMaqra__toggleButton"})},22909,e=>{"use strict";var t=e.i(776172),n=e.i(196505),r=e.i(264458),o=e.i(851338),a=e.i(565495);let i=e=>{let{initialIsOpen:r,children:o,keepOpen:a=!1}
1=e,[i,s]=(0,n.useState)(r),l=(0,n.useRef)(null);(0,n.useEffect)(()=>{s(r)},[r]);let c=e=>{let t=e.target;l.current&&!a&&t instanceof Node&&!l.current.contains(t)&&(s(!1),document.removeEventListener("click",c))};return(0,n.useEffect)(()=>{if(i)return document.addEventListener("click",c),()=>{document.removeEventListener("click",c)}},[i]),(0,t.jsx)("div",{ref:l,children:o({isOpen:i,toggle:()=>{s(!i)}})})};i.Button=e=>(0,t.jsxs)("button",{type:"button",onClick:e.toggle,className:(0,r.default)(a.default.toggleButton,e.className),children:[(0,t.jsx)("span",{className:a.default.toggleContent,children:(e.isOpen?e.text:e.oppositeText)||e.text}),(0,t.jsx)(o.Icon,{name:"arrow",size:2,style:{transform:"rotate(".concat(180*!!e.isOpen,"deg)")}})]}),e.s(["Toggle",0,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.