1import{a as d}from"./chunk-7FE5CZWG.js";import{a as t,b as r,q as c,r as y,u as l,v as a}from"./chunk-NEYTDBXA.js";import{a as i,b as s}from"./chunk-MG6NPW7K.js";var A=t("[PropertyCollection/API] Load PropertyCollections requested"),x=t("[PropertyCollection/API] Load PropertyCollections",r()),m=t("[PropertyCollection/API] Add PropertyCollection",r()),u=t("[PropertyCollection/API] Upsert PropertyCollection",r()),I=t("[PropertyCollection/API] Add PropertyCollections",r()),f=t("[PropertyCollection/API] Upsert PropertyCollections",r()),g=t("[PropertyCollection/API] Create PropertyCollection",r()),L=t("[PropertyCollection/API] Update PropertyCollection",r()),E=t("[PropertyCollection/API] Update PropertyCollections",r()),O=t("[PropertyCollection/API] Delete PropertyCollection",r()),R=t("[PropertyCollection/API] Delete PropertyCollections",r()),S=t("[PropertyCollection/API] Clear PropertyCollections"),b=t("[PropertyCollection/API] Add Listing to PropertyCollection",r()),h=t("[PropertyCollection/API] Remove Listing from PropertyCollection",r()),T=t("[PropertyCollection/API] PropertyCollection failure",r());var v="propertyCollections";function K(o,e){return o.createdOn>e.createdOn?-1:1}var n=d({sortComparer:K}),N=n.getInitialState({selectedId:null,loading:!1,loaded:!1}),z=a(N,l(m,(o,e)=>n.addOne(e.propertyCollection,o)),l(u,(o,e)=>n.upsertOne(e.propertyCollection,o)),l(I,(o,e)=>n.addMany(e.propertyCollections,o)),l(f,(o,e)=>n.upsertMany(e.propertyCollections,o)),l(L,(o,e)=>n.updateOne(e.propertyCollection,o)),l(E,(o,e)=>n.updateMany(e.propertyCollections,o)),l(O,(o,e)=>n.removeOne(e.id,o)),l(R,(o,e)=>n.removeMany(e.ids,o)),l(x,(o,e)=>n.setAll(e.propertyCollections,s(i({},o),{loading:!1,loaded:!0}))),l(S,o=>n.removeAll(o)),l(A,o=>s(i({},o),{loading:!0})),l(T,(o,e)=>s(i({},o),{error:e.error,loading:!1,loaded:!1})),l(g,o=>i({},o))),{selectIds:G,selectEntities:F,selectAll:U,selectTotal:J}=n.getSelectors(),_=o=>!!o?.loading,M=o=>!!o?.loaded,D=o=>o?.error;var p=y(v),X=c(p,_),Z=c(p,M),$=c(p,D),Y=c(p,U),B=c(p,F),oo=o=>c(B,e=>e?.[o]),eo=o=>c(Y,e=>e.filter(C=>C.listings?.some(P=>P.listingId===o))),to=c(Y,o=>{let e=o?.flatMap(C=>C.listings?.map(P=>P.listingId)??[])??[];return new Set(e)});export{A as a,x as b,u as c,g as d,L as e,O as f,b as g,h,T as i,v as j,z as k,X as l,Z as m,$ as n,Y as o,B as p,oo as q,eo as r,to as s}; 2/**i18n:3863e90172e9fd3c04c0dbbe3fd9c8612275b9268b9b4280ab0bb679a7810333*/
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.