PageSourceSearch

https://www.bostadssurf.se/_next/static/chunks/app/page-bf6930659e…?dpl=dpl_8VbciyN3d4ZDrmASC6mjXpvm8LZH

js bostadssurf.se collected 2026-10-08 23:36:55 UTC 29,537 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{1648:function(e,t,a){Promise.resolve().then(a.bind(a,6758))},875:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(9205).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},2451:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(9205).Z)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},2135:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(9205).Z)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},1723:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(9205).Z)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},4938:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(9205).Z)("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},3774:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(9205).Z)("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},7416:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(9205).Z)("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]])},3247:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(9205).Z)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},8906:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(9205).Z)("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]])},6758:function(e,t,a){"use strict";a.d(t,{default:function(){return H}});var s=a(7437),r=a(2265),l=a(8923),i=a(2451),n=a(407),o=a(9205);let d=(0,o.Z)("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);var c=a(4938);let m=(0,o.Z)("Rows3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]]),h=(0,o.Z)("CopySlash",[["line",{x1:"12",x2:"18",y1:"18",y2:"12",key:"ebkxgr"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),x=(0,o.Z)("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]),u=(0,o.Z)("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);var p=a(7477),g=a(7648),y=a(2381);let b=(0,o.Z)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);var f=a(1723),v=a(8906),j=a(3247);let w=(0,o.Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var N=()=>(0,s.jsxs)("section",{className:"relative min-h-[92vh] w-full flex items-center justify-center overflow-hidden",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-sky-50 via-white to-sky-50/40"}),(0,s.jsx)("div",{className:"absolute top-0 right-0 w-[600px] h-[600px] bg-primary/5 rounded-full blur-3xl -translate-y-1/2 translate-x-1/4"}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 w-[500px] h-[500px] bg-sky-100/40 rounded-full blur-3xl translate-y-1/3 -translate-x-1/4"}),(0,s.jsx)("div",{className:"container relative text-center py-12 z-10",children:(0,s.jsxs)(l.E.div,{initial:{opacity:0,y:24}
1,animate:{opacity:1,y:0},transition:{duration:.7,ease:"easeOut"},className:"max-w-3xl mx-auto space-y-7",children:[(0,s.jsxs)(l.E.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.15,duration:.5},className:"inline-flex items-center gap-2 px-4 py-2 bg-white/80 backdrop-blur border border-primary/15 rounded-full text-sm font-medium text-primary shadow-sm",children:[(0,s.jsx)(b,{className:"h-3.5 w-3.5"}),"Sveriges smartaste bostadsportal"]}),(0,s.jsxs)("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-gray-900 leading-[1.1] tracking-tight",children:["Hitta din n\xe4sta bostad"," ",(0,s.jsx)("span",{className:"text-gradient",children:"utan k\xf6tid"})]}),(0,s.jsx)("p",{className:"text-lg md:text-xl text-gray-500 max-w-2xl mx-auto leading-relaxed",children:"Tusentals l\xe4genheter, hus och radhus fr\xe5n privata hyresv\xe4rdar i hela Sverige. Slipp bostadsk\xf6er – b\xf6rja s\xf6k direkt och flytta in snabbare."}),(0,s.jsx)("div",{className:"flex flex-wrap justify-center gap-3 pt-2",children:[{icon:f.Z,text:"Ingen k\xf6tid"},{icon:v.Z,text:"Verifierade hyresv\xe4rdar"},{icon:j.Z,text:"Nya bost\xe4der varje dag"}].map(e=>(0,s.jsxs)("div",{className:"flex items-center gap-2 text-sm text-gray-500 bg-white/70 backdrop-blur-sm border border-gray-100 rounded-full px-4 py-2",children:[(0,s.jsx)(e.icon,{className:"h-3.5 w-3.5 text-primary"}),(0,s.jsx)("span",{children:e.text})]},e.text))}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-3 pt-4 justify-center",children:[(0,s.jsx)(g.default,{href:"/hyra-bostad",children:(0,s.jsxs)(y.z,{size:"lg",className:"px-8 py-6 text-base shadow-md hover:shadow-lg",children:[(0,s.jsx)(j.Z,{className:"mr-2 h-5 w-5"}),"S\xf6k bland bost\xe4der"]})}),(0,s.jsx)(g.default,{href:"/hyra-bostad",children:(0,s.jsxs)(y.z,{size:"lg",variant:"outline",className:"border-gray-200 text-gray-700 hover:bg-gray-50 px-8 py-6 text-base group",children:["Se alla bost\xe4der",(0,s.jsx)(w,{className:"ml-2 h-4 w-4 group-hover:translate-x-0.5 transition-transform"})]})})]}),(0,s.jsx)(l.E.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:.6,duration:.8},className:"pt-6",children:(0,s.jsxs)("p",{className:"text-sm text-gray-400",children:["Redan \xf6ver ",(0,s.jsx)("span",{className:"font-semibold text-gray-600",children:"15 000+"})," lediga bost\xe4der att v\xe4lja bland"]})})]})}),(0,s.jsx)(l.E.div,{className:"absolute bottom-8 left-1/2 -translate-x-1/2",initial:{opacity:0},animate:{opacity:1},transition:{delay:1.2,duration:.8},children:(0,s.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,s.jsx)("span",{className:"text-gray-400 text-xs font-medium tracking-wide uppercase",children:"Uppt\xe4ck mer"}),(0,s.jsx)("div",{className:"w-5 h-8 rounded-full border-2 border-gray-300 flex justify-center pt-1.5",children:(0,s.jsx)(l.E.div,{className:"w-1 h-1 bg-gray-400 rounded-full",animate:{y:[0,12,0]},transition:{duration:1.5,repeat:1/0,repeatType:"loop"}})})]})})]}),k=a(2834),_=a(3145),S=a(9820),Z=a(3774),M=e=>{let{name:t,imageUrl:a,count:r,delay:i=0}=e,n=t.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"");return(0,s.jsx)(l.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1*i},className:"h-full",children:(0,s.jsx)(g.default,{href:"/hyra-bostad/".concat(n),className:"block h-full",children:(0,s.jsxs)(S.Zb,{className:"overflow-hidden group cursor-pointer h-full flex flex-col",children:[(0,s.jsxs)("div",{className:"relative h-48 overflow-hidden flex-shrink-0",children:[(0,s.jsx)(_.default,{src:a,alt:"Hyra bostad i ".concat(t," – lediga l\xe4genheter och hus"),fill:!0,sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 25vw",className:"object-cover transition-transform duration-500 group-hover:scale-110",loading:"lazy"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"}),(0,s.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-4 text-white",children:[(0,s.jsxs)("div",{className:"flex items-center mb-1",children:[(0,s.jsx)(Z.Z,{className:"h-4 w-4 mr-1"}),(0,s.jsx)("h3",{className:"text-xl font-bold",children:t})]}),void 0!==r&&(0,s.jsxs)("p",{className:"text-sm text-white/90",children:[r," bost\xe4der"]})]})]}),(0,s.jsx)(S.aY,{className:"p-4 bg-white flex-grow flex items-center",children:(0,s.jsxs)("p",{className:"text-sm font-medium text-primary",children:["Hyra bostad i ",t]})})]})})})},z=a(8584),E=a(7416),U=e=>{let{property:t,index:a,isLCP:i=!1}=e,[n,o]=(0,r.useState)(!1),d=e=>new Intl.NumberFormat("sv-SE").format(e)+" kr",m="",h=t.title;if("string"==typeof t.location){let e=t.location.split(", ");m=e[0]||"",h=e[1]||t.title}else if(t.location&&"object"==typeof t.location)try{let e="string"==typeof t.location?JSON.parse(t.location):t.location;m=e.city||e.locality||"",h=e.address||e.route||t.title}catch(e){}let x=t.imageUrl||"/placeholder.svg",u=()=>{if(!t.type)return"Fastighet";switch(t.type){case"apartment":return"L\xe4genhet";case"house":return"Hus";case"terrace_house":return"Radhus";case"duplex":return"Parhus";case"corridor":return"Rum";case"cottage":return"Stuga";case"student":return"Studentboende";default:return t.type.charAt(0).toUpperCase()+t.type.slice(1)}};return(0,s.jsx)(l.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1*a,ease:[.22,1,.36,1]},className:"group bg-white rounded-xl overflow-hidden shadow-sm border border-gray-100 hover:shadow-md transition-all duration-300",onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:(0,s.jsxs)(g.default,{href:"/bostad-uthyres/".concat(t.routeSlug||"bostad","/").concat(t.id),className:"block",onClick:e=>{if("undefined"!=typeof sessionStorage)try{sessionStorage.setItem("property_".concat(t.id),JSON.stringify(t)),sessionStorage.getItem("property_".concat(t.id))}catch(e){}},"aria-label":"".concat(h,", ").concat(m,", ").concat(u(),", ").concat(t.rooms," rum, ").concat(t.area," m\xb2, ").concat(d(t.price)),children:[(0,s.jsxs)("div",{className:"relative overflow-hidden aspect-[4/3]",children:[(0,s.jsx)(z.Z,{src:x,alt:"".concat(h," i ").concat(m),className:"w-full h-full object-cover transition-transform duration-700 ease-out group-hover:scale-110",width:480,height:360,fill:!1,fallbackSrc:"/placeholder.svg",isLCP:i}),(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 via-trans
1parent to-transparent opacity-60"}),(0,s.jsxs)("div",{className:"absolute bottom-4 left-4 right-4 flex justify-between items-end",children:[(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:"inline-block px-3 py-1 text-xs font-medium text-white bg-primary/90 backdrop-blur-sm rounded-full",children:u()})}),(0,s.jsxs)("div",{className:"flex space-x-2",children:[(0,s.jsxs)("span",{className:"inline-block px-2 py-1 text-xs text-white bg-black/50 backdrop-blur-sm rounded-full flex items-center",children:[(0,s.jsx)(c.Z,{className:"h-3 w-3 mr-1"}),t.rooms," ",(t.rooms,"rum")]}),(0,s.jsxs)("span",{className:"inline-block px-2 py-1 text-xs text-white bg-black/50 backdrop-blur-sm rounded-full flex items-center",children:[(0,s.jsx)(E.Z,{className:"h-3 w-3 mr-1"}),t.area," m\xb2"]})]})]})]}),(0,s.jsxs)("div",{className:"p-4",children:[(0,s.jsx)("div",{className:"flex items-start justify-between mb-2",children:(0,s.jsx)("h3",{className:"text-lg font-medium line-clamp-1 group-hover:text-primary transition-colors duration-200",children:h})}),(0,s.jsxs)("div",{className:"flex items-center mb-3 text-sm text-gray-600",children:[(0,s.jsx)(Z.Z,{className:"h-4 w-4 mr-1 text-gray-400"}),(0,s.jsx)("span",{className:"line-clamp-1",children:m})]}),(0,s.jsxs)("p",{className:"text-xl font-semibold text-gray-900",children:[d(t.price),"/m\xe5n"]}),(0,s.jsxs)("div",{className:"mt-4 flex justify-between items-center",children:[(0,s.jsxs)("div",{className:"text-sm text-gray-600",children:["Tillg\xe4nglig: ",t.availableFrom?new Date(t.availableFrom).toLocaleDateString("sv-SE"):"Nu"]}),(0,s.jsxs)("span",{className:"inline-flex items-center text-primary text-sm font-medium",children:["Visa detaljer",(0,s.jsx)(l.E.div,{className:"ml-1",animate:{x:n?5:0},transition:{duration:.2},children:"→"})]})]})]})]})})},L=e=>{let{initialListings:t=[]}=e;return 0===t.length?(0,s.jsx)("div",{className:"text-center py-12",children:(0,s.jsx)("p",{className:"text-gray-500",children:"Inga bost\xe4der att visa just nu"})}):(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:t.map((e,t)=>(0,s.jsx)(U,{property:e,index:t,isLCP:0===t},e.id))})},C=a(2135),I=a(875),V=()=>{let[e,t]=(0,r.useState)(!1),a=[{name:"Stockholm",slug:"stockholm",types:["bost\xe4der"]},{name:"G\xf6teborg",slug:"goteborg",types:["bost\xe4der"]},{name:"Malm\xf6",slug:"malmo",types:["bost\xe4der"]},{name:"Uppsala",slug:"uppsala",types:["bost\xe4der"]},{name:"V\xe4ster\xe5s",slug:"vasteras",types:["bost\xe4der"]},{name:"\xd6rebro",slug:"orebro",types:["bost\xe4der"]},{name:"Link\xf6ping",slug:"linkoping",types:["bost\xe4der"]},{name:"Helsingborg",slug:"helsingborg",types:["bost\xe4der"]},{name:"J\xf6nk\xf6ping",slug:"jonkoping",types:["bost\xe4der"]},{name:"Norrk\xf6ping",slug:"norrkoping",types:["bost\xe4der"]},{name:"Lund",slug:"lund",types:["bost\xe4der"]},{name:"Ume\xe5",slug:"umea",types:["bost\xe4der"]},{name:"G\xe4vle",slug:"gavle",types:["bost\xe4der"]},{name:"Bor\xe5s",slug:"boras",types:["bost\xe4der"]},{name:"Eskilstuna",slug:"eskilstuna",types:["bost\xe4der"]},{name:"S\xf6dert\xe4lje",slug:"sodertalje",types:["bost\xe4der"]},{name:"Karlstad",slug:"karlskstad",types:["bost\xe4der"]},{name:"T\xe4by",slug:"taby",types:["bost\xe4der"]},{name:"V\xe4xj\xf6",slug:"vaxjo",types:["bost\xe4der"]},{name:"Halmstad",slug:"halmstad",types:["bost\xe4der"]}],l=a.slice(0,6),i=a.slice(6),n=e=>{let t=[];return e.forEach(e=>{e.types.forEach(a=>{t.push({text:"Lediga ".concat(a," i ").concat(e.name),url:"/hyra-bostad/".concat(e.slug)})})}),t},o=n(l),d=n(i);return(0,s.jsx)("section",{className:"py-12 bg-white border-t border-gray-200",children:(0,s.jsxs)("div",{className:"container mx-auto px-4",children:[(0,s.jsx)("h3",{className:"text-2xl md:text-3xl font-bold mb-2",children:"Hitta bostad i hela Sverige"}),(0,s.jsx)("h6",{className:"text-sm text-gray-500 font-medium mb-6",children:"V\xe4lj en stad f\xf6r att se tillg\xe4ngliga bost\xe4der"}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 ga
1p-3",children:o.map((e,t)=>(0,s.jsx)("a",{href:e.url,className:"px-4 py-2.5 bg-gray-100 hover:bg-gray-200 rounded-lg text-sm font-medium text-gray-800 transition-colors text-center block",children:e.text},"main-".concat(t)))}),e&&(0,s.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-3 pt-3",children:d.map((e,t)=>(0,s.jsx)("a",{href:e.url,className:"px-4 py-2.5 bg-gray-100 hover:bg-gray-200 rounded-lg text-sm font-medium text-gray-800 transition-colors text-center block",children:e.text},"additional-".concat(t)))})]}),(0,s.jsx)("div",{className:"mt-6 flex justify-center",children:(0,s.jsx)("button",{onClick:()=>t(!e),className:"flex items-center gap-2 text-gray-700 hover:text-gray-900 font-medium text-sm transition-colors px-4 py-2 rounded-lg border border-gray-300 hover:border-gray-400","aria-expanded":e,"aria-controls":"additional-cities",children:e?(0,s.jsxs)(s.Fragment,{children:["Visa mindre",(0,s.jsx)(C.Z,{className:"w-4 h-4"})]}):(0,s.jsxs)(s.Fragment,{children:["Visa fler",(0,s.jsx)(I.Z,{className:"w-4 h-4"})]})})})]})})},H=e=>{let{initialListings:t=[]}=e,a=(0,r.useRef)(null),[o,g]=(0,r.useState)(!1),[y,b]=(0,r.useState)(!0),f=e=>{if(a.current){let t=a.current.clientWidth,s="left"===e?a.current.scrollLeft-t:a.current.scrollLeft+t;a.current.scrollTo({left:s,behavior:"smooth"})}},v=()=>{if(a.current){let{scrollLeft:e,scrollWidth:t,clientWidth:s}=a.current;g(e>0),b(e<t-s-10)}};return(0,r.useEffect)(()=>{let e=a.current;if(e)return e.addEventListener("scroll",v),v(),window.addEventListener("resize",v),()=>{e.removeEventListener("scroll",v),window.removeEventListener("resize",v)}},[]),(0,s.jsxs)("div",{className:"min-h-screen flex flex-col",children:[(0,s.jsx)(p.default,{}),(0,s.jsx)(N,{}),(0,s.jsxs)("main",{children:[(0,s.jsx)("section",{className:"py-20 bg-gray-50/70",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)(l.E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},viewport:{once:!0},className:"mb-12 text-center",children:[(0,s.jsx)("div",{className:"section-divider mb-5"}),(0,s.jsx)("h2",{className:"text-3xl md:text-4xl font-bold mb-3",children:"Bost\xe4der i Sveriges popul\xe4raste st\xe4der"}),(0,s.jsx)("p",{className:"text-gray-500 max-w-2xl mx-auto",children:"Fr\xe5n Malm\xf6 i s\xf6der till Ume\xe5 i norr – vi har tusentals bost\xe4der utan k\xf6tid oavsett var du vill bo."})]}),(0,s.jsxs)("div",{className:"relative",children:[o&&(0,s.jsx)("button",{onClick:()=>f("left"),className:"hidden lg:flex absolute left-0 top-1/2 -translate-y-1/2 -translate-x-4 z-10 w-12 h-12 items-center justify-center bg-white rounded-full shadow-lg hover:bg-gray-50 transition-colors","aria-label":"Scroll left",children:(0,s.jsx)(i.Z,{className:"w-6 h-6 text-gray-700"})}),y&&(0,s.jsx)("button",{onClick:()=>f("right"),className:"hidden lg:flex absolute right-0 top-1/2 -translate-y-1/2 translate-x-4 z-10 w-12 h-12 items-center justify-center bg-white rounded-full shadow-lg hover:bg-gray-50 transition-colors","aria-label":"Scroll right",children:(0,s.jsx)(n.Z,{className:"w-6 h-6 text-gray-700"})}),(0,s.jsx)("div",{className:"-mx-4 px-4 md:mx-0 md:px-0",children:(0,s.jsx)("div",{ref:a,className:"flex gap-6 overflow-x-auto snap-x snap-mandatory pb-4 custom-scrollbar",style:{scrollBehavior:"smooth",WebkitOverflowScrolling:"touch"},children:[{name:"Stockholm",imageUrl:"https://start.stockholm/optimized/large/globalassets/start/stockholm-stadshuset.jpg",count:9074},{name:"G\xf6teborg",imageUrl:"https://upload.wikimedia.org/wikipedia/commons/9/97/G%C3%B6teborg_2503_stitch_%2828573994096%29.jpg",count:3085},{name:"Malm\xf6",imageUrl:"https://s3-eu-north-1.amazonaws.com/py3.visitsweden.com/original_images/Malmo_220922-3461_IBSweb.jpg",count:1344},{name:"Uppsala",imageUrl:"https://thehiddennorth.com/wp-content/uploads/2024/11/Uppsala.jpg",count:789},{name:"V\xe4ster\xe5s",imageUrl:"https://visitvasteras.se/app/uploads/2022/11/Vasteras_domkyrka_Avig-Kazanjian_002-1.jpg",count:591},{name:"\xd6rebro",imageUrl:"https://s3-eu-north-1.amazonaws.com/py3.visitsweden.com/original_images/Orebro-CMSTemplate_lUACv15.jpg",count:421},{name:"Link\xf6ping",imageUrl:"https://linkopingsciencepark.se/w
1p-content/uploads/2023/09/vackra-linkoping.png",count:331},{name:"Helsingborg",imageUrl:"https://upload.wikimedia.org/wikipedia/commons/f/f1/Inre_hamnen_i_Helsingborg.jpg",count:531},{name:"J\xf6nk\xf6ping",imageUrl:"https://images.ctfassets.net/nwbqij9m1jag/1ZjlGef8qtAK9YOMyRUmPt/d5b1001d5b248530eb5615b574006a6e/Jonkoping_MorgonljusEDIT.jpg",count:193},{name:"Norrk\xf6ping",imageUrl:"https://www.sd.se/wp-content/uploads/sites/251/graphics/norrkoping.jpg",count:563},{name:"Lund",imageUrl:"https://mnd-assets.mynewsdesk.com/image/upload/ar_16:9,c_fill,dpr_auto,f_auto,g_xy_center,q_auto:good,w_746,x_2725,y_2098/qtfxkkg5kmou3mxtkt8z",count:223},{name:"Ume\xe5",imageUrl:"https://mnd-assets.mynewsdesk.com/image/upload/ar_16:9,c_fill,dpr_auto,f_auto,g_xy_center,q_auto:good,w_746,x_4388,y_2412/l759ihit3ut81uza8im76z",count:126},{name:"G\xe4vle",imageUrl:"https://www.gavle.se/wp-content/uploads/2024/11/63374100-heliga-trefaldighets-kyrka-gavle-med-gavlean.jpg",count:205},{name:"Bor\xe5s",imageUrl:"https://www.boras.se/images/18.131315a41876f41fc76d821b/1713365414220/Storatorget.webp",count:533},{name:"Eskilstuna",imageUrl:"https://visiteskilstuna.se/images/18.41a5c290185299d9fe11941d/1671541387793/6._Gamla_staden_Foto_Pierre_Pocs.jpg",count:593}].map((e,t)=>(0,s.jsx)("div",{className:"flex-shrink-0 w-[calc(100%-2rem)] sm:w-[calc(50%-0.75rem)] lg:w-[calc(25%-1.125rem)] snap-start h-[300px]",children:(0,s.jsx)("div",{className:"h-full",children:(0,s.jsx)(M,{name:e.name,imageUrl:e.imageUrl,count:e.count,delay:t})})},e.name))})})]})]})}),(0,s.jsx)("section",{className:"py-16 bg-white border-t border-gray-100",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)(l.E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},viewport:{once:!0},className:"mb-10 text-center",children:[(0,s.jsx)("div",{className:"section-divider mb-5"}),(0,s.jsx)("h2",{className:"text-3xl md:text-4xl font-bold mb-3",children:"S\xf6k efter bostadstyp"}),(0,s.jsx)("p",{className:"text-gray-500 max-w-2xl mx-auto",children:"Hitta precis den bostadstyp du letar efter – l\xe4genheter, hus, radhus och mer."})]}),(0,s.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4",children:[{label:"Lediga l\xe4genheter",href:"/hyra-lagenhet",Icon:d},{label:"Lediga hus",href:"/hyra-hus",Icon:c.Z},{label:"Lediga radhus",href:"/hyra-radhus",Icon:m},{label:"Lediga parhus",href:"/hyra-parhus",Icon:h},{label:"Studentbost\xe4der",href:"/lediga-studentboenden",Icon:x},{label:"Alla bost\xe4der",href:"/hyra-bostad",Icon:u}].map((e,t)=>{let{label:a,href:r,Icon:i}=e;return(0,s.jsxs)(l.E.a,{href:r,initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},transition:{duration:.4,delay:.05*t},viewport:{once:!0},className:"flex flex-col items-center gap-3 p-5 bg-gray-50 hover:bg-primary/5 border border-gray-100 hover:border-primary/20 rounded-2xl transition-all group",children:[(0,s.jsx)("div",{className:"w-11 h-11 bg-primary/10 group-hover:bg-primary/15 rounded-xl flex items-center justify-center transition-colors",children:(0,s.jsx)(i,{className:"w-5 h-5 text-primary"})}),(0,s.jsx)("span",{className:"text-sm font-medium text-gray-700 group-hover:text-primary text-center leading-tight transition-colors",children:a})]},r)})})]})}),(0,s.jsx)("section",{className:"py-20 bg-white",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)(l.E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},viewport:{once:!0},className:"mb-12 text-center",children:[(0,s.jsx)("div",{className:"section-divider mb-5"}),(0,s.jsx)("h2",{className:"text-3xl md:text-4xl font-bold mb-3",children:"Nyligen publicerade bost\xe4der"}),(0,s.jsx)("p",{className:"text-gray-500 max-w-2xl mx-auto",children:"Nya l\xe4genheter och hus l\xe4ggs upp varje dag. Var snabb – de mest attraktiva bost\xe4derna hyr ut p\xe5 nolltid!"})]}),(0,s.jsx)(L,{initialListings:t}),(0,s.jsx)(l.E.div,{initial:{opacity:0}
1,whileInView:{opacity:1},transition:{duration:.5,delay:.3},viewport:{once:!0},className:"mt-12 text-center",children:(0,s.jsxs)("a",{href:"/hyra-bostad",className:"inline-flex items-center gap-2 text-primary hover:text-primary/80 font-semibold transition-colors group",children:["Utforska alla tillg\xe4ngliga bost\xe4der",(0,s.jsx)("span",{className:"group-hover:translate-x-0.5 transition-transform",children:"→"})]})})]})}),(0,s.jsx)(V,{}),(0,s.jsx)("section",{className:"py-20 bg-white",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)(l.E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},viewport:{once:!0},className:"text-center mb-14",children:[(0,s.jsx)("div",{className:"section-divider mb-5"}),(0,s.jsx)("h2",{className:"text-3xl md:text-4xl font-bold mb-3",children:"S\xe5 fungerar det"}),(0,s.jsx)("p",{className:"text-gray-500 max-w-2xl mx-auto",children:"Vi har gjort det enkelt att hitta och hyra bostad utan kr\xe5ngel och l\xe5nga k\xf6er."})]}),(0,s.jsx)("div",{className:"grid md:grid-cols-3 gap-6 max-w-5xl mx-auto",children:[{step:"1",title:"S\xf6k bland bost\xe4der",sub:"Filtrera efter dina \xf6nskem\xe5l",desc:"Ange stad, antal rum, maxhyra och andra preferenser f\xf6r att hitta bost\xe4der som matchar dig."},{step:"2",title:"Kontakta hyresv\xe4rden",sub:"Direkt och personligt",desc:"Skicka intresseanm\xe4lan direkt till hyresv\xe4rden och boka visning n\xe4r det passar dig."}
1,{step:"3",title:"Flytta in",sub:"Snabbt och smidigt",desc:"Inga l\xe5nga k\xf6er – n\xe4r du och hyresv\xe4rden \xe4r \xf6verens kan du flytta in direkt."}].map((e,t)=>(0,s.jsxs)(l.E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1*(t+1)},viewport:{once:!0},className:"text-center p-8 bg-gray-50/60 rounded-2xl border border-gray-100 card-hover",children:[(0,s.jsx)("div",{className:"w-14 h-14 bg-primary/10 rounded-2xl flex items-center justify-center mx-auto mb-5",children:(0,s.jsx)("span",{className:"text-xl font-bold text-primary",children:e.step})}),(0,s.jsx)("h3",{className:"text-lg font-semibold mb-1.5",children:e.title}),(0,s.jsx)("p",{className:"text-sm text-primary font-medium mb-3",children:e.sub}),(0,s.jsx)("p",{className:"text-gray-500 text-sm leading-relaxed",children:e.desc})]},e.step))})]})}),(0,s.jsx)("section",{className:"py-20 bg-gray-50/70",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"bg-gray-900 rounded-3xl p-10 md:p-16 overflow-hidden relative",children:[(0,s.jsx)("div",{className:"absolute top-0 right-0 w-80 h-80 bg-primary/20 rounded-full blur-3xl -translate-y-1/2 translate-x-1/4"}),(0,s.jsx)("div",{className:"absolute bottom-0 left-0 w-60 h-60 bg-sky-500/10 rounded-full blur-3xl translate-y-1/3 -translate-x-1/4"}),(0,s.jsxs)("div",{className:"relative z-10 max-w-2xl mx-auto text-center",children:[(0,s.jsx)("h3",{className:"text-3xl md:text-4xl font-bold mb-4 text-white",children:"B\xf6rja din bostadss\xf6kning idag"}),(0,s.jsx)("p",{className:"text-gray-400 text-lg mb-9 leading-relaxed",children:"G\xe5 med tusentals andra som redan hittat sitt dr\xf6mboende genom oss. Ingen k\xf6tid, inga mellanh\xe4nder – bara du och din framtida hyresv\xe4rd."}),(0,s.jsxs)("div",{className:"flex justify-center gap-4 flex-wrap",children:[(0,s.jsx)("a",{href:"/hyra-bostad",className:"bg-primary text-white px-8 py-3.5 rounded-xl font-semibold hover:bg-primary/90 transition-all shadow-lg shadow-primary/25 hover:shadow-xl hover:shadow-primary/30",children:"S\xf6k bost\xe4der nu"}),(0,s.jsx)("a",{href:"/contact",className:"text-white px-8 py-3.5 rounded-xl font-semibold border border-gray-700 hover:bg-white/5 transition-all",children:"Kontakta oss"})]})]})]})})})]}),(0,s.jsx)(k.default,{})]})}},9820:function(e,t,a){"use strict";a.d(t,{Ol:function(){return n},SZ:function(){return d},Zb:function(){return i},aY:function(){return c},eW:function(){return m},ll:function(){return o}});var s=a(7437),r=a(2265),l=a(3448);let i=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",a),...r})});i.displayName="Card";let n=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",a),...r})});n.displayName="CardHeader";let o=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("h3",{ref:t,className:(0,l.cn)("text-2xl font-semibold leading-none tracking-tight",a),...r})});o.displayName="CardTitle";let d=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("p",{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",a),...r})});d.displayName="CardDescription";let c=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("p-6 pt-0",a),...r})});c.displayName="CardContent";let m=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("flex items-center p-6 pt-0",a),...r})});m.displayName="CardFooter"},8584:function(e,t,a){"use strict";a.d(t,{Z:function(){return n}});var s=a(7437),r=a(3145),l=a(2265),i=a(3448);function n(e){let{blurDataUrl:t,containerClassName:a,fallbackSrc:n,isLCP:o=!1,children:d,className:c,...m}=e,[h,x]=(0,l.useState)(m.src),[u,p]=(0,l.useState)(!1);return u?(0,s.jsx)("div",{className:(0,i.cn)("flex items-center justify-center bg-gray-100 text-gray-400 text-sm",a),children:"Bild kunde inte laddas"}):(0,s.jsxs)("div",{className:(0,i.cn)("relative overflow-hidden w-full h-full",a),children:[(0,s.jsx)(r.default,{...m,src:h,alt:m.alt,className:(0,i.cn)("w-full h-full object-cover",c),placeholder:t?"blur":"empty",blurDataURL:t,priority:o,fetchPriority:o?"high":"auto",quality:90,onError:()=>
1{n&&h!==n?(x(n),p(!1)):p(!0)}}),d]})}}},function(e){e.O(0,[327,198,2972,4234,8923,4695,2971,2117,1744],function(){return e(e.s=1648)}),_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.