1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9073],{66935:function(e,s,l){var a=l(52676),r=l(95651),n=l(85344),t=l(82527),i=l(37168),o=l(75271),d=l(65341),c=l(178),u=l(58945);s.Z=e=>{var s;let{max:l,name:m,defaultShow:h=12,setTotal:x,shallowUpdate:f=!1}=e,j=(0,t.useTranslations)("common.buttons"),p=(0,i.useSearchParams)(),{handleChangeValue:v}=(0,r.Z)({searchParamName:"numberOfResults",shallow:f}),[g,b]=(0,o.useState)(Number(null!==(s=null==p?void 0:p.get(n.PG))&&void 0!==s?s:h));return g>=l?null:(0,a.jsx)(u.o,{start:"1",span:"12",className:"flex justify-center col-span-6 md:col-span-12",children:(0,a.jsx)(c.z,{onClick:()=>{x&&x(g+24),b(e=>e+24),v(JSON.stringify(g+24))},children:(0,a.jsx)(d.u,{small:!0,strong:!0,children:m||j("showMore")})})})}},18390:function(e,s,l){l.d(s,{Z:function(){return p}});var a=l(52676),r=l(58945),n=l(32361),t=l(81884),i=l(86266),o=l(50864),d=l(82527),c=l(8170),u=l(75271),m=l(74436),h=e=>{var s;let{postContent:l}=e;if(!l)return null;let r=(0,d.useTranslations)("common.buttons"),{Preamble:n,PostDate:u,Title:h,slug:x,landingPageSlug:f}=l;return(0,a.jsx)("div",{className:"flex pb-6 mb-10 border-b-2 border-gray-200 lg:pb-8",children:(0,a.jsxs)("div",{className:"bg-white",children:[(0,a.jsx)(m.Z,{as:"h2",className:"mb-2",children:h}),(0,a.jsx)("p",{className:"mb-4 text-gray-500",children:u}),(0,a.jsx)("div",{className:"line-clamp-4 mb-8",children:(0,a.jsx)(c.YI,{value:n,components:i.e})}),(0,a.jsxs)(o.rU,{href:"".concat(f,"/").concat(null!==(s=null==x?void 0:x.current)&&void 0!==s?s:""),className:"flex items-center hover:underline underline-offset-8 gap-x-1",children:[r("readMore")," ",(0,a.jsx)(t.A,{})]})]})})},x=l(36706),f=l(178),j=e=>{let{blogPosts:s}=e,l=(0,d.useTranslations)("common.buttons"),r=(0,x.useRouter)(),n="blogList:state:"+r.asPath.split("?")[0],[t,i]=(0,u.useState)(2),o=(0,u.useRef)(t);return o.current=t,(0,u.useLayoutEffect)(()=>{let e=window.sessionStorage.getItem(n);if(!e)return;let s=null;try{s=JSON.parse(e)}catch(e){return}s&&Number.isFinite(s.count)&&s.count>=2&&i(s.count),s&&Number.isFinite(s.scrollY)&&requestAnimationFrame(()=>window.scrollTo({top:s.scrollY,behavior:"instant"}))},[n]),(0,u.useEffect)(()=>{let e=()=>{let e={count:o.current,scrollY:window.scrollY};window.sessionStorage.setItem(n,JSON.stringify(e))};return r.events.on("routeChangeStart",e),()=>r.events.off("routeChangeStart",e)},[r.events,n]),(0,a.jsxs)("div",{className:"max-w-3xl",children:[null==s?void 0:s.slice(0,t).map(e=>(0,a.jsx)(h,{postContent:e},e._id)),t<((null==s?void 0:s.length)||0)&&(0,a.jsx)("div",{className:"flex justify-center mt-8",children:(0,a.jsx)(f.z,{className:"flex w-full md:w-fit bg-gray-900 text-white rounded-[12px] hover:bg-gray-700",onClick:()=>{i(e=>e+4)},children:l("morePosts")})})]})},p=e=>{let{pageData:s}=e;if(!s)return null;let{blogPosts:l,Hero:t}=s;return(0,a.jsxs)(a.Fragment,{children:[(null==t?void 0:t.PresentationImage)&&(0,a.jsx)(n.Z,{heroImage:null==t?void 0:t.PresentationImage,heroVideo:null==t?void 0:t.PresentationVideo,header:null==t?void 0:t.Heading}),(0,a.jsx)(r.M,{className:"my-[4.5rem]",children:(0,a.jsx)(r.o,{span:"8",start:"3",children:(0,a.jsx)(j,{blogPosts:l})})})]})}},95194:function(e,s,l){var a=l(52676),r=l(86266),n=l(67544),t=l(82527),i=l(8170),o=l(76711),d=l(98709),c=l(58945),u=l(32361);s.Z=e=>{let{pageData:s}=e;if(!s)return null;let{PostDate:l,Preamble:m,Hero:h,office:x,ContentArea:f}=s,j=(0,t.useTranslations)("common"),p=(null==x?void 0:x.ForeignOffice)===!0;return(0,a.jsxs)(a.Fragment,{children:[h&&(0,a.jsx)(u.Z,{heroImage:null==h?void 0:h.PresentationImage,heroVideo:null==h?void 0:h.PresentationVideo,header:null==h?void 0:h.Heading}),(0,a.jsx)(c.M,{className:"my-[4.5rem]",children:(0,a.jsxs)(c.o,{span:"8",start:"3",children:[(0,a.jsx)("p",{children:l}),(0,a.jsx)(i.YI,{value:m,components:r.e})]})}),!!f&&(0,a.jsx)(o.Z,{blocks:f}),!p&&(0,a.jsx)(c.M,{id:"frmStartReady",className:"py-[4.5rem]",children:(0,a.jsx)(c.o,{span:"12",start:"1",className:"flex flex-col gap-6",children:(0,a.jsx)(d.Z,{ShowSwedishOffices:!0,VitecLeadType:n.u3.startReady,Heading:j("forms.startReady"),Subtitle:j("forms.startReadySubtitle")})})})]})}},74694:function(e,s,l){l.d(s,{Z:function(){return _}});var a,r=l(52676),n=l(81884),t=l(86266),i=l(50864),o=l(85344),d=l(67544),c=l(15618),u=l.n(c),m=l(82527),h=l(8170),x=l(37168),f=l(75271),j=l(76711),p=l(74436),v=l(65341),g=l(99276),b=l(2831),w=l(21590),N=l(98709),y=l(92018),k=l(58945),C=l(32361),S=l(2733),Z=l(86435),I=e=>{let{Latitude:s,Longitude:l,title:a,PostalAddress:t,City:o,Telephone:d,EmailAddress:c,isHQ:u}=e,h=(0,m.useTranslations)("common.buttons"),x=(0,S.FF)({values:[{value:t},{value:o}],joinBy:", "});return(0,r.jsxs)(k.M,{id:"find-us",className:"gap-0 md:gap-0 py-10 md:py-[4.5rem]",children:[(0,r.jsx)(k.o,{start:"1",span:"6",className:"rounded-tl-2xl rounded-tr-2xl rounded-bl-none md:rounded-bl-2xl md:rounded-tr-none overflow-hidden",children:s&&l&&(0,r.jsx)(Z.Z,{Latitude:s,Longitude:l,AspectRatio:"10/7"})}),(0,r.jsxs)(k.o,{start:"7",span:"6",className:"bg-neutrals-neutral-1 py-10 px-8 flex flex-col justify-between rounded-bl-2xl rounded-br-2xl rounded-tr-none md:rounded-bl-none md:rounded-tr-2xl gap-y-6",children:[(0,r.jsxs)(p.Z,{as:"h5",children:[u?"":"M\xe4klarr
1ingen"," ",a]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("div",{className:"flex flex-col text-[#292827b3]",children:(0,r.jsx)(v.u,{small:!0,children:x})}),(0,r.jsxs)("div",{children:[(0,r.jsxs)(i.rU,{href:"tel:".concat(d),className:"hover:underline underline-offset-8 flex gap-1 items-center",children:["Tel ",d," ",(0,r.jsx)(n.A,{})]}),(0,r.jsxs)(i.rU,{href:"mailto:".concat(c),className:"hover:underline underline-offset-8 flex gap-1 items-center",children:[h("mailOffice")," ",(0,r.jsx)(n.A,{})]})]})]})]})]})},F=l(66935),V=l(20036),M=l(22487),O=l(64101),L=l.n(O);let T=!!(null!==(a=Number("1"))&&void 0!==a&&a),A=e=>{let{useRealforce:s}=e;return T&&void 0!==s&&!0===s?(0,r.jsx)(L(),{id:"realforceanalytics",strategy:"afterInteractive",src:"https://cdn.adfenix.com/tracker.js"}):null};var R=l(81570),H=l(54302),P=l(65457),_=e=>{var s;let{pageData:{_id:l,AreaShortDescription:a,Brokers:c,PresentationImageOffice:S,PresentationVideoOffice:Z,title:O,EmailAddress:L,OfficeName:T,Objects:_,ObjectsCount:B,Latitude:D,Longitude:E,ForeignOffice:Y,ContentArea:U,VitecCustomerId:z,PostalAddress:W,City:q,Telephone:G,BlogLandingPageSlug:J,ConnectedOffices:K,UseAdFenix:$,IslandPrefix:Q},officeSlug:X}=e,ee=(0,m.useTranslations)("components.pages.brokerOfficePage"),es=(0,m.useTranslations)("common"),el=(0,i.jD)(),ea=(0,x.useSearchParams)(),er=(0,H.Z)(P.SP),[en,et]=(0,f.useState)(null!==(s=null==ea?void 0:ea.get(o.j2))&&void 0!==s?s:"0"),ei=[{title:ee("all"),value:"0"},{title:ee("viewings"),value:"Viewings",hide:Y},{title:ee("villa"),value:"villa",hide:!Y},{title:ee("terraced-house"),value:"terraced-house",hide:!Y},{title:ee("apartment"),value:"apartment",hide:!Y},{title:ee("newConstruction"),value:"NewConstruction"},{title:ee("sold"),value:o.NI}],eo=[],ed="M32066"===z?ee("hqOfficeName"):O;return"M32066"!==z&&eo.push({title:ee("forSale"),link:"#objects",CTALinkAction:()=>et("0")}),"M16280"===z&&eo.push({title:ee("forSaleBrfFaltoversten"),link:"/till-salu?q=%5B%22%C3%96stermalm+-+F%C3%A4lt%C3%B6versten%22%5D",replace:!1},{title:ee("soldBrfFaltoversten"),link:"/till-salu?q=%5B%22%C3%96stermalm+-+F%C3%A4lt%C3%B6versten%22%5D&status=10",replace:!1}),"M32066"!==z&&eo.push({title:ee("soldObjects"),link:"#objects",CTALinkAction:()=>et(o.NI)}),eo.push({title:ee("findUs"),link:"#find-us"},{title:ee("ourBrokers"),link:"#brokers"}),u()(J)||eo.push({title:"".concat(ee("discover")," ").concat(O),link:"".concat(el,"/").concat(J),replace:!1}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(C.Z,{heroImage:S,officeName:"M32066"===z?ed:"".concat(ed," - Din lokala m\xe4klare"),heroVideo:Z}),(0,r.jsx)(V.Z,{links:eo,CTA:{title:(0,r.jsxs)(v.u,{small:!0,className:"flex gap-2",children:[ee("emailTheOffice")," ",(0,r.jsx)(n.A,{})]}),link:L?"mailto:".concat(L):"",variant:"link"},withForm:!1}),(0,r.jsx)(k.M,{id:null==O?void 0:O.toLowerCase(),className:"py-10 md:py-[4.5rem]",children:(0,r.jsx)(k.o,{span:"8",start:"3",className:"flex flex-col gap-3",children:(0,r.jsx)(h.YI,{value:a,components:t.e})})}),"M32066"!==z&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(k.M,{id:"objects",className:"pt-[4.5rem]",children:(0,r.jsx)(k.o,{start:"1",span:"12",children:(0,r.jsxs)("div",{className:"flex justify-between",children:[(0,r.jsxs)(p.Z,{as:"h2",children:[ee(Q?"ourObjectsOnIslands":"ourObjectsIn")," ",O]}),(0,r.jsx)(g.Z,{_id:l,ForeignOffice:Y,ConnectedOffices:K,title:O})]})})}),(0,r.jsx)(M.Z,{GroupItems:ei,groupValue:en,setGroupValue:et,addAsFilter:!0,className:"justify-between"}),(0,r.jsxs)(k.M,{className:"pb-10 md:pb-[4.5rem]",children:[_&&_.length>0&&_.map(e=>(0,r.jsx)(w.Z,{objectData:e,small:!0},e._id)),(0,r.jsx)(F.Z,{max:B,defaultShow:6})]})]}),!Y&&"M32066"!==z&&(0,r.jsx)(k.M,{id:null==O?void 0:O.toLowerCase(),className:"py-10 md:py-[4.5rem]",children:(0,r.jsx)(k.o,{span:"12",start:"1",className:"flex flex-col gap-6",children:(0,r.jsx)(N.Z,{VitecLeadType:d.u3.startReady,VitecCustomerId:z,Heading:ee("startReady"),Subtitle:ee("startReadySubtitle"),onRealforceTracking:e=>{window.adfenix&&window.adfenix.track(e)}})})}),c&&(0,r.jsxs)(k.M,{id:"brokers",className:"py-10 md:py-[4.5rem] gap-y-4",children:[(0,r.jsx)(k.o,{span:"12",start:"1",children:(0,r.jsx)(p.Z,{as:"h2",children:"M32066"===z?ee("hqHeader"):"".concat(ee(Q?"weAreYourBrokersOn":"weAreYourBrokersIn")," ").concat(O)})}),c.map(e=>(0,r.jsx)(b.Z,{brokerData:e,officeSlug:X},e._id))]}),!!U&&(0,r.jsx)(j.Z,{blocks:U}
1),(0,r.jsx)(I,{Latitude:D,Longitude:E,title:O,PostalAddress:W,City:q,Telephone:G,EmailAddress:L,ForeignOffice:Y,isHQ:"M32066"===z}),Y?(0,r.jsx)(y.Z,{VitecLeadType:"M22215"===z?d.u3.officeCostaDelSol:d.u3.officeAbroad,VitecCustomerId:z,Heading:es("forms.abroadContactOffice"),Subtitle:es("forms.abroadContactOfficeSubtitle"),children:(0,r.jsx)(R.Z,{label:es("buttons.buyWithUs"),secondLabel:es("buttons.buyWithUs"),className:"bg-brand-red hover:bg-brand-red"})}):(0,r.jsx)(y.Z,{VitecLeadType:d.u3.FVOfficeSweden,VitecCustomerId:z,isOpen:er.isOpen,onOpenChange:er.onOpenChange,children:(0,r.jsx)(R.Z,{label:es("buttons.sellWithUs"),secondLabel:es("buttons.freeValuation"),className:"bg-brand-red hover:bg-brand-red"})}),(0,r.jsx)(A,{useRealforce:$})]})}},53145:function(e,s,l){l.d(s,{Z:function(){return P}});var a=l(52676),r=l(66935),n=l(85344),t=l(67544),i=l(15618),o=l.n(i),d=l(82527),c=l(37168),u=l(75271),m=l(74436),h=l(21590),x=l(83352),f=l(16462),j=l(15878),p=l(61739),v=l(51483),g=l.n(v),b=l(65341);let w=e=>{let{Review:s,ReviewFrom:l,Image:r,isCarouselCard:n=!0}=e,t=(null==r?void 0:r.asset)?(0,p.S)(r.asset).url():"";return!1===n?(0,a.jsx)("div",{className:"w-1/2 border rounded-2xl border-neutrals-neutral-3",children:(0,a.jsx)("div",{className:"p-1",children:(0,a.jsx)("div",{className:"relative overflow-hidden rounded-2xl h-full ",children:(0,a.jsxs)("div",{className:"relative z-10 p-6 w-full h-full",children:[t&&(0,a.jsx)("div",{className:"pb-4",children:(0,a.jsx)(g(),{src:t,alt:"",width:80,height:80,className:"w-20 h-20 rounded-full"})}),(0,a.jsxs)("div",{className:"text-black",children:[s&&(0,a.jsx)(b.u,{children:s}),l&&(0,a.jsx)("div",{className:"mt-4",children:l&&(0,a.jsx)(b.u,{strong:!0,children:l})})]})]})})})}):(0,a.jsx)(x.d$,{className:"basis-[90%] md:basis-[71%] lg:basis-[31%] rounded-2xl border-neutrals-neutral-3",children:(0,a.jsx)("div",{className:"p-1",children:(0,a.jsx)(j.Zb,{className:"relative overflow-hidden rounded-2xl h-full",children:(0,a.jsxs)(j.aY,{className:"relative z-10 p-6 w-full h-full",children:[t&&(0,a.jsx)("div",{className:"pb-4",children:(0,a.jsx)(g(),{src:t,alt:"",width:80,height:80,className:"w-20 h-20 rounded-full"})}),(0,a.jsxs)("div",{className:"text-black",children:[s&&(0,a.jsx)(b.u,{children:s}),l&&(0,a.jsx)("div",{className:"mt-4",children:l&&(0,a.jsx)(b.u,{strong:!0,children:l})})]})]})})})})};var N=l(58945);let y=e=>{let{heading:s,reviews:l}=e,r=(0,f.a)("(min-width: 1024px)");return o()(l)?null:r&&l&&l.length<=3?(0,a.jsx)("div",{className:"my-[4.5rem] grid grid-cols-6 md:grid-cols-12 gap-x-4 md:gap-x-8 gap-y-16 md:gap-y-12 px-4 md:px-24 scroll-mt-8 wrap-ml max-w-[var(--wrap-width)]",children:(0,a.jsxs)(N.o,{span:"12",start:"1",children:[(0,a.jsxs)("div",{className:"flex justify-between b-4 pb-4 md:pb-12 pr-4 md:pr-0",children:[(0,a.jsx)(m.Z,{as:"h2",children:null!=s?s:""}),(0,a.jsx)("div",{className:"relative flex mr-[11%]"})]}),(0,a.jsx)("div",{className:"w-full flex flex-row gap-5",children:null==l?void 0:l.map(e=>(0,a.jsx)(u.Fragment,{children:(0,a.jsx)(w,{isCarouselCard:!1,_key:e._key,Image:null==e?void 0:e.Image,Review:null==e?void 0:e.Review,ReviewFrom:null==e?void 0:e.ReviewFrom})},null==e?void 0:e._key))})]})}):(0,a.jsx)("div",{className:"my-[4.5rem] grid grid-cols-6 md:grid-cols-12 gap-x-4 md:gap-x-8 gap-y-16 md:gap-y-12 px-4 md:px-24 scroll-mt-8 wrap-ml max-w-[var(--wrap-width)]",children:(0,a.jsx)(N.o,{span:"12",start:"1",children:(0,a.jsxs)(x.lr,{opts:{align:"start"},children:[(0,a.jsxs)("div",{className:"flex justify-between b-4 pb-4 md:pb-12 pr-4 md:pr-0",children:[(0,a.jsx)(m.Z,{as:"h2",children:null!=s?s:""}),(0,a.jsxs)("div",{className:"relative flex mr-[11%]",children:[(0,a.jsx)(x.am,{}),(0,a.jsx)(x.Pz,{})]})]}),(0,a.jsx)(x.KI,{className:"pr-4",children:null==l?void 0:l.map(e=>(0,a.jsx)(u.Fragment,{children:(0,a.jsx)(w,{_key:e._key,Image:null==e?void 0:e.Image,Review:null==e?void 0:e.Review,ReviewFrom:null==e?void 0:e.ReviewFrom})},null==e?void 0:e._key))})]})})})};var k=l(98709),C=l(94855),S=l(14928),Z=e=>{let{pageData:{MainImage:s,MainImageVitec:l,PresentationImage:r,PresentationVideo:n}}=e,t=null!=l?l:(null==s?void 0:s.asset)?(0,p.S)(s.asset).url():"",i=(null==r?void 0:r.asset)?(0,p.S)(r.asset).url():"",o=n?(0,C.c)(n):"";return(0,a.jsxs)("div",{className:"relative h-[75vh] wrap-px",children:[o?(0,a.jsx)("video",{className:"absolute inset-0 w-full h-full object-cover",src:o,autoPlay:!0,loop:!0,muted:!0,playsInl
1ine:!0}):(0,a.jsx)("div",{className:"bg-neutrals-neutral-3 absolute inset-0 w-full h-full bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url(".concat(i,")")}}),(0,a.jsx)(N.M,{className:"h-full w-full relative z-10",children:(0,a.jsx)(N.o,{className:"flex flex-col justify-end items-start",start:"1",span:"0",children:(0,a.jsx)("div",{className:"bg-neutrals-neutral-3 rounded-full overflow-hidden size-[10rem] translate-y-1/2 border-4 border-white",children:(0,a.jsx)(S.Z,{src:t,alt:null==s?void 0:s.alt,withoutAspectRatio:!0,sizes:"160px"})})})})]})},I=l(22487);let F=e=>{let{stroke:s="black",className:l}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:l,children:(0,a.jsx)("path",{d:"M15.0007 1.66602H12.5007C11.3956 1.66602 10.3358 2.105 9.55437 2.8864C8.77297 3.66781 8.33398 4.72761 8.33398 5.83268V8.33268H5.83398V11.666H8.33398V18.3327H11.6673V11.666H14.1673L15.0007 8.33268H11.6673V5.83268C11.6673 5.61167 11.7551 5.39971 11.9114 5.24343C12.0677 5.08715 12.2796 4.99935 12.5007 4.99935H15.0007V1.66602Z",stroke:s,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},V=e=>{let{stroke:s="#282828",className:l}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:l,children:[(0,a.jsxs)("g",{"clip-path":"url(#clip0_1359_21288)",children:[(0,a.jsx)("path",{d:"M14.166 1.66602H5.83268C3.5315 1.66602 1.66602 3.5315 1.66602 5.83268V14.166C1.66602 16.4672 3.5315 18.3327 5.83268 18.3327H14.166C16.4672 18.3327 18.3327 16.4672 18.3327 14.166V5.83268C18.3327 3.5315 16.4672 1.66602 14.166 1.66602Z",stroke:s,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M13.3337 9.47525C13.4366 10.1688 13.3181 10.8771 12.9952 11.4994C12.6723 12.1218 12.1614 12.6264 11.5351 12.9416C10.9088 13.2569 10.1991 13.3666 9.5069 13.2552C8.81468 13.1438 8.17521 12.817 7.67944 12.3212C7.18367 11.8255 6.85685 11.186 6.74546 10.4938C6.63408 9.80154 6.74379 9.09183 7.05901 8.46556C7.37423 7.8393 7.8789 7.32837 8.50123 7.00545C9.12356 6.68254 9.83187 6.56407 10.5254 6.66692C11.2328 6.77182 11.8878 7.10147 12.3935 7.60717C12.8992 8.11288 13.2288 8.76782 13.3337 9.47525Z",stroke:s,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M14.584 5.41602H14.5923",stroke:s,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_1359_21288",children:(0,a.jsx)("rect",{width:"20",height:"20",fill:"white"})})})]})};var M=l(86266),O=l(2733),L=l(50864),T=l(8170),A=l(74023),R=l(80940),H=e=>{let{pageInfo:{BrokerName:s,Title:l,EmailAddress:r,Cellphone:n,BrokerLanguage:t,BrokerSharpestAreas:i,BrokerAbout:o,BrokerAboutRich:c,OfficeName:u,OfficeNames:h,BrokerSpecialty:x,BrokerFacebook:f,BrokerInstagram:j,BrokerRecommendation:p}}=e,v=h&&h.length>1,g=(0,d.useTranslations)("components.modules"),w=(0,O.FF)({values:[{value:l},{value:"".concat(u).concat(v?"*":"")}],returnAsArray:!0});return(0,a.jsxs)(N.M,{className:"md:gap-y-0",children:[(0,a.jsxs)(N.o,{start:"1",span:"12",className:"flex gap-x-2 py-8 justify-end min-h-[5.125rem]",children:[j&&(0,a.jsx)("a",{href:j,className:"rounded-full border border-[hsla(0,0%,16%,.08)] p-[0.875rem]",children:(0,a.jsx)(V,{})}),f&&(0,a.jsx)("a",{href:f,className:"rounded-full border border-[hsla(0,0%,16%,.08)] p-[0.875rem]",children:(0,a.jsx)(F,{})})]}),(0,a.jsxs)(N.o,{start:"1",span:"5",className:"flex flex-col gap-y-7 md:gap-y-[3.125rem]",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)(m.Z,{as:"h3",disableHeadingFont:!0,children:s}),v?(0,a.jsx)(R.pn,{children:(0,a.jsxs)(R.u,{children:[(0,a.jsx)(R.aJ,{asChild:!0,className:"self-start",children:(0,a.jsx)("div",{children:(0,a.jsx)(A.F,{stringArray:w})})}),(0,a.jsx)(R._v,{children:(0,a.jsx)(b.u,{small:!0,children:null==h?void 0:h.map(e=>null==e?void 0:e.title).join(", ")})})]})}):(0,a.jsx)(A.F,{stringArray:w})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-y-6",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)(b.u,{small:!0,strong:!0,children:g("contact")}),(0,a.jsxs)("div",{className:"flex flex-col items-start text-[#292827b3]",children:[r?(0,a.jsx)(L.rU,{href:"mailto:".concat(r),className:"hover:underline underline-offset-8",children:r}):(0,a.jsx)(b.u,{small:!0,children:"-"}),n?(0,a.jsxs)(L.rU,{href:"tel:".concat(n),className:"hover:underline underline-offset-8",children:[g("cellphoneShort")," ",n]}):(0,a.jsx)(b.u,{small:!0,children:"-"})]})]}),i&&(0,a.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,a.jsx)(b.u,{small:!0,strong:!0,className:"font-semibold",children:g("areas")}),(0,a.jsx)(b.u,{small:!0,children:i})]}),x&&(0,a.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,a.jsx)(b.u,{small:!0,strong:!0,children:g("strenghts")}),(0,a.jsx)(b.u,{small:!0,children:x})]}),t&&(0,a.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,a.jsx)(b.u,{small:!0,strong:!0,children:g("languages")}),(0,a.jsx)(b.u,{small:!0,children:t.split(", ").map(e=>(0,O.Ur)(e)).join(", ")})]})]})]}),(0,a.jsxs)(N.o,{start:"6",span:"7",children:[c?(0,a.jsx)(T.YI,{value:c,components:M.e}):null==o?void 0:o.split("\n").map((e,s)=>{let l=""===e.trim();return(0,a.jsx)(b.u,{as:"p",className:l?"mb-4":"",children:l?null:e},s)}),p&&(0,a.jsxs)("div",{className:"flex flex-col gap-y-1 mt-10",children:[(0,a.jsx)(b.u,{small:!0,strong:!0,children:g("brokerRecommendations")}),(0,a.jsx)(b.u,{small:!0,children:(0,a.jsx)("a",{href:p,className:"hover:underline underline-offset-8",children:p.replace(/^(?:https?:\/\/)?(?:www\.)?/i,"").replace(/\/$/,"")})})]})]})]})},P=e=>{var s,l,i,x,f;let{pageData:j}=e,p=(0,d.useTranslations)("components.pages.brokerPage"),v=(0,d.useTranslations)("common"),{Objects:g,ObjectsCount:b,SoldObjectsCount:w,Reviews:C}=j,S=(0,c.useSearchParams)(),[F,V]=(0,u.useState)(null!==(x=null==S?void 0:S.get(n.j2))&&void 0!==x?x:"0"),M=[{title:p("forSale"),value:"0"},{title:p("viewings"),value:"Viewings"},{title:p("sold"),value:n.NI}],O=F===n.NI?w:b;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Z,{pageData:j}),(0,a.jsx)(H,{pageInfo:j}),(0,a.jsx)(N.M,{id:"frmStartReadyBroker",className:"py-10 md:py-[4.5rem]",children:(0,a.jsx)(N.o,{span:"12",start:"1",className:"flex flex-col gap-6",children:(null===(s=j.office)||void 0===s?void 0:s.ForeignOffice)?(0,a.jsx)(k.Z,{ShowSwedishOffices:!1,VitecLeadType:t.u3.abroadDream,Heading:v("forms.abroadDream"),Subtitle:v("forms.abroadDreamSubtitle")}):(0,a.jsx)(k.Z,{VitecLeadType:t.u3.FVBroker,BrokerId:null==j?void 0:j._id,VitecCustomerId:null!==(f=(null==j?void 0:null===(l=j.publishedOnOffice)||void 0===l?void 0:l[0])||(null==j?void 0:null===(i=j.publishedOnOfficeManual)||void 0===i?void 0:i[0]))&&void 0!==f?f:"",Heading:p("freeV
1aluation"),Subtitle:p("wantToKnowYourHomesValue")})})}),(0,a.jsx)(N.M,{className:"pt-10 md:pt-[4.5rem]",children:(0,a.jsx)(N.o,{span:"12",start:"1",children:(0,a.jsx)(m.Z,{as:"h2",children:p("myProperties")})})}),(0,a.jsx)(I.Z,{GroupItems:M,groupValue:F,setGroupValue:V,addAsFilter:!0}),(0,a.jsxs)(N.M,{children:[null==g?void 0:g.map(e=>(0,a.jsx)(h.Z,{objectData:e,small:!0},e.slug.current)),(0,a.jsx)(r.Z,{max:O||0,defaultShow:6,name:p("seeEverythingFromTheOffice")})]}),!o()(C)&&(0,a.jsx)(y,{heading:null==C?void 0:C.Title,reviews:null==C?void 0:C.ReviewCards})]})}},81570:function(e,s,l){var a=l(52676),r=l(2733),n=l(75271),t=l(65341);s.Z=e=>{let{label:s,secondLabel:l,className:i}=e,[o,d]=(0,n.useState)(s);return(0,n.useEffect)(()=>{let e=setInterval(()=>{d(e=>e===s?l:s)},8e3);return()=>clearInterval(e)},[s,l]),(0,a.jsxs)(t.u,{small:!0,strong:!0,className:(0,r.cn)("fixed bottom-4 right-4 md:bottom-8 md:right-8 rounded-full px-6 py-3 z-50 text-white flex flex-col overflow-hidden items-center",i),"aria-label":"S\xe4lj med oss formul\xe4r \xf6ppnas i dialog",children:[(0,a.jsx)("span",{className:(0,r.cn)("transition duration-500 ease-in-out absolute",o===s?"translate-y-0 opacity-100":"-translate-y-10 opacity-0"),children:s}),(0,a.jsx)("span",{className:(0,r.cn)("transition duration-500 ease-in-out",o===l?"-translate-y-0 opacity-100":"translate-y-10 opacity-0"),children:l})]})}},54302:function(e,s,l){var a=l(75271);s.Z=e=>{let s=e.startsWith("#")?e:"#".concat(e),[l,r]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=()=>{window.location.hash===s&&r(!0)};return e(),window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[s]),{isOpen:l,onOpenChange:(0,a.useCallback)(e=>{r(e),e||window.location.hash!==s||window.history.replaceState(null,"",window.location.pathname+window.location.search)},[s])}}},16462:function(e,s,l){l.d(s,{a:function(){return r}});var a=l(75271);function r(e){let[s,l]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{function s(e){l(e.matches)}let a=matchMedia(e);return a.addEventListener("change",s),l(a.matches),()=>a.removeEventListener("change",s)},[e]),s}}}]);
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.