PageSourceSearch

https://www.kungalvsposten.se/_next/static/chunks/pages/discover-84fddedfa234c65d.js

js kungalvsposten.se collected 2026-10-02 12:45:42 UTC 8,736 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[781,7954],{7954:(e,i,t)=>{"use strict";t.r(i),t.d(i,{default:()=>f});var n=t(94513),r=t(14531),o=t(54020),s=t(57005),c=t(11730),l=t(35982),a=t(96703),d=t(41528),h=t(63279),x=t(90564),p=t(21788);let g=c.Ay.p.withConfig({componentId:"sc-f6c614ec-0"})(["",";@media ","{","}"],(0,o.xe)({py:2,px:3}),r.j.md,(0,o.xe)({px:"20px"})),f=()=>{let e=(0,s.Pj)();return(0,n.jsxs)(l.P,{children:[(0,n.jsx)(d.A,{pageNotFound:!0,titleMetaData:{title:`404 | Sidan kan inte hittas | ${e.getFullTitleName()}`,shortTitle:"404"}}),(0,n.jsx)(a.fI,{withOutsider:!0,children:(0,n.jsxs)(h.m,{borderBottom:!0,children:[(0,n.jsx)(p.Ay,{title:"Hoppsan"}),(0,n.jsx)(g,{children:"Vi kan tyv\xe4rr inte hitta sidan du letade efter."}),(0,n.jsxs)(g,{children:["G\xe5 tillbaka till ",(0,n.jsx)(x.s,{href:"/",children:"f\xf6rstasidan"})]})]})})]})}},21788:(e,i,t)=>{"use strict";t.d(i,{Ay:()=>d,hE:()=>h,sv:()=>x});var n=t(94513),r=t(40188),o=t(54020),s=t(60930),c=t(11730),l=t(63279),a=t(90564);let d=({href:e,title:i,borderBottom:t=!0,iconId:o="icon-chevron-right",backgroundColor:s="var(--theme-secondary-bg)",className:c="c-icon c-icon--24",borderTop:l=!0,testId:d,...p})=>(0,n.jsx)(x,{borderBottom:t,borderTop:l,backgroundColor:s,...p,children:e?(0,n.jsxs)(a.s,{href:e,"data-testid":d,children:[(0,n.jsx)(h,{children:i}),(0,n.jsx)(r.t,{href:o,className:c,viewBox:"-9 0 24 24"})]}):(0,n.jsx)(h,{children:i})}),h=c.Ay.h2.withConfig({componentId:"sc-138682c4-0"})([""," "," color:var(--gray-800);span{color:var(--gray-600);","}"],(0,o.xe)({py:2,mb:0}),(0,s.I)({fontSize:"1.5rem",fontWeight:500}),(0,o.xe)({pl:1})),x=(0,c.Ay)(l.m).withConfig({componentId:"sc-138682c4-1"})([""," a{display:flex;align-items:center;justify-content:space-between;width:100%;text-decoration:none;}&&{","}","{","}svg{color:var(--theme-corp-color-darken);
1fill:var(--icon-color);}"],(0,o.xe)({px:3}),o.xe,h,s.I)},35982:(e,i,t)=>{"use strict";t.d(i,{P:()=>n.P});var n=t(59003)},47393:(e,i,t)=>{"use strict";t.r(i),t.d(i,{default:()=>V});var n=t(94513),r=t(57005),o=t(94285),s=t(38255),c=t(41066),l=t(89381),a=t(54020),d=t(60930),h=t(40188),x=t(10288),p=t(79018),g=t(35004),f=t(19026),m=t(11730),j=t(25202),u=t(60839),v=t(86387);let y=({page:e})=>{let i=v.l9.some(i=>(0,v.Dl)(e.url).pathname.includes(i));return(0,n.jsxs)(S,{spacing:p.B.Spacing8,direction:"row",flexProps:{justifyContent:"space-between",alignItems:"center",flexGrow:1},children:[(0,n.jsx)(_,{children:e.title}),(0,n.jsx)(B,{children:(0,v.q)(e.url)&&!i?(0,n.jsx)(h.t,{href:"icon-chevron-right",className:"c-icon c-icon--24"}):(0,n.jsx)(g.A.ExternalLink,{})})]})},b=()=>{let{cmsSettings:{sitemap:e}}=(0,r.Pj)(),[i,t]=(0,o.useState)([]);return((0,o.useEffect)(()=>{let{origin:i}=window.location;t(e.map(e=>({...e,pages:e.pages.map(e=>{let t=(0,v.i9)(e.url,i);return{...e,url:e.url.includes(i)&&!t?e.url.replace(i,""):e.url}})})))},[e]),i.length)?(0,n.jsxs)("div",{children:[(0,n.jsx)(A,{children:"A-\xd6"}),(0,n.jsx)(I,{children:i.map(e=>(0,n.jsx)("li",{children:(0,n.jsxs)(I,{children:[(0,n.jsx)(C,{heading:!0,children:(0,n.jsx)(k,{children:e.index})}),e.pages.map((i,t)=>(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)(C,{children:(0,n.jsx)(f.A,{href:i.url,onClick:()=>{var e;return e=i.title,void(0,u.KA)("discoverNavigationClicked",{event:"discover_navigation_click",eventInfo:{label:e,category:"list",action:"navigation_click"}})},children:(0,n.jsx)(y,{page:i})})}),t===e.pages.length-1&&(0,n.jsx)(x.h,{value:p.B.Spacing24})]},i.title))]})},e.index))})]}):null},w=(0,m.AH)(["height:3rem;display:flex;align-items:center;"]),A=m.Ay.h2.withConfig({componentId:"sc-920b27d0-0"})(["",";"," ",""],(0,d.I)({fontFamily:"var(--font-family-sans-serif)",fontSize:"1.25rem"}),(0,a.xe)({m:0}),w),I=m.Ay.ul.withConfig({componentId:"sc-920b27d0-1"})(["",""],j.s),C=m.Ay.li.withConfig({componentId:"sc-920b27d0-2"})([""," a{text-decoration:none;height:100%;width:100%;display:flex;align-items:center;}",";"," ",""],w,(0,d.I)({fontSize:"1.25rem"}),e=>!e.heading&&"border-bottom: 0.5px solid var(--gray-300);",(0,a.xe)({pr:3,mr:-3})),k=m.Ay.h3.withConfig({componentId:"sc-920b27d0-3"})(["",";",""],(0,d.I)({fontSize:"1.25rem"}),(0,a.xe)({m:0})),_=m.Ay.span.withConfig({componentId:"sc-920b27d0-4"})(["",";"],(0,d.I)({fontSize:"1rem"})),B=m.Ay.div.withConfig({componentId:"sc-920b27d0-5"})(["width:24px;height:24px;position:relative;"]),S=(0,m.Ay)(c.BJ).withConfig({componentId:"sc-920b27d0-6"})(["svg{vertical-align:unset;}"]);var N=t(6269),P=t(49490),E=t.n(P);let F=m.Ay.div.withConfig({componentId:"sc-242ba03-0"})([""," display:flex;justify-content:space-between;align-items:center;width:100%;"],(0,a.xe)({px:"1rem"})),T=(0,m.Ay)(f.A).withConfig({componentId:"sc-242ba03-1"})(["display:flex;align-items:center;justify-content:space-between;"]),U=m.Ay.p.withConfig({componentId:"sc-242ba03-2"})(["color:var(--gray-800);",";",""],(0,d.I)({fontWeight:"700",lineHeight:"1.2"}),(0,a.xe)({m:0,pt:2})),z=(0,m.Ay)(E()).withConfig({componentId:"sc-242ba03-3"})(["width:100%;height:100%;object-fit:cover;"]),$=m.Ay.ul.withConfig({componentId:"sc-242ba03-4"})([""," display:flex;flex-wrap:wrap;justify-content:center;gap:"," 8px;"],j.s,({categoryType:e})=>"popularCategories"===e&&"16px"),L=m.Ay.li.withConfig({componentId:"sc-242ba03-5"})(["display:flex;flex-direction:column;flex:calc( "," - 12px );img{border-radius:0.5rem;}"],({isDivisibleByThree:e})=>e?"33%":"50%"),D=m.Ay.li.withConfig({componentId:"sc-242ba03-6"})(["display:flex;flex-direction:column;width:100%;background:var(--bg-color-gray);border-radius:0.25rem;","{","}"],U,(0,a.xe)({p:0})),H=m.Ay.div.withConfig({componentId:"sc-242ba03-7"})(["background-color:var(--bg-color-gray-light);border-radius:0.5rem;position:relative;aspect-ratio:172/134;"]),J=m.Ay.div.withConfig({componentId:"sc-242ba03-8"})(["aspect-ratio:172/134;height:",";border-top-left-radius:4px;border-bottom-left-radius:4px;img{border-top-left-radius:4px;border-bottom-left-radius:4px;}"],({isSingleBanner:e})=>e?"83px":"50px"),M=()=>{let{discover:e,bannerCategories:i}=(0,r.Iu)(),t=e.length%3==0,o=({text:e,index:i})=>{(0,u.KA)("discoverNavigationClicked",{event:"discover_navigation_click",eventInfo:{label:e,category:`popular-${i+1}`,action:"navigation_click"}})};return(0,n.jsxs)(c.BJ,{spacing:p.B.Spacing32,children:[(0,n.jsx)($,{categoryType:"popularCategories",children:e.map((e,i)=>(0,n.jsx)(L,{isDivisibleByThree:t,children:(0,n.jsx)(f.A,{href:e.linkUrl,onClick:()=>o({text:e.title,index:i}),children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(H,{children:(0,n.jsx)(z,{src:e.imageUrl,alt:"",width:172,height:134,loader:N.A,priority:0===i})}),(0,n.jsx)(U,{children:e.title})]})})},`${e.linkUrl}-${i}`))}),i.length?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)($,{categoryType:"banner",children:i.map((e,t)=>(0,n.jsx)(D,{children:(0,n.jsx)(T,{href:e.linkUrl,onClick:()=>o({text:e.title,index:t}),children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(J,{isSingleBanner:1===i.length,children:(0,n.jsx)(z,{src:e.imageUrl,alt:"",width:172,height:134,loader:N.A})}),(0,n.jsxs)(F,{children:[(0,n.jsx)(U,{children:e.title}),(0,v.q)(e.linkUrl)?(0,n.jsx)(h.t,{href:"icon-chevron-right",className:"c-icon c-icon--24"}):(0,n.jsx)(g.A.ExternalLink,{})]})]})})},`${e.linkUrl}-${t}`))})}):null]})};var O=t(34087);let q=(0,m.Ay)(s.m).withConfig({componentId:"sc-ff5ba478-0"})(["background-color:var(--white);"]),G=m.Ay.h1.withConfig({componentId:"sc-ff5ba478-1"})(["",";color:var(--gray-800);",""],(0,d.I)({fontSize:"1.75rem",fontFamily:"var(--font-family-sans-serif)"}),(0,a.xe)({m:0})),K=()=>(0,n.jsxs)(q,{children:[(0,n.jsxs)(c.BJ,{spacing:l.B.Spacing16,children:[(0,n.jsx)(c.Lc,{}),(0,n.jsx)(G,{children:"Meny"}),(0,n.jsx)(O.B,{withPostMessage:!0})]}),(0,n.jsxs)(c.BJ,{spacing:l.B.Spacing32,children:[(0,n.jsx)(c.Lc,{}),(0,n.jsx)(M,{}),(0,n.jsx)(b,{}),(0,n.jsx)(c.Lc,{})]})]});var W=t(7954),X=t(79172);let V=()=>(0,r.Hr)()?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(X.A,{page:"discover"}),(0,n.jsx)(K,{})]}):(0,n.jsx)(W.default,{})},59003:(e,i,t)=>{"use strict";t.d(i,{P:()=>n.A});var n=t(56691)},63279:(e,i,t)=>{"use strict";t.d(i,{m:()=>o});var n=t(54020),r=t(60930);let o=t(11730).Ay.div.withConfig({componentId:"sc-5cad5c69-0"})([""," "," background-color:",";border-bottom:",";border-top:",";min-height:",";max-width:",";"],n.xe,r.I,({backgroundColor:e="var(--white)"})=>e,({borderBottom:e})=>e?"1px solid rgba(0, 0, 0, 0.075)":"none",({borderTop:e})=>e?"3px solid var(--bg-top-bar)":"none",({minHeight:e})=>e||"none",({maxWidth:e})=>e||"none")},80686:(e,i,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/discover",function(){return t(47393)}])}},e=>{e.O(0,[1985,5599,1960,1633,2665,4973,640,7318,1482,3864,4314,2463,4440,636,6593,8792],()=>e(e.s=80686)),_N_E=e.O()}]);

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.