PageSourceSearch

https://rentbird.nl/build/assets/ProvinceListingPage-pCKuM1gg.js

js rentbird.nl collected 2026-09-25 03:23:50 UTC 8,350 bytes, 2 lines download raw bytes

1import{_ as w}from"./ButtonSort-BbZn3Ibw.js";import{e as b,ad as _,ae as N,t as U,g as k}from"./app--lW3PYU6.js";import{_ as R,h as A,i as I,j as F,b as C,c as S,d as L,e as M,f as T,g as E}from"./AllHousesResults-Cyn0onvO.js";import{r as H,z as d,A as B,E as l,J as c,B as r,V as o,u as f,a5 as j,I as $,F as g,W as D,U as y,K as O,N as V}from"./Button-CusjfCl3.js";import{_ as W}from"./ListingPageLayout-DDCM3xJD.js";import{_ as Q,a as z}from"./SegmentLinks-DWPTA9Jz.js";import G from"./ActivateAlertsButton-D2SIbKCk.js";import"./CitySelectUsingStore-BRENewJ0.js";import"./NeighbourhoodsOfCity-1eCwcrMi.js";import"./Select-BX0W5tha.js";import"./CheckboxDropdown-D9qu0oEY.js";import"./InlineCheckboxGroup-C1w63puD.js";import"./Arrays-CgP3D7bi.js";import"./Pagination-ChU-O8t-.js";import"./CallToActionSectionActivateAlertsLarge-Bt4JAYJK.js";import"./bird-standing-DQSVM3A7.js";import"./SearchProfileCardLabel-7IJZQRWj.js";import"./InfoMessageBox-CMWcrt42.js";import"./CallToActionSectionHowItWorksSmall-DzJwbyuc.js";import"./DarkPurpleThinModal-DoMpului.js";import"./BasicHouseCardAlternative-DQTw4jFF.js";import"./Footer-_ogw-J9d.js";import"./FooterLinkMenu-D0nE3i_4.js";import"./FeatureFlags-DwRrUPKK.js";import"./ButtonAppDownload-FqMzovjx.js";import"./ListingHeroDivider-uWOy1pYQ.js";import"./NavMenu-WI4BRq1t.js";import"./NavMenuFoldout-BNqjGQoy.js";import"./Auth-CILhOUlI.js";import"./CallToActionSection-CWvmTFsH.js";import"./SectionDivider-DxUIwl7s.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"17af8e55c580f79fe0bd3ddf4616f461480ef34d"},t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[new t.Error().stack]=function(h){for(var p=1;p<arguments.length;p++){var u=arguments[p];if(u!=null)for(var m in u)u.hasOwnProperty(m)&&(h[m]=u[m])}return h}({},t._sentryModuleMetadata[new t.Error().stack],{"_sentryBundlerPluginAppKey:rentbird-frontend":!0});var n=new t.Error().stack;
1n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="b74a3390-8098-45f2-bef9-8f4301dab0fa",t._sentryDebugIdIdentifier="sentry-dbid-b74a3390-8098-45f2-bef9-8f4301dab0fa")}catch{}})();const K=["content"],Y={class:"flex justify-start ml-1 md:ml-6 box-border gap-1 md:gap-2"},J=["href"],X=["href"],Z={class:"bg-white px-6 py-8 rounded-md"},q={key:0,class:"lg:flex lg:justify-between lg:mb-[32px]"},ee={class:"text-2xl lg:text-4xl font-medium text-purple-900 mb-[12px] lg:mb-0"},te={class:"hidden lg:flex"},se={class:"flex flex-row pt-3 lg:pt-0 items-center lg:justify-end"},ae={class:"hidden lg:block pr-3"},re={key:1,class:"bg-white px-6 py-8 rounded-md"},ne=["innerHTML"],ie=["innerHTML"],oe={class:"inline-block mt-4 flex gap-4"},Ie={__name:"ProvinceListingPage",props:{pageContent:{type:Object,default:()=>({})},houses:{type:Object,default:()=>({})},currentSegment:{type:Object,default:()=>({})},isCityPage:{type:Boolean,default:!1},showCitySearch:{type:Boolean,default:!0},province:{type:Object,default:()=>({})},totalHouses:{type:Number,default:0},links:{type:Array,default:()=>[]}},setup(t){const n=t,h=n.province,p=n.links.reduce((e,a)=>e[a.group]===void 0?(e[a.group]=[a],e):(e[a.group]=[...e[a.group],a],e),{}),u=H(!1),m=e=>e?e.split(","):[],s=H({city:n.province,distance:_("distance",A),sortBy:b("sort_by",E),sortAscending:N("sort_ascending",T),maxRent:_("max_rent",M),minBedrooms:_("min_bedrooms",L),minSurface:_("min_surface",S),furnished:b("furnished",C),extraWishes:m(b("extra_wishes","")),neighbourhoods:m(b("neighbourhoods",""))}),v=()=>{var a,i;const e=new URL(location.protocol+"//"+location.host+location.pathname);s.value.distance!==A&&e.searchParams.set("distance",`${s.value.distance}`),s.value.sortBy!==E&&e.searchParams.set("sort_by",s.value.sortBy),s.value.sortAscending!==T&&e.searchParams.set("sort_ascending",`${s.value.sortAscending}`),s.value.maxRent!==M&&e.searchParams.set("max_rent",`${s.value.maxRent}`),s.value.minBedrooms!==L&&e.searchParams.set("min_bedrooms",`${s.value.minBedrooms}`),s.value.minSurface!==S&&e.searchParams.set("min_surface",`${s.value.minSurface}`),s.value.furnished!==C&&e.searchParams.set("furnished",`${s.value.furnished}`),((a=s.value.extraWishes)==null?void 0:a.length)>0&&e.searchParams.set("extra_wishes",s.value.extraWishes.join(",")),((i=s.value.neighbourhoods)==null?void 0:i.length)>0&&e.searchParams.set("neighbourhoods",s.value.neighbourhoods.join(",")),V.visit(e,{preserveState:!0,preserveScroll:!0})},x=e=>{s.value.sortBy===e?s.value.sortAscending=!s.value.sortAscending:s.value.sortBy=e,v()},P=[{url:k("all-houses-categories"),name:U("HouseListings.Breadcrumbs.AllHouses")},{url:k("all-houses-in-province",{province:n.province.slug}),name:n.province.name}];return n.currentSegment&&P.push({url:"#",name:n.currentSegment.name}),(e,a)=>(d(),B(O,null,[l(f(j),null,{default:c(()=>[r("title",null,o(t.pageContent.meta_title??e.$trans("Layout.MetaTitle")),1),r("meta",{"head-key":"description",name:"description",content:t.pageContent.meta_description??e.$trans("Layout.MetaDescription")}
1,null,8,K)]),_:1}),l(W,{title:t.pageContent.hero_heading??e.$trans("HouseListings.hero_heading"),description:t.pageContent.hero_text??e.$trans("HouseListings.hero_text"),breadcrumbs:P},{default:c(()=>[r("div",null,[r("div",Y,[r("a",{class:"inline-block text-sm bg-gray-100 text-purple-700 hover:text-pink-500 hover:bg-white px-4 py-1 rounded-t",href:f(k)("all-houses-in-city",{city:t.province.slug})},o(e.$trans("ProvinceListings.Menu.Cities")),9,J),r("a",{class:"inline-block text-sm bg-white text-pink-500 px-4 py-1 rounded-t",href:f(k)("all-houses-in-province",{province:t.province.slug})},o(e.$trans("HouseListings.Menu.AllHouses",{amount:t.totalHouses})),9,X)]),t.links.length>0?(d(),$(Q,{key:0,collapsed:!u.value,city:f(h),links:f(p),"onToggle:collapse":a[0]||(a[0]=i=>u.value=!u.value)},null,8,["collapsed","city","links"])):g("",!0),r("div",Z,[t.isCityPage?g("",!0):(d(),B("div",q,[r("h1",ee,o(t.pageContent.hero_heading??e.$trans("AllHousesPage.Title")),1),r("div",te,[t.showCitySearch?(d(),$(R,{key:0,"show-label":!1,black:!0,"use-landing-page-styling":!1,"onUpdate:modelValue":a[1]||(a[1]=i=>{s.value={...s.value,city:i},v()})})):g("",!0),t.showCitySearch?g("",!0):(d(),$(D,{key:1,"icon-right":"back",outline:!0,big:!0,onClick:a[2]||(a[2]=()=>{s.value={...s.value,distance:f(A),neighbourhoods:[],city:""},v()})},{default:c(()=>[y(o(e.$trans("AllHousesPage.BackToAllHousesButtonLabel")),1)]),_:1}))])])),l(I,{"is-city-page":t.isCityPage,filters:s.value,class:"mb-[12px] lg:mb-[32px]","onUpdate:filters":a[3]||(a[3]=i=>{t.isCityPage&&(i.city=s.value.city),s.value=i}),onShouldReloadPage:v},null,8,["is-city-page","filters"]),r("div",se,[r("div",ae,o(e.$trans("AllHousesPage.SortBy")),1),l(w,{class:"pr-1","icon-right":s.value.sortAscending?"arrow-up-simple":"arrow-down-simple","filter-active":s.value.sortBy==="created_at",onClick:a[4]||(a[4]=i=>x("created_at"))},{default:c(()=>[y(o(e.$trans("MatchHistoryPage.SortByLatestLabel")),1)]),_:1},8,["icon-right","filter-active"]),l(w,{class:"pr-1","icon-right":s.value.sortAscending?"arrow-up-simple":"arrow-down-simple","filter-active":s.value.sortBy==="rent",onClick:a[5]||(a[5]=i=>x("rent"))},{default:c(()=>[y(o(e.$trans("MatchHistoryPage.SortByRentLabel")),1)]),_:1},8,["icon-right","filter-active"]),l(w,{"filter-actve":!1,"icon-right":s.value.sortAscending?"arrow-up-simple":"arrow-down-simple","filter-active":s.value.sortBy==="area",onClick:a[6]||(a[6]=i=>x("area"))},{default:c(()=>[y(o(e.$trans("MatchHistoryPage.SortBySurfaceLabel")),1)]),_:1},8,["icon-right","filter-active"])]),l(F,{houses:n.houses},null,8,["houses"])])]),t.houses.data.length>=12?(d(),$(z,{key:0})):g("",!0),t.pageContent.bottom_seo_title&&t.pageContent.bottom_seo_text?(d(),B("div",re,[r("p",{class:"font-bold text-3xl mb-4",innerHTML:t.pageContent.bottom_seo_title},null,8,ne),r("p",{class:"text-lg",innerHTML:t.pageContent.bottom_seo_text},null,8,ie),r("div",oe,[l(G),l(D,{outline:"",tag:"a",href:e.$getLocalizedUrl("all-houses-in-city",{city:t.province.slug}),"icon-right":"arrow-right"},{default:c(()=>[y(o(e.$trans("Buttons.AllHousesInPlace",{place:t.province.name})),1)]),_:1},8,["href"])])])):g("",!0)]),_:1},8,["title","description"])],64))}};export{Ie as default};
2//# sourceMappingURL=ProvinceListingPage-pCKuM1gg.js.map

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.